Closed allanmcarvalho closed 7 months ago
@allanmcarvalho I asume 8.3.4 is the PHP version and not the Laravel version? Could you share your Laravel version too?
Hi, I really missed some contexts.
On tests fail on PHP 8.3.4
On local machine fails on Herd PHP 8.3.3
If I remove all spatie dependencies that need rector/rector
tests will pass.
I tried remove and works
"spatie/laravel-data": "^4.5.0",
"spatie/laravel-ray": "^1.36.0",
@allanmcarvalho I tried to replicate your problem but I was not succesfull. I'm also not quite sure how we could cause this issue.
If are able to create an example project on git that has the problem I would be happy to dig further into it.
The problems stopped for me. I don't know what the reason. I only updated my composer dependencies and updated Herd PHP from 8.3.3 to 8.3.4.
I made the same previous steps that was failed (delete vendor folder and install again) and now its working.
I appreciate your time, now appears to be solved
@allanmcarvalho good to hear!
Describe the bug A dependency from laravel ray is crashing the feature tests. Is expected that
./vendor
comes on 0 index from methodClassLoader::getRegisteredLoaders()
, but came/vendor/rector/rector/vendor
instead../vendor
came on index 1, but laravel use index 0 to start application.Versions Ray version: 1.36.0
PHP version: Laravel version: 8.3.4
To Reproduce Steps to reproduce the behavior: 1 Running Laravel Feature Tests (Require application start) using pest
Expected behavior No fail Feature tests
Screenshots
Desktop (please complete the following information):
Version [e.g. 22] Sonoma 14.4.1
Additional context This problem started today after a composer update command. Deleting rector vendor folder, the problems it's solved.