Skip to content

Don't use data pointers in form render arrays #117

Don't use data pointers in form render arrays

Don't use data pointers in form render arrays #117

Triggered via pull request August 10, 2023 16:19
Status Failure
Total duration 48s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

phpstan.yml

on: pull_request
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

47 errors
PHPStan with PHP 7.4 prefer-lowest: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L40
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMaxItems() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-lowest: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L44
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMinItems() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-lowest: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L48
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getUniqueItems() should return bool|null but returns mixed.
PHPStan with PHP 7.4 prefer-lowest: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L56
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMaxContains() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-lowest: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L60
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMinContains() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-lowest: src/JsonForms/Definition/Control/NumberControlDefinition.php#L29
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getMultipleOf() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-lowest: src/JsonForms/Definition/Control/NumberControlDefinition.php#L33
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getMaximum() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-lowest: src/JsonForms/Definition/Control/NumberControlDefinition.php#L37
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getExclusiveMaximum() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-lowest: src/JsonForms/Definition/Control/NumberControlDefinition.php#L41
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getMinimum() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-lowest: src/JsonForms/Definition/Control/NumberControlDefinition.php#L45
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getExclusiveMinimum() should return int|null but returns mixed.
PHPStan with PHP 8.0 prefer-stable
The job was canceled because "_7_4_prefer-lowest" failed.
PHPStan with PHP 8.0 prefer-stable
The operation was canceled.
PHPStan with PHP 8.0 prefer-lowest
The job was canceled because "_7_4_prefer-lowest" failed.
PHPStan with PHP 8.0 prefer-lowest: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L40
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMaxItems() should return int|null but returns mixed.
PHPStan with PHP 8.0 prefer-lowest: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L44
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMinItems() should return int|null but returns mixed.
PHPStan with PHP 8.0 prefer-lowest: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L48
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getUniqueItems() should return bool|null but returns mixed.
PHPStan with PHP 8.0 prefer-lowest: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L56
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMaxContains() should return int|null but returns mixed.
PHPStan with PHP 8.0 prefer-lowest: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L60
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMinContains() should return int|null but returns mixed.
PHPStan with PHP 8.0 prefer-lowest: src/JsonForms/Definition/Control/NumberControlDefinition.php#L29
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getMultipleOf() should return int|null but returns mixed.
PHPStan with PHP 8.0 prefer-lowest: src/JsonForms/Definition/Control/NumberControlDefinition.php#L33
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getMaximum() should return int|null but returns mixed.
PHPStan with PHP 8.0 prefer-lowest: src/JsonForms/Definition/Control/NumberControlDefinition.php#L37
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getExclusiveMaximum() should return int|null but returns mixed.
PHPStan with PHP 8.0 prefer-lowest: src/JsonForms/Definition/Control/NumberControlDefinition.php#L41
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getMinimum() should return int|null but returns mixed.
PHPStan with PHP 8.0 prefer-lowest: src/JsonForms/Definition/Control/NumberControlDefinition.php#L45
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getExclusiveMinimum() should return int|null but returns mixed.
PHPStan with PHP 8.2 prefer-lowest
The job was canceled because "_7_4_prefer-lowest" failed.
PHPStan with PHP 8.2 prefer-lowest
The operation was canceled.
PHPStan with PHP 7.4 prefer-stable
The job was canceled because "_7_4_prefer-lowest" failed.
PHPStan with PHP 7.4 prefer-stable: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L40
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMaxItems() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-stable: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L44
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMinItems() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-stable: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L48
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getUniqueItems() should return bool|null but returns mixed.
PHPStan with PHP 7.4 prefer-stable: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L56
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMaxContains() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-stable: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L60
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMinContains() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-stable: src/JsonForms/Definition/Control/NumberControlDefinition.php#L29
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getMultipleOf() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-stable: src/JsonForms/Definition/Control/NumberControlDefinition.php#L33
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getMaximum() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-stable: src/JsonForms/Definition/Control/NumberControlDefinition.php#L37
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getExclusiveMaximum() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-stable: src/JsonForms/Definition/Control/NumberControlDefinition.php#L41
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getMinimum() should return int|null but returns mixed.
PHPStan with PHP 7.4 prefer-stable: src/JsonForms/Definition/Control/NumberControlDefinition.php#L45
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getExclusiveMinimum() should return int|null but returns mixed.
PHPStan with PHP 8.2 prefer-stable
The job was canceled because "_7_4_prefer-lowest" failed.
PHPStan with PHP 8.2 prefer-stable: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L40
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMaxItems() should return int|null but returns mixed.
PHPStan with PHP 8.2 prefer-stable: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L44
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMinItems() should return int|null but returns mixed.
PHPStan with PHP 8.2 prefer-stable: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L48
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getUniqueItems() should return bool|null but returns mixed.
PHPStan with PHP 8.2 prefer-stable: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L56
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMaxContains() should return int|null but returns mixed.
PHPStan with PHP 8.2 prefer-stable: src/JsonForms/Definition/Control/ArrayControlDefinition.php#L60
Method Drupal\json_forms\JsonForms\Definition\Control\ArrayControlDefinition::getMinContains() should return int|null but returns mixed.
PHPStan with PHP 8.2 prefer-stable: src/JsonForms/Definition/Control/NumberControlDefinition.php#L29
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getMultipleOf() should return int|null but returns mixed.
PHPStan with PHP 8.2 prefer-stable: src/JsonForms/Definition/Control/NumberControlDefinition.php#L33
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getMaximum() should return int|null but returns mixed.
PHPStan with PHP 8.2 prefer-stable: src/JsonForms/Definition/Control/NumberControlDefinition.php#L37
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getExclusiveMaximum() should return int|null but returns mixed.
PHPStan with PHP 8.2 prefer-stable: src/JsonForms/Definition/Control/NumberControlDefinition.php#L41
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getMinimum() should return int|null but returns mixed.
PHPStan with PHP 8.2 prefer-stable: src/JsonForms/Definition/Control/NumberControlDefinition.php#L45
Method Drupal\json_forms\JsonForms\Definition\Control\NumberControlDefinition::getExclusiveMinimum() should return int|null but returns mixed.