CI #198
ci.yaml
on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
4s
Annotations
2 errors and 20 warnings
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires staabm/annotate-pull-request-from-checkstyle ^1.7.0 -> satisfiable by staabm/annotate-pull-request-from-checkstyle[1.7.0, ..., 1.8.5].
- staabm/annotate-pull-request-from-checkstyle[1.7.0, ..., 1.8.5] require ext-simplexml * -> it is missing from your system. Install or enable PHP's simplexml extension.
Problem 2
- Root composer.json requires brianium/paratest ^6.3.0 -> satisfiable by brianium/paratest[v6.3.0, ..., 6.x-dev].
- brianium/paratest[v6.3.0, ..., 6.x-dev] require ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/8.4/cli/php.ini
- /etc/php/8.4/cli/conf.d/10-mysqlnd.ini
- /etc/php/8.4/cli/conf.d/10-opcache.ini
- /etc/php/8.4/cli/conf.d/10-pdo.ini
- /etc/php/8.4/cli/conf.d/15-xml.ini
- /etc/php/8.4/cli/conf.d/20-amqp.ini
- /etc/php/8.4/cli/conf.d/20-apcu.ini
- /etc/php/8.4/cli/conf.d/20-ast.ini
- /etc/php/8.4/cli/conf.d/20-bcmath.ini
- /etc/php/8.4/cli/conf.d/20-bz2.ini
- /etc/php/8.4/cli/conf.d/20-calendar.ini
- /etc/php/8.4/cli/conf.d/20-ctype.ini
- /etc/php/8.4/cli/conf.d/20-curl.ini
- /etc/php/8.4/cli/conf.d/20-dba.ini
- /etc/php/8.4/cli/conf.d/20-dom.ini
- /etc/php/8.4/cli/conf.d/20-enchant.ini
- /etc/php/8.4/cli/conf.d/20-exif.ini
- /etc/php/8.4/cli/conf.d/20-ffi.ini
- /etc/php/8.4/cli/conf.d/20-fileinfo.ini
- /etc/php/8.4/cli/conf.d/20-ftp.ini
- /etc/php/8.4/cli/conf.d/20-gd.ini
- /etc/php/8.4/cli/conf.d/20-gettext.ini
- /etc/php/8.4/cli/conf.d/20-gmp.ini
- /etc/php/8.4/cli/conf.d/20-iconv.ini
- /etc/php/8.4/cli/conf.d/20-igbinary.ini
- /etc/php/8.4/cli/conf.d/20-imagick.ini
- /etc/php/8.4/cli/conf.d/20-imap.ini
- /etc/php/8.4/cli/conf.d/20-intl.ini
- /etc/php/8.4/cli/conf.d/20-ldap.ini
- /etc/php/8.4/cli/conf.d/20-mbstring.ini
- /etc/php/8.4/cli/conf.d/20-memcache.ini
- /etc/php/8.4/cli/conf.d/20-mongodb.ini
- /etc/php/8.4/cli/conf.d/20-msgpack.ini
- /etc/php/8.4/cli/conf.d/20-mysqli.ini
- /etc/php/8.4/cli/conf.d/20-odbc.ini
- /etc/php/8.4/cli/conf.d/20-pcov.ini
- /etc/php/8.4/cli/conf.d/20-pdo_dblib.ini
- /etc/php/8.4/cli/conf.d/20-pdo_firebird.ini
- /etc/php/8.4/cli/conf.d/20-pdo_mysql.ini
- /etc/php/8.4/cli/conf.d/20-pdo_odbc.ini
- /etc/php/8.4/cli/conf.d/20-pdo_pgsql.ini
- /etc/php/8.4/cli/conf.d/20-pdo_sqlite.ini
- /etc/php/8.4/cli/conf.d/20-pdo_sqlsrv.ini
- /etc/php/8.4/cli/conf.d/20-pgsql.ini
- /etc/php/8.4/cli/conf.d/20-phar.ini
- /etc/php/8.4/cli/conf.d/20-posix.ini
- /etc/php/8.4/cli/conf.d/20-readline.ini
- /etc/php/8.4/cli/conf.d/20-redis.ini
- /etc/php/8.4/cli/conf.d/20-shmop.ini
- /etc/php/8.4/cli/conf.d/20-simplexml.ini
- /etc/php/8.4/cli/conf.d/20-snmp.ini
- /etc/php/8.4/cli/conf.d/20-soap.ini
- /etc/php/8.4/cli/conf.d/20-sockets.ini
- /etc/php/8.4/cli/conf.d/20-sqlite3.ini
- /etc/php/8.4/cli/conf.d/20-sqlsrv.ini
- /etc/php/8.4/cli/conf.d/20-ssh2.ini
- /etc/php/8.4/cli/conf.d/20-sysvmsg.ini
- /etc/php/8.4/cli/conf.d/20-sysvsem.ini
- /etc/php/8.4/cli/conf.d/20-sysvshm.ini
- /etc/php/8.4/cli/conf.d/20-tidy.ini
- /etc/php/8.4/cli/conf.d/20-tokenizer.ini
- /etc/php/8.4/cli/conf.d/20-xmlreader.ini
- /etc/php/8.4/cli/conf.d/20-xmlwriter.ini
- /etc/php/8.4/cli/conf.d/20-xsl.ini
- /etc/php/8.4/cli/conf.d/20-yaml.ini
- /etc/php/8.4/cli/conf.d/20-zip.ini
- /etc/php/8.4/cli/conf.d/20-zmq.ini
- /etc/php/8.4/cli/conf.d/25-memcached.ini
- /etc/php/8.4/cli/conf.d/30-ds.ini
- /etc/php/8.4/cli/conf.d/99-pecl.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-simplexml --ignore-platform-req=ext-dom` to temporarily ignore these required extensions.
|
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
Process completed with exit code 2.
|
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
PHP Startup: Unable to load dynamic library 'mysqlnd.so' (tried: /usr/lib/php/20240924/mysqlnd.so (/usr/lib/php/20240924/mysqlnd.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/mysqlnd.so.so (/usr/lib/php/20240924/mysqlnd.so.so: cannot open shared object file: No such file or directory))
|
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/lib/php/20240924/xml.so (/usr/lib/php/20240924/xml.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/xml.so.so (/usr/lib/php/20240924/xml.so.so: cannot open shared object file: No such file or directory))
|
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
PHP Startup: Unable to load dynamic library 'amqp.so' (tried: /usr/lib/php/20240924/amqp.so (/usr/lib/php/20240924/amqp.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/amqp.so.so (/usr/lib/php/20240924/amqp.so.so: cannot open shared object file: No such file or directory))
|
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/lib/php/20240924/apcu.so (/usr/lib/php/20240924/apcu.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/apcu.so.so (/usr/lib/php/20240924/apcu.so.so: cannot open shared object file: No such file or directory))
|
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
PHP Startup: Unable to load dynamic library 'ast.so' (tried: /usr/lib/php/20240924/ast.so (/usr/lib/php/20240924/ast.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/ast.so.so (/usr/lib/php/20240924/ast.so.so: cannot open shared object file: No such file or directory))
|
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
PHP Startup: Unable to load dynamic library 'bcmath.so' (tried: /usr/lib/php/20240924/bcmath.so (/usr/lib/php/20240924/bcmath.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/bcmath.so.so (/usr/lib/php/20240924/bcmath.so.so: cannot open shared object file: No such file or directory))
|
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
PHP Startup: Unable to load dynamic library 'bz2.so' (tried: /usr/lib/php/20240924/bz2.so (/usr/lib/php/20240924/bz2.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/bz2.so.so (/usr/lib/php/20240924/bz2.so.so: cannot open shared object file: No such file or directory))
|
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/lib/php/20240924/curl.so (/usr/lib/php/20240924/curl.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/curl.so.so (/usr/lib/php/20240924/curl.so.so: cannot open shared object file: No such file or directory))
|
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
PHP Startup: Unable to load dynamic library 'dba.so' (tried: /usr/lib/php/20240924/dba.so (/usr/lib/php/20240924/dba.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/dba.so.so (/usr/lib/php/20240924/dba.so.so: cannot open shared object file: No such file or directory))
|
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
PHP Startup: Unable to load dynamic library 'dom.so' (tried: /usr/lib/php/20240924/dom.so (/usr/lib/php/20240924/dom.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/dom.so.so (/usr/lib/php/20240924/dom.so.so: cannot open shared object file: No such file or directory))
|
Test for mutants (ubuntu-latest, 8.3):
src/Command/BaseExplainCommand.php#L26
Escaped Mutant for Mutator "Coalesce":
@@ @@
protected ClockInterface $clock;
public function __construct(?CronExpressionExplainer $explainer, ?ClockInterface $clock)
{
- $this->explainer = $explainer ?? new DefaultCronExpressionExplainer();
+ $this->explainer = new DefaultCronExpressionExplainer() ?? $explainer;
$this->clock = $clock ?? new SystemClock();
parent::__construct();
}
|
Test for mutants (ubuntu-latest, 8.3):
src/Command/BaseExplainCommand.php#L36
Escaped Mutant for Mutator "Foreach_":
@@ @@
$string = '';
$locales = $this->explainer->getSupportedLocales();
$last = array_key_last($locales);
- foreach ($locales as $code => $name) {
+ foreach ([] as $code => $name) {
$string .= "{$code} ({$name})";
if ($code !== $last) {
$string .= ', ';
|
Test for mutants (ubuntu-latest, 8.3):
src/Command/BaseExplainCommand.php#L37
Escaped Mutant for Mutator "Assignment":
@@ @@
$locales = $this->explainer->getSupportedLocales();
$last = array_key_last($locales);
foreach ($locales as $code => $name) {
- $string .= "{$code} ({$name})";
+ $string = "{$code} ({$name})";
if ($code !== $last) {
$string .= ', ';
}
|
Test for mutants (ubuntu-latest, 8.3):
src/Command/BaseExplainCommand.php#L38
Escaped Mutant for Mutator "NotIdentical":
@@ @@
$last = array_key_last($locales);
foreach ($locales as $code => $name) {
$string .= "{$code} ({$name})";
- if ($code !== $last) {
+ if ($code === $last) {
$string .= ', ';
}
}
|
Test for mutants (ubuntu-latest, 8.3):
src/Command/BaseExplainCommand.php#L39
Escaped Mutant for Mutator "Assignment":
@@ @@
foreach ($locales as $code => $name) {
$string .= "{$code} ({$name})";
if ($code !== $last) {
- $string .= ', ';
+ $string = ', ';
}
}
return $string;
|
Test for mutants (ubuntu-latest, 8.3):
src/Command/ExplainCommand.php#L93
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
{
$hasErrors = false;
$id = $input->getOption('id');
- assert(is_string($id) || $id === null);
+ assert(!is_string($id) || !($id === null));
$expression = $input->getOption('expression');
assert(is_string($expression) || $expression === null);
if ($id !== null && $expression !== null) {
|
Test for mutants (ubuntu-latest, 8.3):
src/Command/ExplainCommand.php#L96
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
$id = $input->getOption('id');
assert(is_string($id) || $id === null);
$expression = $input->getOption('expression');
- assert(is_string($expression) || $expression === null);
+ assert(!is_string($expression) || !($expression === null));
if ($id !== null && $expression !== null) {
$hasErrors = true;
$output->writeln('<error>Options --id and --expression cannot be combined.</error>');
|
Test for mutants (ubuntu-latest, 8.3):
src/Command/ExplainCommand.php#L104
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
$output->writeln('<error>Options --id and --expression cannot be combined.</error>');
}
$seconds = $input->getOption('seconds');
- assert(is_string($seconds) || $seconds === null);
+ assert(!is_string($seconds) || !($seconds === null));
if ($seconds !== null) {
if (preg_match('#^[+-]?[0-9]+$#D', $seconds) !== 1 || ($seconds = (int) $seconds) < 0 || $seconds > 59) {
$hasErrors = true;
|
Test for mutants (ubuntu-latest, 8.3):
src/Command/ExplainCommand.php#L123
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
}
}
$timezone = $input->getOption('timezone');
- assert(is_string($timezone) || $timezone === null);
+ assert(!is_string($timezone) || !($timezone === null));
if ($timezone !== null) {
if (!in_array($timezone, timezone_identifiers_list(), true)) {
$hasErrors = true;
|
Test for mutants (ubuntu-latest, 8.3):
src/Command/ExplainCommand.php#L139
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
}
}
$locale = $input->getOption('locale');
- assert($locale === null || is_string($locale));
+ assert(!($locale === null) || !is_string($locale));
if ($locale !== null) {
if (!array_key_exists($locale, $this->explainer->getSupportedLocales())) {
$hasErrors = true;
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
|
4.3 KB |
|