Skip to content

Cannot redeclare function isPHPStanTestPreloaded fatal error on Rector 2.2.2 #9430

@X-Coder264

Description

@X-Coder264

Bug Report

Subject Details
Rector version 2.2.2

I use PHPUnit 12.4.1. With Rector 2.2.1 I didn't have any problems. After updating to 2.2.2 whenever I try to run a PHPUnit test it fails with the PHP Fatal error: Cannot redeclare function isPHPStanTestPreloaded() (previously declared in /app/vendor/rector/rector/preload.php:19) message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions