Skip to content
Discussion options

You must be logged in to vote

Hi @ivastly , this happen mostly on phpunit 12, you can preload it in composer.json:

{
    "autoload-dev": {
        "psr-4": {
            "Your\\Test\\": "tests/"
        },
        "files": [
            "vendor/rector/rector/preload.php"
        ]
    }
}

see documentation https://getrector.com/documentation/troubleshooting-preload

Replies: 3 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
11 replies
@samsonasik
Comment options

@nikophil
Comment options

@staabm
Comment options

@nikophil
Comment options

@devnix
Comment options

Comment options

You must be logged in to vote
2 replies
@samsonasik
Comment options

Answer selected by samsonasik
@ivastly
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants