diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9773e3f..048f757 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,6 +27,7 @@ jobs: php-version: - "8.4" - "8.5" + - "8.6" operating-system: - "ubuntu-latest" diff --git a/IxDFCodingStandard/Sniffs/NamingConventions/CamelCaseRouteNameSniff.php b/IxDFCodingStandard/Sniffs/NamingConventions/CamelCaseRouteNameSniff.php index 23f86c5..855867e 100644 --- a/IxDFCodingStandard/Sniffs/NamingConventions/CamelCaseRouteNameSniff.php +++ b/IxDFCodingStandard/Sniffs/NamingConventions/CamelCaseRouteNameSniff.php @@ -56,6 +56,6 @@ public function processRouteName(File $phpcsFile, int $stackPointer, array $toke private function isCamelCase(string $routeName): bool { $parts = explode('.', $routeName); - return array_all($parts, static fn($part): bool => !(preg_match(self::PATTERN_CAMEL_CASE, (string) $part) !== 1)); + return array_all($parts, static fn($part): bool => !(preg_match(self::PATTERN_CAMEL_CASE, $part) !== 1)); } } diff --git a/composer.json b/composer.json index 0ac2064..dd6b847 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "require-dev": { "phpunit/phpunit": "^12.4", "rector/rector": "^2.5", - "vimeo/psalm": "^6.16" + "vimeo/psalm": "^7.0" }, "minimum-stability": "dev", "prefer-stable": true,