refactor: added new phpcs code standard #871
Annotations
10 errors and 1 warning
src/Model/Casts/CastResolver.php#L14
@var annotation of property \Mongolid\Model\Casts\CastResolver::$validCasts does not specify type hint for its items.
|
src/Model/Casts/CastResolver.php#L19
@var annotation of property \Mongolid\Model\Casts\CastResolver::$cache does not specify type hint for its items.
|
src/Model/Exception/ModelNotFoundException.php#L16
Property \Mongolid\Model\Exception\ModelNotFoundException::$message does not have native type hint nor @var annotation for its value.
|
tests/Stubs/PolymorphedReferencedUser.php#L7
@var annotation of property \Mongolid\Tests\Stubs\PolymorphedReferencedUser::$fillable does not specify type hint for its items.
|
src/Query/BulkWrite.php#L22
@var annotation of property \Mongolid\Query\BulkWrite::$operations does not specify type hint for its items.
|
tests/Stubs/Legacy/LegacyRecordUser.php#L18
@var annotation of property \Mongolid\Tests\Stubs\Legacy\LegacyRecordUser::$fillable does not specify type hint for its items.
|
tests/Stubs/Legacy/LegacyRecordUser.php#L32
Unused parameter $value.
|
tests/Stubs/Legacy/Product.php#L12
@var annotation of property \Mongolid\Tests\Stubs\Legacy\Product::$with does not specify type hint for its items.
|
tests/Stubs/ExpirablePrice.php#L7
@var annotation of property \Mongolid\Tests\Stubs\ExpirablePrice::$casts does not specify type hint for its items.
|
tests/Stubs/ReferencedUser.php#L16
@var annotation of property \Mongolid\Tests\Stubs\ReferencedUser::$fillable does not specify type hint for its items.
|
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