chore: code standard #870
Annotations
11 errors
|
src/Model/Exception/NotARelationException.php#L1
Header blocks must be separated by a single blank line
|
src/Model/Exception/InvalidFieldNameException.php#L1
Header blocks must be separated by a single blank line
|
src/Query/EagerLoader/Exception/EagerLoaderException.php#L1
Header blocks must be separated by a single blank line
|
src/Model/Relations/EmbedsOne.php#L1
Header blocks must be separated by a single blank line
|
src/Model/Exception/ModelNotFoundException.php#L1
Header blocks must be separated by a single blank line
|
src/Model/Exception/ModelNotFoundException.php#L16
Property \Mongolid\Model\Exception\ModelNotFoundException::$message does not have native type hint for its value but it should be possible to add it based on @var annotation "string".
|
src/Model/Casts/CastResolver.php#L14
@var annotation of property \Mongolid\Model\Casts\CastResolver::$cache does not specify type hint for its items.
|
src/Model/Casts/CastResolver.php#L16
The placement of "public static properties" group is invalid. Last group was "private static properties" and one of these is expected after it: private static properties, public static abstract methods, protected static abstract methods, public abstract methods, protected abstract methods, constructor, static constructors, destructor, public methods, public static methods, protected methods, protected static methods, private methods, private static methods, magic methods
|
src/Model/Casts/CastResolver.php#L16
@var annotation of property \Mongolid\Model\Casts\CastResolver::$validCasts does not specify type hint for its items.
|
src/Model/Casts/CastResolver.php#L27
Expected 1 space after MATCH keyword; 0 found
|
This job failed
Loading