dfau/coding-standard

dfau coding standard

2.1.0 2023-08-23 08:53 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