Showing 7 of 7 total issues
Transaction
has 51 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Transaction implements DecodedTransactionInterface
{
public function __construct(
private string $trans_ref,
private string $trans_type,
Method __construct
has 52 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private string $trans_ref,
private string $trans_type,
private string $status,
private string $benef_id,
File Transaction.php
has 261 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
// Copyright (C) 2021 Ivan Stasiuk <ivan@stasi.uk>.
//
// This Source Code Form is subject to the terms of the Mozilla Public
Method __construct
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private string $trans_ref,
private string $trans_type,
private string $status,
private string $error_date,
private string $error_reason,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private ?string $remitter_building_no,
private ?string $remitter_address1,
private ?string $remitter_address2,
private ?string $remitter_city,
private ?string $remitter_state,
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private ?string $message,
private ?int $total_count,
private ?int $success_count,
private ?int $failed_count,
private ?AcceptTransactionsWrapper $transactions,
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private string $trans_ref,
private string $benef_trans_ref,
private string $bank_comments,
private string $payout_comments,
private string $collection_pin,