diff --git a/config/bundles.php b/config/bundles.php index 7738f19..6a662f2 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -1,16 +1,56 @@ - ['all' => true], - Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true], - Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], - Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true], - Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], - Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true], - Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true], - Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], - Nelmio\CorsBundle\NelmioCorsBundle::class => ['all' => true], - ApiPlatform\Symfony\Bundle\ApiPlatformBundle::class => ['all' => true], - Liip\TestFixturesBundle\LiipTestFixturesBundle::class => ['dev' => true, 'test' => true], - Symfonycasts\TailwindBundle\SymfonycastsTailwindBundle::class => ['all' => true], + FrameworkBundle::class => [ + 'all' => true, + ], + MakerBundle::class => [ + 'dev' => true, + ], + DoctrineBundle::class => [ + 'all' => true, + ], + DoctrineMigrationsBundle::class => [ + 'all' => true, + ], + TwigBundle::class => [ + 'all' => true, + ], + DoctrineFixturesBundle::class => [ + 'dev' => true, + 'test' => true, + ], + WebProfilerBundle::class => [ + 'dev' => true, + 'test' => true, + ], + SecurityBundle::class => [ + 'all' => true, + ], + NelmioCorsBundle::class => [ + 'all' => true, + ], + ApiPlatformBundle::class => [ + 'all' => true, + ], + LiipTestFixturesBundle::class => [ + 'dev' => true, + 'test' => true, + ], + SymfonycastsTailwindBundle::class => [ + 'all' => true, + ], ]; diff --git a/config/packages/asset_mapper.php b/config/packages/asset_mapper.php index 4b68e6a..3a3cc5f 100644 --- a/config/packages/asset_mapper.php +++ b/config/packages/asset_mapper.php @@ -1,6 +1,4 @@ -filter('tbody tr'); - $tdContent = $rows->eq(0)->filter('td')->eq(2)->text(); + $tdContent = $rows->eq(0) + ->filter('td') + ->eq(2) + ->text(); $this->assertEquals('A', $tdContent); - $tdContent = $rows->eq(1)->filter('td')->eq(2)->text(); + $tdContent = $rows->eq(1) + ->filter('td') + ->eq(2) + ->text(); $this->assertEquals('B', $tdContent); - $tdContent = $rows->eq(2)->filter('td')->eq(2)->text(); + $tdContent = $rows->eq(2) + ->filter('td') + ->eq(2) + ->text(); $this->assertEquals('C', $tdContent); }); diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php index 9ff5eae..029be1b 100644 --- a/tests/Unit/ExampleTest.php +++ b/tests/Unit/ExampleTest.php @@ -2,15 +2,20 @@ test('example test', function (): void { // This is a simple example test - expect(true)->toBeTrue(); - expect(1 + 1)->toBe(2); - expect('hello world')->toContain('world'); + expect(true) + ->toBeTrue(); + expect(1 + 1) + ->toBe(2); + expect('hello world') + ->toContain('world'); }); test('array operations', function (): void { $array = [1, 2, 3]; - - expect($array)->toHaveCount(3); - expect($array)->toContain(2); + + expect($array) + ->toHaveCount(3); + expect($array) + ->toContain(2); expect($array[0])->toBe(1); -}); \ No newline at end of file +});