[virtual-connector] Virtual devices connector (#153) #990
ci.yaml
on: push
Matrix: Code linting
Matrix: Code quality assurance
Matrix: Code static analysis
Matrix: Test for mutants
Matrix: Build code for distribution
Matrix: Code tests
Matrix: Publish code distribution to Github packages
Matrix: Publish code distribution to NPM
Matrix: Code tests with code coverage
Annotations
38 warnings
Code linting (8.1, 18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Code quality assurance (8.2, 18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Code static analysis (8.1, 18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Code static analysis (8.2, 18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Code quality assurance (8.1, 18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Code linting (8.2, 18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Build code for distribution (18, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Publish code distribution to Github packages (18, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: battila7/get-version-action@v2, JS-DevTools/npm-publish@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Publish code distribution to Github packages (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to Github packages (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to Github packages (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to Github packages (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to Github packages (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to Github packages (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to Github packages (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to Github packages (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Code tests (8.1, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Publish code distribution to NPM (18, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: battila7/get-version-action@v2, JS-DevTools/npm-publish@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Publish code distribution to NPM (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to NPM (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to NPM (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to NPM (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to NPM (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to NPM (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to NPM (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish code distribution to NPM (18, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Code tests (8.2, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test for mutants (8.2, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test for mutants (8.2, ubuntu-latest):
src/Entities/Devices/Properties/Property.php#L99
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
{
return $this->parent;
}
- public function setParent(self $property) : void
+ protected function setParent(self $property) : void
{
$this->parent = $property;
}
|
Test for mutants (8.2, ubuntu-latest):
src/Queries/FindChannels.php#L56
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public function byIdentifier(string $identifier) : void
{
$this->filter[] = static function (ORM\QueryBuilder $qb) use($identifier) : void {
- $qb->andWhere('ch.identifier = :identifier')->setParameter('identifier', $identifier);
+
};
}
public function startWithIdentifier(string $identifier) : void
|
Test for mutants (8.2, ubuntu-latest):
src/Utilities/ValueHelper.php#L75
Escaped Mutant for Mutator "NotIdentical":
--- Original
+++ New
@@ @@
return null;
}
if ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_CHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UCHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_SHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_USHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_INT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UINT)) {
- if ($invalid !== null && intval($invalid) === intval(self::flattenValue($value))) {
+ if ($invalid === null && intval($invalid) === intval(self::flattenValue($value))) {
return $invalid;
}
if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
|
Test for mutants (8.2, ubuntu-latest):
src/Utilities/ValueHelper.php#L75
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
return null;
}
if ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_CHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UCHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_SHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_USHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_INT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UINT)) {
- if ($invalid !== null && intval($invalid) === intval(self::flattenValue($value))) {
+ if ($invalid !== null && intval($invalid) !== intval(self::flattenValue($value))) {
return $invalid;
}
if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
|
Test for mutants (8.2, ubuntu-latest):
src/Utilities/ValueHelper.php#L75
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
return null;
}
if ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_CHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UCHAR) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_SHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_USHORT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_INT) || $dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_UINT)) {
- if ($invalid !== null && intval($invalid) === intval(self::flattenValue($value))) {
+ if ($invalid !== null || intval($invalid) === intval(self::flattenValue($value))) {
return $invalid;
}
if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
|
Test for mutants (8.2, ubuntu-latest):
src/Utilities/ValueHelper.php#L80
Escaped Mutant for Mutator "GreaterThan":
--- Original
+++ New
@@ @@
return $invalid;
}
if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
- if ($format->getMin() !== null && intval($format->getMin()) > intval(self::flattenValue($value))) {
+ if ($format->getMin() !== null && intval($format->getMin()) >= intval(self::flattenValue($value))) {
return intval($format->getMin());
}
if ($format->getMax() !== null && intval($format->getMax()) < intval(self::flattenValue($value))) {
|
Test for mutants (8.2, ubuntu-latest):
src/Utilities/ValueHelper.php#L84
Escaped Mutant for Mutator "LessThan":
--- Original
+++ New
@@ @@
if ($format->getMin() !== null && intval($format->getMin()) > intval(self::flattenValue($value))) {
return intval($format->getMin());
}
- if ($format->getMax() !== null && intval($format->getMax()) < intval(self::flattenValue($value))) {
+ if ($format->getMax() !== null && intval($format->getMax()) <= intval(self::flattenValue($value))) {
return intval($format->getMax());
}
}
|
Test for mutants (8.2, ubuntu-latest):
src/Utilities/ValueHelper.php#L91
Escaped Mutant for Mutator "NotIdentical":
--- Original
+++ New
@@ @@
}
return intval(self::flattenValue($value));
} elseif ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_FLOAT)) {
- if ($invalid !== null && floatval($invalid) === floatval(self::flattenValue($value))) {
+ if ($invalid === null && floatval($invalid) === floatval(self::flattenValue($value))) {
return $invalid;
}
if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
|
Test for mutants (8.2, ubuntu-latest):
src/Utilities/ValueHelper.php#L91
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
}
return intval(self::flattenValue($value));
} elseif ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_FLOAT)) {
- if ($invalid !== null && floatval($invalid) === floatval(self::flattenValue($value))) {
+ if ($invalid !== null && floatval($invalid) !== floatval(self::flattenValue($value))) {
return $invalid;
}
if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
|
Test for mutants (8.2, ubuntu-latest):
src/Utilities/ValueHelper.php#L91
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
}
return intval(self::flattenValue($value));
} elseif ($dataType->equalsValue(MetadataTypes\DataType::DATA_TYPE_FLOAT)) {
- if ($invalid !== null && floatval($invalid) === floatval(self::flattenValue($value))) {
+ if ($invalid !== null || floatval($invalid) === floatval(self::flattenValue($value))) {
return $invalid;
}
if ($format instanceof MetadataValueObjects\NumberRangeFormat) {
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
js-dist
Expired
|
5.35 MB |
|