Php Code Validator
Provides a basic system to organize and execute php code validators.
There's a Symfony bundle with this component.
Code structure
Create your own Validator
When you need to validate or check your code and the validators provided by this bundle doesn't satisfy your needs (different code language, formats, etc...) there is the possibility to create a new Validator class by implementing the Validator interface (Trovit\PhpCodeValidator\Validators\Validator) and implement its method checkCode
List of available validators
- CodeSnifferValidator: Wrapper of PHP Code Sniffer
- ParallelLintValidator: Wrapper of PHP Parallel Lint