chippyash/Simple-Accounts

View on GitHub
src/Chippyash/SAccounts/Transaction/SimpleTransaction.php

Summary

Maintainability
A
35 mins
Test Coverage

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

    public function __construct(Nominal $drAc, Nominal $crAc, Currency $amount, StringType $note = null, \DateTime $date = null)
Severity: Minor
Found in src/Chippyash/SAccounts/Transaction/SimpleTransaction.php - About 35 mins to fix

    There must be one blank line after the namespace declaration
    Open

    namespace SAccounts\Transaction;

    Line exceeds 120 characters; contains 128 characters
    Open

        public function __construct(Nominal $drAc, Nominal $crAc, Currency $amount, StringType $note = null, \DateTime $date = null)

    Expected 1 newline at end of file; 0 found
    Open

    }

    There are no issues that match your filters.

    Category
    Status