chore: code standard #868
Annotations
10 errors and 1 warning
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/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
|
tests/Unit/Model/Casts/DateTime/ImmutableDateTimeCastTest.php#L15
Call of method createFromFormat() should be split to more lines.
|
src/Model/Exception/ModelNotFoundException.php#L1
Header blocks must be separated by a single blank line
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading