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

Dev: Coveralls Uncaught Error: Class "Config\Autoload" not found #7941

Closed
kenjis opened this issue Sep 14, 2023 · 1 comment · Fixed by #7956
Closed

Dev: Coveralls Uncaught Error: Class "Config\Autoload" not found #7941

kenjis opened this issue Sep 14, 2023 · 1 comment · Fixed by #7956
Labels
dev help wanted More help is needed for the proper resolution of an issue or pull request

Comments

@kenjis
Copy link
Member

kenjis commented Sep 14, 2023

PHP Fatal error: Uncaught Error: Class "Config\Autoload" not found in /home/runner/work/CodeIgniter4/CodeIgniter4/system/Test/Mock/MockAutoload.php:16

See #7924 (comment)

Ref sebastianbergmann/phpcov#101

@kenjis kenjis added the dev label Sep 14, 2023
@kenjis kenjis mentioned this issue Sep 14, 2023
5 tasks
@kenjis kenjis added the help wanted More help is needed for the proper resolution of an issue or pull request label Sep 14, 2023
@kenjis
Copy link
Member Author

kenjis commented Sep 15, 2023

It seems phpcov does not use the custom autoloader at all.
Then Config classes are impossible to be loaded.

But if that is the case, why didn't we get the error before?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev help wanted More help is needed for the proper resolution of an issue or pull request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant