Skip to content

Instantly share code, notes, and snippets.

@garvinhicking
Created November 18, 2024 20:51
Show Gist options
  • Save garvinhicking/ce914c5f09662e9d91a4511876d6652a to your computer and use it in GitHub Desktop.
Save garvinhicking/ce914c5f09662e9d91a4511876d6652a to your computer and use it in GitHub Desktop.
phpstan bleeding edge
------ ----------------------------------------------------------------------------------------------------
Line adminpanel/Classes/Modules/PreviewModule.php
------ ----------------------------------------------------------------------------------------------------
276 Strict comparison using !== between Psr\Log\LoggerInterface and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
------ ----------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Backend/Avatar/Avatar.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
126 Call to function is_array() with non-empty-array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line backend/Classes/Backend/Shortcut/ShortcutRepository.php
------ -----------------------------------------------------------------------------------
456 Strict comparison using === between 'new' and 'new' will always evaluate to true.
🪪 identical.alwaysTrue
465 Strict comparison using === between 'new' and 'new' will always evaluate to true.
🪪 identical.alwaysTrue
------ -----------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
77 Instanceof between TYPO3\CMS\Backend\Toolbar\InformationStatus and TYPO3\CMS\Backend\Toolbar\InformationStatus will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
106 Instanceof between TYPO3\CMS\Backend\Toolbar\InformationStatus and TYPO3\CMS\Backend\Toolbar\InformationStatus will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line backend/Classes/Clipboard/Clipboard.php
------ ------------------------------------------------------------------------------------------
226 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
------ ------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Controller/ContentElement/ElementInformationController.php
------ -----------------------------------------------------------------------------------------------------------------------------
135 Call to function is_object() with object will always evaluate to true.
🪪 function.alreadyNarrowedType
351 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
355 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
356 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::hasDiffSourceField().
🪪 method.notFound
357 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getDiffSourceField().
🪪 method.notFound
------ -----------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Controller/ContextMenuController.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
43 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Controller/EditDocumentController.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
622 Call to function is_array() with array<string, array> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
728 Call to function is_array() with array<string, array> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
1000 Call to function is_array() with array<string, array> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
1065 Dead catch - TYPO3\CMS\Core\Resource\Exception\InsufficientUserPermissionsException is never thrown in the try block.
🪪 catch.neverThrown
1090 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2194 Call to function is_array() with array<string, array> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2198 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2363 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Controller/File/FileController.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
111 Strict comparison using !== between TYPO3\CMS\Core\Resource\File and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line backend/Classes/ElementBrowser/AbstractElementBrowser.php
------ ------------------------------------------------------------------------------------------
131 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
------ ------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/Behavior/OnFieldChangeTrait.php (in context of class TYPO3\CMS\Backend\Form\Element\AbstractFormElement)
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
39 Parameter #1 $array (non-empty-list<TYPO3\CMS\Backend\Form\Behavior\OnFieldChangeInterface>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/Behavior/OnFieldChangeTrait.php (in context of class TYPO3\CMS\Backend\Form\FieldControl\EditPopup)
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
39 Parameter #1 $array (non-empty-list<TYPO3\CMS\Backend\Form\Behavior\OnFieldChangeInterface>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/Behavior/OnFieldChangeTrait.php (in context of class TYPO3\CMS\Backend\Form\FieldControl\LinkPopup)
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
39 Parameter #1 $array (non-empty-list<TYPO3\CMS\Backend\Form\Behavior\OnFieldChangeInterface>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/Behavior/OnFieldChangeTrait.php (in context of class TYPO3\CMS\Styleguide\Form\Element\User1Element)
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
39 Parameter #1 $array (non-empty-list<TYPO3\CMS\Backend\Form\Behavior\OnFieldChangeInterface>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/Container/SingleFieldContainer.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
244 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/Element/AbstractFormElement.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
256 Strict comparison using !== between non-empty-string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
262 Strict comparison using !== between non-empty-string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
268 Strict comparison using !== between non-empty-string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
274 Strict comparison using !== between non-empty-string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/Element/ColorElement.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
263 Parameter #1 $arr of static method TYPO3\CMS\Core\Utility\GeneralUtility::implodeAttributes() expects array<string, int|string>, array<string, bool|string> given.
🪪 argument.type
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------
Line backend/Classes/Form/Element/DatetimeElement.php
------ ---------------------------------------------------------------------------
194 Strict comparison using === between 0 and 0 will always evaluate to true.
🪪 identical.alwaysTrue
------ ---------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/Element/LinkElement.php
------ --------------------------------------------------------------------------------------------------------------
323 Dead catch - TYPO3\CMS\Core\Resource\Exception\FileDoesNotExistException is never thrown in the try block.
🪪 catch.neverThrown
323 Dead catch - TYPO3\CMS\Core\Resource\Exception\FolderDoesNotExistException is never thrown in the try block.
🪪 catch.neverThrown
323 Dead catch - TYPO3\CMS\Core\Resource\Exception\InvalidPathException is never thrown in the try block.
🪪 catch.neverThrown
------ --------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/Element/SelectMultipleSideBySideElement.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ignored error pattern #^Strict comparison using \=\=\= between non\-empty\-array<int<0, max>, array\{label\: string, attributes\: non\-empty\-array<'class'\|'disabled'\|'title'\|'value', mixed>\}> and
array\{\} will always evaluate to false\.$# in path /Users/garvin/TYPO3/typo3-core-bugreproduce-base/typo3-core/typo3/sysext/backend/Classes/Form/Element/SelectMultipleSideBySideElement.php was not matched
in reported errors.
204 Strict comparison using === between non-empty-list<array{label: string, attributes: non-empty-array<'class'|'disabled'|'title'|'value', mixed>}> and array{} will always evaluate to false.
🪪 identical.alwaysFalse
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/Element/TablePermissionElement.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
204 Method TYPO3\CMS\Backend\Form\Element\TablePermissionElement::getIconForTable() never returns null so it can be removed from the return type.
🪪 return.unusedType
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/FieldWizard/SelectIcons.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------
64 Call to function is_array() with array{title: mixed, active: bool, icon: non-falsy-string, index: int<0, max>} will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/FormDataCompiler.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
85 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/FormDataGroup/OnTheFly.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
53 Instanceof between TYPO3\CMS\Backend\Form\FormDataProviderInterface and TYPO3\CMS\Backend\Form\FormDataProviderInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/FormDataGroup/OrderedProviderList.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
66 Instanceof between TYPO3\CMS\Backend\Form\FormDataProviderInterface and TYPO3\CMS\Backend\Form\FormDataProviderInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/FormDataProvider/AbstractItemProvider.php
------ -------------------------------------------------------------------------------------------------------------
367 Call to function is_array() with array<TYPO3\CMS\Core\Resource\FileReference> will always evaluate to true.
🪪 function.alreadyNarrowedType
------ -------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/FormDataProvider/TcaCategory.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
97 Parameter #1 $array (list<mixed>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/InlineStackProcessor.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Ignored error pattern #^Parameter \#2 \$array of function implode expects array<string>, array<int<0, max>, array\|string> given\.$# in path
/Users/garvin/TYPO3/typo3-core-bugreproduce-base/typo3-core/typo3/sysext/backend/Classes/Form/InlineStackProcessor.php was not matched in reported errors.
244 Parameter #2 $array of function implode expects array<string>, array<int, array|string> given.
🪪 argument.type
272 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/Utility/FormEngineUtility.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
82 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Form/Wizard/SuggestWizardDefaultReceiver.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------
352 Parameter &$row by-ref type of method TYPO3\CMS\Backend\Form\Wizard\SuggestWizardDefaultReceiver::makeWorkspaceOverlay() expects array, array|null given.
🪪 parameterByRef.type
💡 You can change the parameter out type with @param-out PHPDoc tag.
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line backend/Classes/History/RecordHistory.php
------ ----------------------------------------------------------------------
226 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ----------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/LinkHandler/PageLinkHandler.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
74 Strict comparison using !== between '' and 'current' will always evaluate to true.
🪪 notIdentical.alwaysTrue
222 Method TYPO3\CMS\Backend\LinkHandler\PageLinkHandler::getUrlParameters() should return array<string> but returns array<string, array|int|string>.
🪪 return.type
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/LinkHandler/RecordLinkHandler.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------
204 Method TYPO3\CMS\Backend\LinkHandler\RecordLinkHandler::getUrlParameters() should return array<string> but returns array<string, array|int|string>.
🪪 return.type
------ -----------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Middleware/BackendModuleValidator.php
------ ------------------------------------------------------------------------------------------------------------------------------
77 PHPDoc tag @var has invalid value ($module ModuleInterface): Unexpected token "$module", expected type at offset 9 on line 1
🪪 phpDoc.parseError
------ ------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------
Line backend/Classes/Preview/StandardPreviewRendererResolver.php
------ -----------------------------------------------------------------------
62 PHPDoc tag @var with type string is not subtype of native type mixed.
🪪 varTag.nativeType
------ -----------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/RecordList/DatabaseRecordList.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
744 Property TYPO3\CMS\Backend\RecordList\DatabaseRecordList::$currentTable (array<array<int>>) does not accept array<array<int|string>>.
🪪 assign.propertyType
1336 Call to function is_array() with array<int> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
1394 Call to function is_array() with array<int> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Security/CategoryPermissionsAspect.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
126 Strict comparison using !== between TYPO3\CMS\Backend\Tree\TreeNode and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Security/ContentSecurityPolicy/CspAjaxController.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------
168 Parameter #1 $array (list<TYPO3\CMS\Core\Security\ContentSecurityPolicy\MutationSuggestion>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
------ -----------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Security/SudoMode/PasswordVerification.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
116 Call to function is_object() with TYPO3\CMS\Core\Authentication\AuthenticationService will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Template/Components/Buttons/InputButton.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
139 Strict comparison using !== between TYPO3\CMS\Core\Imaging\Icon and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Template/Components/Buttons/LinkButton.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
81 Strict comparison using !== between TYPO3\CMS\Core\Imaging\Icon and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Template/Components/MetaInformation.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
74 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
232 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Tree/FileStorageTreeProvider.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
49 Dead catch - TYPO3\CMS\Core\Resource\Exception\FolderDoesNotExistException is never thrown in the try block.
🪪 catch.neverThrown
183 Strict comparison using !== between TYPO3\CMS\Core\Resource\Folder and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Tree/Renderer/UnorderedListTreeRenderer.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
43 Strict comparison using !== between TYPO3\CMS\Backend\Tree\TreeNodeCollection and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------
Line backend/Classes/Tree/View/AbstractContentPagePositionMap.php
------ -----------------------------------------------------------------------------------------
101 Strict comparison using !== between numeric-string and '' will always evaluate to true.
🪪 notIdentical.alwaysTrue
------ -----------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line backend/Classes/Tree/View/AbstractTreeView.php
------ ----------------------------------------------------------------------
330 PHPDoc tag @var with type array is not subtype of native type mixed.
🪪 varTag.nativeType
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/Utility/BackendUtility.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Ignored error pattern #^Else branch is unreachable because previous condition is always true\.$# in path
/Users/garvin/TYPO3/typo3-core-bugreproduce-base/typo3-core/typo3/sysext/backend/Classes/Utility/BackendUtility.php was not matched in reported errors.
225 Call to function is_array() with non-empty-array will always evaluate to true.
🪪 function.alreadyNarrowedType
347 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
617 Strict comparison using !== between numeric-string and '' will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2115 Call to function is_string() with non-falsy-string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2128 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2131 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2604 Call to function is_array() with list<array<string, mixed>> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2673 Parameter &$row by-ref type of method TYPO3\CMS\Backend\Utility\BackendUtility::workspaceOL() expects array|null, false given.
🪪 parameterByRef.type
💡 You can change the parameter out type with @param-out PHPDoc tag.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line backend/Classes/View/BackendLayout/ContentFetcher.php
------ -----------------------------------------------------------------------------------
229 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
231 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
------ -----------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line backend/Classes/View/BackendLayout/DefaultDataProvider.php
------ -----------------------------------------------------------------------------------
214 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
------ -----------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/View/BackendLayout/Grid/GridColumnItem.php
------ -----------------------------------------------------------------------------------------------------------------------------
208 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getLanguageField().
🪪 method.notFound
242 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
243 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
244 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
244 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
264 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
282 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
398 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
------ -----------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line backend/Classes/View/BackendLayout/Grid/LanguageColumn.php
------ -------------------------------------------------------------------------------------------------------------
105 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getLanguageField().
🪪 method.notFound
------ -------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------
Line backend/Classes/View/PageLayoutContext.php
------ -----------------------------------------------------------------------------------------------------------------------------
277 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
285 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getLanguageField().
🪪 method.notFound
------ -----------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line backend/Classes/View/ValueFormatter/FlexFormValueFormatter.php
------ -------------------------------------------------------------------------------------------------------------
199 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getConfiguration().
🪪 method.notFound
205 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getConfiguration().
🪪 method.notFound
------ -------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Tests/Functional/RecordList/DownloadRecordListTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
31 Property TYPO3\CMS\Backend\Tests\Functional\RecordList\DownloadRecordListTest::$user (TYPO3\CMS\Core\Authentication\BackendUserAuthentication|null) is never assigned null so it can be removed from the
property type.
🪪 property.unusedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
Line backend/Tests/Unit/ElementBrowser/ElementBrowserRegistryTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
37 Call to static method PHPUnit\Framework\Assert::assertNotNull() with TYPO3\CMS\Backend\ElementBrowser\ElementBrowserInterface will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Authentication/BackendUserAuthentication.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
1212 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
1281 Strict comparison using !== between list<array<string, mixed>> and false will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Authentication/Mfa/Provider/RecoveryCodesProvider.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
176 Strict comparison using === between TYPO3\CMS\Core\Authentication\Mfa\MfaViewType::AUTH and TYPO3\CMS\Core\Authentication\Mfa\MfaViewType::AUTH will always evaluate to true.
🪪 identical.alwaysTrue
💡 Use match expression instead. PHPStan will report unhandled enum cases.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Authentication/Mfa/Provider/TotpProvider.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
237 Strict comparison using === between TYPO3\CMS\Core\Authentication\Mfa\MfaViewType::AUTH and TYPO3\CMS\Core\Authentication\Mfa\MfaViewType::AUTH will always evaluate to true.
🪪 identical.alwaysTrue
💡 Use match expression instead. PHPStan will report unhandled enum cases.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Cache/Backend/AbstractBackend.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
108 Call to function is_int() with int will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Cache/Backend/ApcuBackend.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
89 Instanceof between TYPO3\CMS\Core\Cache\Frontend\FrontendInterface and TYPO3\CMS\Core\Cache\Frontend\FrontendInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
166 Instanceof between TYPO3\CMS\Core\Cache\Frontend\FrontendInterface and TYPO3\CMS\Core\Cache\Frontend\FrontendInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Cache/Backend/FileBackend.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
128 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Cache/Backend/MemcachedBackend.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
225 Instanceof between TYPO3\CMS\Core\Cache\Frontend\FrontendInterface and TYPO3\CMS\Core\Cache\Frontend\FrontendInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
237 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
349 Instanceof between TYPO3\CMS\Core\Cache\Frontend\FrontendInterface and TYPO3\CMS\Core\Cache\Frontend\FrontendInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Cache/Backend/RedisBackend.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
226 Call to function is_int() with int will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
253 Call to function is_bool() with bool will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
269 Call to function is_int() with int will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
289 Call to function is_int() with int will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
323 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
327 Call to function is_int() with int will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Cache/Backend/SimpleFileBackend.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
219 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Cache/Backend/TransientMemoryBackend.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
47 Instanceof between TYPO3\CMS\Core\Cache\Frontend\FrontendInterface and TYPO3\CMS\Core\Cache\Frontend\FrontendInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Cache/Backend/Typo3DatabaseBackend.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
86 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
454 Instanceof between TYPO3\CMS\Core\Cache\Frontend\FrontendInterface and TYPO3\CMS\Core\Cache\Frontend\FrontendInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Cache/CacheManager.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
99 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Cache/Frontend/PhpFrontend.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
52 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Charset/CharsetConverter.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
109 Strict comparison using !== between string and false will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
689 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line core/Classes/Configuration/CKEditor5Migrator.php
------ -----------------------------------------------------------------------------------
725 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
------ -----------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------
Line core/Classes/Configuration/Processor/Placeholder/EnvVariableProcessor.php
------ ---------------------------------------------------------------------------
28 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ---------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line core/Classes/Crypto/PasswordHashing/AbstractArgon2PasswordHash.php
------ ----------------------------------------------------------------------------------
123 Call to function is_string() with non-empty-string will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ----------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line core/Classes/Crypto/PasswordHashing/BcryptPasswordHash.php
------ ----------------------------------------------------------------------------------
94 Call to function is_string() with non-empty-string will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ----------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------
Line core/Classes/Crypto/PasswordHashing/BlowfishPasswordHash.php
------ --------------------------------------------------------------------------------
116 Strict comparison using !== between int and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
------ --------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/DataHandling/DataHandler.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
575 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
602 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
640 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
772 Call to function is_array() with array<int|string, array> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
783 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
793 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
890 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
1033 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
1045 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
1055 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
1152 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
1160 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
1291 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
1961 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getLanguageField().
🪪 method.notFound
2751 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
3160 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
3195 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
3407 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
3579 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getField().
🪪 method.notFound
3580 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getPrimaryField().
🪪 method.notFound
3628 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
3632 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
3788 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
3819 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
3828 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
3938 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
3991 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
3994 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
4146 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getLanguageField().
🪪 method.notFound
4299 Call to function is_array() with list<array<string, mixed>> will always evaluate to true.
🪪 function.alreadyNarrowedType
4507 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
4525 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
4525 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
4539 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
4541 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
4599 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
4600 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
4738 Call to function is_array() with list<array<string, mixed>> will always evaluate to true.
🪪 function.alreadyNarrowedType
4746 Call to function is_array() with list<array<string, mixed>> will always evaluate to true.
🪪 function.alreadyNarrowedType
4929 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getField().
🪪 method.notFound
5018 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
5020 Call to function is_array() with non-empty-array will always evaluate to true.
🪪 function.alreadyNarrowedType
5091 Call to function is_array() with array<int|string, non-empty-array<int|string, array{delete: 1}>> will always evaluate to true.
🪪 function.alreadyNarrowedType
5342 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
5345 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
5471 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getLanguageField().
🪪 method.notFound
5501 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getLanguageField().
🪪 method.notFound
5740 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
5741 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
5968 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
6012 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getLanguageField().
🪪 method.notFound
6021 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
6321 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
6573 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
6898 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
7289 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
7631 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
7693 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
7882 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
8036 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
8053 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
8099 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
8386 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
8785 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getValue().
🪪 method.notFound
9153 Call to function is_object() with TYPO3\CMS\Core\Authentication\BackendUserAuthentication will always evaluate to true.
🪪 function.alreadyNarrowedType
9195 Call to function is_array() with array{int|string} will always evaluate to true.
🪪 function.alreadyNarrowedType
9252 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
9318 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------
Line core/Classes/DataHandling/SoftReference/TypolinkTagSoftReferenceParser.php
------ -----------------------------------------------------------------------------------------
66 Strict comparison using !== between numeric-string and '' will always evaluate to true.
🪪 notIdentical.alwaysTrue
------ -----------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line core/Classes/Database/Connection.php
------ ------------------------------------------------------------------------------------------
354 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
------ ------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/ConnectionPool.php
------ ------------------------------------------------------------------------------------------------------------------
206 Call to function array_key_exists() with 'defaultTableOptions' and non-empty-array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/Platform/Traits/GetColumnDeclarationSQLCommentTypeAwareTrait.php (in context of class TYPO3\CMS\Core\Database\Platform\MariaDB1010Platform)
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
88 PHPDoc tag @var with type Doctrine\DBAL\Platforms\AbstractPlatform is not subtype of native type $this(TYPO3\CMS\Core\Database\Platform\MariaDB1010Platform).
🪪 varTag.nativeType
116 Instanceof between Doctrine\DBAL\Platforms\AbstractPlatform and 'Doctrine\\DBAL…' will always evaluate to true.
🪪 instanceof.alwaysTrue
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/Platform/Traits/GetColumnDeclarationSQLCommentTypeAwareTrait.php (in context of class TYPO3\CMS\Core\Database\Platform\MariaDB1052Platform)
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
88 PHPDoc tag @var with type Doctrine\DBAL\Platforms\AbstractPlatform is not subtype of native type $this(TYPO3\CMS\Core\Database\Platform\MariaDB1052Platform).
🪪 varTag.nativeType
116 Instanceof between Doctrine\DBAL\Platforms\AbstractPlatform and 'Doctrine\\DBAL…' will always evaluate to true.
🪪 instanceof.alwaysTrue
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/Platform/Traits/GetColumnDeclarationSQLCommentTypeAwareTrait.php (in context of class TYPO3\CMS\Core\Database\Platform\MariaDB1060Platform)
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
88 PHPDoc tag @var with type Doctrine\DBAL\Platforms\AbstractPlatform is not subtype of native type $this(TYPO3\CMS\Core\Database\Platform\MariaDB1060Platform).
🪪 varTag.nativeType
116 Instanceof between Doctrine\DBAL\Platforms\AbstractPlatform and 'Doctrine\\DBAL…' will always evaluate to true.
🪪 instanceof.alwaysTrue
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/Platform/Traits/GetColumnDeclarationSQLCommentTypeAwareTrait.php (in context of class TYPO3\CMS\Core\Database\Platform\MariaDBPlatform)
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------
88 PHPDoc tag @var with type Doctrine\DBAL\Platforms\AbstractPlatform is not subtype of native type $this(TYPO3\CMS\Core\Database\Platform\MariaDBPlatform).
🪪 varTag.nativeType
116 Instanceof between Doctrine\DBAL\Platforms\AbstractPlatform and 'Doctrine\\DBAL…' will always evaluate to true.
🪪 instanceof.alwaysTrue
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/Platform/Traits/GetColumnDeclarationSQLCommentTypeAwareTrait.php (in context of class TYPO3\CMS\Core\Database\Platform\MySQL80Platform)
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------
88 PHPDoc tag @var with type Doctrine\DBAL\Platforms\AbstractPlatform is not subtype of native type $this(TYPO3\CMS\Core\Database\Platform\MySQL80Platform).
🪪 varTag.nativeType
116 Instanceof between Doctrine\DBAL\Platforms\AbstractPlatform and 'Doctrine\\DBAL…' will always evaluate to true.
🪪 instanceof.alwaysTrue
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/Platform/Traits/GetColumnDeclarationSQLCommentTypeAwareTrait.php (in context of class TYPO3\CMS\Core\Database\Platform\MySQL84Platform)
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------
88 PHPDoc tag @var with type Doctrine\DBAL\Platforms\AbstractPlatform is not subtype of native type $this(TYPO3\CMS\Core\Database\Platform\MySQL84Platform).
🪪 varTag.nativeType
116 Instanceof between Doctrine\DBAL\Platforms\AbstractPlatform and 'Doctrine\\DBAL…' will always evaluate to true.
🪪 instanceof.alwaysTrue
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/Platform/Traits/GetColumnDeclarationSQLCommentTypeAwareTrait.php (in context of class TYPO3\CMS\Core\Database\Platform\MySQLPlatform)
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
88 PHPDoc tag @var with type Doctrine\DBAL\Platforms\AbstractPlatform is not subtype of native type $this(TYPO3\CMS\Core\Database\Platform\MySQLPlatform).
🪪 varTag.nativeType
116 Instanceof between Doctrine\DBAL\Platforms\AbstractPlatform and 'Doctrine\\DBAL…' will always evaluate to true.
🪪 instanceof.alwaysTrue
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/Platform/Traits/GetColumnDeclarationSQLCommentTypeAwareTrait.php (in context of class TYPO3\CMS\Core\Database\Platform\PostgreSQLPlatform)
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
88 PHPDoc tag @var with type Doctrine\DBAL\Platforms\AbstractPlatform is not subtype of native type $this(TYPO3\CMS\Core\Database\Platform\PostgreSQLPlatform).
🪪 varTag.nativeType
116 Instanceof between Doctrine\DBAL\Platforms\AbstractPlatform and 'Doctrine\\DBAL…' will always evaluate to true.
🪪 instanceof.alwaysTrue
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/Platform/Traits/GetColumnDeclarationSQLCommentTypeAwareTrait.php (in context of class TYPO3\CMS\Core\Database\Platform\SQLitePlatform)
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
88 PHPDoc tag @var with type Doctrine\DBAL\Platforms\AbstractPlatform is not subtype of native type $this(TYPO3\CMS\Core\Database\Platform\SQLitePlatform).
🪪 varTag.nativeType
116 Instanceof between Doctrine\DBAL\Platforms\AbstractPlatform and 'Doctrine\\DBAL…' will always evaluate to true.
🪪 instanceof.alwaysTrue
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line core/Classes/Database/Query/Expression/ExpressionBuilder.php
------ -----------------------------------------------------------------------------------
181 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
192 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
206 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
217 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
------ -----------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/Query/QueryBuilder.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
1365 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------
Line core/Classes/Database/ReferenceIndex.php
------ ---------------------------------------------------------------------------------------------------------
215 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
554 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
557 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
560 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
611 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
614 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
617 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
671 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
674 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
677 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
769 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
772 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
775 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
799 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
802 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
805 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
------ ---------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line core/Classes/Database/RelationHandler.php
------ ------------------------------------------------------------------------------------------
730 Call to function is_array() with array<int<0, max>, mixed> will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/Schema/ConnectionMigrator.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
269 Instanceof between TYPO3\CMS\Core\Database\Schema\SchemaDiff and TYPO3\CMS\Core\Database\Schema\SchemaDiff will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
520 Instanceof between TYPO3\CMS\Core\Database\Schema\TableDiff and TYPO3\CMS\Core\Database\Schema\TableDiff will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
719 Strict comparison using !== between Doctrine\DBAL\Schema\Column and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------
Line core/Classes/Database/Schema/DefaultTcaSchema.php
------ ---------------------------------------------------------------------------------
368 Strict comparison using === between true and true will always evaluate to true.
🪪 identical.alwaysTrue
384 Strict comparison using === between true and true will always evaluate to true.
🪪 identical.alwaysTrue
400 Strict comparison using === between true and true will always evaluate to true.
🪪 identical.alwaysTrue
416 Strict comparison using === between true and true will always evaluate to true.
🪪 identical.alwaysTrue
432 Strict comparison using === between true and true will always evaluate to true.
🪪 identical.alwaysTrue
------ ---------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/Schema/Parser/Lexer.php
------ -------------------------------------------------------------------------------------------------------------------------------------------
184 Method TYPO3\CMS\Core\Database\Schema\Parser\Lexer::getType() never assigns int to &$value so it can be removed from the @param-out type.
🪪 paramOut.unusedType
------ -------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------
Line core/Classes/Database/Schema/Parser/Parser.php
------ ---------------------------------------------------------------------------------------------
115 Using nullsafe property access "?->type" on left side of ?? is unnecessary. Use -> instead.
🪪 nullsafe.neverNull
------ ---------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Database/Schema/SchemaMigrator.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
322 Parameter #1 $array (list<Doctrine\DBAL\Schema\Column>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
322 Parameter #1 $array (list<Doctrine\DBAL\Schema\Column>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line core/Classes/Domain/Persistence/GreedyDatabaseBackend.php
------ ------------------------------------------------------------------------------------
121 Strict comparison using === between array and false will always evaluate to false.
🪪 identical.alwaysFalse
------ ------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line core/Classes/Domain/RawRecord.php
------ ------------------------------------------------------------------------------------------
65 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
------ ------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Domain/Repository/PageRepository.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
288 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
331 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
632 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
760 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
781 Unreachable statement - code above always terminates.
🪪 deadCode.unreachable
1268 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
1287 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
1373 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
1430 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
1638 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
1657 Parameter &$row by-ref type of method TYPO3\CMS\Core\Domain\Repository\PageRepository::versionOL() expects array, array<string, mixed>|false given.
🪪 parameterByRef.type
💡 You can change the parameter out type with @param-out PHPDoc tag.
1682 Parameter &$row by-ref type of method TYPO3\CMS\Core\Domain\Repository\PageRepository::versionOL() expects array, false given.
🪪 parameterByRef.type
💡 You can change the parameter out type with @param-out PHPDoc tag.
1690 Parameter &$row by-ref type of method TYPO3\CMS\Core\Domain\Repository\PageRepository::versionOL() expects array, false given.
🪪 parameterByRef.type
💡 You can change the parameter out type with @param-out PHPDoc tag.
1699 Parameter &$row by-ref type of method TYPO3\CMS\Core\Domain\Repository\PageRepository::versionOL() expects array, false given.
🪪 parameterByRef.type
💡 You can change the parameter out type with @param-out PHPDoc tag.
1934 Strict comparison using === between array and false will always evaluate to false.
🪪 identical.alwaysFalse
1978 Strict comparison using === between array and false will always evaluate to false.
🪪 identical.alwaysFalse
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Error/DebugExceptionHandler.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
37 Call to function is_callable() with array{$this(TYPO3\CMS\Core\Error\DebugExceptionHandler), 'handleException'} will always evaluate to true.
🪪 function.alreadyNarrowedType
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Error/PageErrorHandler/PageContentErrorHandler.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
210 Instanceof between TYPO3\CMS\Core\Site\Entity\Site and TYPO3\CMS\Core\Site\Entity\Site will always evaluate to true.
🪪 instanceof.alwaysTrue
216 Instanceof between TYPO3\CMS\Core\Site\Entity\SiteLanguage and TYPO3\CMS\Core\Site\Entity\SiteLanguage will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Error/ProductionExceptionHandler.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
49 Call to function is_callable() with array{$this(TYPO3\CMS\Core\Error\ProductionExceptionHandler), 'handleException'} will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/EventDispatcher/ListenerProvider.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
74 Call to function is_array() with array<string, class-string> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
77 Call to function is_array() with array<string, class-string> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Hooks/TcaItemsProcessorFunctions.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
325 Call to function is_string() with non-falsy-string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
325 Call to function is_string() with non-falsy-string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Http/Message.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
208 Call to function is_array() with array<string> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
243 Call to function is_array() with array<string> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Http/Response.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
128 Instanceof between Psr\Http\Message\StreamInterface and Psr\Http\Message\StreamInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------
Line core/Classes/IO/CsvStreamFilter.php
------ ------------------------------------------------------------------------------------------------------------------------
60 Parameter &$consumed by-ref type of method TYPO3\CMS\Core\IO\CsvStreamFilter::filter() expects int, (float|int) given.
🪪 parameterByRef.type
💡 You can change the parameter out type with @param-out PHPDoc tag.
------ ------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line core/Classes/Imaging/IconFactory.php
------ ----------------------------------------------------------------------------------------------
49 Using nullsafe property access "?->value" on left side of ?? is unnecessary. Use -> instead.
🪪 nullsafe.neverNull
------ ----------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Localization/LocalizationFactory.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
136 Call to function is_array() with array<string, array<string, array<int, array<string, string>>>> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------
Line core/Classes/Locking/LockFactory.php
------ -----------------------------------------------------------------------------------------------------------------------
75 PHPDoc tag @var with type TYPO3\CMS\Core\Locking\LockingStrategyInterface is not subtype of native type (int|string).
🪪 varTag.nativeType
------ -----------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Log/Logger.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
219 Instanceof between TYPO3\CMS\Core\Log\LogRecord and TYPO3\CMS\Core\Log\LogRecord will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Mail/Rfc822AddressesParser.php
------ ----------------------------------------------------------------------------------------------------------------------------------------
626 Parameter &$mailbox by-ref type of method TYPO3\CMS\Core\Mail\Rfc822AddressesParser::validateMailbox() expects string, stdClass given.
🪪 parameterByRef.type
💡 You can change the parameter out type with @param-out PHPDoc tag.
------ ----------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Messaging/FlashMessageQueue.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
65 Instanceof between TYPO3\CMS\Core\Messaging\FlashMessage and TYPO3\CMS\Core\Messaging\FlashMessage will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Package/FailsafePackageManager.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
92 Instanceof between TYPO3\CMS\Core\Package\PackageInterface and TYPO3\CMS\Core\Package\PackageInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Package/PackageManager.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
412 Instanceof between TYPO3\CMS\Core\Package\PackageInterface and TYPO3\CMS\Core\Package\PackageInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
429 Instanceof between TYPO3\CMS\Core\Package\PackageInterface and TYPO3\CMS\Core\Package\PackageInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
1012 Call to function is_object() with object will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Resource/Collection/FolderBasedFileCollection.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
67 Instanceof between TYPO3\CMS\Core\Resource\Folder and TYPO3\CMS\Core\Resource\Folder will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Resource/Driver/AbstractHierarchicalFilesystemDriver.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
63 Strict comparison using !== between non-empty-string and '' will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Resource/Folder.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
486 Strict comparison using !== between array and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Resource/Index/FileIndexRepository.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
219 Instanceof between TYPO3\CMS\Core\Resource\Folder and TYPO3\CMS\Core\Resource\Folder will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Resource/Index/Indexer.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
71 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Resource/ResourceFactory.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
94 Call to function is_numeric() with int will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
166 Call to function is_numeric() with int will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
194 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
224 Parameter &$fileIdentifier by-ref type of method TYPO3\CMS\Core\Resource\ResourceFactory::getFileObjectByStorageAndIdentifier() expects string, string|null given.
🪪 parameterByRef.type
💡 You can change the parameter out type with @param-out PHPDoc tag.
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Resource/ResourceStorage.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
1341 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
1359 PHPDoc tag @var with type TYPO3\CMS\Core\Resource\FileInterface is not subtype of native type string.
🪪 varTag.nativeType
1618 Parameter #1 $array (list<string>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Resource/Search/Result/DriverFilteredSearchResult.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
136 Call to function is_callable() with callable(): mixed will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Resource/Security/FileMetadataPermissionsAspect.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
148 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Resource/Security/FilePermissionAspect.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
77 Call to function is_scalar() with int|string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Resource/StorageRepository.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
374 Parameter &$localPath by-ref type of method TYPO3\CMS\Core\Resource\StorageRepository::findBestMatchingStorageByLocalPath() expects non-empty-string, string given.
🪪 parameterByRef.type
💡 You can change the parameter out type with @param-out PHPDoc tag.
405 Parameter &$localPath by-ref type of method TYPO3\CMS\Core\Resource\StorageRepository::findBestMatchingStorageByLocalPath() expects non-empty-string, string given.
🪪 parameterByRef.type
💡 You can change the parameter out type with @param-out PHPDoc tag.
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Routing/Aspect/AspectFactory.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------
76 PHPDoc tag @var with type TYPO3\CMS\Core\Routing\Aspect\AspectInterface|TYPO3\CMS\Core\Site\SiteLanguageAwareInterface is not subtype of native type
TYPO3\CMS\Core\Routing\Aspect\AspectInterface&TYPO3\CMS\Core\Site\SiteLanguageAwareInterface.
🪪 varTag.nativeType
------ ------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line core/Classes/Routing/Enhancer/VariableProcessor.php
------ -------------------------------------------------------------------------------------------
136 Parameter #1 $array (list<string>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
155 Parameter #1 $array (list<string>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
------ -------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Routing/RouteSorter.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
111 Strict comparison using !== between non-empty-array and array{} will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
136 Strict comparison using !== between non-empty-array<string, int> and array{} will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Schema/Field/NumberFieldType.php
------ -------------------------------------------------------------------------------------------------------------------------------
30 Method TYPO3\CMS\Core\Schema\Field\NumberFieldType::getFormat() never returns null so it can be removed from the return type.
🪪 return.unusedType
------ -------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Schema/TcaSchema.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
143 PHPDoc tag @return has invalid value (($capability is TcaSchemaCapability::Language ? Capability\LanguageAwareSchemaCapability : ($capability is TcaSchemaCapability::RestrictionRootLevel ?
Capability\RootLevelCapability : ($capability is TcaSchemaCapability::EditLock ? Capability\FieldCapability : ($capability is TcaSchemaCapability::InternalDescription ? Capability\FieldCapability :
($capability is TcaSchemaCapability::RestrictionDisabledField ? Capability\FieldCapability : ($capability is TcaSchemaCapability::RestrictionStartTime ? Capability\FieldCapability : ($capability is
TcaSchemaCapability::RestrictionEndTime ? Capability\FieldCapability : ($capability is TcaSchemaCapability::RestrictionUserGroup ? Capability\FieldCapability : ($capability is
TcaSchemaCapability::PrependLabelTextAtCopy ? Capability\ScalarCapability : ($capability is TcaSchemaCapability::Label ? Capability\LabelCapability : Capability\SystemInternalFieldCapability)))))))))))):
Unexpected token ")", expected TOKEN_HORIZONTAL_WS at offset 942 on line 2
🪪 phpDoc.parseError
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Schema/VisibleSchemaFieldsCollector.php
------ -----------------------------------------------------------------------------------------------------------------------------
60 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
------ -----------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Security/ContentSecurityPolicy/HashValue.php
------ -------------------------------------------------------------------------------------------------------------------------------------------
82 Method TYPO3\CMS\Core\Security\ContentSecurityPolicy\HashValue::compile() never returns null so it can be removed from the return type.
🪪 return.unusedType
87 Method TYPO3\CMS\Core\Security\ContentSecurityPolicy\HashValue::serialize() never returns null so it can be removed from the return type.
🪪 return.unusedType
------ -------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Security/ContentSecurityPolicy/ScopeRepository.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
37 Parameter #1 $array (list<TYPO3\CMS\Core\Security\ContentSecurityPolicy\Scope>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Security/NoncePool.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------
104 Parameter #1 $array (array<string, TYPO3\CMS\Core\Security\Nonce>) to function array_filter does not contain falsy values, the array will always stay the same.
🪪 arrayFilter.same
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Service/MarkerBasedTemplateService.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
211 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
508 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Settings/Type/BoolType.php
------ ---------------------------------------------------------------------------------------------------------------------------
34 Property TYPO3\CMS\Core\Settings\Type\BoolType::$stringMap (array<string, bool>) does not accept array<int|string, bool>.
🪪 assign.propertyType
------ ---------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Site/SiteFinder.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
65 Instanceof between TYPO3\CMS\Core\Site\Entity\Site and TYPO3\CMS\Core\Site\Entity\Site will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
110 Instanceof between TYPO3\CMS\Core\Site\Entity\Site and TYPO3\CMS\Core\Site\Entity\Site will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line core/Classes/Site/SiteSettingsFactory.php
------ ----------------------------------------------------------------------
104 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ----------------------------------------------------------------------
------ --------------------------------------------------------------
Line core/Classes/Slug/SlugNormalizer.php
------ --------------------------------------------------------------
57 Call to preg_quote() is missing delimiter / to be effective.
🪪 argument.invalidPregQuote
61 Call to preg_quote() is missing delimiter / to be effective.
🪪 argument.invalidPregQuote
------ --------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Tree/TableConfiguration/TreeDataProviderFactory.php
------ -------------------------------------------------------------------------------------------------------------------------------
39 PHPDoc tag @var with type TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider is not subtype of native type null.
🪪 varTag.nativeType
------ -------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line core/Classes/TypoScript/AST/AbstractAstBuilder.php
------ ------------------------------------------------------------------------------------------
223 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
------ ------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/TypoScript/AST/Traverser/AstTraverser.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
38 Instanceof between TYPO3\CMS\Core\TypoScript\AST\Visitor\AstVisitorInterface and TYPO3\CMS\Core\TypoScript\AST\Visitor\AstVisitorInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line core/Classes/TypoScript/AST/Visitor/AstConstantCommentVisitor.php
------ ------------------------------------------------------------------------------------------
251 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
311 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
384 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
420 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
------ ------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/TypoScript/IncludeTree/Traverser/ConditionVerdictAwareIncludeTreeTraverser.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
42 Instanceof between TYPO3\CMS\Core\TypoScript\IncludeTree\Visitor\IncludeTreeVisitorInterface and TYPO3\CMS\Core\TypoScript\IncludeTree\Visitor\IncludeTreeVisitorInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/TypoScript/IncludeTree/Traverser/IncludeTreeTraverser.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
34 Instanceof between TYPO3\CMS\Core\TypoScript\IncludeTree\Visitor\IncludeTreeVisitorInterface and TYPO3\CMS\Core\TypoScript\IncludeTree\Visitor\IncludeTreeVisitorInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/TypoScript/IncludeTree/Visitor/IncludeTreeConditionMatcherVisitor.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
78 Instanceof between TYPO3\CMS\Core\Context\UserAspect and TYPO3\CMS\Core\Context\UserAspect will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
88 Instanceof between TYPO3\CMS\Core\Context\UserAspect and TYPO3\CMS\Core\Context\UserAspect will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
99 Instanceof between TYPO3\CMS\Core\Context\WorkspaceAspect and TYPO3\CMS\Core\Context\WorkspaceAspect will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------
Line core/Classes/Utility/ArrayUtility.php
------ --------------------------------------------------------------------------------
767 Call to function is_array() with non-empty-array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ --------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Utility/File/ExtendedFileUtility.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
187 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
279 Call to function is_object() with TYPO3\CMS\Core\Authentication\BackendUserAuthentication will always evaluate to true.
🪪 function.alreadyNarrowedType
595 Instanceof between TYPO3\CMS\Core\Resource\Folder and TYPO3\CMS\Core\Resource\Folder will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Utility/GeneralUtility.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
750 PHPDoc tag @var with type array<int, int> is not subtype of native type array<int<0, max>, string>.
🪪 varTag.nativeType
2706 Call to function is_callable() with callable-string will always evaluate to true.
🪪 function.alreadyNarrowedType
3069 Call to function is_object() with TYPO3\CMS\Core\Authentication\AbstractAuthenticationService will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
3070 Call to function is_callable() with array{TYPO3\CMS\Core\Authentication\AbstractAuthenticationService, 'init'} will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Classes/Utility/RootlineUtility.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
438 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
709 Parameter #1 $array (non-empty-list<mixed>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
809 Parameter #1 $array (array{string, string, string, string, string, string, string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
827 Parameter #1 $array (array{string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
835 Parameter #1 $array (array{string, string, string, string, string, string, string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
950 Parameter #1 $array (array{string, string, TYPO3\CMS\Core\Database\Query\Expression\CompositeExpression}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
982 Parameter #1 $array (array{string, string, string, string, string, string, string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
1032 Parameter #1 $array (array{string, string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
1046 Parameter #1 $array (array{string, string, string, string, string, string, string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
1193 Parameter #1 $array (array{string, string, string, TYPO3\CMS\Core\Database\Query\Expression\CompositeExpression}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
1255 Parameter #1 $array (array{string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Cache/Backend/FileBackendTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
512 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Category/Collection/CategoryCollectionTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
69 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Category\\Collection\\CategoryCollection' and TYPO3\CMS\Core\Category\Collection\CategoryCollection will always
evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
76 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Category\\Collection\\CategoryCollection' and TYPO3\CMS\Core\Category\Collection\CategoryCollection will always
evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/DataHandling/RecordFieldTransformerTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
74 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
651 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Collection\\LazyRecordCollection' and TYPO3\CMS\Core\Collection\LazyRecordCollection will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Database/Query/Expression/ExpressionBuilderTest.php
------ ------------------------------------------------------------------------------------------------------
908 Call to static method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
1705 Parameter #1 $array (array{string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
------ ------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Database/Query/QueryBuilder/CommonTableExpression/SimpleRootLineTraversalTest.php
------ --------------------------------------------------------------------------------------------------------------------
137 Parameter #1 $array (array{string, string, string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
146 Parameter #1 $array (array{string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
151 Parameter #1 $array (array{string, string, string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
163 Parameter #1 $array (array{string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
------ --------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Database/Query/QueryBuilder/CommonTableExpression/SimpleSelectCommonTableExpressionTest.php
------ ----------------------------------------------------------------------------------------------------------------------
117 Parameter #1 $array (array{string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
122 Parameter #1 $array (array{string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
182 Parameter #1 $array (array{string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
187 Parameter #1 $array (array{string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
252 Parameter #1 $array (array{string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
257 Parameter #1 $array (array{string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
330 Parameter #1 $array (array{string, string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
336 Parameter #1 $array (array{string, string, non-falsy-string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
410 Parameter #1 $array (array{string, string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
416 Parameter #1 $array (array{string, string, non-falsy-string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
483 Parameter #1 $array (array{string, string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
489 Parameter #1 $array (array{string, string, non-falsy-string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
------ ----------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Database/Query/QueryBuilder/CommonTableExpression/SimpleTreeTraversalTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------
210 Parameter #1 $array (array{string, string, string, string, string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
225 Parameter #1 $array (array{string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
230 Parameter #1 $array (array{string, string, string, string, string, string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
258 Parameter #1 $array (array{string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
262 Parameter #1 $array (array{string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
------ ------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Database/Query/QueryBuilder/PositionPlaceholderPreparedStatementTest.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
48 Call to static method PHPUnit\Framework\Assert::assertIsObject() with TYPO3\CMS\Core\Database\Query\QueryBuilder will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
49 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Database\\Query\\QueryBuilder' and TYPO3\CMS\Core\Database\Query\QueryBuilder will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Database/Schema/SchemaMigratorTest.php
------ ----------------------------------------------------------------------------------------------------------
703 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Domain/Repository/PageRepositoryTest.php
------ ----------------------------------------------------------------------------------------------------------
133 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
156 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
168 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
186 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
211 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
235 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
257 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
279 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
311 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Error/ErrorHandlerTest.php
------ ------------------------------------------------------------------------------------------------------
55 Call to static method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Hooks/TcaItemsProcessorFunctionsTest.php
------ -----------------------------------------------------------------------------------------------------------------
95 Call to static method PHPUnit\Framework\Assert::assertSame() with array and array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -----------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Log/LoggerAwareChannelTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
70 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Log\\LogRecord' and TYPO3\CMS\Core\Log\LogRecord will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
82 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Log\\LogRecord' and TYPO3\CMS\Core\Log\LogRecord will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Resource/Driver/LocalDriverTest.php
------ --------------------------------------------------------------------------------------------------------------------------
918 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string, string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ --------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Resource/StorageRepositoryTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
156 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Resource\\Folder' and TYPO3\CMS\Core\Resource\Folder will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
242 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Resource\\Folder' and TYPO3\CMS\Core\Resource\Folder will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
504 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Resource\\Folder' and TYPO3\CMS\Core\Resource\Folder will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaOverrideRequireTest.php
------ ---------------------------------------------------------------------------------------------------------------
33 Call to static method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ---------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------
Line core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaRequireTest.php
------ -------------------------------------------------------------------------------------------------------
35 Call to static method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Charset/CharsetConverterTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
33 Call to static method PHPUnit\Framework\Assert::assertSame() with 1 and 1 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
34 Call to static method PHPUnit\Framework\Assert::assertSame() with 1 and 1 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
51 Call to static method PHPUnit\Framework\Assert::assertSame() with 1 and 1 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
52 Call to static method PHPUnit\Framework\Assert::assertSame() with 3 and 3 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
71 Call to static method PHPUnit\Framework\Assert::assertSame() with 1 and 1 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
72 Call to static method PHPUnit\Framework\Assert::assertSame() with 3 and 3 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
91 Call to static method PHPUnit\Framework\Assert::assertSame() with 1 and 1 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
92 Call to static method PHPUnit\Framework\Assert::assertSame() with 3 and 3 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
111 Call to static method PHPUnit\Framework\Assert::assertSame() with 1 and 1 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
112 Call to static method PHPUnit\Framework\Assert::assertSame() with 4 and 4 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
135 Call to static method PHPUnit\Framework\Assert::assertSame() with 1 and 1 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
137 Call to static method PHPUnit\Framework\Assert::assertSame() with 1 and 1 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
138 Call to static method PHPUnit\Framework\Assert::assertSame() with 1 and 1 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
139 Call to static method PHPUnit\Framework\Assert::assertSame() with 'A' and 'A' will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
149 Call to static method PHPUnit\Framework\Assert::assertSame() with 1 and 1 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
150 Call to static method PHPUnit\Framework\Assert::assertSame() with 3 and 3 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
151 Call to static method PHPUnit\Framework\Assert::assertNotSame() with '' and '€' will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
160 Call to static method PHPUnit\Framework\Assert::assertSame() with 2 and 2 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
162 Call to static method PHPUnit\Framework\Assert::assertSame() with 1 and 1 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
163 Call to static method PHPUnit\Framework\Assert::assertSame() with 3 and 3 will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
164 Call to static method PHPUnit\Framework\Assert::assertNotSame() with '' and '〣' will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Console/CommandRegistryTest.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
43 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Symfony\\Component\\Console\\CommandLoader\\CommandLoaderInterface' and TYPO3\CMS\Core\Console\CommandRegistry will always evaluate
to true.
🪪 staticMethod.alreadyNarrowedType
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Context/SecurityAspectTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
53 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Security\\NoncePool' and TYPO3\CMS\Core\Security\NoncePool will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Crypto/PasswordHashing/Argon2iPasswordHashTest.php
------ ------------------------------------------------------------------------------------------------------------
69 Call to static method PHPUnit\Framework\Assert::assertIsString() with string will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Crypto/PasswordHashing/Argon2idPasswordHashTest.php
------ ------------------------------------------------------------------------------------------------------------
66 Call to static method PHPUnit\Framework\Assert::assertIsString() with string will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Crypto/PasswordHashing/BcryptPasswordHashTest.php
------ ------------------------------------------------------------------------------------------------------------
68 Call to static method PHPUnit\Framework\Assert::assertIsString() with string will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/DataHandling/DataHandlerTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
101 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\DataHandling\\DataHandler' and
PHPUnit\Framework\MockObject\MockObject&TYPO3\CMS\Core\DataHandling\DataHandler&TYPO3\TestingFramework\Core\AccessibleObjectInterface will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/DataHandling/Localization/StateTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
41 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\DataHandling\\Localization\\State' and TYPO3\CMS\Core\DataHandling\Localization\State will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Database/ConnectionTest.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
75 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Database\\Query\\QueryBuilder' and TYPO3\CMS\Core\Database\Query\QueryBuilder will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Database/Query/Expression/ExpressionBuilderTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
58 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Database\\Query\\Expression\\CompositeExpression' and TYPO3\CMS\Core\Database\Query\Expression\CompositeExpression
will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
67 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Database\\Query\\Expression\\CompositeExpression' and TYPO3\CMS\Core\Database\Query\Expression\CompositeExpression
will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Database/Query/QueryBuilderTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
52 Property TYPO3\CMS\Core\Tests\Unit\Database\Query\QueryBuilderTest::$subject (TYPO3\CMS\Core\Database\Query\QueryBuilder|null) is never assigned null so it can be removed from the property type.
🪪 property.unusedType
1001 Parameter #1 $expected of static method PHPUnit\Framework\Assert::assertSame() contains unresolvable type.
🪪 argument.unresolvableType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Database/Schema/Parser/ReferenceDefinitionTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
190 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Database\\Schema\\Parser\\AST\\ReferenceDefinition' and
TYPO3\CMS\Core\Database\Schema\Parser\AST\ReferenceDefinition will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Database/Schema/Parser/TableBuilderTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
187 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Doctrine\\DBAL\\Schema\\Index' and Doctrine\DBAL\Schema\Index will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
196 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Doctrine\\DBAL\\Schema\\Index' and Doctrine\DBAL\Schema\Index will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
205 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Doctrine\\DBAL\\Schema\\ForeignKeyConstraint' and Doctrine\DBAL\Schema\ForeignKeyConstraint will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Database/Schema/SchemaManager/MySQLSchemaManagerTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
84 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Doctrine\\DBAL\\Schema\\Column' and Doctrine\DBAL\Schema\Column will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
110 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Doctrine\\DBAL\\Schema\\Column' and Doctrine\DBAL\Schema\Column will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Database/Schema/SchemaManager/PostgreSQLSchemaManagerTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
65 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Doctrine\\DBAL\\Schema\\Column' and Doctrine\DBAL\Schema\Column will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
91 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Doctrine\\DBAL\\Schema\\Column' and Doctrine\DBAL\Schema\Column will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Database/Schema/SchemaManager/SQLiteSchemaManagerTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
62 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Doctrine\\DBAL\\Schema\\Column' and Doctrine\DBAL\Schema\Column will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
87 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Doctrine\\DBAL\\Schema\\Column' and Doctrine\DBAL\Schema\Column will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/DependencyInjection/ConsoleCommandPassTest.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
77 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Symfony\\Component\\Console\\Command\\Command' and Symfony\Component\Console\Command\Command will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/DependencyInjection/FailsafeContainerTest.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
35 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Container\\ContainerInterface' and TYPO3\CMS\Core\DependencyInjection\FailsafeContainer will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/DependencyInjection/ServiceProviderRegistryTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
73 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Package\\Package' and TYPO3\CMS\Core\Package\Package will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/EventDispatcher/EventDispatcherTest.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
46 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\EventDispatcher\\EventDispatcherInterface' and TYPO3\CMS\Core\EventDispatcher\EventDispatcher will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/EventDispatcher/NoopEventDispatcherTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
30 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\EventDispatcher\\EventDispatcherInterface' and TYPO3\CMS\Core\EventDispatcher\NoopEventDispatcher will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Http/ApplicationTypeTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
76 Call to static method PHPUnit\Framework\Assert::assertSame() with 'frontend' and 'frontend' will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
84 Call to static method PHPUnit\Framework\Assert::assertSame() with 'backend' and 'backend' will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Http/ClientTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
45 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Http\\Client\\ClientInterface' and GuzzleHttp\Client will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Http/RequestFactoryTest.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
36 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Http\\Message\\RequestFactoryInterface' and TYPO3\CMS\Core\Http\RequestFactory will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
54 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Http\\Message\\RequestInterface' and Psr\Http\Message\RequestInterface will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Http/ResponseFactoryTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
34 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Http\\Message\\ResponseFactoryInterface' and TYPO3\CMS\Core\Http\ResponseFactory will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Http/ServerRequestFactoryTest.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
37 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Http\\Message\\ServerRequestFactoryInterface' and TYPO3\CMS\Core\Http\ServerRequestFactory will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
55 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Http\\Message\\ServerRequestInterface' and Psr\Http\Message\ServerRequestInterface will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
182 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with arguments 'TYPO3\\CMS\\Core\\Http\\ServerRequest', TYPO3\CMS\Core\Http\ServerRequest and '$_SERVER with…' will always evaluate to
true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Http/StreamFactoryTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
49 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Http\\Message\\StreamFactoryInterface' and TYPO3\CMS\Core\Http\StreamFactory will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Http/StreamTest.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
45 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Http\\Stream' and TYPO3\CMS\Core\Http\Stream will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
53 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Http\\Stream' and TYPO3\CMS\Core\Http\Stream will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Http/UploadedFileFactoryTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
33 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Http\\Message\\UploadedFileFactoryInterface' and TYPO3\CMS\Core\Http\UploadedFileFactory will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
43 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Http\\Message\\UploadedFileInterface' and Psr\Http\Message\UploadedFileInterface will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
56 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Http\\Message\\UploadedFileInterface' and Psr\Http\Message\UploadedFileInterface will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Http/UriFactoryTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
35 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Http\\Message\\UriFactoryInterface' and TYPO3\CMS\Core\Http\UriFactory will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
44 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Http\\Message\\UriInterface' and Psr\Http\Message\UriInterface will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Imaging/DimensionTest.php
------ ------------------------------------------------------------------------------------------------------
45 Call to static method PHPUnit\Framework\Assert::assertIsInt() with int will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
53 Call to static method PHPUnit\Framework\Assert::assertIsInt() with int will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Imaging/IconRegistryTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
98 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
105 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Imaging/ImageManipulation/CropVariantCollectionTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
78 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Imaging\\ImageManipulation\\CropVariantCollection' and
TYPO3\CMS\Core\Imaging\ImageManipulation\CropVariantCollection will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ---------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Imaging/ImageManipulation/CropVariantTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
85 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Imaging\\ImageManipulation\\CropVariant' and TYPO3\CMS\Core\Imaging\ImageManipulation\CropVariant will always
evaluate to true.
🪪 staticMethod.alreadyNarrowedType
94 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Imaging\\ImageManipulation\\CropVariant' and TYPO3\CMS\Core\Imaging\ImageManipulation\CropVariant will always
evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Log/LogManagerTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
34 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Log\\Logger' and TYPO3\CMS\Core\Log\Logger will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Mail/MailMessageTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
72 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Symfony\\Component\\Mime\\Address' and Symfony\Component\Mime\Address will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
303 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Mail/TransportFactoryTest.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
231 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Symfony\\Component\\Mailer\\Transport\\TransportInterface' and Symfony\Component\Mailer\Transport\TransportInterface will always
evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Messaging/FlashMessageRendererResolverTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
30 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Messaging\\Renderer\\FlashMessageRendererInterface' and
TYPO3\CMS\Core\Messaging\Renderer\FlashMessageRendererInterface will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Site/Entity/SiteTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
255 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Error\\PageErrorHandler\\PageErrorHandlerInterface' and
TYPO3\CMS\Core\Error\PageErrorHandler\PageErrorHandlerInterface will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line core/Tests/Unit/Tree/TableConfiguration/Fixtures/TreeDataProviderWithConfigurationFixture.php
------ -----------------------------------------------------------------------------------------------
30 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ -----------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Type/File/ImageInfoTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
39 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Type\\File\\ImageInfo' and TYPO3\CMS\Core\Type\File\ImageInfo will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Type/MapTest.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------
38 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Type\\Map' and TYPO3\CMS\Core\Type\Map will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/TypoScript/AST/Node/ChildNodeTest.php
------ ------------------------------------------------------------------------------------------------------------
40 Call to static method PHPUnit\Framework\Assert::assertIsString() with string will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/TypoScript/AST/Node/ReferenceChildNodeTest.php
------ ------------------------------------------------------------------------------------------------------------
40 Call to static method PHPUnit\Framework\Assert::assertIsString() with string will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Utility/ArrayUtilityTest.php
------ -------------------------------------------------------------------------------------------------
2888 Parameter #1 $array (list<int|string>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
2889 Parameter #1 $array (list<int|string>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
2890 Parameter #1 $array (list<(int|string)>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
------ -------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/Tests/Unit/Utility/GeneralUtilityTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
2135 Strict comparison using !== between non-empty-string and '' will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2551 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string, string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2564 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string, string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2678 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'stdClass' and stdClass will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2733 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Psr\\Log\\LoggerInterface' and Psr\Log\LoggerInterface will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------
Line dashboard/Classes/Controller/WidgetAjaxController.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------
50 Instanceof between TYPO3\CMS\Dashboard\Widgets\WidgetInterface and TYPO3\CMS\Dashboard\Widgets\WidgetInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
------ ----------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Classes/Mvc/Controller/ActionController.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
331 Strict comparison using !== between TYPO3\CMS\Extbase\Validation\Validator\ConjunctionValidator and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
357 Call to function is_callable() with callable(): mixed will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Classes/Mvc/Controller/Argument.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
118 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
151 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
151 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Classes/Mvc/Controller/MvcPropertyMappingConfigurationService.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
170 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Classes/Persistence/Generic/Backend.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
541 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
545 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
548 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
718 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
741 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
755 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
758 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Classes/Persistence/Generic/LazyLoadingProxy.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
82 Instanceof between TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface and TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------
Line extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php
------ -----------------------------------------------------------------------------------------------------------------------------
199 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
202 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
205 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
209 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getLanguageField().
🪪 method.notFound
210 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
211 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::hasDiffSourceField().
🪪 method.notFound
212 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getDiffSourceField().
🪪 method.notFound
221 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::canExistOnPages().
🪪 method.notFound
227 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
230 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
233 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
236 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
239 Cannot cast TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface to string.
🪪 cast.string
------ -----------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Classes/Persistence/Generic/Mapper/DataMapper.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
117 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
202 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
440 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
783 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
811 Strict comparison using !== between TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMap and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Classes/Persistence/Generic/Query.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
170 Instanceof between TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface and TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
276 Call to function is_int() with int will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
316 Call to function is_int() with int will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
387 Instanceof between TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface and TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
410 Instanceof between TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface and TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
201 Instanceof between TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement and TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
207 Instanceof between TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement and TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
311 Instanceof between TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement and TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
527 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
407 Strict comparison using !== between int|string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
558 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
560 Strict comparison using !== between string and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
1087 Instanceof between TYPO3\CMS\Core\Domain\Repository\PageRepository and TYPO3\CMS\Core\Domain\Repository\PageRepository will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------
Line extbase/Classes/Reflection/ClassSchema.php
------ ------------------------------------------------------------------------------------
389 PHPDoc tag @var with type class-string<mixed> is not subtype of native type mixed.
🪪 varTag.nativeType
------ ------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Classes/Utility/TypeHandlingUtility.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
134 Call to function is_subclass_of() with class-string and mixed will always evaluate to true.
🪪 function.alreadyNarrowedType
134 Strict comparison using === between true and true will always evaluate to true.
🪪 identical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Functional/Mvc/Controller/ActionControllerTest.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
172 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'SplObjectStorage' and SplObjectStorage will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
201 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'SplObjectStorage' and SplObjectStorage will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Functional/Mvc/Validation/ActionControllerValidationTest.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
163 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Http\\ForwardResponse' and TYPO3\CMS\Extbase\Http\ForwardResponse will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Functional/Mvc/Web/RequestBuilderTest.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
99 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
130 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
161 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
237 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
307 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
444 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
476 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
575 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
606 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
672 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
710 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
744 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
780 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
821 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface' and TYPO3\CMS\Extbase\Mvc\Request will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapFactoryTest.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
49 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Mapper\\DataMap' and TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMap will always
evaluate to true.
🪪 staticMethod.alreadyNarrowedType
59 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Mapper\\DataMap' and TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMap will always
evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapperTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
216 Call to static method PHPUnit\Framework\Assert::assertSame() with TYPO3Tests\TestDataMapper\Domain\Model\Enum\StringBackedEnum::ONE and TYPO3Tests\TestDataMapper\Domain\Model\Enum\StringBackedEnum will
always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
218 Call to static method PHPUnit\Framework\Assert::assertSame() with TYPO3Tests\TestDataMapper\Domain\Model\Enum\IntegerBackedEnum::ONE and TYPO3Tests\TestDataMapper\Domain\Model\Enum\IntegerBackedEnum will
always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Functional/Persistence/LazyLoadingProxyTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
55 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with arguments 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\LazyLoadingProxy', TYPO3\CMS\Extbase\Persistence\Generic\LazyLoadingProxy and
'Assert that …' will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
59 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with arguments 'TYPO3Tests\\BlogExample\\Domain\\Model\\Administrator', TYPO3Tests\BlogExample\Domain\Model\Administrator and 'Assert that
…' will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Functional/Persistence/LazyObjectStorageTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
58 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with arguments 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\LazyObjectStorage', TYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorage and
'Assert that …' will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
63 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with arguments 'TYPO3Tests\\BlogExample\\Domain\\Model\\Post', TYPO3Tests\BlogExample\Domain\Model\Post and 'Assert that $posts…' will
always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
64 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with arguments 'TYPO3Tests\\BlogExample\\Domain\\Model\\Post', TYPO3Tests\BlogExample\Domain\Model\Post and 'Assert that $posts…' will
always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Functional/Property/PropertyMapperTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
224 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3Tests\\TypeConverterTest\\Domain\\Model\\Cat' and TYPO3Tests\TypeConverterTest\Domain\Model\Cat will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
246 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3Tests\\TypeConverterTest\\Domain\\Model\\Cat' and TYPO3Tests\TypeConverterTest\Domain\Model\Cat will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
291 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3Tests\\TypeConverterTest\\Domain\\Model\\Cat' and TYPO3Tests\TypeConverterTest\Domain\Model\Cat will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Functional/Property/TypeConverter/FileConverterTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
45 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Domain\\Model\\File' and TYPO3\CMS\Extbase\Domain\Model\File will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Functional/Property/TypeConverter/ObjectConverterTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
80 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3Tests\\TypeConverterTest\\Domain\\Model\\Cat' and TYPO3Tests\TypeConverterTest\Domain\Model\Cat will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Functional/Validation/ValidatorResolverTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
50 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Imaging\\IconFactory' and TYPO3\CMS\Core\Imaging\IconFactory will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
66 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
73 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\ConjunctionValidator' and TYPO3\CMS\Extbase\Validation\Validator\ConjunctionValidator
will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
76 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'SplObjectStorage' and SplObjectStorage will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
81 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\GenericObjectValidator' and TYPO3\CMS\Extbase\Validation\Validator\GenericObjectValidator
will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
92 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'SplObjectStorage' and SplObjectStorage will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
98 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\StringLengthValidator' and TYPO3\CMS\Extbase\Validation\Validator\StringLengthValidator
will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
113 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\StringLengthValidator' and TYPO3\CMS\Extbase\Validation\Validator\StringLengthValidator
will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
131 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'SplObjectStorage' and SplObjectStorage will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
140 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'SplObjectStorage' and SplObjectStorage will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
149 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'SplObjectStorage' and SplObjectStorage will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Unit/Error/ResultTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
89 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Error\\Result' and TYPO3\CMS\Extbase\Error\Result will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Unit/Mvc/Controller/ArgumentTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------
149 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\FileHandlingServiceConfiguration' and
TYPO3\CMS\Extbase\Mvc\Controller\FileHandlingServiceConfiguration will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Unit/Mvc/Controller/ArgumentsTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
69 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\Argument' and TYPO3\CMS\Extbase\Mvc\Controller\Argument will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
189 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with arguments 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\Argument', TYPO3\CMS\Extbase\Mvc\Controller\Argument and 'addNewArgument()…' will
always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Unit/Persistence/Generic/QueryResultTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
73 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Persistence\\QueryInterface' and TYPO3\CMS\Extbase\Persistence\QueryInterface<object> will always evaluate to
true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Unit/Persistence/Generic/Typo3QuerySettingsTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
84 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QuerySettingsInterface' and TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings will
always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
98 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QuerySettingsInterface' and TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings will
always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
112 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QuerySettingsInterface' and TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings will
always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
132 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QuerySettingsInterface' and TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings will
always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
146 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QuerySettingsInterface' and TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings will
always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
163 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QuerySettingsInterface' and TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings will
always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Unit/Persistence/RepositoryTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
83 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Persistence\\RepositoryInterface' and
PHPUnit\Framework\MockObject\MockObject&TYPO3\CMS\Extbase\Persistence\Repository&TYPO3\TestingFramework\Core\AccessibleObjectInterface will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Unit/Property/TypeConverterRegistryTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
34 Property TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverterRegistryTest::$subject (TYPO3\CMS\Extbase\Property\TypeConverterRegistry|null) is never assigned null so it can be removed from the property type.
🪪 property.unusedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Unit/Reflection/ObjectAccessTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------
92 Cannot call method getProperty() on array|object.
🪪 method.nonObject
99 Cannot access property $publicProperty on array|object.
🪪 property.nonObject
378 PHPDoc tag @var with type ArrayAccess is not subtype of native type class@anonymous/extbase/Tests/Unit/Reflection/ObjectAccessTest.php:378.
🪪 varTag.nativeType
------ ---------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extbase/Tests/Unit/Reflection/ReflectionServiceTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
67 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Reflection\\ClassSchema' and TYPO3\CMS\Extbase\Reflection\ClassSchema will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
82 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Extbase\\Reflection\\ClassSchema' and TYPO3\CMS\Extbase\Reflection\ClassSchema will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------
Line extensionmanager/Classes/Domain/Model/DownloadQueue.php
------ --------------------------------------------------------------------------------------------------------------------------------
55 Strict comparison using !== between string and TYPO3\CMS\Extensionmanager\Domain\Model\Extension will always evaluate to true.
🪪 notIdentical.alwaysTrue
------ --------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extensionmanager/Classes/Domain/Repository/ExtensionRepository.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
235 Strict comparison using === between 0 and 0 will always evaluate to true.
🪪 identical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extensionmanager/Tests/Unit/Domain/Model/ExtensionTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
38 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'SplObjectStorage' and iterable<TYPO3\CMS\Extensionmanager\Domain\Model\Dependency>&SplObjectStorage will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line extensionmanager/Tests/Unit/Report/ExtensionStatusTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
41 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Reports\\StatusProviderInterface' and
PHPUnit\Framework\MockObject\MockObject&TYPO3\CMS\Extensionmanager\Report\ExtensionStatus will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
51 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string, array|TYPO3\CMS\Reports\Status> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line filelist/Classes/Controller/FileListController.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
138 Instanceof between TYPO3\CMS\Core\Resource\Folder and TYPO3\CMS\Core\Resource\Folder will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
158 Strict comparison using !== between TYPO3\CMS\Core\Resource\ResourceStorage and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
539 Parameter #1 $attributes of method TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::setAttributes() expects array<string, string>, array<string,
Psr\Http\Message\UriInterface|string|null> given.
🪪 argument.type
651 Instanceof between TYPO3\CMS\Backend\Clipboard\Clipboard and TYPO3\CMS\Backend\Clipboard\Clipboard will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------
Line filelist/Classes/Dto/ResourceCollection.php
------ -------------------------------------------------------------------------------------------------------------------------------------
32 PHPDoc tag @var has invalid value (ResourceInterface[];): Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 35 on line 2
🪪 phpDoc.parseError
74 PHPDoc tag @return has invalid value (Folder[];): Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 27 on line 2
🪪 phpDoc.parseError
84 PHPDoc tag @return has invalid value (File[];): Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 25 on line 2
🪪 phpDoc.parseError
------ -------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line filelist/Classes/FileList.php
------ -------------------------------------------------------------------------------------------
299 Strict comparison using !== between non-falsy-string and '' will always evaluate to true.
🪪 notIdentical.alwaysTrue
------ -------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------
Line fluid/Classes/ViewHelpers/Form/SelectViewHelper.php
------ ------------------------------------------------------------------------
248 Call to function is_object() with object will always evaluate to true.
🪪 function.alreadyNarrowedType
262 Call to function is_object() with object will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line fluid/Classes/ViewHelpers/FormViewHelper.php
------ ----------------------------------------------------------------------------------
171 Strict comparison using !== between mixed and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Type null has already been eliminated from mixed.
------ ----------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line fluid/Classes/ViewHelpers/ImageViewHelper.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
258 Instanceof between Psr\Http\Message\ServerRequestInterface and Psr\Http\Message\RequestInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------
Line fluid/Classes/ViewHelpers/Link/ActionViewHelper.php
------ ---------------------------------------------------------------------------
122 PHPDoc tag @var with type array|null is not subtype of native type mixed.
🪪 varTag.nativeType
------ ---------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line fluid/Classes/ViewHelpers/Link/TypolinkViewHelper.php
------ ----------------------------------------------------------------------------------
162 Strict comparison using !== between mixed and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Type null has already been eliminated from mixed.
------ ----------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------
Line fluid/Classes/ViewHelpers/Uri/ActionViewHelper.php
------ ---------------------------------------------------------------------------
113 PHPDoc tag @var with type array|null is not subtype of native type mixed.
🪪 varTag.nativeType
212 PHPDoc tag @var with type array|null is not subtype of native type mixed.
🪪 varTag.nativeType
------ ---------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line fluid/Classes/ViewHelpers/Uri/TypolinkViewHelper.php
------ ----------------------------------------------------------------------------------
103 Strict comparison using !== between mixed and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Type null has already been eliminated from mixed.
------ ----------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line fluid/Tests/Functional/ViewHelpers/SvgImageViewHelperTest.php
------ -----------------------------------------------------------------------------------------------
514 Strict comparison using === between 'sys_file…' and 'sys_file…' will always evaluate to true.
🪪 identical.alwaysTrue
------ -----------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line form/Classes/Domain/Finishers/AbstractFinisher.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
258 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line form/Classes/Domain/Finishers/ClosureFinisher.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
63 Instanceof between Closure and Closure will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------
Line form/Classes/Domain/Model/FormDefinition.php
------ ------------------------------------------------------------------------
309 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ------------------------------------------------------------------------
------ ------------------------------------------------------------------------
Line form/Classes/Domain/Model/FormElements/AbstractFormElement.php
------ ------------------------------------------------------------------------
65 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ------------------------------------------------------------------------
------ ------------------------------------------------------------------------
Line form/Classes/Domain/Model/FormElements/AbstractSection.php
------ ------------------------------------------------------------------------
53 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ------------------------------------------------------------------------
------ ------------------------------------------------------------------------
Line form/Classes/Domain/Model/FormElements/UnknownFormElement.php
------ ------------------------------------------------------------------------
44 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line form/Classes/Domain/Runtime/FormRuntime.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1074 Using nullsafe property access "?->data" on left side of ?? is unnecessary. Use -> instead.
🪪 nullsafe.neverNull
1105 Instanceof between TYPO3\CMS\Form\Domain\Model\Renderable\CompositeRenderableInterface and TYPO3\CMS\Form\Domain\Model\Renderable\RenderableInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line form/Classes/Mvc/Validation/DateRangeValidator.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
46 Instanceof between DateTime and DateTime will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line form/Classes/Mvc/Validation/FileSizeValidator.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
55 Instanceof between TYPO3\CMS\Form\Mvc\Property\TypeConverter\PseudoFile and TYPO3\CMS\Form\Mvc\Property\TypeConverter\PseudoFile will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Remove remaining cases below this one and this error will disappear too.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line form/Classes/Mvc/Validation/MimeTypeValidator.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
59 Instanceof between TYPO3\CMS\Form\Mvc\Property\TypeConverter\PseudoFile and TYPO3\CMS\Form\Mvc\Property\TypeConverter\PseudoFile will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Remove remaining cases below this one and this error will disappear too.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line form/Classes/ViewHelpers/RenderFormValueViewHelper.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
179 Instanceof between TYPO3\CMS\Form\Domain\Model\Renderable\CompositeRenderableInterface and TYPO3\CMS\Form\Domain\Model\Renderable\RenderableInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line form/Tests/Functional/Mvc/Property/TypeConverter/FormDefinitionArrayConverterTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
90 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Form\\Type\\FormDefinitionArray' and TYPO3\CMS\Form\Type\FormDefinitionArray will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line form/Tests/Functional/Service/DatabaseServiceTest.php
------ ----------------------------------------------------------------------------------------------------------
81 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line form/Tests/Unit/Domain/FormElements/AbstractFormElementTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
34 Call to static method PHPUnit\Framework\Assert::assertNotNull() with TYPO3\CMS\Form\Tests\Unit\Domain\FormElements\Fixtures\TestingFormElement will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
134 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Form\\Tests\\Unit\\Domain\\FormElements\\Fixtures\\TestingFormElement' and
TYPO3\CMS\Form\Tests\Unit\Domain\FormElements\Fixtures\TestingFormElement will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------
Line form/Tests/Unit/Domain/FormElements/AbstractSectionTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------
48 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Form\\Domain\\Model\\FormElements\\AbstractSection' and
TYPO3\CMS\Form\Tests\Unit\Domain\FormElements\Fixtures\AbstractSectionFixture will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line frontend/Classes/Category/Collection/CategoryCollection.php
------ ----------------------------------------------------------------------
168 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/ContentObject/ContentObjectArrayInternalContentObject.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
35 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/ContentObject/ContentObjectRenderer.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ignored error pattern #^Else branch is unreachable because ternary operator condition is always true\.$# in path
/Users/garvin/TYPO3/typo3-core-bugreproduce-base/typo3-core/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php was not matched in reported errors.
547 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
594 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
1000 Strict comparison using !== between non-empty-string and '' will always evaluate to true.
🪪 notIdentical.alwaysTrue
1085 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
1587 Strict comparison using !== between string and false will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2492 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
2904 Strict comparison using !== between non-empty-string and false will always evaluate to true.
🪪 notIdentical.alwaysTrue
3543 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
3596 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
3731 PHPDoc tag @var with type TYPO3\CMS\Core\Imaging\ImageManipulation\Area is not subtype of native type null.
🪪 varTag.nativeType
3816 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
4273 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
4419 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
4470 Call to function is_callable() with array{object, 'setContentObjectRen…'} will always evaluate to true.
🪪 function.alreadyNarrowedType
4757 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
5218 Call to function is_array() with array<int> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line frontend/Classes/ContentObject/FilesContentObject.php
------ ----------------------------------------------------------------------
180 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/ContentObject/FluidTemplateContentObject.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
68 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line frontend/Classes/ContentObject/ImageContentObject.php
------ ------------------------------------------------------------------------------------------
255 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
------ ------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/ContentObject/LoadRegisterContentObject.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
34 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
213 Call to function is_object() with TYPO3\CMS\Core\Domain\Repository\PageRepository will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
695 Parameter #1 $array (list<int>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
906 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
1824 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
1825 Call to function is_int() with int will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
1841 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/ContentObject/Menu/CategoryMenuUtility.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
59 Instanceof between TYPO3\CMS\Frontend\Category\Collection\CategoryCollection and TYPO3\CMS\Core\Collection\AbstractRecordCollection will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
65 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line frontend/Classes/ContentObject/Menu/TextMenuContentObject.php
------ ------------------------------------------------------------------------------------------
102 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
106 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
108 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
------ ------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/ContentObject/PageViewContentObject.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
77 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------
Line frontend/Classes/ContentObject/RecordsContentObject.php
------ ---------------------------------------------------------------------------------
98 Strict comparison using === between null and null will always evaluate to true.
🪪 identical.alwaysTrue
------ ---------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/ContentObject/TextContentObject.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
31 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/ContentObject/UserContentObject.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
35 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/Http/RequestHandler.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------
712 Parameter &$searchString by-ref type of method TYPO3\CMS\Frontend\Http\RequestHandler::stripIntObjectPlaceholder() expects string, string|null given.
🪪 parameterByRef.type
💡 You can change the parameter out type with @param-out PHPDoc tag.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/Imaging/GifBuilder.php
------ --------------------------------------------------------------------------------------------------------------------------------------------
1671 Parameter &$dstImg by-ref type of method TYPO3\CMS\Frontend\Imaging\GifBuilder::imagecopyresized() expects GdImage, (GdImage|false) given.
🪪 parameterByRef.type
💡 You can change the parameter out type with @param-out PHPDoc tag.
2030 Call to function is_array() with non-empty-array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ --------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/Middleware/FrontendUserAuthenticator.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
79 Instanceof between TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication and TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/Resource/FileCollector.php
------ ----------------------------------------------------------------------------------------------------------------------------------
105 Instanceof between TYPO3\CMS\Core\Resource\FileReference and TYPO3\CMS\Core\Resource\FileInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
------ ----------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Classes/Resource/FilePathSanitizer.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
65 Call to function is_string() with non-empty-string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------
Line frontend/Classes/Typolink/LinkFactory.php
------ -------------------------------------------------------------------------------------------------------
189 Dead catch - TYPO3\CMS\Core\Resource\Exception\InvalidPathException is never thrown in the try block.
🪪 catch.neverThrown
------ -------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------
Line frontend/Classes/Typolink/PageLinkBuilder.php
------ --------------------------------------------------------------------------------
450 Call to function is_array() with non-empty-array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ --------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ignored error pattern #^Parameter \#2 \$conf of method TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer\:\:parseFunc\(\) expects non\-empty\-array<string, mixed>\|null, array given\.$# in path
/Users/garvin/TYPO3/typo3-core-bugreproduce-base/typo3-core/typo3/sysext/frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php was not matched in reported errors.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------
Line frontend/Tests/Functional/Controller/ShowImageControllerTest.php
------ ------------------------------------------------------------------------------------------------------------
98 Call to static method PHPUnit\Framework\Assert::assertIsString() with string will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Tests/Functional/Rendering/SvgImageRenderingTest.php
------ --------------------------------------------------------------------------------------------------------------------------------------------
146 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array{0?: string, 1?: non-empty-string} will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ --------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Tests/Functional/SiteHandling/Framework/Builder/ExceptionExpectation.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
23 Property TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\ExceptionExpectation::$className (string|null) is never assigned null so it can be removed from the property type.
🪪 property.unusedType
24 Property TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\ExceptionExpectation::$code (int|null) is never assigned null so it can be removed from the property type.
🪪 property.unusedType
25 Property TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\ExceptionExpectation::$message (string|null) is never assigned null so it can be removed from the property type.
🪪 property.unusedType
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Tests/Functional/SiteHandling/Framework/Builder/Permutation.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
55 Instanceof between TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\TestSet and TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\TestSet will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Tests/Functional/SiteHandling/Framework/Builder/TestSet.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
22 Property TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\TestSet::$url (TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\VariableValue|null) is never assigned null so it
can be removed from the property type.
🪪 property.unusedType
24 Property TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\TestSet::$targetPageId (int|null) is never assigned null so it can be removed from the property type.
🪪 property.unusedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Tests/Functional/SiteHandling/Framework/Builder/VariableCompiler.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
27 Property TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\VariableCompiler::$flags (int|null) is never assigned null so it can be removed from the property type.
🪪 property.unusedType
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------
Line frontend/Tests/Functional/SiteHandling/Framework/Builder/VariableItem.php
------ ---------------------------------------------------------------------------
48 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ---------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3260 Method TYPO3\CMS\Frontend\Tests\Unit\ContentObject\ContentObjectRendererTest::stdWrapBrDataProvider() should return array<array<string>> but returns array<string, array<int, string|null>>.
🪪 return.type
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------
Line frontend/Tests/Unit/ContentObject/ImageContentObjectTest.php
------ ----------------------------------------------------------------------------------------------------------
482 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
483 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line frontend/Tests/Unit/ContentObject/Menu/MenuContentObjectFactoryTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
42 Call to static method PHPUnit\Framework\Assert::assertIsObject() with TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
49 Call to static method PHPUnit\Framework\Assert::assertIsObject() with TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line impexp/Classes/Export.php
------ -----------------------------------------------------------------------------------------------
141 Call to function is_array() with non-empty-array<string, mixed> will always evaluate to true.
🪪 function.alreadyNarrowedType
431 Call to function is_array() with non-empty-array<string, mixed> will always evaluate to true.
🪪 function.alreadyNarrowedType
------ -----------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------
Line impexp/Classes/Import.php
------ --------------------------------------------------------------------------------
1455 Call to function is_array() with non-empty-array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ --------------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line impexp/Classes/ImportExport.php
------ ----------------------------------------------------------------------
476 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ----------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInFilledDatabaseTest.php
------ ------------------------------------------------------------------------------------------------------
231 Call to static method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line impexp/Tests/Functional/ImportTest.php
------ ------------------------------------------------------------------------------------------------------
49 Call to static method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
237 Call to static method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
246 Call to static method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
269 Call to static method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line indexed_search/Classes/Controller/AdministrationController.php
------ ----------------------------------------------------------------------
309 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ----------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line indexed_search/Classes/Controller/SearchController.php
------ ------------------------------------------------------------------------------------------
106 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
331 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
------ ------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line indexed_search/Classes/Domain/Repository/AdministrationRepository.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
506 Call to function is_array() with list<array<string, mixed>> will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line info/Classes/Controller/TranslationStatusController.php
------ --------------------------------------------------------------------------------------
287 Call to function is_array() with non-empty-list<mixed> will always evaluate to true.
🪪 function.alreadyNarrowedType
------ --------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line install/Classes/Configuration/AbstractFeature.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
66 Instanceof between TYPO3\CMS\Install\Configuration\PresetInterface and TYPO3\CMS\Install\Configuration\PresetInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line install/Classes/Configuration/FeatureManager.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
55 Instanceof between TYPO3\CMS\Install\Configuration\FeatureInterface and TYPO3\CMS\Install\Configuration\FeatureInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
117 PHPDoc tag @var with type TYPO3\CMS\Install\Configuration\PresetInterface is not subtype of native type mixed.
🪪 varTag.nativeType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line install/Classes/ExtensionScanner/Php/Matcher/ConstructorArgumentMatcher.php
------ ----------------------------------------------------------------------------------
208 Strict comparison using !== between mixed and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Type null has already been eliminated from mixed.
------ ----------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line install/Classes/ExtensionScanner/Php/Matcher/MethodArgumentUnusedMatcher.php
------ ----------------------------------------------------------------------------------
75 Strict comparison using !== between mixed and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Type null has already been eliminated from mixed.
------ ----------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line install/Classes/Service/SetupDatabaseService.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
178 Strict comparison using !== between object|resource and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
226 Strict comparison using !== between object|resource and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
330 Strict comparison using !== between object|resource and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
370 Strict comparison using !== between object|resource and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line install/Classes/Service/UpgradeWizardsService.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
88 Instanceof between TYPO3\CMS\Install\Updates\RowUpdater\RowUpdaterInterface and TYPO3\CMS\Install\Updates\RowUpdater\RowUpdaterInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line install/Classes/Updates/AbstractListTypeToCTypeUpdate.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
286 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
289 Call to function is_string() with string will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line install/Tests/Unit/FolderStructure/DefaultFactoryTest.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
33 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Install\\FolderStructure\\StructureFacadeInterface' and TYPO3\CMS\Install\FolderStructure\StructureFacadeInterface will
always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line install/Tests/Unit/FolderStructure/DirectoryNodeTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
125 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<TYPO3\CMS\Core\Messaging\FlashMessage> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line install/Tests/Unit/FolderStructure/FileNodeTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
185 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<TYPO3\CMS\Core\Messaging\FlashMessage> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line install/Tests/Unit/FolderStructure/LinkNodeTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
111 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<TYPO3\CMS\Core\Messaging\FlashMessage> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line install/Tests/Unit/FolderStructure/StructureFacadeTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
36 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Messaging\\FlashMessageQueue' and TYPO3\CMS\Core\Messaging\FlashMessageQueue will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
47 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Core\\Messaging\\FlashMessageQueue' and TYPO3\CMS\Core\Messaging\FlashMessageQueue will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------
Line install/Tests/Unit/SystemEnvironment/DatabaseCheck/Platform/MySqlTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------
108 Instanceof between TYPO3\CMS\Core\Messaging\FlashMessage and TYPO3\CMS\Core\Messaging\FlashMessage will always evaluate to true.
🪪 instanceof.alwaysTrue
------ ----------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line linkvalidator/Classes/LinkAnalyzer.php
------ -------------------------------------------------------------------------------------------------------------
150 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getLanguageField().
🪪 method.notFound
226 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getLanguageField().
🪪 method.notFound
303 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
------ -------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------
Line linkvalidator/Classes/Linktype/ExternalLinktype.php
------ ----------------------------------------------------------
366 Dead catch - Exception is never thrown in the try block.
🪪 catch.neverThrown
------ ----------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------
Line linkvalidator/Classes/Task/ValidatorTaskAdditionalFieldProvider.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------
153 PHPDoc tag @var with type array<string, string> is not subtype of native type array{0: string, 1: string, 2: string, 3: string, 4: string, 999: string}.
🪪 varTag.nativeType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line lowlevel/Classes/Command/DeletedRecordsCommand.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
232 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
269 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line lowlevel/Classes/Controller/DatabaseIntegrityController.php
------ --------------------------------------------------------------------------------------
1964 Call to function is_array() with array<string, string> will always evaluate to true.
🪪 function.alreadyNarrowedType
2550 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------
Line lowlevel/Classes/Integrity/DatabaseIntegrityCheck.php
------ --------------------------------------------------------------------------
229 Call to function is_array() with list<int> will always evaluate to true.
🪪 function.alreadyNarrowedType
------ --------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------
Line lowlevel/Classes/Service/CleanUpLocalProcessedFilesService.php
------ -----------------------------------------------------------------------------------------------------------
141 Parameter #1 $array (array{0: string, 1?: string}) of array_values is already a list, call has no effect.
🪪 arrayValues.list
------ -----------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line reactions/Classes/Http/Middleware/ReactionResolver.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
56 Instanceof between TYPO3\CMS\Backend\Routing\RouteResult and TYPO3\CMS\Backend\Routing\RouteResult will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line recycler/Classes/Domain/Model/DeletedRecords.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
373 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line recycler/Classes/Task/CleanerFieldProvider.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
78 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
133 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
178 Strict comparison using !== between int and false will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line redirects/Classes/EventListener/AddPlainSlugReplacementSource.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
63 Parameter #1 $array (list<TYPO3\CMS\Redirects\RedirectUpdate\RedirectSourceInterface>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line redirects/Classes/Service/RedirectService.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
228 Instanceof between TYPO3\CMS\Core\Resource\File and TYPO3\CMS\Core\Resource\File will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
235 Instanceof between TYPO3\CMS\Core\Resource\Folder and TYPO3\CMS\Core\Resource\Folder will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
467 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line redirects/Tests/Functional/EventListener/AddPageTypeZeroSourceTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
183 Parameter #1 $array (non-empty-list<TYPO3\CMS\Redirects\RedirectUpdate\RedirectSourceInterface>) of array_values is already a list, call has no effect.
🪪 arrayValues.list
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------
Line redirects/Tests/Functional/Service/RedirectServiceTest.php
------ ------------------------------------------------------------------------------------------------------------------
179 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
180 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
328 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
329 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
386 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
387 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
543 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
544 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
686 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
687 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
849 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
850 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
967 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
968 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
1079 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
1080 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array<string> will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line reports/Classes/Report/Status/ConfigurationStatus.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
149 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
130 Instanceof between TYPO3\CMS\Reports\Task\SystemStatusUpdateTask and TYPO3\CMS\Reports\Task\SystemStatusUpdateTask will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line scheduler/Classes/Controller/SchedulerModuleController.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
153 Strict comparison using === between 'save' and 'save' will always evaluate to true.
🪪 identical.alwaysTrue
176 Strict comparison using === between 'save' and 'save' will always evaluate to true.
🪪 identical.alwaysTrue
362 Instanceof between TYPO3\CMS\Scheduler\AdditionalFieldProviderInterface and TYPO3\CMS\Scheduler\AdditionalFieldProviderInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
366 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
466 Call to function is_array() with array will always evaluate to true.
🪪 function.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
666 Instanceof between TYPO3\CMS\Scheduler\AdditionalFieldProviderInterface and TYPO3\CMS\Scheduler\AdditionalFieldProviderInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
737 Instanceof between TYPO3\CMS\Scheduler\AdditionalFieldProviderInterface and TYPO3\CMS\Scheduler\AdditionalFieldProviderInterface will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line scheduler/Classes/CronCommand/NormalizeCommand.php
------ ------------------------------------------------------------------------------------------
273 Offset 0 on non-empty-list<string> on left side of ?? always exists and is not nullable.
🪪 nullCoalesce.offset
------ ------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line scheduler/Tests/Unit/CronCommand/CronCommandTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
308 Call to static method PHPUnit\Framework\Assert::assertIsInt() with int will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
315 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------
Line scheduler/Tests/Unit/CronCommand/NormalizeCommandTest.php
------ ------------------------------------------------------------------------------------------------------
471 Call to static method PHPUnit\Framework\Assert::assertIsInt() with int will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
567 Call to static method PHPUnit\Framework\Assert::assertIsInt() with int will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line scheduler/Tests/Unit/Validation/Validator/TaskValidatorTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
59 Method class@anonymous/scheduler/Tests/Unit/Validation/Validator/TaskValidatorTest.php:53::getExecution() never returns null so it can be removed from the return type.
🪪 return.unusedType
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line seo/Classes/XmlSitemap/XmlSitemapRenderer.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
168 Instanceof between DOMDocument and DOMDocument will always evaluate to true.
🪪 instanceof.alwaysTrue
173 Instanceof between DOMElement and DOMElement will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------
Line styleguide/Classes/TcaDataGenerator/RecordFinder.php
------ -------------------------------------------------------------------------------------------
167 Call to function is_array() with list<array<string, mixed>> will always evaluate to true.
🪪 function.alreadyNarrowedType
195 Call to function is_array() with list<array<string, mixed>> will always evaluate to true.
🪪 function.alreadyNarrowedType
224 Call to function is_array() with list<array<string, mixed>> will always evaluate to true.
🪪 function.alreadyNarrowedType
300 Call to function is_array() with list<array<string, mixed>> will always evaluate to true.
🪪 function.alreadyNarrowedType
------ -------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line styleguide/Classes/ViewHelpers/CodeViewHelper.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
114 Parameter #1 $arr of static method TYPO3\CMS\Core\Utility\GeneralUtility::implodeAttributes() expects array<string, int|string>, array<string, string|true> given.
🪪 argument.type
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line styleguide/Classes/ViewHelpers/ExampleViewHelper.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
134 Parameter #1 $arr of static method TYPO3\CMS\Core\Utility\GeneralUtility::implodeAttributes() expects array<string, int|string>, array<string, string|true> given.
🪪 argument.type
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------
Line tstemplate/Classes/Controller/AbstractTemplateModuleController.php
------ --------------------------------------------------------------------------------------------------
211 Using nullsafe property access "?->constants" on left side of ?? is unnecessary. Use -> instead.
🪪 nullsafe.neverNull
212 Using nullsafe property access "?->setup" on left side of ?? is unnecessary. Use -> instead.
🪪 nullsafe.neverNull
------ --------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line tstemplate/Classes/Controller/TemplateRecordsOverviewController.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
66 Instanceof between TYPO3\CMS\Core\Site\Entity\Site and TYPO3\CMS\Core\Site\Entity\Site will always evaluate to true.
🪪 instanceof.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line workspaces/Classes/Controller/Remote/RemoteServer.php
------ ----------------------------------------------------------------------------------
352 PHPDoc tag @var with type string is not subtype of native type non-falsy-string.
🪪 varTag.nativeType
------ ----------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line workspaces/Classes/Controller/ReviewController.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
201 Strict comparison using !== between TYPO3\CMS\Core\Versioning\VersionState|null and 2 will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line workspaces/Classes/Dependency/ElementEntity.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
292 Strict comparison using === between false and false will always evaluate to true.
🪪 identical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line workspaces/Classes/Dependency/ElementEntityProcessor.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
128 Strict comparison using !== between TYPO3\CMS\Core\Versioning\VersionState|null and 2 will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
146 Strict comparison using !== between TYPO3\CMS\Core\Versioning\VersionState|null and 2 will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------
Line workspaces/Classes/Hook/DataHandlerHook.php
------ -----------------------------------------------------------------------------------------------------------------------------
646 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
651 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
825 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
830 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationSourceField().
🪪 method.notFound
1029 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationOriginPointerField().
🪪 method.notFound
1034 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getTranslationSourceField().
🪪 method.notFound
1304 Call to an undefined method TYPO3\CMS\Core\Schema\Capability\SchemaCapabilityInterface::getFieldName().
🪪 method.notFound
------ -----------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line workspaces/Classes/Service/StagesService.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
272 Strict comparison using !== between (int|string) and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
334 Strict comparison using !== between (int|string) and null will always evaluate to true.
🪪 notIdentical.alwaysTrue
💡 Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your Build/phpstan/phpstan.local.neon.
361 Call to function is_array() with non-empty-array will always evaluate to true.
🪪 function.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------
Line workspaces/Tests/Functional/Service/WorkspaceServiceTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------
47 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array{} and 'Even the empty…' will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
56 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array and 'The result from…' will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
72 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array and 'The result from…' will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
87 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array and 'The result from…' will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
97 Call to static method PHPUnit\Framework\Assert::assertIsArray() with array and 'The result from…' will always evaluate to true.
🪪 staticMethod.alreadyNarrowedType
------ ----------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line workspaces/Tests/Unit/Domain/Model/WorkspaceRecordTest.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
45 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Workspaces\\Domain\\Record\\AbstractRecord' and TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord will always evaluate
to true.
🪪 staticMethod.alreadyNarrowedType
53 Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'TYPO3\\CMS\\Workspaces\\Domain\\Record\\WorkspaceRecord' and TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord will always evaluate
to true.
🪪 staticMethod.alreadyNarrowedType
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[ERROR] Found 830 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment