From 44ccee57f2af427cf97256ed3dffa349693ada64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Uzna=C5=84ski?= Date: Wed, 7 Sep 2022 11:47:31 +0200 Subject: [PATCH] [BUGFIX] Add hidden files to find in PHP lint (#559) Resolves: #546 Also fix PhpStorm meta codestyle. --- .phpstorm.meta.php | 4 ++-- composer.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.phpstorm.meta.php b/.phpstorm.meta.php index 4ac946a..68311ca 100644 --- a/.phpstorm.meta.php +++ b/.phpstorm.meta.php @@ -157,12 +157,12 @@ namespace PHPSTORM_META { override(\TYPO3\CMS\Core\Routing\SiteMatcher::matchRequest(), type( \TYPO3\CMS\Core\Routing\SiteRouteResult::class, - \TYPO3\CMS\Core\Routing\RouteResultInterface::class, + \TYPO3\CMS\Core\Routing\RouteResultInterface::class ) ); override(\TYPO3\CMS\Core\Routing\PageRouter::matchRequest(), type( \TYPO3\CMS\Core\Routing\PageArguments::class, - \TYPO3\CMS\Core\Routing\RouteResultInterface::class, + \TYPO3\CMS\Core\Routing\RouteResultInterface::class )); } diff --git a/composer.json b/composer.json index 3df91b6..be00c86 100644 --- a/composer.json +++ b/composer.json @@ -133,7 +133,7 @@ ], "ci:php:copypaste": "@php ./tools/phpcpd Classes", "ci:php:cs-fixer": "php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --using-cache no --diff", - "ci:php:lint": "find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -r -0 -n 1 -P 4 php -l", + "ci:php:lint": "find .*.php *.php Classes Configuration Tests -name '*.php' -print0 | xargs -r -0 -n 1 -P 4 php -l", "ci:php:sniff": "phpcs Classes Configuration Tests", "ci:php:stan": "phpstan --no-progress", "ci:static": [