diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 363959fe61..6be7f3e05c 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -30,6 +30,11 @@ parameters: count: 1 path: src/Generator.php + - + message: "#^Call to an undefined static method UnitEnum\\:\\:cases\\(\\)\\.$#" + count: 2 + path: src/Provider/Base.php + - message: "#^Class UnitEnum not found\\.$#" count: 2 @@ -323,11 +328,6 @@ parameters: count: 1 path: src/Provider/pt_PT/Person.php - - - message: "#^Right side of \\|\\| is always false\\.$#" - count: 1 - path: src/Provider/pt_PT/Person.php - - message: "#^Parameter \\#1 \\$string of function substr expects string, int given\\.$#" count: 1 diff --git a/vendor-bin/phpstan/composer.json b/vendor-bin/phpstan/composer.json index f6155e28c7..d354c4283e 100644 --- a/vendor-bin/phpstan/composer.json +++ b/vendor-bin/phpstan/composer.json @@ -2,7 +2,7 @@ "require": { "php": "^7.4 || ^8.0", "phpstan/extension-installer": "^1.3.1", - "phpstan/phpstan": "^1.10.40", + "phpstan/phpstan": "^1.10.50", "phpstan/phpstan-deprecation-rules": "^1.1.4" }, "config": { diff --git a/vendor-bin/phpstan/composer.lock b/vendor-bin/phpstan/composer.lock index a54daae3ea..2e543e9e66 100644 --- a/vendor-bin/phpstan/composer.lock +++ b/vendor-bin/phpstan/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "834c92e6a869b7967a0384689442169a", + "content-hash": "4d026fab191453b3b26f8c1a7a355422", "packages": [ { "name": "phpstan/extension-installer", @@ -52,16 +52,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.40", + "version": "1.10.50", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "93c84b5bf7669920d823631e39904d69b9c7dc5d" + "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/93c84b5bf7669920d823631e39904d69b9c7dc5d", - "reference": "93c84b5bf7669920d823631e39904d69b9c7dc5d", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/06a98513ac72c03e8366b5a0cb00750b487032e4", + "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4", "shasum": "" }, "require": { @@ -110,7 +110,7 @@ "type": "tidelift" } ], - "time": "2023-10-30T14:48:31+00:00" + "time": "2023-12-13T10:59:42+00:00" }, { "name": "phpstan/phpstan-deprecation-rules",