Skip to content

docs: allow boolean values in the model for PHPStan #11864

docs: allow boolean values in the model for PHPStan

docs: allow boolean values in the model for PHPStan #11864

Triggered via pull request November 13, 2024 14:30
Status Failure
Total duration 1m 40s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test-phpstan.yml

on: pull_request
PHP Static Analysis
1m 26s
PHP Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

7 errors
PHP Static Analysis: tests/system/Models/DataConverterModelTest.php#L1
Ignored error pattern #^Parameter \#1 \$row of method CodeIgniter\\BaseModel\:\:save\(\) expects array\<int\|string, float\|int\|object\|string\|null\>\|object, array\<string, array\<int, string\>\> given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Models/DataConverterModelTest.php was not matched in reported errors.
PHP Static Analysis: tests/system/Models/DataConverterModelTest.php#L1
Ignored error pattern #^Parameter \#2 \$row of method CodeIgniter\\Model\:\:update\(\) expects array\<int\|string, float\|int\|object\|string\|null\>\|object\|null, array\<string, array\<int, string\>\> given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Models/DataConverterModelTest.php was not matched in reported errors.
PHP Static Analysis: tests/system/Models/DataConverterModelTest.php#L291
Parameter #2 $row of method CodeIgniter\Model::update() expects array<int|string, bool|float|int|object|string|null>|object|null, array<string, array<int, string>> given.
PHP Static Analysis: tests/system/Models/DataConverterModelTest.php#L359
Parameter #1 $row of method CodeIgniter\BaseModel::save() expects array<int|string, bool|float|int|object|string|null>|object, array<string, array<int, string>> given.
PHP Static Analysis: tests/system/Models/UpdateModelTest.php#L1
Ignored error pattern #^Parameter \#1 \$row of method CodeIgniter\\BaseModel\:\:save\(\) expects array\<int\|string, float\|int\|object\|string\|null\>\|object, array\<int, array\>\|null given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Models/UpdateModelTest.php was not matched in reported errors.
PHP Static Analysis: tests/system/Models/UpdateModelTest.php#L454
Parameter #1 $row of method CodeIgniter\BaseModel::save() expects array<int|string, bool|float|int|object|string|null>|object, array<int, array>|null given.
PHP Static Analysis
Process completed with exit code 1.