filamentphp/plugin-skeleton workflow test jobs failing (after fixing some errors)
Hi! I'm new to plugin development. I used the template and after fixing some things (like removing the unused spatie services and changing the non-existent Icon class) the test workflow on Github is still mostly failing.
The only succesful workflow job is P8.2 - L10.* - prefer-stable - ubuntu-latest. The error I seem to be getting after the command vendor/bin/pest --ci:
How do I fix this one and get all jobs working?
Solution:Jump to solution
I managed to get it working, the
instance()
function was added in phpunit version 10.0.17
. Just add this: "phpunit/phpunit": "^10.0.17",
to your require-dev in composer.json3 Replies
Hey @TimeglitchD , did you manage to get this working? I'm encountering the same issue.
Solution
I managed to get it working, the
instance()
function was added in phpunit version 10.0.17
. Just add this: "phpunit/phpunit": "^10.0.17",
to your require-dev in composer.jsonAlright! To be fair I abandoned this a while ago, but I'm glad you solved it. Thank you!