mirror of
https://github.com/code-rhapsodie/FOSCKEditorBundle.git
synced 2026-03-23 22:32:19 +01:00
* Fix tests * Add SF 7 support * Update CI * Fix cs * Solve tests deprecations * Update gitattributes * Bump ci
30 lines
635 B
PHP
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);
|