From 6347f113a84578508e040c64a42a2dcee18041b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rancoud?= Date: Thu, 24 Apr 2025 02:39:26 +0200 Subject: [PATCH] chore: remove comments about phpcs --- .gitattributes | 1 - .php-cs-fixer.php | 2 +- tests/ConfiguratorTest.php | 2 +- tests/DatabaseNamedInstancesTest.php | 4 +--- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitattributes b/.gitattributes index 5a8fbae..12005a2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -13,5 +13,4 @@ Dockerfile linguist-detectable=false /Dockerfile export-ignore /docker-compose.yml export-ignore /entrypoint.sh export-ignore -/phpcs.xml export-ignore /phpunit.xml export-ignore diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 688a26a..0b39c42 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/ConfiguratorTest.php b/tests/ConfiguratorTest.php index 8b564c2..afca9fc 100644 --- a/tests/ConfiguratorTest.php +++ b/tests/ConfiguratorTest.php @@ -369,7 +369,7 @@ public function testSetParameterKeyValue(): void public function testSetParameterThrowException(): void { $this->expectException(DatabaseException::class); - $this->expectExceptionMessage('Database module only support error mode with exception. You can\'t modify this setting'); // phpcs:ignore + $this->expectExceptionMessage('Database module only support error mode with exception. You can\'t modify this setting'); $params = [ 'driver' => 'mysql', diff --git a/tests/DatabaseNamedInstancesTest.php b/tests/DatabaseNamedInstancesTest.php index 7fb8532..8513e16 100644 --- a/tests/DatabaseNamedInstancesTest.php +++ b/tests/DatabaseNamedInstancesTest.php @@ -1,8 +1,6 @@