Loading composer.json +2 −2 Original line number Diff line number Diff line Loading @@ -42,8 +42,8 @@ } }, "scripts" : { "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" "sniffer:php8": "./vendor/bin/phpcs -p ./module --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.2", "phpcs" : "./vendor/bin/phpcs --standard=phpcs.xml" }, "minimum-stability": "dev" } docker/dev/php.conf +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ max_input_time = 60 max_execution_time = 300 # NB: ne peut-être supérieur au memory_limit du php.ini memory_limit = 1024M memory_limit = 2048M # NB: post_max_size > upload_max_filesize upload_max_filesize = 501M Loading phpcs.xml +6 −2 Original line number Diff line number Diff line Loading @@ -12,11 +12,15 @@ <!-- Show progress --> <arg value="p"/> <config name="testVersion" value="8.2-"/> <!-- Paths to check --> <file>admin</file> <file>src</file> <file>module</file> <!--<file>vendor</file>--> <!--<file>test</file>--> <!-- Include all rules from Laminas Coding Standard --> <rule ref="LaminasCodingStandard"/> <!--<rule ref="LaminasCodingStandard"/>--> <rule ref="vendor/phpcompatibility/php-compatibility/PHPCompatibility"/> </ruleset> Loading
composer.json +2 −2 Original line number Diff line number Diff line Loading @@ -42,8 +42,8 @@ } }, "scripts" : { "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" "sniffer:php8": "./vendor/bin/phpcs -p ./module --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.2", "phpcs" : "./vendor/bin/phpcs --standard=phpcs.xml" }, "minimum-stability": "dev" }
docker/dev/php.conf +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ max_input_time = 60 max_execution_time = 300 # NB: ne peut-être supérieur au memory_limit du php.ini memory_limit = 1024M memory_limit = 2048M # NB: post_max_size > upload_max_filesize upload_max_filesize = 501M Loading
phpcs.xml +6 −2 Original line number Diff line number Diff line Loading @@ -12,11 +12,15 @@ <!-- Show progress --> <arg value="p"/> <config name="testVersion" value="8.2-"/> <!-- Paths to check --> <file>admin</file> <file>src</file> <file>module</file> <!--<file>vendor</file>--> <!--<file>test</file>--> <!-- Include all rules from Laminas Coding Standard --> <rule ref="LaminasCodingStandard"/> <!--<rule ref="LaminasCodingStandard"/>--> <rule ref="vendor/phpcompatibility/php-compatibility/PHPCompatibility"/> </ruleset>