Skip to content

Update dependency phpunit/phpunit to v10 #1451

Update dependency phpunit/phpunit to v10

Update dependency phpunit/phpunit to v10 #1451

Triggered via pull request April 14, 2023 11:27
Status Success
Total duration 6m 9s
Artifacts

continuous-integration.yml

on: pull_request
run  /  Generate test matrix
2s
run / Generate test matrix
Matrix: run / Code Coverage
Matrix: run / Coding Standards
Matrix: run / Lint composer.json
Matrix: run / Lint symfony container
Matrix: run / Mutation Tests
Matrix: run / Static Code Analysis
Matrix: run / Lint twig files
Matrix: run / Lint XLIFF files
Matrix: run / Lint YML files
Matrix: run / tests
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
run / Mutation Tests (8.2): src/DependencyInjection/NucleosDompdfExtension.php#L30
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $configuration = new Configuration(); $config = $this->processConfiguration($configuration, $configs); $loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); - $loader->load('services.php'); + $container->setParameter('nucleos_dompdf.options', $config['defaults']); } }
run / Mutation Tests (8.2): src/Wrapper/DompdfWrapper.php#L45
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ $pdf = $this->dompdfFactory->create($options); $pdf->loadHtml($html); $pdf->render(); - if ($this->eventDispatcher instanceof EventDispatcherInterface) { + if (true) { $event = new StreamEvent($pdf, $filename, $html); $this->eventDispatcher->dispatch($event, DompdfEvents::STREAM); }
run / Mutation Tests (8.2): src/Wrapper/DompdfWrapper.php#L59
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ $pdf = $this->dompdfFactory->create($options); $pdf->loadHtml($html); $pdf->render(); - if ($this->eventDispatcher instanceof EventDispatcherInterface) { + if (true) { $event = new OutputEvent($pdf, $html); $this->eventDispatcher->dispatch($event, DompdfEvents::OUTPUT); }