The elasticms core bundle

Installs: 2 563

Dependents: 2

Suggesters: 0

Security: 0

Stars: 2

Watchers: 7

Forks: 9

Open Issues: 92



1.16.10 2021-10-22 08:52 UTC

This package is auto-updated.

Last update: 2021-10-22 08:53:12 UTC


Api documentation Elasticms documentation

Coding standards

PHP Code Sniffer is available via composer, the standard used is defined in phpcs.xml.diff:

composer phpcs

If your code is not compliant, you could try fixing it automatically:

composer phpcbf

PHPStan is configured at level 3, you can check for errors locally using:

composer phpstan

Controller/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

Update translation files

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