Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HypeMC committed Dec 12, 2024
1 parent 65c9675 commit 3208499
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ jobs:
ini-values: zend.exception_ignore_args=false
tools: flex

- name: Downgrade PHPUnit for PHP 8.1
if: matrix.php == '8.1'
run: |
composer require --dev --no-update phpunit/phpunit:^10.5
sed -i 's/failOnPhpunitDeprecation="true"//g' phpunit.dist.xml
- name: Install Dependencies
uses: ramsey/composer-install@v2
with:
Expand Down
2 changes: 0 additions & 2 deletions tests/Test/InteractsWithPurgatoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace Sofascore\PurgatoryBundle\Tests\Test;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Sofascore\PurgatoryBundle\Purger\AsyncPurger;
Expand All @@ -18,7 +17,6 @@
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\Messenger\MessageBusInterface;

#[CoversClass(InteractsWithPurgatory::class)]
final class InteractsWithPurgatoryTest extends TestCase
{
#[DataProvider('provideTraitTestCases')]
Expand Down

0 comments on commit 3208499

Please sign in to comment.