soliantconsulting/SimpleFM

View on GitHub
src/Authentication/Authenticator.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Showing 3 of 3 total issues

Avoid using static access to class 'Soliant\SimpleFM\Authentication\Result' in method 'authenticate'.
Open

return Result::fromInvalidCredentials();
Severity: Minor
Found in src/Authentication/Authenticator.php by phpmd

Avoid using static access to class '\Soliant\SimpleFM\Authentication\Exception\InvalidResultException' in method 'authenticate'.
Open

throw InvalidResultException::fromEmptyResultSet();
Severity: Minor
Found in src/Authentication/Authenticator.php by phpmd

Avoid using static access to class 'Soliant\SimpleFM\Authentication\Result' in method 'authenticate'.
Open

return Result::fromIdentity($identity);
Severity: Minor
Found in src/Authentication/Authenticator.php by phpmd

There are no issues that match your filters.

Category
Status