Upgrade to latest version of fastybird/simple-auth (#275) #17
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/Boot/Bootstrap.php#L68
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
self::initConstants();
// Create app configurator
$config = new Configurator();
- $config->setTimeZone('UTC');
+
// Define variables
$config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']);
// Load parameters from environment
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Boot/Bootstrap.php#L77
Escaped Mutant for Mutator "UnwrapStrToLower":
--- Original
+++ New
@@ @@
$config = new Configurator();
$config->setTimeZone('UTC');
// Define variables
- $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']);
+ $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strval($_ENV['APP_ENV']) === 'dev']);
// Load parameters from environment
$config->addStaticParameters(self::loadEnvParameters($envPrefix));
if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) {
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Boot/Bootstrap.php#L77
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
$config = new Configurator();
$config->setTimeZone('UTC');
// Define variables
- $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']);
+ $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) !== 'dev']);
// Load parameters from environment
$config->addStaticParameters(self::loadEnvParameters($envPrefix));
if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) {
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Boot/Bootstrap.php#L77
Escaped Mutant for Mutator "LogicalAndNegation":
--- Original
+++ New
@@ @@
$config = new Configurator();
$config->setTimeZone('UTC');
// Define variables
- $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']);
+ $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => !(isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev')]);
// Load parameters from environment
$config->addStaticParameters(self::loadEnvParameters($envPrefix));
if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) {
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Boot/Bootstrap.php#L81
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$config->setTimeZone('UTC');
// Define variables
$config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']);
- // Load parameters from environment
- $config->addStaticParameters(self::loadEnvParameters($envPrefix));
+
if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) {
$config->enableTracy(FB_LOGS_DIR);
}
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Boot/Bootstrap.php#L83
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']);
// Load parameters from environment
$config->addStaticParameters(self::loadEnvParameters($envPrefix));
- if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) {
+ if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === true) {
$config->enableTracy(FB_LOGS_DIR);
}
// Default extension config
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Boot/Bootstrap.php#L83
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
$config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']);
// Load parameters from environment
$config->addStaticParameters(self::loadEnvParameters($envPrefix));
- if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) {
+ if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) !== false) {
$config->enableTracy(FB_LOGS_DIR);
}
// Default extension config
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Boot/Bootstrap.php#L83
Escaped Mutant for Mutator "LogicalOrNegation":
--- Original
+++ New
@@ @@
$config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']);
// Load parameters from environment
$config->addStaticParameters(self::loadEnvParameters($envPrefix));
- if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) {
+ if (!(!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false)) {
$config->enableTracy(FB_LOGS_DIR);
}
// Default extension config
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Boot/Bootstrap.php#L84
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
// Load parameters from environment
$config->addStaticParameters(self::loadEnvParameters($envPrefix));
if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) {
- $config->enableTracy(FB_LOGS_DIR);
+
}
// Default extension config
$config->addConfig(__DIR__ . DS . '..' . DS . '..' . DS . 'config' . DS . 'common.neon');
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Boot/Bootstrap.php#L88
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) {
$config->enableTracy(FB_LOGS_DIR);
}
- // Default extension config
- $config->addConfig(__DIR__ . DS . '..' . DS . '..' . DS . 'config' . DS . 'common.neon');
+
$config->addConfig(__DIR__ . DS . '..' . DS . '..' . DS . 'config' . DS . 'defaults.neon');
if (file_exists(FB_CONFIG_DIR . DS . 'common.neon')) {
$config->addConfig(FB_CONFIG_DIR . DS . 'common.neon');
|
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
|
365 KB |
|