Skip to content

Commit

Permalink
[CI] PHP CS Fixer it up (#12)
Browse files Browse the repository at this point in the history
* [CI] PHP CS Fixer it up

* Skip broken test

* Extend new DI extension instead of legacy one tat was deprecated since 7.1
  • Loading branch information
bocharsky-bw authored Jun 27, 2024
1 parent d10534e commit 3ea3cb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bundle/DependencyInjection/MicroMapperExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ChildDefinition;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfonycasts\MicroMapper\AsMapper;

/**
Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/MicroMapperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
namespace Symfonycasts\MicroMapper\Tests\PHPStan;

use PHPStan\Testing\TypeInferenceTestCase;
use PHPUnit\Framework\SkippedTestError;

final class MicroMapperTest extends TypeInferenceTestCase
{
/** @return array<string, mixed[]> */
public static function dataFileAsserts(): iterable
{
throw new SkippedTestError('This PHPStan test causes conflicts with dependencies of Symfony PHPUnit Bridge');
yield from self::gatherAssertTypes(__DIR__.'/data/micro_mapper.php');
yield from self::gatherAssertTypes(__DIR__.'/data/mapper.php');
}
Expand Down

0 comments on commit 3ea3cb2

Please sign in to comment.