Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 47b6dda

Browse files
committedMar 19, 2020
Add phpcs-security-audit coding standard
1 parent 556a2a2 commit 47b6dda

File tree

3 files changed

+42
-14
lines changed

3 files changed

+42
-14
lines changed
 

‎Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN apk add --no-cache git && \
3636
apk del --purge git && \
3737
vendor/bin/phpcs --config-set \
3838
installed_paths \
39-
"/usr/src/app/vendor/drupal/coder/coder_sniffer,/usr/src/app/vendor/escapestudios/symfony2-coding-standard,/usr/src/app/vendor/wp-coding-standards/wpcs,/usr/src/app/vendor/yiisoft/yii2-coding-standards,/usr/src/app/vendor/magento/marketplace-eqp" && \
39+
"/usr/src/app/vendor/drupal/coder/coder_sniffer,/usr/src/app/vendor/escapestudios/symfony2-coding-standard,/usr/src/app/vendor/wp-coding-standards/wpcs,/usr/src/app/vendor/yiisoft/yii2-coding-standards,/usr/src/app/vendor/magento/marketplace-eqp,/usr/src/app/vendor/pheromone/phpcs-security-audit" && \
4040
chown -R app:app . && \
4141
rm -r ~/.composer
4242

‎composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"escapestudios/symfony2-coding-standard": "^2.10",
2424
"wp-coding-standards/wpcs": "^1.0.0",
2525
"yiisoft/yii2-coding-standards": "^2.0",
26-
"magento/marketplace-eqp": "^1.0"
26+
"magento/marketplace-eqp": "^1.0",
27+
"pheromone/phpcs-security-audit": "^1.0"
2728
}
2829
}

‎composer.lock

Lines changed: 39 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.