Fix model serialization bug #330
Annotations
12 errors and 2 warnings
PHPStan (8.1):
src/Traits/HasSpatial.php (in context of class MatanYadaev/EloquentSpatial/Tests/TestModels/TestPlace)#L15
Method MatanYadaev\EloquentSpatial\Tests\TestModels\TestPlace::setRawAttributes() has parameter $attributes with no value type specified in iterable type array.
|
PHPStan (8.1):
tests/GeometryCastTest.php#L139
Parameter #1 $data of function unserialize expects string, mixed given.
|
PHPStan (8.1):
tests/GeometryCastTest.php#L139
Parameter #1 $json of function json_decode expects string, string|false given.
|
PHPStan (8.1):
tests/GeometryCastTest.php#L159
Parameter #1 $data of function unserialize expects string, mixed given.
|
PHPStan (8.1):
tests/GeometryCastTest.php#L159
Parameter #1 $json of function json_decode expects string, string|false given.
|
PHPStan (8.1)
Process completed with exit code 1.
|
PHPStan (8.2):
src/Traits/HasSpatial.php (in context of class MatanYadaev/EloquentSpatial/Tests/TestModels/TestPlace)#L15
Method MatanYadaev\EloquentSpatial\Tests\TestModels\TestPlace::setRawAttributes() has parameter $attributes with no value type specified in iterable type array.
|
PHPStan (8.2):
tests/GeometryCastTest.php#L139
Parameter #1 $data of function unserialize expects string, mixed given.
|
PHPStan (8.2):
tests/GeometryCastTest.php#L139
Parameter #1 $json of function json_decode expects string, string|false given.
|
PHPStan (8.2):
tests/GeometryCastTest.php#L159
Parameter #1 $data of function unserialize expects string, mixed given.
|
PHPStan (8.2):
tests/GeometryCastTest.php#L159
Parameter #1 $json of function json_decode expects string, string|false given.
|
PHPStan (8.2)
Process completed with exit code 1.
|
PHPStan (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPStan (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|