Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
# | ||
# Runs code standard fixer without having the need to specify it as a | ||
# Composer dependency. | ||
# | ||
|
||
composer require --no-interaction friendsofphp/php-cs-fixer:^2.0 | ||
|
||
vendor/bin/php-cs-fixer --config=.php_cs.dist --no-interaction fix | ||
|
||
composer remove --no-interaction friendsofphp/php-cs-fixer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# | ||
# Runs code standard fixer without having the need to specify it as a | ||
# Composer dependency. | ||
# | ||
|
||
if [ $TRAVIS ]; then | ||
# No need to install PHPunit | ||
phpunit --configuration phpunit.xml | ||
else | ||
composer require --no-interaction phpunit/phpunit:^6.0 | ||
|
||
vendor/bin/phpunit --configuration phpunit.xml | ||
|
||
composer remove --no-interaction phpunit/phpunit | ||
fi; |