landingi / php-coding-standards
Landingi Static Code Analyze Bundle
Installs: 48 390
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.4
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.10
- phpstan/phpstan-doctrine: ^1.3
- phpstan/phpstan-phpunit: ^1.3
- phpstan/phpstan-symfony: ^1.3
- povils/phpmnd: ^3.1
- symfony/polyfill-php80: ^1.27
- symplify/easy-coding-standard: ^11.3
Requires (Dev)
- phpunit/phpunit: ~9.5.26
- roave/security-advisories: dev-latest
- symfony/dotenv: ~5.4.5
README
This repository aggregates configuration files from libraries we are using in code testing
Installation
composer require --dev landingi/php-coding-standards
Components
phpstan
Config
includes: - vendor/landingi/php-coding-standards/phpstan.neon parameters: #Your custom config
vendor/bin/phpstan analyze -c phpstan.neon
Packages
- phpstan/phpstan
- phpstan/phpstan-phpunit
- phpstan/phpstan-symfony
- phpstan/phpstan-doctrine
Optional packages
- Jan0707/phpstan-prophecy - for Prophecy mocking tool
- phpstan/phpstan-mockery
ecs
Config
vendor/bin/ecs check --config vendor/landingi/php-coding-standards/ecs.php
Packages
- symplify/easy-coding-standard