-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
80 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Access to an undefined property object\\:\\:\\$query\\.$#" | ||
count: 4 | ||
path: src/Listener/ViewListener.php | ||
|
||
- | ||
message: "#^Access to an undefined property object\\:\\:\\$params\\.$#" | ||
count: 1 | ||
path: src/Listener/ViewListener.php | ||
|
||
- | ||
message: "#^Access to an undefined property object\\:\\:\\$element\\.$#" | ||
count: 1 | ||
path: src/Listener/ViewListener.php | ||
|
||
- | ||
message: "#^Access to an undefined property object\\:\\:\\$type\\.$#" | ||
count: 1 | ||
path: src/Listener/ViewListener.php | ||
|
||
- | ||
message: "#^Parameter \\#2 \\$arr2 of function array_diff_key expects array, array\\|false given\\.$#" | ||
count: 1 | ||
path: src/Listener/ViewListener.php | ||
|
||
- | ||
message: "#^Result of \\|\\| is always false\\.$#" | ||
count: 1 | ||
path: src/Listener/ViewListener.php | ||
|
||
- | ||
message: "#^Cannot unset offset mixed on array\\(\\)\\.$#" | ||
count: 2 | ||
path: src/Listener/ViewListener.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$field of method CrudView\\\\Listener\\\\ViewListener\\:\\:_deriveFieldFromContext\\(\\) expects string, array\\<string\\>\\|string\\|null given\\.$#" | ||
count: 1 | ||
path: src/Listener/ViewListener.php | ||
|
||
- | ||
message: "#^Call to an undefined method Cake\\\\ORM\\\\Table\\:\\:searchManager\\(\\)\\.$#" | ||
count: 1 | ||
path: src/Listener/ViewSearchListener.php | ||
|
||
- | ||
message: "#^Offset 'data\\-wrap' does not exist on array\\(\\?'data\\-enable\\-seconds' \\=\\> 'true', 'data\\-date\\-format' \\=\\> string, \\?'data\\-enable\\-time' \\=\\> 'true', \\?'data\\-alt\\-format' \\=\\> mixed, \\?'data\\-alt\\-input' \\=\\> 'true', \\?'data\\-no\\-calendar' \\=\\> 'true'\\)\\.$#" | ||
count: 1 | ||
path: src/View/Widget/DateTimeWidget.php | ||
|
||
- | ||
message: "#^Binary operation \"\\+\\=\" between array\\<string\\>\\|string and array\\('data\\-date\\-format' \\=\\> string, \\?'data\\-alt\\-format' \\=\\> mixed, \\?'data\\-alt\\-input' \\=\\> 'true', \\?'data\\-no\\-calendar' \\=\\> 'true', \\?'data\\-enable\\-seconds' \\=\\> 'true', \\?'data\\-enable\\-time' \\=\\> 'true', 'data\\-wrap' \\=\\> mixed\\) results in an error\\.$#" | ||
count: 1 | ||
path: src/View/Widget/DateTimeWidget.php | ||
|
||
- | ||
message: "#^Offset 'name' does not exist on array\\<string\\>\\|string\\.$#" | ||
count: 1 | ||
path: src/View/Widget/DateTimeWidget.php | ||
|
||
- | ||
message: "#^Offset 'templateVars' does not exist on array\\<string\\>\\|string\\.$#" | ||
count: 2 | ||
path: src/View/Widget/DateTimeWidget.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$options of method Cake\\\\View\\\\StringTemplate\\:\\:formatAttributes\\(\\) expects array\\|null, array\\<string\\>\\|string given\\.$#" | ||
count: 1 | ||
path: src/View/Widget/DateTimeWidget.php | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
includes: | ||
- phpstan-baseline.neon | ||
|
||
parameters: | ||
level: 7 | ||
checkMissingIterableValueType: false | ||
universalObjectCratesClasses: | ||
- Crud\Event\Subject | ||
ignoreErrors: | ||
- '#Parameter \#1 $dateString of method Cake\\View\\Helper\\TimeHelper::nice() expects DateTime|int|string|null, DateTime|DateTimeImmutable|int|string given#' | ||
- | ||
message: '#Result of || is always false#' | ||
path: 'src/Listener/ViewListener.php' | ||
- | ||
message: '#Call to an undefined method Cake\\ORM\\Table::searchManager\(\)#' | ||
path: 'src/Listener/ViewSearchListener.php' | ||
- | ||
message: '#Method CrudView\\Action\\DashboardAction::_get\(\) should return Cake\\Http\\Response|void but return statement is missing#' | ||
path: 'src/Action/DashboardAction.php' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters