From 73a7568507b3b3a4e4b9f7e65b90a0fd246579e8 Mon Sep 17 00:00:00 2001 From: Mark Scherer Date: Wed, 5 Aug 2026 02:10:54 +0200 Subject: [PATCH] Remove stale generic annotation on Application class CakePHP 5.4.0 dropped the TSubject template from Cake\Http\BaseApplication, so the skeleton's extends annotation now reports "generics.notGeneric" on every freshly created app running PHPStan. --- src/Application.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Application.php b/src/Application.php index 98ef0b958..619028491 100644 --- a/src/Application.php +++ b/src/Application.php @@ -35,8 +35,6 @@ * * This defines the bootstrapping logic and middleware layers you * want to use in your application. - * - * @extends \Cake\Http\BaseApplication<\App\Application> */ class Application extends BaseApplication {