Skip to content

Grumphp raising errors after upgrades #5

@wahidnory

Description

@wahidnory

After upgrading to latest version of youwe/testing-suite I was greeted by the following error:

Box Requirements Checker                                                                                                                             
  ========================                                                                                                                             
                                                                                                                                                       
  > Using PHP 8.3.29                                                                                                                                   
  > PHP is using the following php.ini file:                                                                                                           
    /usr/local/etc/php/php.ini                                                                                                                         
                                                                                                                                                       
  > Checking Box requirements:                                                                                                                         
    .............E.                                                                                                                                    
                                                                                                                                                       
                                                                                                                                                       
                                                                                                                                                       
   [ERROR] Your system is not ready to run the application.                                                                                            
                                                                                                                                                       
                                                                                                                                                       
                                                                                                                                                       
                                                                                                                                                       
  Fix the following mandatory requirements:                                                                                                            
  =========================================                                                                                                            
                                                                                                                                                       
   * The package "symfony/cache" conflicts with the extension "redis". You need to disable it in order to run this application.     

Found the following issue on grumphp
phpro/grumphp#1200

Which led me to phpro/grumphp-shim#30
Which in term led me to box-project/box#1578

Basically we need to stay below 2.18 of phpro/grumphp-shim, currently 2.17 works. I've required it through --dev in projects that need it.

When this is fixed we can safely upgrade.

Currently this is a known issue and the workaround is composer require phpro/grumphp-shim 2.17

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