Skip to content
Snippets Groups Projects
Commit 3ff460c2 authored by Camille Simiand's avatar Camille Simiand
Browse files

Add PHP_CodeSniffer dependency

in order to check if there are PSR errors before committing changes

How to test/use ?
From memorekall-member container, run:
- php ./vendor/bin/phpcs (to display errors)
- php ./vendor/bin/phpcbf (to fix main errors)
parent ebf9df3d
Branches
Tags
1 merge request!11Add PHP_CodeSniffer dependency
......@@ -24,3 +24,8 @@ tools/php-cs-fixer/vendor/
npm-debug.log
yarn-error.log
###< symfony/webpack-encore-bundle ###
###> squizlabs/php_codesniffer ###
/.phpcs-cache
/phpcs.xml
###< squizlabs/php_codesniffer ###
This diff is collapsed.
File changed. Contains only whitespace changes. Show whitespace changes.
......@@ -166,6 +166,12 @@
"friendsofphp/proxy-manager-lts": {
"version": "v1.0.5"
},
"gregwar/captcha": {
"version": "v1.1.9"
},
"gregwar/captcha-bundle": {
"version": "v2.1.5"
},
"guzzlehttp/guzzle": {
"version": "7.4.0"
},
......@@ -175,12 +181,6 @@
"guzzlehttp/psr7": {
"version": "2.1.0"
},
"gregwar/captcha": {
"version": "v1.1.9"
},
"gregwar/captcha-bundle": {
"version": "v2.1.5"
},
"laminas/laminas-code": {
"version": "4.4.3"
},
......@@ -261,12 +261,24 @@
"psr/event-dispatcher": {
"version": "1.0.0"
},
"psr/http-client": {
"version": "1.0.1"
},
"psr/http-factory": {
"version": "1.0.1"
},
"psr/http-message": {
"version": "1.0.1"
},
"psr/link": {
"version": "1.0.0"
},
"psr/log": {
"version": "1.1.4"
},
"ralouphie/getallheaders": {
"version": "3.0.3"
},
"sebastian/cli-parser": {
"version": "1.0.1"
},
......@@ -327,6 +339,18 @@
"config/packages/sensio_framework_extra.yaml"
]
},
"squizlabs/php_codesniffer": {
"version": "3.6",
"recipe": {
"repo": "github.com/symfony/recipes-contrib",
"branch": "master",
"version": "3.6",
"ref": "1019e5c08d4821cb9b77f4891f8e9c31ff20ac6f"
},
"files": [
"phpcs.xml.dist"
]
},
"symfony/asset": {
"version": "v5.3.4"
},
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment