From 6379bac5b843672bc0af44378013b8fc956f0c75 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Wed, 1 Jan 2025 03:20:56 +0800 Subject: [PATCH] Do not automatically lint data files --- .php-cs-fixer.dist.php | 2 +- tests/Collection/data/collection.php | 9 --------- tests/Collection/data/iterator.php | 9 --------- tests/Option/data/option.php | 9 --------- 4 files changed, 1 insertion(+), 28 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index cdab6ff..81b0de5 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -36,7 +36,7 @@ __DIR__.'/tools', ]) ->notPath([ - '#PHPStan/.+/data/.+#', + '#.+/data/.+#', ]) ->append([ __FILE__, diff --git a/tests/Collection/data/collection.php b/tests/Collection/data/collection.php index 37aedea..01b6f2f 100644 --- a/tests/Collection/data/collection.php +++ b/tests/Collection/data/collection.php @@ -2,15 +2,6 @@ declare(strict_types=1); -/** - * This file is part of the Nexus framework. - * - * (c) John Paul E. Balandan, CPA - * - * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. - */ - namespace Nexus\Tests\Collection; use Nexus\Collection\Collection; diff --git a/tests/Collection/data/iterator.php b/tests/Collection/data/iterator.php index db56176..915b87c 100644 --- a/tests/Collection/data/iterator.php +++ b/tests/Collection/data/iterator.php @@ -2,15 +2,6 @@ declare(strict_types=1); -/** - * This file is part of the Nexus framework. - * - * (c) John Paul E. Balandan, CPA - * - * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. - */ - namespace Nexus\Tests\Collection; use Nexus\Collection\Collection; diff --git a/tests/Option/data/option.php b/tests/Option/data/option.php index 013a752..8ed8ead 100644 --- a/tests/Option/data/option.php +++ b/tests/Option/data/option.php @@ -2,15 +2,6 @@ declare(strict_types=1); -/** - * This file is part of the Nexus framework. - * - * (c) John Paul E. Balandan, CPA - * - * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. - */ - namespace Nexus\Tests\Option; use Nexus\Option\None;