From 23f4580ece97dcdb0fbaae033e4d16c3236974a6 Mon Sep 17 00:00:00 2001 From: ADmad Date: Tue, 3 Mar 2026 13:51:19 +0530 Subject: [PATCH 1/2] Fix phpstan issues --- src/Application.php | 5 ++++- src/View/AppView.php | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Application.php b/src/Application.php index bb76b84abb..1d6f162ea3 100644 --- a/src/Application.php +++ b/src/Application.php @@ -51,7 +51,10 @@ public function bootstrap(): void parent::bootstrap(); // By default, does not allow fallback classes. - FactoryLocator::add('Table', (new TableLocator())->allowFallbackClass(false)); + FactoryLocator::add( + 'Table', + (new TableLocator())->allowFallbackClass(false), // @phpstan-ignore argument.type + ); } /** diff --git a/src/View/AppView.php b/src/View/AppView.php index be602dd6e3..1bfd5dc18a 100644 --- a/src/View/AppView.php +++ b/src/View/AppView.php @@ -23,7 +23,6 @@ * Your application's default view class * * @link https://book.cakephp.org/5/en/views.html#the-app-view - * @extends \Cake\View\View<\App\View\AppView> */ class AppView extends View { From 8e1f079d3069f01fb83d159ddf948f82591dd02a Mon Sep 17 00:00:00 2001 From: ADmad Date: Tue, 3 Mar 2026 13:55:40 +0530 Subject: [PATCH 2/2] Fix phpunit error on PHP 8.5 --- phpunit.xml.dist | 1 - 1 file changed, 1 deletion(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 4dfd186a3c..38c7d781be 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -8,7 +8,6 @@ xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"> -