From 9e080915ab843daf0156fd50670a8db49de06943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Machulda?= Date: Thu, 27 Feb 2025 14:47:14 +0100 Subject: [PATCH] Test coverage report, do not merge --- phpstan.neon | 2 -- tests/Fixer/SpecifyArgSeparatorFixerTest.php | 38 -------------------- 2 files changed, 40 deletions(-) delete mode 100644 tests/Fixer/SpecifyArgSeparatorFixerTest.php diff --git a/phpstan.neon b/phpstan.neon index 6ee6c68..1745bfc 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -7,8 +7,6 @@ parameters: - vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/autoload.php - vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/src/Util/Tokens.php ignoreErrors: - - path: %currentWorkingDirectory%/tests/Fixer/SpecifyArgSeparatorFixerTest.php - message: '#Parameter \#1 \$code of static method PhpCsFixer\\Tokenizer\\Tokens::fromCode\(\) expects string, string\|false given#' - path: %currentWorkingDirectory%/tests/Integration/CodingStandardTest.php message: '#Parameter \#2 \$actualString of method PHPUnit\\Framework\\Assert::assertStringEqualsFile\(\) expects string, string\|false given#' - identifier: missingType.iterableValue diff --git a/tests/Fixer/SpecifyArgSeparatorFixerTest.php b/tests/Fixer/SpecifyArgSeparatorFixerTest.php deleted file mode 100644 index 1515ba4..0000000 --- a/tests/Fixer/SpecifyArgSeparatorFixerTest.php +++ /dev/null @@ -1,38 +0,0 @@ -getRealPath())); - - $fixer->fix($fileInfo, $tokens); - - $this->assertStringEqualsFile( - __DIR__ . '/Fixtures/' . $expectedOutputFile, - $tokens->generateCode(), - ); - } - - /** - * @return array[] - */ - public function provideFiles(): array - { - return [ - 'Correct file should not be changed' => ['Correct.php.inc', 'Correct.php.inc'], - 'Wrong file should be fixed' => ['Wrong.php.inc', 'Fixed.php.inc'], - ]; - } -}