dfau/coding-standard

dfau coding standard

2.2.0 2025-01-20 09:38 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