Skip to content

Syntax error reported when there are none (only in CI/Jenkins, phpVersion 80000) #3943

@gnutix

Description

@gnutix

Hello there,

I just upgraded to 0.12.49 and started using phpVersion 80000 on our project. I fixed all inspections locally, then deployed on our Jenkins CI. It then reported the following errors on various classes :

 ------ --------------------------------------------- 
  Line   src/UI/Shared/Error/ErrorListener.php        
 ------ --------------------------------------------- 
  77     Syntax error, unexpected ',' on line 77      
  77     Syntax error, unexpected T_MATCH on line 77  
 ------ --------------------------------------------- 

There is no syntax error in none of the files (the code is running in production on PHP 7.2 fine) and we use phplint to validate the code base. I can't find something that would be broken in PHP8, but maybe there is ? Any clue what that might come from ? (sorry, I cannot share the whole code...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions