Skip to content

Commit

Permalink
Fix PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Sep 17, 2024
1 parent d1d79fb commit 72432c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ parameters:

checkGenericClassInNonGenericObjectType: false
treatPhpDocTypesAsCertain: false
checkMissingIterableValueType: false

paths:
- src/
Expand All @@ -21,6 +22,7 @@ parameters:
- %rootDir%/../../../src/Console/Installer.php

ignoreErrors:
- '# with no value type specified in iterable type \w+#'
- '#Constant \w+ not found\.#'
- '#Access to an undefined property .+SandboxCategory::\$.+.#'
- '#Call to an undefined method .+Mailer::set.+#'
Expand Down
5 changes: 0 additions & 5 deletions plugins/Sandbox/src/Controller/MenuController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@

namespace Sandbox\Controller;

/**
* @property \Icings\KnpMenu\Controller\Component\MenuComponent $Menu
*/
class MenuController extends SandboxAppController {

//protected $components = ['Gourmet/KnpMenu.Menu'];

/**
* @return void
*/
Expand Down

0 comments on commit 72432c4

Please sign in to comment.