CyberSource / CyberSource/cybersource-rest-client-php

Not compatible with Composer v2 (not psr-4 autoloading standard)

Open
#58 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
41
Forks
77
Avg merge
26m
Merged PRs (30d)
1

Description

Class CyberSource\Model\Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction located in ./vendor/cybersource/rest-client-php/lib/Model/Ptsv2paymentsMerchantInitiatedTransaction.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0

BTW, Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransactionv is quite a class name...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with vendor/cybersource/rest-client-php/lib/Model/Ptsv2paymentsMerchantInitiatedTransaction.php and compare its filename with the fully qualified class named in the Composer warning. Run Composer v2 autoload validation to reproduce the PSR-4 diagnostic; done means the warning is gone and the affected class autoloads correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.