Skip to content

Docs folder standardization and other fixes #427

Docs folder standardization and other fixes

Docs folder standardization and other fixes #427

Triggered via pull request April 22, 2024 13:49
Status Success
Total duration 1m 2s
Artifacts

mutation.yml

on: pull_request
Matrix: mutation / roave-infection
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
mutation / PHP 8.3-ubuntu-latest: src/HttpApplicationRunner.php#L64
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ * @psalm-param list<string> $nestedEventsGroups * @psalm-param list<object> $configModifiers */ - 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'], array $configModifiers = [], string $configDirectory = 'config', string $vendorDirectory = 'vendor', string $configMergePlanFile = '.merge-plan.php') + 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'], array $configModifiers = [], string $configDirectory = 'config', string $vendorDirectory = 'vendor', string $configMergePlanFile = '.merge-plan.php') { parent::__construct($rootPath, $debug, $checkEvents, $environment, $bootstrapGroup, $eventsGroup, $diGroup, $diProvidersGroup, $diDelegatesGroup, $diTagsGroup, $paramsGroup, $nestedParamsGroups, $nestedEventsGroups, $configModifiers, $configDirectory, $vendorDirectory, $configMergePlanFile); }
mutation / PHP 8.3-ubuntu-latest: src/HttpApplicationRunner.php#L65
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ * @psalm-param list<string> $nestedEventsGroups * @psalm-param list<object> $configModifiers */ - 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'], array $configModifiers = [], string $configDirectory = 'config', string $vendorDirectory = 'vendor', string $configMergePlanFile = '.merge-plan.php') + 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'], array $configModifiers = [], string $configDirectory = 'config', string $vendorDirectory = 'vendor', string $configMergePlanFile = '.merge-plan.php') { parent::__construct($rootPath, $debug, $checkEvents, $environment, $bootstrapGroup, $eventsGroup, $diGroup, $diProvidersGroup, $diDelegatesGroup, $diTagsGroup, $paramsGroup, $nestedParamsGroups, $nestedEventsGroups, $configModifiers, $configDirectory, $vendorDirectory, $configMergePlanFile); }
mutation / PHP 8.3-ubuntu-latest: src/HttpApplicationRunner.php#L74
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ * @psalm-param list<string> $nestedEventsGroups * @psalm-param list<object> $configModifiers */ - 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'], array $configModifiers = [], string $configDirectory = 'config', string $vendorDirectory = 'vendor', string $configMergePlanFile = '.merge-plan.php') + 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'], array $configModifiers = [], string $configDirectory = 'config', string $vendorDirectory = 'vendor', string $configMergePlanFile = '.merge-plan.php') { parent::__construct($rootPath, $debug, $checkEvents, $environment, $bootstrapGroup, $eventsGroup, $diGroup, $diProvidersGroup, $diDelegatesGroup, $diTagsGroup, $paramsGroup, $nestedParamsGroups, $nestedEventsGroups, $configModifiers, $configDirectory, $vendorDirectory, $configMergePlanFile); }
mutation / PHP 8.3-ubuntu-latest: src/HttpApplicationRunner.php#L75
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ * @psalm-param list<string> $nestedEventsGroups * @psalm-param list<object> $configModifiers */ - 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'], array $configModifiers = [], string $configDirectory = 'config', string $vendorDirectory = 'vendor', string $configMergePlanFile = '.merge-plan.php') + 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 = [], array $configModifiers = [], string $configDirectory = 'config', string $vendorDirectory = 'vendor', string $configMergePlanFile = '.merge-plan.php') { parent::__construct($rootPath, $debug, $checkEvents, $environment, $bootstrapGroup, $eventsGroup, $diGroup, $diProvidersGroup, $diDelegatesGroup, $diTagsGroup, $paramsGroup, $nestedParamsGroups, $nestedEventsGroups, $configModifiers, $configDirectory, $vendorDirectory, $configMergePlanFile); }
mutation / PHP 8.3-ubuntu-latest: src/HttpApplicationRunner.php#L129
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $startTime = microtime(true); // Register temporary error handler to catch error while container is building. $temporaryErrorHandler = $this->createTemporaryErrorHandler(); - $this->registerErrorHandler($temporaryErrorHandler); + $container = $this->getContainer(); // Register error handler with real container-configured dependencies. /** @var ErrorHandler $actualErrorHandler */
mutation / PHP 8.3-ubuntu-latest: src/HttpApplicationRunner.php#L138
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ /** @var ErrorHandler $actualErrorHandler */ $actualErrorHandler = $container->get(ErrorHandler::class); $this->registerErrorHandler($actualErrorHandler, $temporaryErrorHandler); - $this->runBootstrap(); + $this->checkEvents(); /** @var Application $application */ $application = $container->get(Application::class);
mutation / PHP 8.3-ubuntu-latest: src/HttpApplicationRunner.php#L139
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $actualErrorHandler = $container->get(ErrorHandler::class); $this->registerErrorHandler($actualErrorHandler, $temporaryErrorHandler); $this->runBootstrap(); - $this->checkEvents(); + /** @var Application $application */ $application = $container->get(Application::class); /**
mutation / PHP 8.3-ubuntu-latest: src/HttpApplicationRunner.php#L177
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ if ($this->temporaryErrorHandler !== null) { return $this->temporaryErrorHandler; } - $logger = new Logger([new FileTarget("{$this->rootPath}/runtime/logs/app.log")]); + $logger = new Logger([]); return new ErrorHandler($logger, new HtmlRenderer()); } /**
mutation / PHP 8.3-ubuntu-latest: src/HttpApplicationRunner.php#L200
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ if ($this->debug) { $registered->debug(); } - $registered->register(); + } }
mutation / PHP 8.3-ubuntu-latest: src/RequestFactory.php#L85
Escaped Mutant for Mutator "PregMatchRemoveCaret": --- Original +++ New @@ @@ // Parse body if ($method === 'POST') { $contentType = $request->getHeaderLine('content-type'); - if (preg_match('~^application/x-www-form-urlencoded($| |;)~', $contentType) || preg_match('~^multipart/form-data($| |;)~', $contentType)) { + if (preg_match('~application/x-www-form-urlencoded($| |;)~', $contentType) || preg_match('~^multipart/form-data($| |;)~', $contentType)) { $request = $request->withParsedBody($_POST); } }