loganhenson/firstdata

View on GitHub

Showing 5 of 8 total issues

Method Purchase has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function Purchase($credit_card_type, $cardholderName, $credit_card_number, $credit_card_expiry, $cvd_code, $amount){
Severity: Minor
Found in src/Transaction.php - About 45 mins to fix

    Method Refund has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function Refund($credit_card_type, $cardholderName, $transarmor_token, $credit_card_expiry, $cvd_code, $amount){
    Severity: Minor
    Found in src/Transaction.php - About 45 mins to fix

      Method LatePurchase has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public function LatePurchase($credit_card_type, $cardholderName, $transarmor_token, $credit_card_expiry, $cvd_code, $amount){
      Severity: Minor
      Found in src/Transaction.php - About 45 mins to fix

        Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            function __construct($gateway_id, $password, $key_id, $key, $test_mode = false){
        Severity: Minor
        Found in src/Transaction.php - About 35 mins to fix

          Method PreAuth has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public function PreAuth($credit_card_type, $cardholderName, $credit_card_number, $credit_card_expiry, $cvd_code){
          Severity: Minor
          Found in src/Transaction.php - About 35 mins to fix
            Severity
            Category
            Status
            Source
            Language