ethical-jobs / standards
Installs: 57
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/ethical-jobs/standards
Requires
- php: >=7.2
- phpmd/phpmd: ^2.8
- phpstan/phpstan: ^0.12
- sebastian/phpcpd: ^5.0
- slevomat/coding-standard: ^6.1
- squizlabs/php_codesniffer: ^3.5
- symfony/console: ^5.0
- symfony/process: ^5.0
This package is not auto-updated.
Last update: 2025-10-01 10:23:38 UTC
README
Exists to:
- Provide a source of truth for our code-styling and rules
- Provide an easy interface for developers to locally run the standards suite
- Provide a Drone pipeline template generation
Does not exist to:
- Wrap the execution on the build server
Usage
composer require --dev ethicaljobs/standards
vendor/bin/ej-standards run
The Standards
PHP Mess Detector
Enforces good code design
PHP Code Sniffer
Useful for keeping consistent code style
PHP Stan
Useful for determining edge-cases, un-usable code paths, ...
Configuration
Runners
This standards package comes with two runners for running the standards suite.
Assumptions
- drone-cli is installed
- the project has a pipeline called 'standards'