chippyash/Simple-Accounts

View on GitHub

Showing 113 of 113 total issues

The closing brace for the class must go on the next line after the body
Open

}

Opening brace of a interface must be on the line after the definition
Open

interface AccountStorageInterface {

Expected 0 spaces before opening brace; 1 found
Open

{

Spaces must be used for alignment; tabs are not allowed
Open

 * @license        GPL V3+

Spaces must be used for alignment; tabs are not allowed
Open

 * @license        GPL V3+

Expected 1 space after USE keyword; found 0
Open

            ->Monad_Option_Some(function($parentId) use($amount) {

There must be one blank line after the namespace declaration
Open

namespace SAccounts;

The closing brace for the interface must go on the next line after the body
Open

}

There must be one blank line after the namespace declaration
Open

namespace SAccounts;

Expected 1 space before opening brace; found 0
Open

            ->accnt(function () use ($nId){

Expected 1 space after FUNCTION keyword; 0 found
Open

        set_error_handler(function($number, $error) use ($err) {

Expected 1 space after FUNCTION keyword; 0 found
Open

        $balance = $this->reduce(function($carry, Entry $entry) {

Spaces must be used for alignment; tabs are not allowed
Open

 * @copyright      Ashley Kitson, UK, 2015

Spaces must be used for alignment; tabs are not allowed
Open

 * @author         Ashley Kitson

Opening brace of a class must be on the line after the definition
Open

class AccountsException extends \Exception {}

The closing brace for the class must go on the next line after the body
Open

}

Expected 1 space after USE keyword; found 0
Open

            ->Monad_Option_Some(function($parentId) use($amount) {

There must be one blank line after the namespace declaration
Open

namespace SAccounts\Transaction;

Opening brace of a class must be on the line after the definition
Open

class JournalException extends \Exception {}

There must be one blank line after the namespace declaration
Open

namespace SAccounts;
Severity
Category
Status
Source
Language