src/Presenters/ContactPresenter.php
Missing class import via use statement (line '71', column '21'). Open
Open
$born = new \DateTime($this->wrappedObject->birthdate);
- 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
Missing class import via use statement (line '70', column '26'). Open
Open
$reference = 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
TODO found Open
Open
* TODO: Check if needs to get moved to a calculator class.
- Exclude checks