Skip to content

Commit

Permalink
chore(sa): update baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Feb 25, 2025
1 parent 3bba227 commit cd43a4e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 81 deletions.
78 changes: 0 additions & 78 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -1704,84 +1704,6 @@ parameters:
count: 1
path: tests/cases/events/functional/ResponseCest.php

-
message: '#^Cannot call method getComponents\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: tests/cases/locale-urls/config.php

-
message: '#^Cannot call method has\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: tests/cases/locale-urls/config.php

-
message: '#^Cannot call method set\(\) on object\|null\.$#'
identifier: method.nonObject
count: 1
path: tests/cases/locale-urls/config.php

-
message: '#^Access to an undefined property yii\\console\\Request\|yii\\web\\Request\:\:\$bodyParams\.$#'
identifier: property.notFound
count: 1
path: tests/cases/locale-urls/controllers/SiteController.php

-
message: '#^Access to an undefined property yii\\console\\Response\|yii\\web\\Response\:\:\$statusCode\.$#'
identifier: property.notFound
count: 1
path: tests/cases/locale-urls/controllers/SiteController.php

-
message: '#^Cannot access property \$request on yii\\base\\Application\|null\.$#'
identifier: property.nonObject
count: 1
path: tests/cases/locale-urls/controllers/SiteController.php

-
message: '#^Cannot access property \$response on yii\\base\\Application\|null\.$#'
identifier: property.nonObject
count: 1
path: tests/cases/locale-urls/controllers/SiteController.php

-
message: '#^Method app\\localeurls\\controllers\\SiteController\:\:actionForm\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: tests/cases/locale-urls/controllers/SiteController.php

-
message: '#^Method app\\localeurls\\controllers\\SiteController\:\:actionPost\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: tests/cases/locale-urls/controllers/SiteController.php

-
message: '#^Method tests\\LocaleUrlCest\:\:testFormSubmit\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: tests/cases/locale-urls/functional/LocaleUrlCest.php

-
message: '#^Method tests\\LocaleUrlCest\:\:testFormSubmit2\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: tests/cases/locale-urls/functional/LocaleUrlCest.php

-
message: '#^Method tests\\LocaleUrlCest\:\:testInstantiation\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: tests/cases/locale-urls/functional/LocaleUrlCest.php

-
message: '#^Method tests\\LocaleUrlCest\:\:testMultipleGet\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: tests/cases/locale-urls/functional/LocaleUrlCest.php

-
message: '#^Cannot access property \$mailer on yii\\base\\Application\|null\.$#'
identifier: property.nonObject
Expand Down
3 changes: 0 additions & 3 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ parameters:
checkMaybeUndefinedVariables: true
treatPhpDocTypesAsCertain: false
ignoreErrors:
# All Yii setters accept `null` but their phpdoc is incorrect.
# - message: '~^Parameter #1 \$(.+) of method yii\\web\\Request::set(.+)\(\) expects (.+), null given.$~'
# path: 'src/'
# If you want to ignore missing generics errors in the future, you can add:
# - identifier: missingType.generics
stubFiles:
Expand Down

0 comments on commit cd43a4e

Please sign in to comment.