Update Travis for PHP7, update tooling

This commit is contained in:
Craig Davis
2017-10-16 16:00:50 -07:00
parent 442afa1889
commit fe9e5625b6
10 changed files with 1538 additions and 628 deletions

View File

@@ -6,7 +6,7 @@ pake_task('test');
pake_desc('Check the code for psr2 standards');
pake_task('sniff');
pake_desc('Run php-cs-fixer on the src directory');
pake_desc('Run phpcbf on the src directory');
pake_task('fixer');
pake_desc('Update the README with the latest command output');
@@ -88,11 +88,11 @@ function run_sniff()
function run_fixer()
{
pake_echo_comment('Running php-cs-fixer');
pake_echo_comment('Running phpcbf');
pake_sh(
'./vendor/bin/php-cs-fixer fix ./md2resume_dev.php'
. ' && ./vendor/bin/php-cs-fixer fix ./src/Resume/Cli/'
. ' && ./vendor/bin/php-cs-fixer fix ./src/Resume/Command/',
'./vendor/bin/phpcbf --standard=PSR2 ./md2resume_dev.php'
. ' && ./vendor/bin/phpcbf --standard=PSR2 ./src/Resume/Cli/'
. ' && ./vendor/bin/phpcbf --standard=PSR2 ./src/Resume/Command/',
true
);
}