elasticms/common-bundle

All code shared between the EMS client helper and the EMS core

Installs: 5 437

Dependents: 3

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 6

Open Issues: 4

Type:symfony-bundle

1.8.57 2021-02-17 13:36 UTC

README

All code shared between the client helper and the core

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 run at level 8, you can check for errors locally using:

composer phpstan

PHPUnit is available

composer phpunit

Documentation

Twig documentation

Update the PHP stan baseline

vendor/bin/phpstan analyse src/ tests/ --generate-baseline