<?php if (!file_exists(__DIR__.'/src')) { exit(0); } return PhpCsFixer\Config::create() ->setRules([ '@Symfony' => true, '@Symfony:risky' => true, '@PHPUnit75Migration:risky' => true, 'php_unit_dedicate_assert' => ['target' => '5.6'], 'array_syntax' => ['syntax' => 'short'], 'fopen_flags' => false, 'protected_to_private' => false, 'native_constant_invocation' => true, ]) ->setRiskyAllowed(true) ->setFinder( PhpCsFixer\Finder::create() ->in(__DIR__.'/src') ->append([__FILE__]) ->notPath('#/Fixtures/#') ->exclude([ // directories containing files with content that is autogenerated by `var_export`, which breaks CS in output code // fixture templates 'Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Custom', // resource templates 'Symfony/Bundle/FrameworkBundle/Resources/views/Form', // explicit trigger_error tests 'Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/', ]) // Support for older PHPunit version ->notPath('Symfony/Bridge/PhpUnit/SymfonyTestsListener.php') ->notPath('#Symfony/Bridge/PhpUnit/.*Mock\.php#') ->notPath('#Symfony/Bridge/PhpUnit/.*Legacy#') // file content autogenerated by `var_export` ->notPath('Symfony/Component/Translation/Tests/fixtures/resources.php') // test template ->notPath('Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Custom/_name_entry_label.html.php') // explicit trigger_error tests ->notPath('Symfony/Component/Debug/Tests/DebugClassLoaderTest.php') ) ;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.composer | Folder | 0755 |
|
|
.github | Folder | 0755 |
|
|
src | Folder | 0755 |
|
|
.appveyor.yml | File | 3.94 KB | 0644 |
|
.editorconfig | File | 286 B | 0644 |
|
.gitignore | File | 121 B | 0644 |
|
.php_cs.dist | File | 1.79 KB | 0644 |
|
.travis.yml | File | 12.96 KB | 0644 |
|
CHANGELOG-3.0.md | File | 43.92 KB | 0644 |
|
CHANGELOG-3.1.md | File | 36.48 KB | 0644 |
|
CHANGELOG-3.2.md | File | 49.99 KB | 0644 |
|
CHANGELOG-3.3.md | File | 59.02 KB | 0644 |
|
CHANGELOG-3.4.md | File | 120.02 KB | 0644 |
|
CODE_OF_CONDUCT.md | File | 3.36 KB | 0644 |
|
CONTRIBUTING.md | File | 1015 B | 0644 |
|
CONTRIBUTORS.md | File | 60.99 KB | 0644 |
|
LICENSE | File | 1.04 KB | 0644 |
|
README.md | File | 2.88 KB | 0644 |
|
UPGRADE-3.0.md | File | 52.05 KB | 0644 |
|
UPGRADE-3.1.md | File | 6.15 KB | 0644 |
|
UPGRADE-3.2.md | File | 7.75 KB | 0644 |
|
UPGRADE-3.3.md | File | 13.73 KB | 0644 |
|
UPGRADE-3.4.md | File | 17.62 KB | 0644 |
|
UPGRADE-4.0.md | File | 36.87 KB | 0644 |
|
composer.json | File | 5.21 KB | 0644 |
|
link | File | 3.27 KB | 0644 |
|
phpunit | File | 1.26 KB | 0644 |
|
phpunit.xml.dist | File | 3.33 KB | 0644 |
|