Files
fsfe-website/.php-cs-fixer.dist.php
delliott ec321f1f99
All checks were successful
continuous-integration/drone/push Build is passing
fix/php-cs-fixer (#5538)
fixes some issues with the latest version of php-cs-fixer and runs it on all files.

solved the ci hangs we are seeing in #5528 and #5512

Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5538
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
2025-12-22 14:59:00 +00:00

20 lines
326 B
PHP

<?php
declare(strict_types=1);
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
return (new Config())
->setRiskyAllowed(false)
->setRules([
'@PhpCsFixer' => true,
])
->setFinder(
(new Finder())
->in(__DIR__)
->exclude(['thirdparty'])
->name('*.php')
)
;