@@ -39,7 +39,7 @@ public function check()
3939 $ PHPLintCommand = "find . -name '*.php' -not \\( -path './externalLib/*' -or -path './vendor/*' -or -path './build/*' \\) -print0 | xargs -0 -L 1 -n 1 -P 8 php -l 1>/dev/null " ;
4040
4141 if ($ this ->branch === 'main ' ) {
42- Travis::foldCall (" lintmaster.php " , $ PHPLintCommand );
42+ Travis::foldCall (' lintmaster.php ' , $ PHPLintCommand );
4343
4444 echo 'Skipping style check for merge commits ' ;
4545
@@ -48,9 +48,9 @@ public function check()
4848
4949 $ this ->checkoutBranch ($ this ->branch );
5050
51- Travis::foldCall (" lint.php " , $ PHPLintCommand );
51+ Travis::foldCall (' lint.php ' , $ PHPLintCommand );
5252
53- Travis::fold (" start " , " style.php " );
53+ Travis::fold (' start ' , ' style.php ' );
5454 Travis::timeStart ();
5555 echo 'Enforce PHP style ' .PHP_EOL ;
5656 $ output = $ this ->getModifiedFiles ($ this ->branch );
@@ -83,13 +83,13 @@ public function check()
8383 }
8484
8585 Travis::timeFinish ();
86- Travis::fold (" end " , " style.php " );
86+ Travis::fold (' end ' , ' style.php ' );
8787
8888 if (!$ lintOK ) {
8989 return false ;
9090 }
9191
92- Travis::foldCall (" git.checkout2 " , "git checkout {$ this ->commit } 2>&1 " );
92+ Travis::foldCall (' git.checkout2 ' , "git checkout {$ this ->commit } 2>&1 " );
9393
9494 return true ;
9595 }
0 commit comments