bigcommerce-api-php icon indicating copy to clipboard operation
bigcommerce-api-php copied to clipboard

does not comply with psr-4 autoloading standard Test\Unit Error upon composer autoload

Open kctormes opened this issue 4 years ago • 2 comments

Hi!, I'm new to this opening issues with packages/packagist thing...

It would be better to have a clean composer dumpautoload without having any warning.

Class Bigcommerce\Test\Unit\ConnectionTest located in .../vendor/bigcommerce/api/test\Unit\Api\ConnectionTest.php does not comply with psr-4 autoloading standard. Skipping. Class Bigcommerce\Test\Unit\ErrorTest located in .../vendor/bigcommerce/api/test\Unit\Api\ErrorTest.php does not comply with psr-4 autoloading standard. Skipping.

I know that It's namespacing but can someone make an update to it?

kctormes avatar Feb 09 '21 07:02 kctormes

For anyone looking for a quick solution to this, I've made a fork that fixes this : https://packagist.org/packages/y0lk/bigcommerce-api

Y0lk avatar Apr 27 '21 16:04 Y0lk

It seems like this repo is still a little bit active, so I've just made a new PR fixing the issues hoping it will eventually get merged. In the meantime, anyone running into this issue can use my fork.

Y0lk avatar Feb 27 '22 17:02 Y0lk