dfau / coding-standard
dfau coding standard
Installs: 6 146
Dependents: 3
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 2
Requires
- php: ^7.3 | ^8
- slevomat/coding-standard: ^7.0
- symplify/easy-coding-standard: ^11.5
Requires (Dev)
- roave/security-advisories: dev-latest
This package is auto-updated.
Last update: 2024-10-23 11:29:44 UTC
README
🥇 DFAU coding standard configuration.
Installation & usage
Install this package:
composer require --dev dfau/coding-standard
ECS (Easy Coding Standard)
Run coding standard check via (in a typo3 extension context):
.Build/bin/ecs check -c .Build/vendor/dfau/coding-standard/ecs.php Classes
To fix errors add --fix
to
.Build/bin/ecs check -c .Build/vendor/dfau/coding-standard/ecs.php Classes --fix
TypoScript Lint
Run typo3-typoscript-lint via:
.Build/bin/typo3-typoscript-lint ./**/*.typoscript