From 44b96370195c2f93dba4ce6659f7d666c916924d Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Tue, 12 Sep 2023 09:56:54 -0400 Subject: [PATCH 1/6] Allowing symfony 7 dependencies --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 62050f7..6c5bbf1 100644 --- a/composer.json +++ b/composer.json @@ -25,11 +25,11 @@ "doctrine/doctrine-bundle": "^1.11|^2.0", "doctrine/orm": "^2.6.0", "doctrine/persistence": "^1.3.7|^2.0|^3.0", - "symfony/config": "^3.4|^4.3|^5.0|^6.0", - "symfony/console": "^3.4|^4.3|^5.0|^6.0", - "symfony/dependency-injection": "^3.4.47|^4.3|^5.0|^6.0", - "symfony/doctrine-bridge": "^3.4|^4.1|^5.0|^6.0", - "symfony/http-kernel": "^3.4|^4.3|^5.0|^6.0" + "symfony/config": "^3.4|^4.3|^5.0|^6.0|^7.0", + "symfony/console": "^3.4|^4.3|^5.0|^6.0|^7.0", + "symfony/dependency-injection": "^3.4.47|^4.3|^5.0|^6.0|^7.0", + "symfony/doctrine-bridge": "^3.4|^4.1|^5.0|^6.0|^7.0", + "symfony/http-kernel": "^3.4|^4.3|^5.0|^6.0|^7.0" }, "require-dev": { "doctrine/coding-standard": "^9", From 0f9add39d0354f3fb1bce559a0320741aad3e058 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Tue, 12 Sep 2023 10:14:29 -0400 Subject: [PATCH 2/6] adding void return type in test --- Tests/IntegrationTestKernel.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tests/IntegrationTestKernel.php b/Tests/IntegrationTestKernel.php index 79632e5..c4f0843 100644 --- a/Tests/IntegrationTestKernel.php +++ b/Tests/IntegrationTestKernel.php @@ -79,8 +79,7 @@ public function getLogDir(): string return sys_get_temp_dir(); } - /** @return void */ - protected function build(ContainerBuilder $container) + protected function build(ContainerBuilder $container): void { $container->addCompilerPass(new class implements CompilerPassInterface { public function process(ContainerBuilder $container): void From 0dc1623d7ccf2ffa6392a64a7a7fa837b3422095 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Tue, 12 Sep 2023 10:30:23 -0400 Subject: [PATCH 3/6] Stop using deprecated ContainerAwareLoader --- Loader/SymfonyFixturesLoader.php | 4 ++-- Tests/Command/LoadDataFixturesDoctrineCommandTest.php | 5 ++--- Tests/IntegrationTest.php | 7 +++---- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/Loader/SymfonyFixturesLoader.php b/Loader/SymfonyFixturesLoader.php index 83a8cd8..a247b58 100644 --- a/Loader/SymfonyFixturesLoader.php +++ b/Loader/SymfonyFixturesLoader.php @@ -8,17 +8,17 @@ use Doctrine\Bundle\FixturesBundle\FixtureGroupInterface; use Doctrine\Common\DataFixtures\DependentFixtureInterface; use Doctrine\Common\DataFixtures\FixtureInterface; +use Doctrine\Common\DataFixtures\Loader; use LogicException; use ReflectionClass; use RuntimeException; -use Symfony\Bridge\Doctrine\DataFixtures\ContainerAwareLoader; use function array_key_exists; use function array_values; use function get_class; use function sprintf; -final class SymfonyFixturesLoader extends ContainerAwareLoader +final class SymfonyFixturesLoader extends Loader { /** @var FixtureInterface[] */ private $loadedFixtures = []; diff --git a/Tests/Command/LoadDataFixturesDoctrineCommandTest.php b/Tests/Command/LoadDataFixturesDoctrineCommandTest.php index 6607ce9..358bd36 100644 --- a/Tests/Command/LoadDataFixturesDoctrineCommandTest.php +++ b/Tests/Command/LoadDataFixturesDoctrineCommandTest.php @@ -9,7 +9,6 @@ use Doctrine\Bundle\FixturesBundle\Loader\SymfonyFixturesLoader; use Doctrine\Persistence\ManagerRegistry; use PHPUnit\Framework\TestCase; -use Symfony\Component\DependencyInjection\Container; use TypeError; use function sprintf; @@ -24,7 +23,7 @@ class LoadDataFixturesDoctrineCommandTest extends TestCase */ public function testInstantiatingWithoutManagerRegistry(): void { - $loader = new SymfonyFixturesLoader(new Container()); + $loader = new SymfonyFixturesLoader(); try { new LoadDataFixturesDoctrineCommand($loader); @@ -47,7 +46,7 @@ public function testInstantiatingWithoutManagerRegistry(): void public function testInstantiatingWithManagerRegistry(): void { $registry = $this->createMock(ManagerRegistry::class); - $loader = new SymfonyFixturesLoader(new Container()); + $loader = new SymfonyFixturesLoader(); new LoadDataFixturesDoctrineCommand($loader, $registry); } diff --git a/Tests/IntegrationTest.php b/Tests/IntegrationTest.php index 963a127..b60cf7c 100644 --- a/Tests/IntegrationTest.php +++ b/Tests/IntegrationTest.php @@ -22,7 +22,6 @@ use LogicException; use PHPUnit\Framework\TestCase; use RuntimeException; -use Symfony\Bridge\Doctrine\DataFixtures\ContainerAwareLoader; use Symfony\Component\Console\Tester\CommandTester; use Symfony\Component\DependencyInjection\Alias; use Symfony\Component\DependencyInjection\ContainerBuilder; @@ -51,7 +50,7 @@ public function testFixturesLoader(): void $container = $kernel->getContainer(); $loader = $container->get('test.doctrine.fixtures.loader'); - assert($loader instanceof ContainerAwareLoader); + assert($loader instanceof Loader); $actualFixtures = $loader->getFixtures(); $this->assertCount(2, $actualFixtures); @@ -84,7 +83,7 @@ public function testFixturesLoaderWhenFixtureHasDepdencenyThatIsNotYetLoaded(): $container = $kernel->getContainer(); $loader = $container->get('test.doctrine.fixtures.loader'); - assert($loader instanceof ContainerAwareLoader); + assert($loader instanceof Loader); $actualFixtures = $loader->getFixtures(); $this->assertCount(2, $actualFixtures); @@ -123,7 +122,7 @@ public function testExceptionWithDependenciesWithRequiredArguments(): void $container = $kernel->getContainer(); $loader = $container->get('test.doctrine.fixtures.loader'); - assert($loader instanceof ContainerAwareLoader); + assert($loader instanceof Loader); $this->expectException(LogicException::class); $this->expectExceptionMessage('The getDependencies() method returned a class (Doctrine\Bundle\FixturesBundle\Tests\Fixtures\FooBundle\DataFixtures\RequiredConstructorArgsFixtures) that has required constructor arguments. Upgrade to "doctrine/data-fixtures" version 1.3 or higher to support this.'); From 384a8e1483e1be35ef4135240a42e426349d6c37 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 13 Sep 2023 08:08:09 -0400 Subject: [PATCH 4/6] Bumping min Symfony version to 5.4, php version to 8.1 --- .github/workflows/continuous-integration.yml | 36 +------------------- composer.json | 18 +++++----- 2 files changed, 10 insertions(+), 44 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 3567622..5370679 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -23,28 +23,15 @@ jobs: strategy: matrix: php-version: - - "7.1" - - "7.2" - - "7.3" - - "7.4" - - "8.0" - "8.1" - "8.2" dependencies: - "highest" stability: - "stable" - extra_constraint: - - "" include: - dependencies: "lowest" - php-version: "7.1" - - dependencies: "highest" - extra_constraint: "symfony/lts:v3" - php-version: "7.3" - - dependencies: "highest" - stability: "dev" - php-version: "7.3" + php-version: "8.1" - dependencies: "highest" stability: "dev" php-version: "8.2" @@ -57,28 +44,15 @@ jobs: - name: "Install PHP with PCOV" uses: "shivammathur/setup-php@v2" - if: "${{ matrix.php-version != '7.1' }}" with: php-version: "${{ matrix.php-version }}" coverage: "pcov" ini-values: "zend.assertions=1" - - name: "Install PHP with XDebug" - uses: "shivammathur/setup-php@v2" - if: "${{ matrix.php-version == '7.1' }}" - with: - php-version: "${{ matrix.php-version }}" - coverage: "xdebug" - ini-values: "zend.assertions=1" - - name: "Use dev stability" run: "composer config minimum-stability dev" if: "${{ matrix.stability == 'dev' }}" - - name: "Add extra constraint" - run: "composer require --no-update ${{matrix.extra_constraint}}" - if: "${{ contains(matrix.extra_constraint, '/') }}" - - name: "Install dependencies with Composer" uses: "ramsey/composer-install@v2" with: @@ -94,18 +68,10 @@ jobs: - name: "Upload coverage file" uses: "actions/upload-artifact@v3" - if: "${{ ! contains(matrix.extra_constraint, '/') }}" with: name: "phpunit-${{ matrix.dependencies }}-${{ matrix.stability }}-${{ matrix.php-version }}.coverage" path: "coverage.xml" - - name: "Upload coverage file, sanitize the name" - uses: "actions/upload-artifact@v3" - if: "${{ contains(matrix.extra_constraint, '/') }}" - with: - name: "phpunit-symfony-lts-${{ matrix.php-version }}.coverage" - path: "coverage.xml" - upload_coverage: name: "Upload coverage to Codecov" runs-on: "ubuntu-22.04" diff --git a/composer.json b/composer.json index 6c5bbf1..3447841 100644 --- a/composer.json +++ b/composer.json @@ -20,21 +20,21 @@ } ], "require": { - "php": "^7.1 || ^8.0", + "php": "^8.1", "doctrine/data-fixtures": "^1.3", - "doctrine/doctrine-bundle": "^1.11|^2.0", + "doctrine/doctrine-bundle": "^2.0", "doctrine/orm": "^2.6.0", - "doctrine/persistence": "^1.3.7|^2.0|^3.0", - "symfony/config": "^3.4|^4.3|^5.0|^6.0|^7.0", - "symfony/console": "^3.4|^4.3|^5.0|^6.0|^7.0", - "symfony/dependency-injection": "^3.4.47|^4.3|^5.0|^6.0|^7.0", - "symfony/doctrine-bridge": "^3.4|^4.1|^5.0|^6.0|^7.0", - "symfony/http-kernel": "^3.4|^4.3|^5.0|^6.0|^7.0" + "doctrine/persistence": "^2.0|^3.0", + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/doctrine-bridge": "^5.4|^6.0|^7.0", + "symfony/http-kernel": "^5.4|^6.0|^7.0" }, "require-dev": { "doctrine/coding-standard": "^9", "phpstan/phpstan": "^1.4.10", - "phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20", + "phpunit/phpunit": "^9.5.20", "symfony/phpunit-bridge": "^6.0.8", "vimeo/psalm": "^4.22" }, From 22c1462daaa1e7d331d920f81faae076ef7e505f Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sun, 12 Nov 2023 00:10:44 +0100 Subject: [PATCH 5/6] Add native return types everywhere (#409) --- Command/CommandCompatibility.php | 35 ------------------- Command/LoadDataFixturesDoctrineCommand.php | 7 ++-- .../DoctrineFixturesExtension.php | 4 +-- DoctrineFixturesBundle.php | 3 +- Purger/ORMPurgerFactory.php | 3 +- Tests/IntegrationTest.php | 3 +- phpcs.xml.dist | 5 +-- psalm.xml | 8 ----- 8 files changed, 7 insertions(+), 61 deletions(-) delete mode 100644 Command/CommandCompatibility.php diff --git a/Command/CommandCompatibility.php b/Command/CommandCompatibility.php deleted file mode 100644 index 1dc6450..0000000 --- a/Command/CommandCompatibility.php +++ /dev/null @@ -1,35 +0,0 @@ -hasReturnType()) { - /** @internal */ - trait CommandCompatibility - { - protected function execute(InputInterface $input, OutputInterface $output): int - { - return $this->doExecute($input, $output); - } - } -} else { - /** @internal */ - trait CommandCompatibility - { - /** - * {@inheritDoc} - * - * @return int - */ - protected function execute(InputInterface $input, OutputInterface $output) - { - return $this->doExecute($input, $output); - } - } -} diff --git a/Command/LoadDataFixturesDoctrineCommand.php b/Command/LoadDataFixturesDoctrineCommand.php index 76eeaa0..474c5e0 100644 --- a/Command/LoadDataFixturesDoctrineCommand.php +++ b/Command/LoadDataFixturesDoctrineCommand.php @@ -29,8 +29,6 @@ */ class LoadDataFixturesDoctrineCommand extends DoctrineCommand { - use CommandCompatibility; - private SymfonyFixturesLoader $fixturesLoader; /** @var PurgerFactory[] */ @@ -55,8 +53,7 @@ public function __construct(SymfonyFixturesLoader $fixturesLoader, ?ManagerRegis $this->purgerFactories = $purgerFactories; } - /** @return void */ - protected function configure() + protected function configure(): void { $this ->setName('doctrine:fixtures:load') @@ -92,7 +89,7 @@ protected function configure() ); } - private function doExecute(InputInterface $input, OutputInterface $output): int + protected function execute(InputInterface $input, OutputInterface $output): int { $ui = new SymfonyStyle($input, $output); diff --git a/DependencyInjection/DoctrineFixturesExtension.php b/DependencyInjection/DoctrineFixturesExtension.php index e23e40b..0c5ef0f 100644 --- a/DependencyInjection/DoctrineFixturesExtension.php +++ b/DependencyInjection/DoctrineFixturesExtension.php @@ -17,10 +17,8 @@ class DoctrineFixturesExtension extends Extension { /** * {@inheritDoc} - * - * @return void */ - public function load(array $configs, ContainerBuilder $container) + public function load(array $configs, ContainerBuilder $container): void { $loader = new XmlFileLoader($container, new FileLocator(dirname(__DIR__) . '/Resources/config')); diff --git a/DoctrineFixturesBundle.php b/DoctrineFixturesBundle.php index 5053272..435f6c3 100644 --- a/DoctrineFixturesBundle.php +++ b/DoctrineFixturesBundle.php @@ -11,8 +11,7 @@ class DoctrineFixturesBundle extends Bundle { - /** @return void */ - public function build(ContainerBuilder $container) + public function build(ContainerBuilder $container): void { $container->addCompilerPass(new FixturesCompilerPass()); $container->addCompilerPass(new PurgerFactoryCompilerPass()); diff --git a/Purger/ORMPurgerFactory.php b/Purger/ORMPurgerFactory.php index 2f094f8..7dc95b9 100644 --- a/Purger/ORMPurgerFactory.php +++ b/Purger/ORMPurgerFactory.php @@ -5,7 +5,6 @@ namespace Doctrine\Bundle\FixturesBundle\Purger; use Doctrine\Common\DataFixtures\Purger\ORMPurger; -use Doctrine\Common\DataFixtures\Purger\PurgerInterface; use Doctrine\ORM\EntityManagerInterface; final class ORMPurgerFactory implements PurgerFactory @@ -18,7 +17,7 @@ public function createForEntityManager( EntityManagerInterface $em, array $excluded = [], bool $purgeWithTruncate = false - ): PurgerInterface { + ): ORMPurger { $purger = new ORMPurger($em, $excluded); $purger->setPurgeMode($purgeWithTruncate ? ORMPurger::PURGE_MODE_TRUNCATE : ORMPurger::PURGE_MODE_DELETE); diff --git a/Tests/IntegrationTest.php b/Tests/IntegrationTest.php index 37feb82..14bf35d 100644 --- a/Tests/IntegrationTest.php +++ b/Tests/IntegrationTest.php @@ -457,6 +457,5 @@ public function testRunCommandWithPurgeMode(): void interface ForwardCompatibleEntityManager extends EntityManagerInterface { - /** @return mixed */ - public function wrapInTransaction(callable $func); + public function wrapInTransaction(callable $func): mixed; } diff --git a/phpcs.xml.dist b/phpcs.xml.dist index aea16aa..12c2049 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -14,10 +14,7 @@ . /vendor - - - - + diff --git a/psalm.xml b/psalm.xml index dc28659..71859f3 100644 --- a/psalm.xml +++ b/psalm.xml @@ -22,12 +22,4 @@ - - - - - - - - From 059b24f4244c1363a009fb4d1fbe655afe3a60c6 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sun, 12 Nov 2023 11:32:26 +0100 Subject: [PATCH 6/6] Apply PHPCS' PHP 8.1 rules (#412) --- Command/LoadDataFixturesDoctrineCommand.php | 15 +++++---------- Loader/SymfonyFixturesLoader.php | 6 +++--- Purger/ORMPurgerFactory.php | 4 ++-- Purger/PurgerFactory.php | 4 ++-- Tests/IntegrationTest.php | 11 +++++------ Tests/IntegrationTestKernel.php | 2 +- phpcs.xml.dist | 2 +- 7 files changed, 19 insertions(+), 25 deletions(-) diff --git a/Command/LoadDataFixturesDoctrineCommand.php b/Command/LoadDataFixturesDoctrineCommand.php index a750a77..2b26539 100644 --- a/Command/LoadDataFixturesDoctrineCommand.php +++ b/Command/LoadDataFixturesDoctrineCommand.php @@ -27,14 +27,12 @@ */ class LoadDataFixturesDoctrineCommand extends DoctrineCommand { - private SymfonyFixturesLoader $fixturesLoader; - - /** @var PurgerFactory[] */ - private array $purgerFactories; - /** @param PurgerFactory[] $purgerFactories */ - public function __construct(SymfonyFixturesLoader $fixturesLoader, ?ManagerRegistry $doctrine = null, array $purgerFactories = []) - { + public function __construct( + private SymfonyFixturesLoader $fixturesLoader, + ManagerRegistry|null $doctrine = null, + private array $purgerFactories = [], + ) { if ($doctrine === null) { trigger_deprecation( 'doctrine/fixtures-bundle', @@ -46,9 +44,6 @@ public function __construct(SymfonyFixturesLoader $fixturesLoader, ?ManagerRegis } parent::__construct($doctrine); - - $this->fixturesLoader = $fixturesLoader; - $this->purgerFactories = $purgerFactories; } protected function configure(): void diff --git a/Loader/SymfonyFixturesLoader.php b/Loader/SymfonyFixturesLoader.php index 6945fc1..77e4def 100644 --- a/Loader/SymfonyFixturesLoader.php +++ b/Loader/SymfonyFixturesLoader.php @@ -50,7 +50,7 @@ public function addFixtures(array $fixtures): void public function addFixture(FixtureInterface $fixture): void { - $class = get_class($fixture); + $class = $fixture::class; $this->loadedFixtures[$class] = $fixture; $reflection = new ReflectionClass($fixture); @@ -103,7 +103,7 @@ public function getFixtures(array $groups = []): array $filteredFixtures = []; foreach ($fixtures as $fixture) { foreach ($groups as $group) { - $fixtureClass = get_class($fixture); + $fixtureClass = $fixture::class; if (isset($this->groupsFixtureMapping[$group][$fixtureClass])) { $filteredFixtures[$fixtureClass] = $fixture; continue 2; @@ -145,7 +145,7 @@ private function validateDependencies(array $fixtures, FixtureInterface $fixture foreach ($dependenciesClasses as $class) { if (! array_key_exists($class, $fixtures)) { - throw new RuntimeException(sprintf('Fixture "%s" was declared as a dependency for fixture "%s", but it was not included in any of the loaded fixture groups.', $class, get_class($fixture))); + throw new RuntimeException(sprintf('Fixture "%s" was declared as a dependency for fixture "%s", but it was not included in any of the loaded fixture groups.', $class, $fixture::class)); } } } diff --git a/Purger/ORMPurgerFactory.php b/Purger/ORMPurgerFactory.php index 7dc95b9..70f064d 100644 --- a/Purger/ORMPurgerFactory.php +++ b/Purger/ORMPurgerFactory.php @@ -13,10 +13,10 @@ final class ORMPurgerFactory implements PurgerFactory * {@inheritDoc} */ public function createForEntityManager( - ?string $emName, + string|null $emName, EntityManagerInterface $em, array $excluded = [], - bool $purgeWithTruncate = false + bool $purgeWithTruncate = false, ): ORMPurger { $purger = new ORMPurger($em, $excluded); $purger->setPurgeMode($purgeWithTruncate ? ORMPurger::PURGE_MODE_TRUNCATE : ORMPurger::PURGE_MODE_DELETE); diff --git a/Purger/PurgerFactory.php b/Purger/PurgerFactory.php index b625888..41b0c86 100644 --- a/Purger/PurgerFactory.php +++ b/Purger/PurgerFactory.php @@ -11,9 +11,9 @@ interface PurgerFactory { /** @psalm-param list $excluded */ public function createForEntityManager( - ?string $emName, + string|null $emName, EntityManagerInterface $em, array $excluded = [], - bool $purgeWithTruncate = false + bool $purgeWithTruncate = false, ): PurgerInterface; } diff --git a/Tests/IntegrationTest.php b/Tests/IntegrationTest.php index 14bf35d..ed2e7b3 100644 --- a/Tests/IntegrationTest.php +++ b/Tests/IntegrationTest.php @@ -26,7 +26,6 @@ use Symfony\Component\DependencyInjection\Definition; use function array_map; -use function get_class; class IntegrationTest extends TestCase { @@ -51,7 +50,7 @@ public function testFixturesLoader(): void $actualFixtures = $loader->getFixtures(); $this->assertCount(2, $actualFixtures); $actualFixtureClasses = array_map(static function ($fixture) { - return get_class($fixture); + return $fixture::class; }, $actualFixtures); $this->assertSame([ @@ -84,7 +83,7 @@ public function testFixturesLoaderWhenFixtureHasDepdencenyThatIsNotYetLoaded(): $actualFixtures = $loader->getFixtures(); $this->assertCount(2, $actualFixtures); $actualFixtureClasses = array_map(static function ($fixture) { - return get_class($fixture); + return $fixture::class; }, $actualFixtures); $this->assertSame([ @@ -135,7 +134,7 @@ public function testFixturesLoaderWithGroupsOptionViaInterface(): void $actualFixtures = $loader->getFixtures(['staging']); $this->assertCount(1, $actualFixtures); $actualFixtureClasses = array_map(static function ($fixture) { - return get_class($fixture); + return $fixture::class; }, $actualFixtures); $this->assertSame([ @@ -222,7 +221,7 @@ public function testLoadFixturesViaGroupWithFulfilledDependency(): void $this->assertCount(2, $actualFixtures); $actualFixtureClasses = array_map(static function ($fixture) { - return get_class($fixture); + return $fixture::class; }, $actualFixtures); $this->assertSame([ @@ -255,7 +254,7 @@ public function testLoadFixturesByShortName(): void $this->assertCount(1, $actualFixtures); $actualFixtureClasses = array_map(static function ($fixture) { - return get_class($fixture); + return $fixture::class; }, $actualFixtures); $this->assertSame([ diff --git a/Tests/IntegrationTestKernel.php b/Tests/IntegrationTestKernel.php index 89e1b93..524a846 100644 --- a/Tests/IntegrationTestKernel.php +++ b/Tests/IntegrationTestKernel.php @@ -18,7 +18,7 @@ class IntegrationTestKernel extends Kernel { - private ?Closure $servicesCallback = null; + private Closure|null $servicesCallback = null; private int $randomKey; public function __construct(string $environment, bool $debug) diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 78761b1..3595a8f 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -6,7 +6,7 @@ - +