Skip to content

Commit cd43a4e

Browse files
committed
chore(sa): update baseline
1 parent 3bba227 commit cd43a4e

File tree

2 files changed

+0
-81
lines changed

2 files changed

+0
-81
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1704,84 +1704,6 @@ parameters:
17041704
count: 1
17051705
path: tests/cases/events/functional/ResponseCest.php
17061706

1707-
-
1708-
message: '#^Cannot call method getComponents\(\) on object\|null\.$#'
1709-
identifier: method.nonObject
1710-
count: 1
1711-
path: tests/cases/locale-urls/config.php
1712-
1713-
-
1714-
message: '#^Cannot call method has\(\) on object\|null\.$#'
1715-
identifier: method.nonObject
1716-
count: 1
1717-
path: tests/cases/locale-urls/config.php
1718-
1719-
-
1720-
message: '#^Cannot call method set\(\) on object\|null\.$#'
1721-
identifier: method.nonObject
1722-
count: 1
1723-
path: tests/cases/locale-urls/config.php
1724-
1725-
-
1726-
message: '#^Access to an undefined property yii\\console\\Request\|yii\\web\\Request\:\:\$bodyParams\.$#'
1727-
identifier: property.notFound
1728-
count: 1
1729-
path: tests/cases/locale-urls/controllers/SiteController.php
1730-
1731-
-
1732-
message: '#^Access to an undefined property yii\\console\\Response\|yii\\web\\Response\:\:\$statusCode\.$#'
1733-
identifier: property.notFound
1734-
count: 1
1735-
path: tests/cases/locale-urls/controllers/SiteController.php
1736-
1737-
-
1738-
message: '#^Cannot access property \$request on yii\\base\\Application\|null\.$#'
1739-
identifier: property.nonObject
1740-
count: 1
1741-
path: tests/cases/locale-urls/controllers/SiteController.php
1742-
1743-
-
1744-
message: '#^Cannot access property \$response on yii\\base\\Application\|null\.$#'
1745-
identifier: property.nonObject
1746-
count: 1
1747-
path: tests/cases/locale-urls/controllers/SiteController.php
1748-
1749-
-
1750-
message: '#^Method app\\localeurls\\controllers\\SiteController\:\:actionForm\(\) has no return type specified\.$#'
1751-
identifier: missingType.return
1752-
count: 1
1753-
path: tests/cases/locale-urls/controllers/SiteController.php
1754-
1755-
-
1756-
message: '#^Method app\\localeurls\\controllers\\SiteController\:\:actionPost\(\) has no return type specified\.$#'
1757-
identifier: missingType.return
1758-
count: 1
1759-
path: tests/cases/locale-urls/controllers/SiteController.php
1760-
1761-
-
1762-
message: '#^Method tests\\LocaleUrlCest\:\:testFormSubmit\(\) has no return type specified\.$#'
1763-
identifier: missingType.return
1764-
count: 1
1765-
path: tests/cases/locale-urls/functional/LocaleUrlCest.php
1766-
1767-
-
1768-
message: '#^Method tests\\LocaleUrlCest\:\:testFormSubmit2\(\) has no return type specified\.$#'
1769-
identifier: missingType.return
1770-
count: 1
1771-
path: tests/cases/locale-urls/functional/LocaleUrlCest.php
1772-
1773-
-
1774-
message: '#^Method tests\\LocaleUrlCest\:\:testInstantiation\(\) has no return type specified\.$#'
1775-
identifier: missingType.return
1776-
count: 1
1777-
path: tests/cases/locale-urls/functional/LocaleUrlCest.php
1778-
1779-
-
1780-
message: '#^Method tests\\LocaleUrlCest\:\:testMultipleGet\(\) has no return type specified\.$#'
1781-
identifier: missingType.return
1782-
count: 1
1783-
path: tests/cases/locale-urls/functional/LocaleUrlCest.php
1784-
17851707
-
17861708
message: '#^Cannot access property \$mailer on yii\\base\\Application\|null\.$#'
17871709
identifier: property.nonObject

phpstan.neon

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ parameters:
1717
checkMaybeUndefinedVariables: true
1818
treatPhpDocTypesAsCertain: false
1919
ignoreErrors:
20-
# All Yii setters accept `null` but their phpdoc is incorrect.
21-
# - message: '~^Parameter #1 \$(.+) of method yii\\web\\Request::set(.+)\(\) expects (.+), null given.$~'
22-
# path: 'src/'
2320
# If you want to ignore missing generics errors in the future, you can add:
2421
# - identifier: missingType.generics
2522
stubFiles:

0 commit comments

Comments
 (0)