update php versions support #88
Annotations
11 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Infection:
src/ToggleProvider.php#L58
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
$toggleConfig = new ToggleConfig($configItem);
$this->app->bind(ToggleConfig::class, fn() => $toggleConfig);
- $this->app->bind(StrategyFactory::class, Closure::fromCallable(new StrategyFactoryFactory()));
+
$this->app->bind(SegmentFactory::class, Closure::fromCallable(new SegmentFactoryFactory()));
foreach ($toggleConfig->strategyTypes() as $strategyType) {
$this->app->bind($strategyType['type'], $strategyType['factory_id']);
|
Infection:
src/ToggleProvider.php#L59
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$toggleConfig = new ToggleConfig($configItem);
$this->app->bind(ToggleConfig::class, fn() => $toggleConfig);
$this->app->bind(StrategyFactory::class, Closure::fromCallable(new StrategyFactoryFactory()));
- $this->app->bind(SegmentFactory::class, Closure::fromCallable(new SegmentFactoryFactory()));
+
foreach ($toggleConfig->strategyTypes() as $strategyType) {
$this->app->bind($strategyType['type'], $strategyType['factory_id']);
}
|
Infection:
src/ToggleProvider.php#L86
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$this->app->bind(FeatureRepository::class, Closure::fromCallable(new FeatureRepositoryFactory()));
$this->app->bind(FeatureFinder::class, Closure::fromCallable(new FeatureFinderFactory()));
}
- $this->app->extend(ServerRequestInterface::class, Closure::fromCallable(new RouteParameterAsPsr7RequestAttribute($this->app)));
+
$this->enableSDK();
$this->enableAPI($toggleConfig);
$this->enableDBAL();
|
Infection:
src/ToggleProvider.php#L91
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$this->app->bind(FeatureFinder::class, Closure::fromCallable(new FeatureFinderFactory()));
}
$this->app->extend(ServerRequestInterface::class, Closure::fromCallable(new RouteParameterAsPsr7RequestAttribute($this->app)));
- $this->enableSDK();
+
$this->enableAPI($toggleConfig);
$this->enableDBAL();
}
|
Infection:
src/ToggleProvider.php#L92
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
$this->app->extend(ServerRequestInterface::class, Closure::fromCallable(new RouteParameterAsPsr7RequestAttribute($this->app)));
$this->enableSDK();
- $this->enableAPI($toggleConfig);
+
$this->enableDBAL();
}
/**
|
Infection:
src/ToggleProvider.php#L93
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$this->app->extend(ServerRequestInterface::class, Closure::fromCallable(new RouteParameterAsPsr7RequestAttribute($this->app)));
$this->enableSDK();
$this->enableAPI($toggleConfig);
- $this->enableDBAL();
+
}
/**
* Bootstrap services.
|
Infection:
src/ToggleProvider.php#L103
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
public function boot() : void
{
- $this->publishes([__DIR__ . '/../config/pheature_flags.php' => config_path('pheature_flags.php')], 'config');
+
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
Route::group($this->routeConfiguration(), function () {
$this->loadRoutesFrom(__DIR__ . '/../routes/pheature_flags.php');
|
Infection:
src/ToggleProvider.php#L104
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
*/
public function boot() : void
{
- $this->publishes([__DIR__ . '/../config/pheature_flags.php' => config_path('pheature_flags.php')], 'config');
+ $this->publishes([], 'config');
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
Route::group($this->routeConfiguration(), function () {
$this->loadRoutesFrom(__DIR__ . '/../routes/pheature_flags.php');
|
Infection:
src/ToggleProvider.php#L105
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
*/
public function boot() : void
{
- $this->publishes([__DIR__ . '/../config/pheature_flags.php' => config_path('pheature_flags.php')], 'config');
+ $this->publishes(['/../config/pheature_flags.php' . __DIR__ => config_path('pheature_flags.php')], 'config');
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
Route::group($this->routeConfiguration(), function () {
$this->loadRoutesFrom(__DIR__ . '/../routes/pheature_flags.php');
|
Infection:
src/ToggleProvider.php#L105
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
*/
public function boot() : void
{
- $this->publishes([__DIR__ . '/../config/pheature_flags.php' => config_path('pheature_flags.php')], 'config');
+ $this->publishes(['/../config/pheature_flags.php' => config_path('pheature_flags.php')], 'config');
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
Route::group($this->routeConfiguration(), function () {
$this->loadRoutesFrom(__DIR__ . '/../routes/pheature_flags.php');
|
The logs for this run have expired and are no longer available.
Loading