Problem/Motivation

when running grumphp on our local code instance i get an error which stems from one of flowdrops dependency:

PHP Fatal error:  Cannot use Loilo\JsonPath\Array as Array because 'Array' is a special class name in /Users/stephan/dev/php/controlling/vendor/loilo/jsonpath/src/types/node.php on line 5
Stack trace:
#0 /Users/stephan/dev/php/controlling/vendor/composer/autoload_real.php(49): {closure:ComposerAutoloaderInit1b1e025c9589e4800b8800268c114551::getLoader():41}('3669ee5919f4de4...', '/Users/stephan/...')
#1 /Users/stephan/dev/php/controlling/vendor/autoload.php(22): ComposerAutoloaderInit1b1e025c9589e4800b8800268c114551::getLoader()
#2 phar:///Users/stephan/dev/php/controlling/vendor/phpro/grumphp-shim/grumphp.phar/bin/grumphp(13): require_once('/Users/stephan/...')
#3 phar:///Users/stephan/dev/php/controlling/vendor/phpro/grumphp-shim/grumphp.phar/bin/grumphp(36): {closure:phar:///Users/stephan/dev/php/controlling/vendor/phpro/grumphp-shim/grumphp.phar/bin/grumphp:8}()
#4 /Users/stephan/dev/php/controlling/vendor/phpro/grumphp-shim/grumphp(13): require('phar:///Users/s...')
#5 {main}

This has a chance to break also drupal (not observed yet)

Comments

stmh created an issue. See original summary.

stmh’s picture

  • d34dman committed cc06e994 on 1.x
    feat: #3569610 Dependency throws error on composer autoload
    
    By: stmh
    
d34dman’s picture

Status: Active » Needs review

Thanks for reporting, I have updated the dependency, please check.

stmh’s picture

Status: Needs review » Reviewed & tested by the community

thanks, seem to work!

d34dman’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.