src/Chippyash/SAccounts/Transaction/SplitTransaction.php
Missing class import via use statement (line '58', column '35'). Open
Open
$this->date = new \DateTime();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
Open
})
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
})
- Exclude checks