Skip to content

Commit

Permalink
Apply coding standard on test applicatioh
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Sep 13, 2024
1 parent 7f21890 commit 656f97e
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 4 deletions.
9 changes: 9 additions & 0 deletions app/DataFixtures/AppFixtures.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace App\DataFixtures;
Expand Down
9 changes: 9 additions & 0 deletions app/Entity/Book.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace App\Entity;
Expand Down
9 changes: 9 additions & 0 deletions app/Factory/BookFactory.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace App\Factory;
Expand Down
8 changes: 4 additions & 4 deletions app/Grid/BookGrid.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

/*
* This file is part of SyliusUi.
* This file is part of the Sylius package.
*
* (c) Monofony
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down Expand Up @@ -66,8 +66,8 @@ public function buildGrid(GridBuilderInterface $gridBuilder): void
)
->addActionGroup(
BulkActionGroup::create(
DeleteAction::create()
)
DeleteAction::create(),
),
)
;
}
Expand Down
11 changes: 11 additions & 0 deletions app/Kernel.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<?php

/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace App;

use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
Expand Down
9 changes: 9 additions & 0 deletions app/Repository/BookRepository.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace App\Repository;
Expand Down
9 changes: 9 additions & 0 deletions app/Story/DefaultBooksStory.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace App\Story;
Expand Down
1 change: 1 addition & 0 deletions ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

return static function (ECSConfig $ecsConfig): void {
$ecsConfig->paths([
__DIR__ . '/app',
__DIR__ . '/src',
]);

Expand Down

0 comments on commit 656f97e

Please sign in to comment.