Skip to content
This repository was archived by the owner on May 1, 2019. It is now read-only.

Rename .php_cs to .php_cs.dist #514

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea/
.php_cs
.php_cs.cache
.vagrant
build.properties
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ before_script:
- php public/index.php migrations:migrate --no-interaction --verbose

script:
- vendor/bin/php-cs-fixer fix --config-file=./.php_cs --dry-run --diff -v
- vendor/bin/php-cs-fixer fix --config-file=./.php_cs.dist --dry-run --diff -v
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in PHP CS Fixer config, it already asking to fixing ->name('*.php.dist'), while .dist suffix is not in filename on master branch :D

- vendor/bin/phpunit --configuration phpunit.xml

notifications:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ composer:
composer install --prefer-dist

cs: composer
vendor/bin/php-cs-fixer fix --config-file=.php_cs --diff --verbose
vendor/bin/php-cs-fixer fix --config-file=.php_cs.dist --diff --verbose

test: composer
cp config/autoload/travis.php.local.dist config/autoload/travis.local.php
Expand Down