Callbacks are marked as either later or immediatelly invoked #504
ci.yaml
on: push
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
2s
Annotations
18 warnings
Static analysis (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (ubuntu-latest, 8.2, --ignore-platform-req=php+, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Coding standard (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (ubuntu-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (ubuntu-latest, 8.1, --prefer-lowest --prefer-stable, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test for mutants (ubuntu-latest, 8.1):
src/Cache/DI/CacheExtension.php#L25
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public function loadConfiguration() : void
{
$dir = $this->tempDir;
- FileSystem::createDir($dir);
+
if (!is_writable($dir)) {
throw InvalidState::create()->withMessage("Make directory '{$dir}' writable.");
}
|
Test for mutants (ubuntu-latest, 8.1):
src/Cache/DI/CacheExtension.php#L34
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
$builder = $this->getContainerBuilder();
if (Dependencies::isExtensionLoaded('pdo_sqlite')) {
- $builder->addDefinition($this->prefix('journal'))->setFactory(SQLiteJournal::class, ["{$dir}/journal.s3db"])->setType(Journal::class);
+
}
$builder->addDefinition($this->prefix('storage'))->setFactory(FileStorage::class, [$dir])->setType(Storage::class);
}
}
|
Test for mutants (ubuntu-latest, 8.1):
src/Config/DI/ConfigExtension.php#L24
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
public function loadConfiguration() : void
{
- parent::loadConfiguration();
+
$builder = $this->getContainerBuilder();
$this->providerDefinition = $builder->addDefinition($this->prefix('provider'))->setFactory(ConfigProvider::class);
}
|
Test for mutants (ubuntu-latest, 8.1):
src/Config/DI/ConfigExtension.php#L33
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
public function beforeCompile() : void
{
- parent::beforeCompile();
+
$builder = $this->getContainerBuilder();
$itemProviders = [];
foreach ($builder->findByType(ConfigItemProvider::class) as $definition) {
|
Test for mutants (ubuntu-latest, 8.1):
src/Config/DI/ConfigExtension.php#L38
Escaped Mutant for Mutator "Foreach_":
--- Original
+++ New
@@ @@
parent::beforeCompile();
$builder = $this->getContainerBuilder();
$itemProviders = [];
- foreach ($builder->findByType(ConfigItemProvider::class) as $definition) {
+ foreach (array() as $definition) {
$itemProviders[$definition->getType()] = $definition->getName();
}
$this->providerDefinition->setArguments([$itemProviders]);
}
}
|
Test for mutants (ubuntu-latest, 8.1):
src/Config/DI/ConfigExtension.php#L42
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
foreach ($builder->findByType(ConfigItemProvider::class) as $definition) {
$itemProviders[$definition->getType()] = $definition->getName();
}
- $this->providerDefinition->setArguments([$itemProviders]);
+
}
}
|
Test for mutants (ubuntu-latest, 8.1):
src/Dbal/DI/DbalExtension.php#L26
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
{
public function getConfigSchema() : Schema
{
- return Expect::structure(['debug' => Expect::bool(false), 'panelQueryExplain' => Expect::bool(true), 'sqlProcessorFactory' => Expect::anyOf(Expect::string(), Expect::type(Statement::class)), 'connections' => Expect::arrayOf(Expect::structure([
+ return Expect::structure(['debug' => Expect::bool(true), 'panelQueryExplain' => Expect::bool(true), 'sqlProcessorFactory' => Expect::anyOf(Expect::string(), Expect::type(Statement::class)), 'connections' => Expect::arrayOf(Expect::structure([
'autowired' => Expect::bool(true),
'driver' => Expect::anyOf('mysqli', 'pdo_mysql', 'pgsql', 'pdo_pgsql', 'sqlsrv', 'pdo_sqlsrv')->required(),
'host' => Expect::string()->dynamic(),
|
Test for mutants (ubuntu-latest, 8.1):
src/Dbal/DI/DbalExtension.php#L27
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
{
public function getConfigSchema() : Schema
{
- return Expect::structure(['debug' => Expect::bool(false), 'panelQueryExplain' => Expect::bool(true), 'sqlProcessorFactory' => Expect::anyOf(Expect::string(), Expect::type(Statement::class)), 'connections' => Expect::arrayOf(Expect::structure([
+ return Expect::structure(['debug' => Expect::bool(false), 'panelQueryExplain' => Expect::bool(false), 'sqlProcessorFactory' => Expect::anyOf(Expect::string(), Expect::type(Statement::class)), 'connections' => Expect::arrayOf(Expect::structure([
'autowired' => Expect::bool(true),
'driver' => Expect::anyOf('mysqli', 'pdo_mysql', 'pgsql', 'pdo_pgsql', 'sqlsrv', 'pdo_sqlsrv')->required(),
'host' => Expect::string()->dynamic(),
|
Test for mutants (ubuntu-latest, 8.1):
src/Dbal/DI/DbalExtension.php#L47
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
'password' => Expect::string()->dynamic(),
'database' => Expect::string(),
'connectionTz' => Expect::string(IDriver::TIMEZONE_AUTO_PHP_NAME),
- 'nestedTransactionsWithSavepoint' => Expect::bool(true),
+ 'nestedTransactionsWithSavepoint' => Expect::bool(false),
// mysql only
'charset' => Expect::string(),
'sqlMode' => Expect::string('TRADITIONAL'),
|
Test for mutants (ubuntu-latest, 8.1):
src/Dbal/DI/DbalExtension.php#L82
Escaped Mutant for Mutator "Foreach_":
--- Original
+++ New
@@ @@
// Remove from Connection config compile-time only values
unset($connectionConfig['autowired']);
// Connection expects empty values to be not set
- foreach ($connectionConfig as $key => $value) {
+ foreach (array() as $key => $value) {
if ($value === null) {
unset($connectionConfig[$key]);
}
|
Tests (windows-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (macos-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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
|
586 KB |
|