182 add date time interface param #60
ci.yml
on: pull_request
Matrix: Code style
Matrix: Code coverage
Matrix: Mutation testing
Matrix: Psalm
Matrix: Security check
Matrix: PhpStan
Matrix: unit
Annotations
11 errors and 18 warnings
Code style (ubuntu-latest, 8.1):
test/unit/Specification/SpecificationParserTest.php#L1148
Expected 0 blank lines after function; 1 found
|
Code style (ubuntu-latest, 8.1):
test/unit/Specification/SpecificationParserTest.php#L1150
The closing brace for the class must go on the next line after the body
|
Code style (ubuntu-latest, 8.1):
test/unit/Specification/SpecificationParserTest.php#L1150
There must be exactly 0 empty lines before class closing brace.
|
Code style (ubuntu-latest, 8.1)
Process completed with exit code 1.
|
Unit tests 8.1-ubuntu-latest-lowest
Process completed with exit code 255.
|
Unit tests 8.1-ubuntu-latest-highest
The job was canceled because "ubuntu-latest_8_1_lowest" failed.
|
Unit tests 8.1-windows-latest-highest
The operation was canceled.
|
Unit tests 8.1-windows-latest-lowest
The operation was canceled.
|
Unit tests 8.0-windows-latest-lowest
The operation was canceled.
|
Unit tests 8.0-windows-latest-highest
The operation was canceled.
|
Mutation testing (ubuntu-latest, 8.1)
Process completed with exit code 1.
|
Code style (ubuntu-latest, 8.1)
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/
|
Security check (ubuntu-latest, 8.1)
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/
|
Psalm (ubuntu-latest, 8.1)
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/
|
Unit tests 8.0-ubuntu-latest-highest
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/
|
Unit tests 8.1-ubuntu-latest-lowest
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/
|
PhpStan (ubuntu-latest, 8.1)
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/
|
Unit tests 8.0-ubuntu-latest-lowest
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/
|
Unit tests 8.1-ubuntu-latest-highest
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/
|
Code coverage (ubuntu-latest, 8.1)
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/
|
Unit tests 8.1-windows-latest-highest
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/
|
Unit tests 8.1-windows-latest-lowest
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/
|
Unit tests 8.0-windows-latest-lowest
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/
|
Unit tests 8.0-windows-latest-highest
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/
|
Mutation testing (ubuntu-latest, 8.1)
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/
|
Mutation testing (ubuntu-latest, 8.1):
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);
});
}
|
Mutation testing (ubuntu-latest, 8.1):
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);
});
}
|
Mutation testing (ubuntu-latest, 8.1):
src/Serializer/ArrayDtoSerializer.php#L117
Escaped Mutant for Mutator "LogicalAndNegation":
--- Original
+++ New
@@ @@
$converter = fn($v) => $this->convert($deserialize, $v, $objectType->getSchema());
} else {
$outputClass = null;
- if ($typeId !== null && $this->resolver->isDateTime($typeId)) {
+ if (!($typeId !== null && $this->resolver->isDateTime($typeId))) {
$outputClass = $property->getOutputType();
}
/** @psalm-suppress MissingClosureParamType */
|
Mutation testing (ubuntu-latest, 8.1):
src/Serializer/ArrayDtoSerializer.php#L117
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation":
--- Original
+++ New
@@ @@
$converter = fn($v) => $this->convert($deserialize, $v, $objectType->getSchema());
} else {
$outputClass = null;
- if ($typeId !== null && $this->resolver->isDateTime($typeId)) {
+ if ($typeId !== null && !$this->resolver->isDateTime($typeId)) {
$outputClass = $property->getOutputType();
}
/** @psalm-suppress MissingClosureParamType */
|