Skip to content

Commit

Permalink
Trying to fix infection with sf7
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Apr 26, 2024
1 parent f230478 commit 2b1350e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,9 @@ jobs:
run: vendor/bin/phpunit

- name: Run Infection
if: ${{matrix.symfony == '^7.0' }}
run: phpdbg -qrr vendor/bin/infection --min-msi=82

- name: Run Infection
if: ${{matrix.symfony != '^7.0' }}
run: phpdbg -qrr vendor/bin/infection --min-msi=100
4 changes: 0 additions & 4 deletions tests/Factory/ContainerAwareVersionFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ public function migrations_implementing_container_aware_interface_are_injected_w
/** @test */
public function migrations_not_implementing_container_aware_interface_are_not_injected_with_container(): void
{
if (Kernel::MAJOR_VERSION >= 7) {
$this->markTestSkipped();
}

// Arrange
$decoratedFactory = $this->createMock(MigrationFactory::class);
$container = $this->createMock(ContainerInterface::class);
Expand Down

0 comments on commit 2b1350e

Please sign in to comment.