Closed arcanedev-maroc closed 4 years ago
Hi @bencorlett, can you review this PR?
I'm also planing to add .gitattribute export-ignore
This PR is looking pretty good :) I've just left a bit of feedback if you could address this, that would be great.
Hi @bencorlett, i've made the last changes. Can you review it again ?
If you want, feel free to split your original autoloading PR into a smaller, standalone PR. It’s more likely to get accepted quicker if it doesn’t grow out of scope into something much larger. 3 smaller PRs are generally easier to digest than one larger one.
Thanks as always :)
Go ahead, the main issue is composer's warnings when you install the package:
Deprecation Notice: Class League\OAuth1\Client\Tests\ServerStub located in oauth1-client/tests/stubs/ServerStub.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\OAuth1\Client\Tests\TrelloTest located in oauth1-client/tests/TrelloServerTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\OAuth1\Client\Tests\XingTest located in oauth1-client/tests/XingServerTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
@arcanedev-maroc okay, cool. So if you want to open up 2 PRs - one for the autoload, we’ll merge that in ASAP.
Then a second one with these improvements, we can keep the discussion going in that 🙂
1- Fixing the autoload warnings:
2- Moving the
tests
toautoload-dev
instead ofautoload
in composer.json 3- fixing/cleaning the tests and misc files 4- Adding newlines at EOF