Files
FOSCKEditorBundle/.php-cs-fixer.php
Vincent Langlet 7ce41e195f Add Symfony 7 support ; drop Symfony < 5.4 support and PHP < 8 support (#258)
* Fix tests

* Add SF 7 support

* Update CI

* Fix cs

* Solve tests deprecations

* Update gitattributes

* Bump ci
2024-01-23 16:29:51 +01:00

30 lines
635 B
PHP

<?php
/*
* This file is part of the Ivory CKEditor package.
*
* (c) Eric GELOEN <geloen.eric@gmail.com>
*
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$finder = Finder::create()
->in(__DIR__)
->exclude('vendor');
$config = new Config();
return $config
->setUsingCache(true)
->setRules([
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
'ordered_imports' => true,
'yoda_style' => false,
])
->setFinder($finder);