Closed BorisovskiP closed 1 year ago
If I'm googling for this, then I see that the call ReflectionMethod::getAttributes()
is only available under PHP 8: https://www.php.net/manual/en/reflectionfunctionabstract.getattributes.php Which PHP version are you using?
Good catch, @jissereitsma! Looking at https://github.com/customgento/module-cli-tax-editor-m2/runs/7898194786?check_suite_focus=true, this happens on 2.4.5 with PHP 7.4. So I fear Magento 2.4.5 is not completely compatible with PHP 7.4 :sob:
As of yet, this issue seems more a fart from Magento (as in: Magento 2.4.5 not supporting PHP 7.4) instead of the GitHub Actions. Because of this, I'm going to close this issue. Forgive me.
Running github action on Magento 2.4.5 fails and shows the following error:
The whole log can be seen here: https://github.com/customgento/module-cli-tax-editor-m2/runs/7898194786?check_suite_focus=true
One thing i noticed is that the
phpunit.xml
file for the actions is a bit outdated compared to thephpunit.xml
file in Magento 2.4.5Strangely enough, the issue can't be reproduced locally (even when https://github.com/extdn/github-actions-m2/blob/master/magento-integration-tests/docker-files/phpunit.xml is added to the local instance)