upcecconnect / PHPSDK

1 stars 2 forks source link

Package classes are not PSR-4 compliant #1

Open mishkinstvo opened 3 years ago

mishkinstvo commented 3 years ago

Inclusion of this package in my project fails because of the following errors:

Class UPC\HttpClient located in ./vendor/upc/upc-payment-sdk/app/http-client.php does not comply with psr-4 autoloading standard. Skipping.
Class UPC\UpcPaymentI located in ./vendor/upc/upc-payment-sdk/app/sdk.php does not comply with psr-4 autoloading standard. Skipping.
Class UPC\UpcI located in ./vendor/upc/upc-payment-sdk/app/sdk.php does not comply with psr-4 autoloading standard. Skipping.
Class UPC\UpcPaymentData located in ./vendor/upc/upc-payment-sdk/app/sdk.php does not comply with psr-4 autoloading standard. Skipping.
Class UPC\UpcSDK located in ./vendor/upc/upc-payment-sdk/app/sdk.php does not comply with psr-4 autoloading standard. Skipping.
Class UPC\Sign located in ./vendor/upc/upc-payment-sdk/app/sign.php does not comply with psr-4 autoloading standard. Skipping.

Repositories section of my composer.json:

"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/upcecconnect/PHPSDK"
        }
    ],

Require section of my composer.json:

"require": {
    "upc/upc-payment-sdk": "master"
}
mishkinstvo commented 3 years ago

Please, check my fork for fixes https://github.com/mishkinstvo/PHPSDK