Added documents into UI module (#282) #18
tests.yaml
on: push
Matrix: PHP Tests
Matrix: PHP Tests With Code Coverage
Matrix: PHP Tests For Mutants
Annotations
14 warnings
PHP Tests (8.2, ubuntu-latest) / Code Tests (PHP 8.2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PHP Tests With Code Coverage (8.2, ubuntu-latest) / Code Coverage (PHP 8.2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/DI/ExchangeExtension.php#L79
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
public function beforeCompile() : void
{
- parent::beforeCompile();
+
$builder = $this->getContainerBuilder();
/**
* CONSUMERS PROXY
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/DI/ExchangeExtension.php#L89
Escaped Mutant for Mutator "NotIdentical":
--- Original
+++ New
@@ @@
* CONSUMERS PROXY
*/
$consumerProxyServiceName = $builder->getByType(Consumers\Container::class);
- if ($consumerProxyServiceName !== null) {
+ if ($consumerProxyServiceName === null) {
$consumerProxyService = $builder->getDefinition($consumerProxyServiceName);
assert($consumerProxyService instanceof DI\Definitions\ServiceDefinition);
$consumerServices = $builder->findByType(Consumers\Consumer::class);
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/DI/ExchangeExtension.php#L95
Escaped Mutant for Mutator "Foreach_":
--- Original
+++ New
@@ @@
$consumerProxyService = $builder->getDefinition($consumerProxyServiceName);
assert($consumerProxyService instanceof DI\Definitions\ServiceDefinition);
$consumerServices = $builder->findByType(Consumers\Consumer::class);
- foreach ($consumerServices as $consumerService) {
+ foreach (array() as $consumerService) {
if ($consumerService->getType() !== Consumers\Container::class && ($consumerService->getAutowired() === true || !is_bool($consumerService->getAutowired()))) {
// Container is not allowed to be autowired
$consumerService->setAutowired(false);
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/DI/ExchangeExtension.php#L97
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation":
--- Original
+++ New
@@ @@
assert($consumerProxyService instanceof DI\Definitions\ServiceDefinition);
$consumerServices = $builder->findByType(Consumers\Consumer::class);
foreach ($consumerServices as $consumerService) {
- if ($consumerService->getType() !== Consumers\Container::class && ($consumerService->getAutowired() === true || !is_bool($consumerService->getAutowired()))) {
+ if (!($consumerService->getType() !== Consumers\Container::class) && !($consumerService->getAutowired() === true || !is_bool($consumerService->getAutowired()))) {
// Container is not allowed to be autowired
$consumerService->setAutowired(false);
$consumerStatus = $consumerService->getTag(self::CONSUMER_STATE);
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/DI/ExchangeExtension.php#L99
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
assert($consumerProxyService instanceof DI\Definitions\ServiceDefinition);
$consumerServices = $builder->findByType(Consumers\Consumer::class);
foreach ($consumerServices as $consumerService) {
- if ($consumerService->getType() !== Consumers\Container::class && ($consumerService->getAutowired() === true || !is_bool($consumerService->getAutowired()))) {
+ if ($consumerService->getType() !== Consumers\Container::class && ($consumerService->getAutowired() === false || !is_bool($consumerService->getAutowired()))) {
// Container is not allowed to be autowired
$consumerService->setAutowired(false);
$consumerStatus = $consumerService->getTag(self::CONSUMER_STATE);
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/DI/ExchangeExtension.php#L99
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
assert($consumerProxyService instanceof DI\Definitions\ServiceDefinition);
$consumerServices = $builder->findByType(Consumers\Consumer::class);
foreach ($consumerServices as $consumerService) {
- if ($consumerService->getType() !== Consumers\Container::class && ($consumerService->getAutowired() === true || !is_bool($consumerService->getAutowired()))) {
+ if ($consumerService->getType() !== Consumers\Container::class && ($consumerService->getAutowired() !== true || !is_bool($consumerService->getAutowired()))) {
// Container is not allowed to be autowired
$consumerService->setAutowired(false);
$consumerStatus = $consumerService->getTag(self::CONSUMER_STATE);
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/DI/ExchangeExtension.php#L99
Escaped Mutant for Mutator "LogicalOr":
--- Original
+++ New
@@ @@
assert($consumerProxyService instanceof DI\Definitions\ServiceDefinition);
$consumerServices = $builder->findByType(Consumers\Consumer::class);
foreach ($consumerServices as $consumerService) {
- if ($consumerService->getType() !== Consumers\Container::class && ($consumerService->getAutowired() === true || !is_bool($consumerService->getAutowired()))) {
+ if ($consumerService->getType() !== Consumers\Container::class && ($consumerService->getAutowired() === true && !is_bool($consumerService->getAutowired()))) {
// Container is not allowed to be autowired
$consumerService->setAutowired(false);
$consumerStatus = $consumerService->getTag(self::CONSUMER_STATE);
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/DI/ExchangeExtension.php#L99
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
--- Original
+++ New
@@ @@
assert($consumerProxyService instanceof DI\Definitions\ServiceDefinition);
$consumerServices = $builder->findByType(Consumers\Consumer::class);
foreach ($consumerServices as $consumerService) {
- if ($consumerService->getType() !== Consumers\Container::class && ($consumerService->getAutowired() === true || !is_bool($consumerService->getAutowired()))) {
+ if ($consumerService->getType() !== Consumers\Container::class && ($consumerService->getAutowired() === true || is_bool($consumerService->getAutowired()))) {
// Container is not allowed to be autowired
$consumerService->setAutowired(false);
$consumerStatus = $consumerService->getTag(self::CONSUMER_STATE);
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/DI/ExchangeExtension.php#L99
Escaped Mutant for Mutator "LogicalOrNegation":
--- Original
+++ New
@@ @@
assert($consumerProxyService instanceof DI\Definitions\ServiceDefinition);
$consumerServices = $builder->findByType(Consumers\Consumer::class);
foreach ($consumerServices as $consumerService) {
- if ($consumerService->getType() !== Consumers\Container::class && ($consumerService->getAutowired() === true || !is_bool($consumerService->getAutowired()))) {
+ if ($consumerService->getType() !== Consumers\Container::class && !($consumerService->getAutowired() === true || !is_bool($consumerService->getAutowired()))) {
// Container is not allowed to be autowired
$consumerService->setAutowired(false);
$consumerStatus = $consumerService->getTag(self::CONSUMER_STATE);
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/DI/ExchangeExtension.php#L100
Escaped Mutant for Mutator "LogicalNot":
--- Original
+++ New
@@ @@
assert($consumerProxyService instanceof DI\Definitions\ServiceDefinition);
$consumerServices = $builder->findByType(Consumers\Consumer::class);
foreach ($consumerServices as $consumerService) {
- if ($consumerService->getType() !== Consumers\Container::class && ($consumerService->getAutowired() === true || !is_bool($consumerService->getAutowired()))) {
+ if ($consumerService->getType() !== Consumers\Container::class && ($consumerService->getAutowired() === true || is_bool($consumerService->getAutowired()))) {
// Container is not allowed to be autowired
$consumerService->setAutowired(false);
$consumerStatus = $consumerService->getTag(self::CONSUMER_STATE);
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Logs - Mutations".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
Expired
|
93.6 KB |
|