Showing 113 of 113 total issues
Only one argument is allowed per line in a multi-line function call Open
Open
(($account->getType()->getValue() & AccountType::DR) == AccountType::DR), false)
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
Open
' ', '_', "{$name}_{$orgId}")
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
Open
' ', '_', "{$name}_{$orgId}")
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
protected $acDr;
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
$this->journalPath = new StringType($this->filePath . '/' . strtolower(str_replace(' ', '-', $journalName)) . '.xml');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
protected $acCr;
- Exclude checks
Line exceeds 120 characters; contains 128 characters Open
Open
public function __construct(Nominal $drAc, Nominal $crAc, Currency $amount, StringType $note = null, \DateTime $date = null)
- Exclude checks
Line exceeds 120 characters; contains 195 characters Open
Open
* An account recording the capital or equity of an organisation. Positive value is shown as CR, negative as DR. Essentially a form of Liability as it is owed to the shareholders or owners.
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Whitespace found at end of line Open
Open
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
serialize($chart)) > 0
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
class AccountsException extends \Exception {}
- Exclude checks
No space found after comma in function call Open
Open
$this->normalizeName($chart->getName(),$chart->getOrg()->id()),
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
Open
})
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Whitespace found at end of line Open
Open
class Journal
- Exclude checks
Closing brace must be on a line by itself Open
Open
class JournalException extends \Exception {}
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
->account( function ($accnt) {
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
$this->journalist
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
$balance = $this->reduce(function($carry, Entry $entry) {
- Exclude checks