Check for PSR-12
05. Mai 2022
05. Mai 2022
To do more code optimisation and check for PSR-12 coding standard, you can add ECS:
https://github.com/symplify/easy-coding-standard
Install composer package:composer require symplify/easy-coding-standard --dev
Initialise (creates ecs.php in root):vendor/bin/ecs init
Check your code:vendor/bin/ecs check packages/zwbisdrei_config
Fix your code:vendor/bin/ecs check packages/zwbisdrei_config --fix