Skip to content

Add UPGRADE.md

Add UPGRADE.md #444

Triggered via pull request July 15, 2024 10:28
@vjikvjik
opened #82
upgrade
Status Success
Total duration 1m 3s
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#L66
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', private ?LoggerInterface $logger = null, private ?int $bufferSize = null) + 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', private ?LoggerInterface $logger = null, private ?int $bufferSize = null) { 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#L67
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', private ?LoggerInterface $logger = null, private ?int $bufferSize = null) + 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', private ?LoggerInterface $logger = null, private ?int $bufferSize = null) { 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#L76
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', private ?LoggerInterface $logger = null, private ?int $bufferSize = null) + 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', private ?LoggerInterface $logger = null, private ?int $bufferSize = null) { 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#L77
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', private ?LoggerInterface $logger = null, private ?int $bufferSize = null) + 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', private ?LoggerInterface $logger = null, private ?int $bufferSize = null) { 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#L133
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.
mutation / PHP 8.3-ubuntu-latest: src/HttpApplicationRunner.php#L144
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#L145
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#L208
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); } }
mutation / PHP 8.3-ubuntu-latest: src/RequestFactory.php#L86
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); } }