Commit 1253d9d4 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Ajout de phan et php-compatibility pour tester le code php8 et éventuellement...

Ajout de phan et php-compatibility pour tester le code php8 et éventuellement PSR12 avec des commandes composer
parent ab1f2ddf
......@@ -22,7 +22,8 @@
},
"require-dev" : {
"squizlabs/php_codesniffer" : "3.*",
"phpcompatibility/php-compatibility": "*"
"phpcompatibility/php-compatibility": "*",
"phan/phan" : "^5.3"
},
"prefer-stable" : true,
"config" : {
......@@ -32,7 +33,8 @@
}
},
"scripts" : {
"sniffer:php8": "./vendor/bin/phpcs -p ./module --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.0"
"sniffer:php8": "./vendor/bin/phpcs -p ./module --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.0",
"phpcs" : "./vendor/bin/phpcs -p ./module --standard=PSR12"
},
"minimum-stability": "dev"
}
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment