From 5a012b19230fae689daa91d4610b4047a61de93e Mon Sep 17 00:00:00 2001 From: soyuka Date: Tue, 13 Jun 2023 11:12:07 +0200 Subject: [PATCH] style: maker bundle now applies php-cs-fixer --- .php-cs-fixer.dist.php | 1 - tests/Fixtures/Symfony/Maker/CustomStateProcessor.php | 11 +++++++++++ tests/Fixtures/Symfony/Maker/CustomStateProvider.php | 11 +++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 846e5a32281..abfd314adcc 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -16,7 +16,6 @@ ->exclude([ 'src/Core/Bridge/Symfony/Maker/Resources/skeleton', 'tests/Fixtures/app/var', - 'tests/Fixtures/Symfony/Maker', ]) ->notPath('src/Symfony/Bundle/DependencyInjection/Configuration.php') ->notPath('src/Annotation/ApiFilter.php') // temporary diff --git a/tests/Fixtures/Symfony/Maker/CustomStateProcessor.php b/tests/Fixtures/Symfony/Maker/CustomStateProcessor.php index 2cce1954b12..23c0a2141f6 100644 --- a/tests/Fixtures/Symfony/Maker/CustomStateProcessor.php +++ b/tests/Fixtures/Symfony/Maker/CustomStateProcessor.php @@ -1,5 +1,16 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +declare(strict_types=1); + namespace App\State; use ApiPlatform\Metadata\Operation; diff --git a/tests/Fixtures/Symfony/Maker/CustomStateProvider.php b/tests/Fixtures/Symfony/Maker/CustomStateProvider.php index b4e25e12ea5..0c4ff1f494a 100644 --- a/tests/Fixtures/Symfony/Maker/CustomStateProvider.php +++ b/tests/Fixtures/Symfony/Maker/CustomStateProvider.php @@ -1,5 +1,16 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +declare(strict_types=1); + namespace App\State; use ApiPlatform\Metadata\Operation;