Skip to content

Commit bd7b0ea

Browse files
authored
test: fix php-cs-fixer by adding it directly to docker (GoogleCloudPlatform#1091)
1 parent 2504140 commit bd7b0ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.kokoro/docker/php73/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,5 @@ RUN gcloud config set app/promote_by_default false && \
120120
gcloud -q components install app-engine-php && \
121121
gcloud -q components update
122122

123+
# Build php-cs-fixer
124+
RUN composer global require friendsofphp/php-cs-fixer

.kokoro/system_tests.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ export PULL_REQUEST_NUMBER=$KOKORO_GITHUB_PULL_REQUEST_NUMBER
5252

5353
# Run code standards check when appropriate
5454
if [ "${RUN_CS_CHECK}" = "true" ]; then
55-
curl -L https://cs.sensiolabs.org/download/php-cs-fixer-v2.phar -o php-cs-fixer \
56-
&& chmod a+x php-cs-fixer
5755
bash testing/run_cs_check.sh
5856
fi
5957

0 commit comments

Comments
 (0)