Skip to content

Commit 3453749

Browse files
committed
minor symfony#54317 Clean PhpCsFixer configuration (smnandre)
This PR was squashed before being merged into the 7.1 branch. Discussion ---------- Clean PhpCsFixer configuration | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT Remove some lines from the configuration * Framework files that do not exist anymore (Templating & Form paths) * Files ignored by the "Fixtures" rules Commits ------- 99ae653 Clean PhpCsFixer configuration
2 parents c490ef4 + 99ae653 commit 3453749

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

.php-cs-fixer.dist.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@
4040
->append([__FILE__])
4141
->notPath('#/Fixtures/#')
4242
->exclude([
43-
// directories containing files with content that is autogenerated by `var_export`, which breaks CS in output code
44-
// fixture templates
45-
'Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Custom',
46-
// resource templates
47-
'Symfony/Bundle/FrameworkBundle/Resources/views/Form',
4843
// explicit trigger_error tests
4944
'Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/',
5045
'Symfony/Component/Emoji/Resources/',
@@ -57,12 +52,6 @@
5752
->notPath('Symfony/Bridge/PhpUnit/SymfonyTestsListener.php')
5853
->notPath('#Symfony/Bridge/PhpUnit/.*Mock\.php#')
5954
->notPath('#Symfony/Bridge/PhpUnit/.*Legacy#')
60-
// file content autogenerated by `var_export`
61-
->notPath('Symfony/Component/Translation/Tests/Fixtures/resources.php')
62-
// file content autogenerated by `VarExporter::export`
63-
->notPath('Symfony/Component/Serializer/Tests/Fixtures/serializer.class.metadata.php')
64-
// test template
65-
->notPath('Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Custom/_name_entry_label.html.php')
6655
// explicit trigger_error tests
6756
->notPath('Symfony/Component/ErrorHandler/Tests/DebugClassLoaderTest.php')
6857
// stop removing spaces on the end of the line in strings

0 commit comments

Comments
 (0)