Skip to content

Commit ac40b8d

Browse files
committed
@phpstan-ignore-next-line unmatched on Cake 5
1 parent 906be34 commit ac40b8d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

phpstan.neon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ parameters:
22
level: 8
33
paths:
44
- src
5+
reportUnmatchedIgnoredErrors: false
6+
ignoreErrors:
7+
- '#has parameter \$app with generic interface Cake\\Core\\PluginApplicationInterface but does not specify its types#'

src/PerfbasePlugin.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ class PerfbasePlugin extends BasePlugin
1616
{
1717
private static ?Cake5ConsoleListener $consoleListener = null;
1818

19-
/** @phpstan-ignore-next-line missingType.generics */
2019
public function bootstrap(PluginApplicationInterface $app): void
2120
{
2221
parent::bootstrap($app);

0 commit comments

Comments
 (0)