Skip to content

Conversation

@ThomasLandauer
Copy link
Member

Looks like the FQCN is necessary for the generated TesterAction.php files.

Looks like the FQCN is necessary for the generated TesterAction.php files.
Copy link
Contributor

@W0rma W0rma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ThomasLandauer Are you sure that the FQCN is necessary?

* This method requires [`doctrine/data-fixtures`](https://github.com/doctrine/data-fixtures) to be installed.
*
* @param class-string<FixtureInterface>|class-string<FixtureInterface>[]|list<FixtureInterface> $fixtures
* @param class-string<\Doctrine\Common\DataFixtures\FixtureInterface>|class-string<\Doctrine\Common\DataFixtures\FixtureInterface>[]|list<\Doctrine\Common\DataFixtures\FixtureInterface> $fixtures
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ThomasLandauer Are you sure that the FQCN is necessary?

IMO the existing use statement should be sufficient.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That use isn't copied over into the generated FunctionalTesterActions.php. And since that file doesn't have any uses at all, I figured the easiest way is to add the FQCN here. It's indeed ugly, but usually nobody looks into those Action files anyway...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants