diff --git a/Build/phpstan/phpstan-baseline.neon b/Build/phpstan/phpstan-baseline.neon index 637b6d95734f6fe8c95e40bcb67488f7fd903d51..83bfde55376a8b4346aed7f6fd4c570a604c4881 100644 --- a/Build/phpstan/phpstan-baseline.neon +++ b/Build/phpstan/phpstan-baseline.neon @@ -1130,6 +1130,11 @@ parameters: count: 1 path: ../../typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php + - + message: "#^Right side of && is always true\\.$#" + count: 1 + path: ../../typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php + - message: "#^Parameter \\#2 \\$folder of method TYPO3\\\\CMS\\\\Core\\\\Resource\\\\ResourceStorage\\:\\:checkFolderActionPermission\\(\\) expects TYPO3\\\\CMS\\\\Core\\\\Resource\\\\Folder\\|null, TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FolderInterface given\\.$#" count: 1 @@ -4700,6 +4705,11 @@ parameters: count: 1 path: ../../typo3/sysext/install/Classes/Controller/BackendModuleController.php + - + message: "#^Variable \\$localConfigurationPathValuePairs in empty\\(\\) always exists and is not falsy\\.$#" + count: 1 + path: ../../typo3/sysext/install/Classes/Controller/InstallerController.php + - message: "#^Method TYPO3\\\\CMS\\\\Install\\\\ExtensionScanner\\\\Php\\\\CodeStatistics\\:\\:enterNode\\(\\) should return int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#" count: 1 @@ -5125,11 +5135,6 @@ parameters: count: 1 path: ../../typo3/sysext/recycler/Tests/Functional/Recycle/AbstractRecycleTestCase.php - - - message: "#^Variable \\$previousValueOfEntityLoader might not be defined\\.$#" - count: 1 - path: ../../typo3/sysext/recycler/Tests/Functional/Recycle/AbstractRecycleTestCase.php - - message: "#^Call to an undefined method TYPO3\\\\CMS\\\\Recycler\\\\Task\\\\CleanerFieldProvider\\:\\:expects\\(\\)\\.$#" count: 1 diff --git a/composer.json b/composer.json index 20ea9094c9a8fed5bddfb1abe1e62409fb2f3135..e6700e46cb933d08896e5c577fd4bdafa82816fd 100644 --- a/composer.json +++ b/composer.json @@ -119,8 +119,8 @@ "php-webdriver/webdriver": "^1.12.0", "phpspec/prophecy": "^1.15.0", "phpspec/prophecy-phpunit": "^2.0.1", - "phpstan/phpstan": "^1.9.2", - "phpstan/phpstan-phpunit": "^1.2.2", + "phpstan/phpstan": "^1.9.3", + "phpstan/phpstan-phpunit": "^1.3.1", "phpunit/phpunit": "^9.5.21", "typo3/cms-styleguide": "~11.5.4", "typo3/testing-framework": "^6.16.6", diff --git a/composer.lock b/composer.lock index e1e2da6fa0ff518ba21a41d1eb5c69b0adba267d..af2ca064326dd368be8ee1ef0172659db051b583 100644 --- a/composer.lock +++ b/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": "595bf9ef783ffa275d1f7df62aa20ffa", + "content-hash": "0a1511fcb74dd5105e67964e8fd5d934", "packages": [ { "name": "bacon/bacon-qr-code", @@ -7151,16 +7151,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.9.2", + "version": "1.9.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "d6fdf01c53978b6429f1393ba4afeca39cc68afa" + "reference": "709999b91448d4f2bb07daffffedc889b33e461c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d6fdf01c53978b6429f1393ba4afeca39cc68afa", - "reference": "d6fdf01c53978b6429f1393ba4afeca39cc68afa", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/709999b91448d4f2bb07daffffedc889b33e461c", + "reference": "709999b91448d4f2bb07daffffedc889b33e461c", "shasum": "" }, "require": { @@ -7190,7 +7190,7 @@ ], "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.9.2" + "source": "https://github.com/phpstan/phpstan/tree/1.9.3" }, "funding": [ { @@ -7206,25 +7206,25 @@ "type": "tidelift" } ], - "time": "2022-11-10T09:56:11+00:00" + "time": "2022-12-13T10:28:10+00:00" }, { "name": "phpstan/phpstan-phpunit", - "version": "1.2.2", + "version": "1.3.2", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "dea1f87344c6964c607d9076dee42d891f3923f0" + "reference": "cd9c6938f8bbfcb6da3ed5a3c7ea60873825d088" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/dea1f87344c6964c607d9076dee42d891f3923f0", - "reference": "dea1f87344c6964c607d9076dee42d891f3923f0", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/cd9c6938f8bbfcb6da3ed5a3c7ea60873825d088", + "reference": "cd9c6938f8bbfcb6da3ed5a3c7ea60873825d088", "shasum": "" }, "require": { "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.8.11" + "phpstan/phpstan": "^1.9.3" }, "conflict": { "phpunit/phpunit": "<7.0" @@ -7256,9 +7256,9 @@ "description": "PHPUnit extensions and rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.2.2" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.2" }, - "time": "2022-10-28T10:23:07+00:00" + "time": "2022-12-13T15:08:22+00:00" }, { "name": "phpunit/php-code-coverage",