archetype
archetype copied to clipboard
Support for php-parser 5
This PR adds support for nikic/php-parser 5.0.
It removes support for 4.0.
This has become necessary as PHPUnit 11 requires 5.0. PHPUnit 11 is now the default in Laravel.
Hi Jason, thanks for this!
Can you see what is failing here?
I'm not sure about that one. It fails during setup of the image. It's not a PHPUnit failure.
It's because the composer command can't be found in that macos image.
Then in the "cache dependencies" step, there is no path because it didnt get defined in the previous step.
As for why it's missing. I have no idea. It seems like it's not included with macos. Maybe it was at some point.
This failing step has nothing to do with this PR though. I would compare with previous workflow runs but there don't appear to be any. I have pushed an empty commit to the master branch on my fork to trigger the actions. You can see it failing there too.
Found a way! Happy to see youre still using this package❤️ Releasing 2.0.0 shortly as this will be a breaking change.
https://github.com/ajthinking/archetype/releases/tag/v2.0.0
Let me know if it needs any tweeking 👍
Thank you!