Skip to content

PhpDocInfoFactory does not find any annotations anymore #8311

@shyim

Description

@shyim

Bug Report

Subject Details
Rector version 0.18.8

Minimal PHP Code Causing Issue

git clone https://github.com/FriendsOfShopware/shopware-rector
cd shopware-rector
composer update
./vendor/bin/phpunit

The tests are failing with 0.18.8, as it cannot find the Annotations:

Rector: https://github.com/FriendsOfShopware/shopware-rector/blob/main/src/Rule/v65/MigrateCaptchaAnnotationToRouteRector.php#L72-L76
Fixture: https://github.com/FriendsOfShopware/shopware-rector/blob/main/tests/Rector/v65/MigrateCaptchaAnnotationToRoute/Fixture/RefactorWithDefaultsSetForRoute.php.inc

Expected Behaviour

Tests are green as like the Rector version before

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