All checks were successful
continuous-integration/drone/push Build is passing
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>
20 lines
326 B
PHP
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')
|
|
)
|
|
;
|