diff --git a/Build/phpstan/phpstan-baseline.neon b/Build/phpstan/phpstan-baseline.neon index f713a4189bf94a0823e07383ba61d75bb96beafb..2bdf867b680d467911e742ae33d41c7f6d70e4a5 100644 --- a/Build/phpstan/phpstan-baseline.neon +++ b/Build/phpstan/phpstan-baseline.neon @@ -60,6 +60,11 @@ parameters: count: 1 path: ../../typo3/sysext/backend/Classes/Form/Behavior/UpdateValueOnFieldChange.php + - + message: "#^Offset 'onChange' on array\\{label\\: string, config\\: mixed, children\\: mixed, onChange\\: mixed, description\\?\\: mixed\\} in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: ../../typo3/sysext/backend/Classes/Form/Container/FlexFormElementContainer.php + - message: "#^Offset 'isInlineDefaultLang…' on array on left side of \\?\\? always exists and is not nullable\\.$#" count: 1 @@ -125,6 +130,11 @@ parameters: count: 1 path: ../../typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php + - + message: "#^Variable \\$translations on left side of \\?\\? always exists and is not nullable\\.$#" + count: 1 + path: ../../typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php + - message: "#^Method TYPO3\\\\CMS\\\\Backend\\\\Routing\\\\PreviewUriBuilder\\:\\:create\\(\\) should return static\\(TYPO3\\\\CMS\\\\Backend\\\\Routing\\\\PreviewUriBuilder\\) but returns object\\.$#" count: 1 @@ -2950,6 +2960,11 @@ parameters: count: 1 path: ../../typo3/sysext/lowlevel/Classes/Controller/DatabaseIntegrityController.php + - + message: "#^Variable \\$var on left side of \\?\\? always exists and is not nullable\\.$#" + count: 5 + path: ../../typo3/sysext/lowlevel/Classes/Controller/DatabaseIntegrityController.php + - message: "#^Negated boolean expression is always false\\.$#" count: 1 diff --git a/composer.json b/composer.json index 2795dfb1542c0e130867caefc65086ba44825b37..7e6df1d516f58268b8b3a3f8498b8e3ab01a2481 100644 --- a/composer.json +++ b/composer.json @@ -112,7 +112,7 @@ "friendsofphp/php-cs-fixer": "^3.46", "friendsoftypo3/phpstan-typo3": "^0.9.0", "php-webdriver/webdriver": "^1.14.0", - "phpstan/phpstan": "^1.10.48", + "phpstan/phpstan": "^1.10.51", "phpstan/phpstan-phpunit": "^1.3.15", "phpunit/phpunit": "^10.5.5", "sokil/php-isocodes-db-i18n": "^4.0.18", diff --git a/composer.lock b/composer.lock index 87f55a15a283ef734de25d9b94eb68ce4209929d..2de39659d09980cd885fa38b1668fd376837c70c 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": "e04d4102e6fe987650c692e129142831", + "content-hash": "851b52fceb635c0b1bcd2acb012f1029", "packages": [ { "name": "bacon/bacon-qr-code", @@ -6697,16 +6697,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.48", + "version": "1.10.54", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "087ed4b5f4a7a6e8f3bbdfbfe98ce5c181380bc6" + "reference": "3e25f279dada0adc14ffd7bad09af2e2fc3523bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/087ed4b5f4a7a6e8f3bbdfbfe98ce5c181380bc6", - "reference": "087ed4b5f4a7a6e8f3bbdfbfe98ce5c181380bc6", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/3e25f279dada0adc14ffd7bad09af2e2fc3523bb", + "reference": "3e25f279dada0adc14ffd7bad09af2e2fc3523bb", "shasum": "" }, "require": { @@ -6755,7 +6755,7 @@ "type": "tidelift" } ], - "time": "2023-12-08T14:34:28+00:00" + "time": "2024-01-05T15:50:47+00:00" }, { "name": "phpstan/phpstan-phpunit",