182 add date time interface param #62
Annotations
1 error and 3 warnings
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
src/CodeGenerator/AttributeGenerator.php#L47
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
--- Original
+++ New
@@ @@
public function requestPass(?DtoReference $root) : void
{
$this->treeWalk($root, static function (Property $specProperty, PropertyDefinition $property) : void {
- $willExist = $specProperty->isRequired() || $specProperty->getDefaultValue() !== null;
+ $willExist = !$specProperty->isRequired() || !($specProperty->getDefaultValue() !== null);
$property->setHasGetter(true)->setHasSetter(false)->setNullable(!$willExist || $specProperty->isNullable())->setInConstructor(false);
});
}
|
src/CodeGenerator/AttributeGenerator.php#L47
Escaped Mutant for Mutator "LogicalOrSingleSubExprNegation":
--- Original
+++ New
@@ @@
public function requestPass(?DtoReference $root) : void
{
$this->treeWalk($root, static function (Property $specProperty, PropertyDefinition $property) : void {
- $willExist = $specProperty->isRequired() || $specProperty->getDefaultValue() !== null;
+ $willExist = !$specProperty->isRequired() || $specProperty->getDefaultValue() !== null;
$property->setHasGetter(true)->setHasSetter(false)->setNullable(!$willExist || $specProperty->isNullable())->setInConstructor(false);
});
}
|
The logs for this run have expired and are no longer available.
Loading