From 5d4e211789bf43cbb89deb4d9c26d67b616e79db Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 4 Aug 2025 18:57:11 +0200 Subject: [PATCH] Cleanup .php-cs-fixer.dist.php --- .php-cs-fixer.dist.php | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 42d0d443a1e8e..c7b05c8e70997 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -28,11 +28,8 @@ ]; return (new PhpCsFixer\Config()) - // @see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7777 ->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect()) ->setRules([ - '@PHP71Migration' => true, - '@PHPUnit75Migration:risky' => true, '@Symfony' => true, '@Symfony:risky' => true, 'phpdoc_var_annotation_correct_order' => true, @@ -61,25 +58,13 @@ 'Symfony/Component/Emoji/Resources/', 'Symfony/Component/Intl/Resources/data/', ]) - // explicit tests for ommited @param type, against `no_superfluous_phpdoc_tags` - ->notPath('Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php') - ->notPath('Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php') // Support for older PHPunit version - ->notPath('Symfony/Bridge/PhpUnit/SymfonyTestsListener.php') ->notPath('#Symfony/Bridge/PhpUnit/.*Mock\.php#') ->notPath('#Symfony/Bridge/PhpUnit/.*Legacy#') - // explicit trigger_error tests - ->notPath('Symfony/Component/ErrorHandler/Tests/DebugClassLoaderTest.php') - // stop removing spaces on the end of the line in strings - ->notPath('Symfony/Component/Messenger/Tests/Command/FailedMessagesShowCommandTest.php') // disable to not apply `native_function_invocation` rule, as we explicitly break it for testability reason, ref https://github.com/symfony/symfony/pull/59195 ->notPath('Symfony/Component/Mailer/Transport/NativeTransportFactory.php') // auto-generated proxies - ->notPath('Symfony/Component/Cache/Traits/RelayProxy.php') - ->notPath('Symfony/Component/Cache/Traits/Redis5Proxy.php') - ->notPath('Symfony/Component/Cache/Traits/Redis6Proxy.php') - ->notPath('Symfony/Component/Cache/Traits/RedisCluster5Proxy.php') - ->notPath('Symfony/Component/Cache/Traits/RedisCluster6Proxy.php') + ->notPath('#Symfony/Component/Cache/Traits/Re.*Proxy\.php#') // svg ->notPath('Symfony/Component/ErrorHandler/Resources/assets/images/symfony-ghost.svg.php') // HTML templates pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy