Api documentation Elasticms documentation
PHP Code Sniffer is available via composer, the standard used is defined in phpcs.xml.diff:
composer phpcsIf your code is not compliant, you could try fixing it automatically:
composer phpcbfPHPStan is configured at level 3, you can check for errors locally using:
composer phpstanController/ApplController.php is excluded Please take some time to refactor the deprecated functions to use dependency injection instead of getting services from the container
If you want to regenerate a PHPStan baseline run this command:
vendor/bin/phpstan analyse --generate-baseline
demo-dev trans:update --force --output-format=yml --sort=asc en EMSCoreBundle
demo-dev trans:update --force --domain=emsco-twigs --output-format=yml --sort=asc en EMSCoreBundle