Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test file loading. #229

Merged
merged 1 commit into from
Jul 9, 2021
Merged

Fix test file loading. #229

merged 1 commit into from
Jul 9, 2021

Conversation

ADmad
Copy link
Contributor

@ADmad ADmad commented Jul 9, 2021

It belongs under autoload-dev instead of autoload.

Currently running the testsuite of a project which has league/container as a dependency causes an error to be thrown since tests/ is not included in zip archives through .gitattributes.

PHP Warning:  require(/somepath/vendor/composer/../league/container/tests/Asset/function.php): Failed to open stream: No such file or directory

It belongs under `autoload-dev` instead of `autoload`.
@philipobenito philipobenito merged commit 3aa58c2 into thephpleague:4.x Jul 9, 2021
@ADmad ADmad deleted the patch-1 branch July 9, 2021 13:38
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.

None yet

2 participants