Issue Task Closed

#104536Add PhpStand max failure to baseline

Anja Leichsenring 08/02/24, 08:27 updated 10/15/24, 09:08

Description

 ------ ------------------------------------------------------------------- 
  Line   core/Classes/DataHandling/SlugHelper.php                           
 ------ ------------------------------------------------------------------- 
  128    Regex pattern is invalid: Compilation failed: quantifier does not  
         follow a repeatable item at offset 5 in pattern: /.*{2,}/          
         :identification_card:  regexp.pattern                                                 
 ------ ------------------------------------------------------------------- 

We could not find the reason for that mangled regex and think it is a bug in phpstan. In order got return a nice green status to our nightly CI, the error is added to the baseline and reviewed later on, when a reason is found.

Reviews 2