File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323
2424# Run code standards check when appropriate
2525if [ " ${RUN_CS_CHECK} " = " true" ]; then
26- wget http ://cs.sensiolabs.org /download/php-cs-fixer-v2.phar -O php-cs-fixer
26+ wget https ://cs.symfony.com /download/php-cs-fixer-v2.phar -O php-cs-fixer
2727 chmod a+x php-cs-fixer
28- ./php-cs-fixer fix --dry-run --diff
28+ PHP_CS_FIXER_IGNORE_ENV=1 ./php-cs-fixer fix --dry-run --diff
2929fi
3030
3131if [ -f $KOKORO_GFILE_DIR /service-account.json ]; then
@@ -53,7 +53,7 @@ if [ "$PULL_REQUEST_NUMBER" != "" ]; then
5353fi
5454
5555# Install google/cloud-tools globally
56- composer global require google/cloud-tools:dev-master
56+ composer global require google/cloud-tools:dev-main
5757
5858# Install composer in all directories containing composer.json
5959find . -name composer.json -not -path ' *vendor/*' -exec dirname {} \; | while read COMPOSER_DIR
Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ globally:
5353composer global require phpunit/phpunit:^7
5454```
5555
56- These tests also use ` google/cloud-tools:dev-master ` . You can install this with
56+ These tests also use ` google/cloud-tools:dev-main ` . You can install this with
5757composer globally:
5858
5959```
60- composer global require google/cloud-tools:dev-master
60+ composer global require google/cloud-tools:dev-main
6161```
6262
6363Now you can run the tests in the samples directory!
Original file line number Diff line number Diff line change 11{
2- "require" : {
3- "php" : " >=7.1" ,
4- "google/auth" : " ^1.9" ,
5- "google/cloud-core" : " ^1.32" ,
6- "kelvinmo/simplejwt" : " ^0.4.0"
7- }
2+ "require" : {
3+ "php" : " >=7.1" ,
4+ "google/auth" : " ^1.9" ,
5+ "google/cloud-core" : " ^1.32" ,
6+ "kelvinmo/simplejwt" : " ^0.4.0"
7+ }
88}
Original file line number Diff line number Diff line change 11{
2- "require" : {
3- "google/cloud-firestore" : " ^1.9"
4- }
2+ "require" : {
3+ "google/cloud-firestore" : " ^1.9"
4+ }
55}
You can’t perform that action at this time.
0 commit comments