diff --git a/.gitattributes b/.gitattributes index e99ca02..47bd936 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,5 +6,4 @@ /.gitattributes export-ignore /.gitignore export-ignore /.php-cs-fixer.php export-ignore -/phpcs.xml export-ignore /phpunit.xml export-ignore diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 6436f81..707cde8 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -111,7 +111,7 @@ 'no_empty_comment' => true, 'no_trailing_whitespace_in_comment' => true, 'single_line_comment_spacing' => true, - 'single_line_comment_style' => ['comment_types' => ['asterisk', 'hash']] + 'single_line_comment_style' => ['comment_types' => ['hash']] ]; $constantNotationRules = [ diff --git a/tests/EnvironmentTest.php b/tests/EnvironmentTest.php index e9e30bc..522e588 100644 --- a/tests/EnvironmentTest.php +++ b/tests/EnvironmentTest.php @@ -180,7 +180,7 @@ public function testAllowedValues(): void $env = new Environment($folders); static::assertTrue($env->allowedValues('STRING', ['a', 'b', $this->fileEnvContent['STRING']])); - static::assertFalse($env->allowedValues('STRING', ['a', 'b', \mb_strtolower($this->fileEnvContent['STRING'])])); // phpcs:ignore + static::assertFalse($env->allowedValues('STRING', ['a', 'b', \mb_strtolower($this->fileEnvContent['STRING'])])); static::assertFalse($env->allowedValues('STRING', ['a', 'b'])); }