bigcommerce / bigcommerce-api-php

Connect PHP applications with the Bigcommerce Platform
https://developer.bigcommerce.com
MIT License
143 stars 186 forks source link

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

Open kctormes opened 3 years ago

kctormes commented 3 years ago

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?

Y0lk commented 3 years ago

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 commented 2 years ago

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.