Improve CreateEmpty method for Page Properties #500
Annotations
6 errors and 3 warnings
Run tests with psalm and send coverage report:
src/Pages/Properties/Status.php#L50
src/Pages/Properties/Status.php:50:57: PossiblyNullReference: Cannot call method changeColor on possibly null value (see https://psalm.dev/083)
|
Run tests with psalm and send coverage report:
src/Pages/Properties/Status.php#L75
src/Pages/Properties/Status.php:75:43: PossiblyNullReference: Cannot call method toArray on possibly null value (see https://psalm.dev/083)
|
Run tests with psalm and send coverage report:
tests/Unit/Pages/Properties/StatusTest.php#L18
tests/Unit/Pages/Properties/StatusTest.php:18:32: PossiblyNullPropertyFetch: Cannot get property on possibly null variable $status->option of type Notion\Databases\Properties\StatusOption|null (see https://psalm.dev/082)
|
Run tests with psalm and send coverage report:
tests/Unit/Pages/Properties/StatusTest.php#L26
tests/Unit/Pages/Properties/StatusTest.php:26:34: PossiblyNullPropertyFetch: Cannot get property on possibly null variable $status->option of type Notion\Databases\Properties\StatusOption|null (see https://psalm.dev/082)
|
Run tests with psalm and send coverage report:
tests/Unit/Pages/Properties/StatusTest.php#L44
tests/Unit/Pages/Properties/StatusTest.php:44:35: PossiblyNullPropertyFetch: Cannot get property on possibly null variable $status->option of type Notion\Databases\Properties\StatusOption|null (see https://psalm.dev/082)
|
Run tests with psalm and send coverage report
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, ramsey/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Install composer dependencies
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The logs for this run have expired and are no longer available.
Loading