Skip to content

Commit

Permalink
PHPStan: Update baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
raviks789 committed Mar 6, 2024
1 parent 0ec0c0a commit 6b64c4b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 250 deletions.
5 changes: 0 additions & 5 deletions phpstan-baseline-7x.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ parameters:
count: 2
path: application/forms/EntryForm.php

-
message: "#^Parameter \\#2 \\$str of function explode expects string, mixed given\\.$#"
count: 2
path: application/forms/EscalationRecipientForm.php

-
message: "#^Parameter \\#1 \\$time of function strtotime expects string, mixed given\\.$#"
count: 1
Expand Down
5 changes: 0 additions & 5 deletions phpstan-baseline-8x.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ parameters:
count: 2
path: application/forms/EntryForm.php

-
message: "#^Parameter \\#2 \\$string of function explode expects string, mixed given\\.$#"
count: 2
path: application/forms/EscalationRecipientForm.php

-
message: "#^Parameter \\#1 \\$datetime of function strtotime expects string, mixed given\\.$#"
count: 1
Expand Down
240 changes: 0 additions & 240 deletions phpstan-baseline-standard.neon
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,6 @@ parameters:
count: 2
path: application/controllers/EventRuleController.php

-
message: "#^Call to an undefined method Zend_Controller_Response_Abstract\\:\\:redirectAndExit\\(\\)\\.$#"
count: 1
path: application/controllers/EventRuleController.php

-
message: "#^Cannot access offset 'object_filter' on mixed\\.$#"
count: 2
Expand Down Expand Up @@ -280,21 +275,6 @@ parameters:
count: 1
path: application/controllers/SchedulesController.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\AddEscalationForm\\:\\:assemble\\(\\) has no return type specified\\.$#"
count: 1
path: application/forms/AddEscalationForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\AddFilterForm\\:\\:assemble\\(\\) has no return type specified\\.$#"
count: 1
path: application/forms/AddFilterForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\BaseEscalationForm\\:\\:assemble\\(\\) has no return type specified\\.$#"
count: 1
path: application/forms/BaseEscalationForm.php

-
message: "#^Cannot call method getName\\(\\) on ipl\\\\Html\\\\Contract\\\\FormSubmitElement\\|null\\.$#"
count: 2
Expand Down Expand Up @@ -480,151 +460,6 @@ parameters:
count: 1
path: application/forms/EntryForm.php

-
message: "#^Call to an undefined method ipl\\\\Html\\\\Contract\\\\FormElement\\:\\:setName\\(\\)\\.$#"
count: 4
path: application/forms/EscalationConditionForm.php

-
message: "#^Call to an undefined method ipl\\\\Html\\\\ValidHtml\\:\\:remove\\(\\)\\.$#"
count: 1
path: application/forms/EscalationConditionForm.php

-
message: "#^Call to an undefined method ipl\\\\Stdlib\\\\Filter\\\\Rule\\:\\:getColumn\\(\\)\\.$#"
count: 2
path: application/forms/EscalationConditionForm.php

-
message: "#^Call to an undefined method ipl\\\\Stdlib\\\\Filter\\\\Rule\\:\\:getValue\\(\\)\\.$#"
count: 1
path: application/forms/EscalationConditionForm.php

-
message: "#^Cannot access offset non\\-falsy\\-string on iterable\\<string, mixed\\>\\.$#"
count: 2
path: application/forms/EscalationConditionForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\EscalationConditionForm\\:\\:getValues\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: application/forms/EscalationConditionForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\EscalationConditionForm\\:\\:getValues\\(\\) should return array but returns string\\.$#"
count: 1
path: application/forms/EscalationConditionForm.php

-
message: "#^Parameter \\#1 \\$string of static method ipl\\\\Web\\\\Filter\\\\QueryString\\:\\:parse\\(\\) expects string, mixed given\\.$#"
count: 1
path: application/forms/EscalationConditionForm.php

-
message: "#^Call to an undefined method ipl\\\\Html\\\\Contract\\\\FormElement\\:\\:setDisabledOptions\\(\\)\\.$#"
count: 1
path: application/forms/EscalationRecipientForm.php

-
message: "#^Call to an undefined method ipl\\\\Html\\\\Contract\\\\FormElement\\:\\:setName\\(\\)\\.$#"
count: 3
path: application/forms/EscalationRecipientForm.php

-
message: "#^Call to an undefined method ipl\\\\Html\\\\Contract\\\\FormElement\\:\\:setOptions\\(\\)\\.$#"
count: 1
path: application/forms/EscalationRecipientForm.php

-
message: "#^Call to an undefined method ipl\\\\Html\\\\ValidHtml\\:\\:remove\\(\\)\\.$#"
count: 1
path: application/forms/EscalationRecipientForm.php

-
message: "#^Cannot access offset non\\-falsy\\-string on iterable\\<string, mixed\\>\\.$#"
count: 3
path: application/forms/EscalationRecipientForm.php

-
message: "#^Cannot access property \\$full_name on mixed\\.$#"
count: 1
path: application/forms/EscalationRecipientForm.php

-
message: "#^Cannot access property \\$id on mixed\\.$#"
count: 3
path: application/forms/EscalationRecipientForm.php

