Issue Task Closed

#103105Update `phpstan/phpstan` version

Stefan Bürk 02/13/24, 05:34 updated 07/09/24, 15:33

Description

$ Build/Scripts/runTests.sh -s phpstan -p 8.2
01:01
failed to connect to syslog: Initialization
 ------ -------------------------------------------------------------------------------------------------------------- 
  Line   backend/Tests/Unit/Form/FormDataProvider/EvaluateDisplayConditionsTest.php                                    
 ------ -------------------------------------------------------------------------------------------------------------- 
         Ignored error pattern #^Call to static method                                                                 
         PHPUnit\\Framework\\Assert\:\:assertSame\(\) with \*NEVER\* and array                                         
         will always evaluate to false\.$# in path                                                                     
         /builds/typo3/CI/cms/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/EvaluateDisplayConditionsTest.php  
         was not matched in reported errors.                                                                           
 ------ -------------------------------------------------------------------------------------------------------------- 
 ------ ---------------------------------------------------------------------- 
  Line   form/Classes/Controller/FormEditorController.php                      
 ------ ---------------------------------------------------------------------- 
  314    Cannot unset offset 'sorting' on array<int, array{key: (int|string),  
         cssKey: string|null, label: mixed, sorting: mixed, iconIdentifier:    
         mixed}|string>.                                                       
 ------ ---------------------------------------------------------------------- 
 [ERROR] Found 2 errors   

Reviews 3