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

composer autoload deprecation warnings #97

Closed
formikaio opened this issue Oct 26, 2020 · 4 comments
Closed

composer autoload deprecation warnings #97

formikaio opened this issue Oct 26, 2020 · 4 comments

Comments

@formikaio
Copy link

composer install complains about non-compliant classes:

  • Amenadiel\JpGraph\UnitTest\UnitTester located in tests/_support/UnitTester.php
  • Amenadiel\JpGraph\UnitTest\Helper\Unit located in tests/_support/Helper/Unit.php
  • Amenadiel\JpGraph\UnitTest_generated\UnitTesterActions located in tests/_support/_generated/UnitTesterActions.php

For each class composer shows this Deprecation notice: Class does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0.

Composer version: 1.10.13

The only classes affected are in the UnitTest namespace, so this probably won't affect actually running jpgraph in production.

@ffflabs
Copy link
Collaborator

ffflabs commented Apr 27, 2021

yeah, that namespace is for tests only and should be now excluded from the composer's tarball package that ultimately gets to your repo now

@ffflabs
Copy link
Collaborator

ffflabs commented Apr 27, 2021

@all-contributors please add @formikaio for bugs

@allcontributors
Copy link
Contributor

@ffflabs

I've put up a pull request to add @formikaio! 🎉

@ffflabs
Copy link
Collaborator

ffflabs commented Apr 27, 2021

closed by #101

@ffflabs ffflabs closed this as completed Apr 27, 2021
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

No branches or pull requests

2 participants