Add boolean field conversion #11621
test-phpstan.yml
on: pull_request
PHP Static Analysis
1m 15s
Annotations
7 errors
PHP Static Analysis:
system/BaseModel.php#L640
Method CodeIgniter\BaseModel::convertBooleanFields() has parameter $data with no value type specified in iterable type array.
|
PHP Static Analysis:
system/BaseModel.php#L640
Method CodeIgniter\BaseModel::convertBooleanFields() return type has no value type specified in iterable type array.
|
PHP Static Analysis:
system/BaseModel.php#L642
Construct empty() is not allowed. Use more strict comparison.
|
PHP Static Analysis:
system/BaseModel.php#L668
Method CodeIgniter\BaseModel::convertFieldsToBoolean() has parameter $data with no value type specified in iterable type array.
|
PHP Static Analysis:
system/BaseModel.php#L668
Method CodeIgniter\BaseModel::convertFieldsToBoolean() has parameter $fields with no value type specified in iterable type array.
|
PHP Static Analysis:
system/BaseModel.php#L668
Method CodeIgniter\BaseModel::convertFieldsToBoolean() return type has no value type specified in iterable type array.
|
PHP Static Analysis
Process completed with exit code 1.
|