Skip to content

fix Form getValues() invalid type #365

fix Form getValues() invalid type

fix Form getValues() invalid type #365

Triggered via pull request September 15, 2025 17:09
Status Failure
Total duration 50s
Artifacts

build.yml

on: pull_request
Coding Standard
18s
Coding Standard
Matrix: Lint
Matrix: PHPStan
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

49 errors
PHPStan (8.0, lowest)
Process completed with exit code 2.
PHPStan (8.0, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L54
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.0, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L43
Doing instanceof PHPStan\Type\BooleanType is error-prone and deprecated. Use Type::isBoolean() instead.
PHPStan (8.0, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L31
Method PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension::getTypeFromMethodCall() never returns null so it can be removed from the return type.
PHPStan (8.3, highest)
Process completed with exit code 2.
PHPStan (8.3, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L54
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.3, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L43
Doing instanceof PHPStan\Type\BooleanType is error-prone and deprecated. Use Type::isBoolean() instead.
PHPStan (8.3, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L31
Method PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension::getTypeFromMethodCall() never returns null so it can be removed from the return type.
PHPStan (8.1, lowest)
Process completed with exit code 2.
PHPStan (8.1, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L54
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.1, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L43
Doing instanceof PHPStan\Type\BooleanType is error-prone and deprecated. Use Type::isBoolean() instead.
PHPStan (8.1, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L31
Method PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension::getTypeFromMethodCall() never returns null so it can be removed from the return type.
Coding Standard
Process completed with exit code 2.
PHPStan (8.1, highest)
Process completed with exit code 2.
PHPStan (8.1, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L54
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.1, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L43
Doing instanceof PHPStan\Type\BooleanType is error-prone and deprecated. Use Type::isBoolean() instead.
PHPStan (8.1, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L31
Method PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension::getTypeFromMethodCall() never returns null so it can be removed from the return type.
PHPStan (7.4, highest)
Process completed with exit code 2.
PHPStan (7.4, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L54
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (7.4, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L43
Doing instanceof PHPStan\Type\BooleanType is error-prone and deprecated. Use Type::isBoolean() instead.
PHPStan (7.4, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L31
Method PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension::getTypeFromMethodCall() never returns null so it can be removed from the return type.
PHPStan (8.4, lowest)
Process completed with exit code 2.
PHPStan (8.4, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L54
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.4, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L43
Doing instanceof PHPStan\Type\BooleanType is error-prone and deprecated. Use Type::isBoolean() instead.
PHPStan (8.4, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L31
Method PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension::getTypeFromMethodCall() never returns null so it can be removed from the return type.
PHPStan (8.3, lowest)
Process completed with exit code 2.
PHPStan (8.3, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L54
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.3, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L43
Doing instanceof PHPStan\Type\BooleanType is error-prone and deprecated. Use Type::isBoolean() instead.
PHPStan (8.3, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L31
Method PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension::getTypeFromMethodCall() never returns null so it can be removed from the return type.
PHPStan (8.4, highest)
Process completed with exit code 2.
PHPStan (8.4, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L54
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.4, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L43
Doing instanceof PHPStan\Type\BooleanType is error-prone and deprecated. Use Type::isBoolean() instead.
PHPStan (8.4, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L31
Method PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension::getTypeFromMethodCall() never returns null so it can be removed from the return type.
PHPStan (8.2, highest)
Process completed with exit code 2.
PHPStan (8.2, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L54
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.2, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L43
Doing instanceof PHPStan\Type\BooleanType is error-prone and deprecated. Use Type::isBoolean() instead.
PHPStan (8.2, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L31
Method PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension::getTypeFromMethodCall() never returns null so it can be removed from the return type.
PHPStan (8.2, lowest)
Process completed with exit code 2.
PHPStan (8.2, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L54
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.2, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L43
Doing instanceof PHPStan\Type\BooleanType is error-prone and deprecated. Use Type::isBoolean() instead.
PHPStan (8.2, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L31
Method PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension::getTypeFromMethodCall() never returns null so it can be removed from the return type.
PHPStan (7.4, lowest)
Process completed with exit code 2.
PHPStan (7.4, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L54
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (7.4, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L43
Doing instanceof PHPStan\Type\BooleanType is error-prone and deprecated. Use Type::isBoolean() instead.
PHPStan (7.4, lowest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L31
Method PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension::getTypeFromMethodCall() never returns null so it can be removed from the return type.
PHPStan (8.0, highest)
Process completed with exit code 2.
PHPStan (8.0, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L54
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan (8.0, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L43
Doing instanceof PHPStan\Type\BooleanType is error-prone and deprecated. Use Type::isBoolean() instead.
PHPStan (8.0, highest): src/Type/Nette/FormContainerValuesDynamicReturnTypeExtension.php#L31
Method PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension::getTypeFromMethodCall() never returns null so it can be removed from the return type.