-
message: "#^Cannot access property \\$name on mixed\\.$#"
count: 2
path: application/forms/EscalationRecipientForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\EscalationRecipientForm\\:\\:fetchOptions\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: application/forms/EscalationRecipientForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\EscalationRecipientForm\\:\\:getValues\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: application/forms/EscalationRecipientForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\EventRuleForm\\:\\:assemble\\(\\) has no return type specified\\.$#"
count: 1
path: application/forms/EventRuleForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\RemoveEscalationForm\\:\\:assemble\\(\\) has no return type specified\\.$#"
count: 1
path: application/forms/RemoveEscalationForm.php

-
message: "#^Call to an undefined method ipl\\\\Sql\\\\Connection\\:\\:lastInsertId\\(\\)\\.$#"
count: 3
path: application/forms/SaveEventRuleForm.php

-
message: "#^Cannot access property \\$id on mixed\\.$#"
count: 3
path: application/forms/SaveEventRuleForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\SaveEventRuleForm\\:\\:addRule\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#"
count: 1
path: application/forms/SaveEventRuleForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\SaveEventRuleForm\\:\\:assemble\\(\\) has no return type specified\\.$#"
count: 1
path: application/forms/SaveEventRuleForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\SaveEventRuleForm\\:\\:editRule\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#"
count: 1
path: application/forms/SaveEventRuleForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\SaveEventRuleForm\\:\\:insertOrUpdateEscalations\\(\\) has parameter \\$escalations with no value type specified in iterable type array\\.$#"
count: 1
path: application/forms/SaveEventRuleForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\SaveEventRuleForm\\:\\:insertOrUpdateEscalations\\(\\) has parameter \\$ruleId with no type specified\\.$#"
count: 1
path: application/forms/SaveEventRuleForm.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Forms\\\\SaveEventRuleForm\\:\\:onError\\(\\) has no return type specified\\.$#"
count: 1
path: application/forms/SaveEventRuleForm.php

-
message: "#^Property Icinga\\\\Module\\\\Notifications\\\\Forms\\\\SaveEventRuleForm\\:\\:\\$submitLabel \\(string\\) on left side of \\?\\? is not nullable\\.$#"
count: 1
path: application/forms/SaveEventRuleForm.php

-
message: "#^Call to an undefined method ipl\\\\Sql\\\\Connection\\:\\:lastInsertId\\(\\)\\.$#"
count: 1
Expand Down Expand Up @@ -1435,81 +1270,6 @@ parameters:
count: 1
path: library/Notifications/Widget/EmptyState.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Widget\\\\Escalations\\:\\:addEscalation\\(\\) has no return type specified\\.$#"
count: 1
path: library/Notifications/Widget/Escalations.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Widget\\\\Escalations\\:\\:addEscalation\\(\\) has parameter \\$escalation with no value type specified in iterable type array\\.$#"
count: 1
path: library/Notifications/Widget/Escalations.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Widget\\\\Escalations\\:\\:assemble\\(\\) has no return type specified\\.$#"
count: 1
path: library/Notifications/Widget/Escalations.php

-
message: "#^Property Icinga\\\\Module\\\\Notifications\\\\Widget\\\\Escalations\\:\\:\\$config has no type specified\\.$#"
count: 1
path: library/Notifications/Widget/Escalations.php

-
message: "#^Property Icinga\\\\Module\\\\Notifications\\\\Widget\\\\Escalations\\:\\:\\$escalations has no type specified\\.$#"
count: 1
path: library/Notifications/Widget/Escalations.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Widget\\\\EventRuleConfig\\:\\:__construct\\(\\) has parameter \\$config with no type specified\\.$#"
count: 1
path: library/Notifications/Widget/EventRuleConfig.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Widget\\\\EventRuleConfig\\:\\:assemble\\(\\) has no return type specified\\.$#"
count: 1
path: library/Notifications/Widget/EventRuleConfig.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Widget\\\\EventRuleConfig\\:\\:createConditionForm\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#"
count: 1
path: library/Notifications/Widget/EventRuleConfig.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Widget\\\\EventRuleConfig\\:\\:createFilterString\\(\\) has parameter \\$filters with no type specified\\.$#"
count: 1
path: library/Notifications/Widget/EventRuleConfig.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Widget\\\\EventRuleConfig\\:\\:createRecipientForm\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#"
count: 1
path: library/Notifications/Widget/EventRuleConfig.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Widget\\\\EventRuleConfig\\:\\:getConfig\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: library/Notifications/Widget/EventRuleConfig.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Widget\\\\EventRuleConfig\\:\\:getForms\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: library/Notifications/Widget/EventRuleConfig.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Widget\\\\EventRuleConfig\\:\\:setConfig\\(\\) has parameter \\$config with no type specified\\.$#"
count: 1
path: library/Notifications/Widget/EventRuleConfig.php

-
message: "#^Property Icinga\\\\Module\\\\Notifications\\\\Widget\\\\EventRuleConfig\\:\\:\\$config type has no value type specified in iterable type array\\.$#"
count: 1
path: library/Notifications/Widget/EventRuleConfig.php

-
message: "#^Property Icinga\\\\Module\\\\Notifications\\\\Widget\\\\EventRuleConfig\\:\\:\\$numEscalations is unused\\.$#"
count: 1
path: library/Notifications/Widget/EventRuleConfig.php

-
message: "#^Method Icinga\\\\Module\\\\Notifications\\\\Widget\\\\EventSourceBadge\\:\\:assemble\\(\\) has no return type specified\\.$#"
count: 1
Expand Down

0 comments on commit 6b64c4b

Please sign in to comment.