Fix docs #84
Merged
Fix docs #84
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run infection:
src/RoadRunnerGrpcApplicationRunner.php#L45
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
* @psalm-param list<string> $nestedParamsGroups
* @psalm-param list<string> $nestedEventsGroups
*/
- public function __construct(string $rootPath, bool $debug = false, bool $checkEvents = false, ?string $environment = null, string $bootstrapGroup = 'bootstrap-web', string $eventsGroup = 'events-web', string $diGroup = 'di-web', string $diProvidersGroup = 'di-providers-web', string $diDelegatesGroup = 'di-delegates-web', string $diTagsGroup = 'di-tags-web', string $paramsGroup = 'params-web', array $nestedParamsGroups = ['params'], array $nestedEventsGroups = ['events'])
+ public function __construct(string $rootPath, bool $debug = true, bool $checkEvents = false, ?string $environment = null, string $bootstrapGroup = 'bootstrap-web', string $eventsGroup = 'events-web', string $diGroup = 'di-web', string $diProvidersGroup = 'di-providers-web', string $diDelegatesGroup = 'di-delegates-web', string $diTagsGroup = 'di-tags-web', string $paramsGroup = 'params-web', array $nestedParamsGroups = ['params'], array $nestedEventsGroups = ['events'])
{
parent::__construct($rootPath, $debug, $checkEvents, $environment, $bootstrapGroup, $eventsGroup, $diGroup, $diProvidersGroup, $diDelegatesGroup, $diTagsGroup, $paramsGroup, $nestedParamsGroups, $nestedEventsGroups);
}
|
Run infection:
src/RoadRunnerGrpcApplicationRunner.php#L46
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
* @psalm-param list<string> $nestedParamsGroups
* @psalm-param list<string> $nestedEventsGroups
*/
- public function __construct(string $rootPath, bool $debug = false, bool $checkEvents = false, ?string $environment = null, string $bootstrapGroup = 'bootstrap-web', string $eventsGroup = 'events-web', string $diGroup = 'di-web', string $diProvidersGroup = 'di-providers-web', string $diDelegatesGroup = 'di-delegates-web', string $diTagsGroup = 'di-tags-web', string $paramsGroup = 'params-web', array $nestedParamsGroups = ['params'], array $nestedEventsGroups = ['events'])
+ public function __construct(string $rootPath, bool $debug = false, bool $checkEvents = true, ?string $environment = null, string $bootstrapGroup = 'bootstrap-web', string $eventsGroup = 'events-web', string $diGroup = 'di-web', string $diProvidersGroup = 'di-providers-web', string $diDelegatesGroup = 'di-delegates-web', string $diTagsGroup = 'di-tags-web', string $paramsGroup = 'params-web', array $nestedParamsGroups = ['params'], array $nestedEventsGroups = ['events'])
{
parent::__construct($rootPath, $debug, $checkEvents, $environment, $bootstrapGroup, $eventsGroup, $diGroup, $diProvidersGroup, $diDelegatesGroup, $diTagsGroup, $paramsGroup, $nestedParamsGroups, $nestedEventsGroups);
}
|
Run infection:
src/RoadRunnerGrpcApplicationRunner.php#L55
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
* @psalm-param list<string> $nestedParamsGroups
* @psalm-param list<string> $nestedEventsGroups
*/
- public function __construct(string $rootPath, bool $debug = false, bool $checkEvents = false, ?string $environment = null, string $bootstrapGroup = 'bootstrap-web', string $eventsGroup = 'events-web', string $diGroup = 'di-web', string $diProvidersGroup = 'di-providers-web', string $diDelegatesGroup = 'di-delegates-web', string $diTagsGroup = 'di-tags-web', string $paramsGroup = 'params-web', array $nestedParamsGroups = ['params'], array $nestedEventsGroups = ['events'])
+ public function __construct(string $rootPath, bool $debug = false, bool $checkEvents = false, ?string $environment = null, string $bootstrapGroup = 'bootstrap-web', string $eventsGroup = 'events-web', string $diGroup = 'di-web', string $diProvidersGroup = 'di-providers-web', string $diDelegatesGroup = 'di-delegates-web', string $diTagsGroup = 'di-tags-web', string $paramsGroup = 'params-web', array $nestedParamsGroups = [], array $nestedEventsGroups = ['events'])
{
parent::__construct($rootPath, $debug, $checkEvents, $environment, $bootstrapGroup, $eventsGroup, $diGroup, $diProvidersGroup, $diDelegatesGroup, $diTagsGroup, $paramsGroup, $nestedParamsGroups, $nestedEventsGroups);
}
|
Run infection:
src/RoadRunnerGrpcApplicationRunner.php#L56
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
* @psalm-param list<string> $nestedParamsGroups
* @psalm-param list<string> $nestedEventsGroups
*/
- public function __construct(string $rootPath, bool $debug = false, bool $checkEvents = false, ?string $environment = null, string $bootstrapGroup = 'bootstrap-web', string $eventsGroup = 'events-web', string $diGroup = 'di-web', string $diProvidersGroup = 'di-providers-web', string $diDelegatesGroup = 'di-delegates-web', string $diTagsGroup = 'di-tags-web', string $paramsGroup = 'params-web', array $nestedParamsGroups = ['params'], array $nestedEventsGroups = ['events'])
+ public function __construct(string $rootPath, bool $debug = false, bool $checkEvents = false, ?string $environment = null, string $bootstrapGroup = 'bootstrap-web', string $eventsGroup = 'events-web', string $diGroup = 'di-web', string $diProvidersGroup = 'di-providers-web', string $diDelegatesGroup = 'di-delegates-web', string $diTagsGroup = 'di-tags-web', string $paramsGroup = 'params-web', array $nestedParamsGroups = ['params'], array $nestedEventsGroups = [])
{
parent::__construct($rootPath, $debug, $checkEvents, $environment, $bootstrapGroup, $eventsGroup, $diGroup, $diProvidersGroup, $diDelegatesGroup, $diTagsGroup, $paramsGroup, $nestedParamsGroups, $nestedEventsGroups);
}
|
Run infection:
src/RoadRunnerGrpcApplicationRunner.php#L77
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
public function run() : void
{
- $server = new Server($this->getInvoker(), ['debug' => $this->debug]);
+ $server = new Server($this->getInvoker(), []);
/**
* @var class-string<ServiceInterface> $interface
* @var ServiceInterface $service
|
Run infection:
src/RoadRunnerGrpcApplicationRunner.php#L83
Escaped Mutant for Mutator "Foreach_":
--- Original
+++ New
@@ @@
* @var class-string<ServiceInterface> $interface
* @var ServiceInterface $service
*/
- foreach ($this->getServices() as $interface => $service) {
+ foreach (array() as $interface => $service) {
$server->registerService($interface, new $service());
}
$server->serve($this->getWorker(), static function () {
|
Run infection:
src/RoadRunnerGrpcApplicationRunner.php#L84
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
* @var ServiceInterface $service
*/
foreach ($this->getServices() as $interface => $service) {
- $server->registerService($interface, new $service());
+
}
$server->serve($this->getWorker(), static function () {
gc_collect_cycles();
|
Run infection:
src/RoadRunnerGrpcApplicationRunner.php#L88
Escaped Mutant for Mutator "FunctionCallRemoval":
--- Original
+++ New
@@ @@
$server->registerService($interface, new $service());
}
$server->serve($this->getWorker(), static function () {
- gc_collect_cycles();
+
});
}
/**
|
Run infection:
src/RoadRunnerGrpcApplicationRunner.php#L99
Escaped Mutant for Mutator "CloneRemoval":
--- Original
+++ New
@@ @@
*/
public function withWorker(Worker $worker) : self
{
- $instance = clone $this;
+ $instance = $this;
$instance->worker = $worker;
return $instance;
}
|
Run infection:
src/RoadRunnerGrpcApplicationRunner.php#L129
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
{
return $this->services;
}
- public function getWorker() : Worker
+ protected function getWorker() : Worker
{
return $this->worker ?? Worker::create();
}
|
Loading