Skip to content

Commit

Permalink
minor #14708 Add missing final keywords to Spec tests (jakubtobiasz)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | n/a                      |
| License         | MIT                                                          |

During CI refactor, I've fixed PHPArkitect. It was complaining about missing final keywords, so I add id as a separate PR before opening a PR with new CI 💃🏼.

Commits
-------

48f0b24 Add missing final keywords to Spec tests
  • Loading branch information
GSadee committed Jan 12, 2023
2 parents 532dff1 + 48f0b24 commit 26d6a10
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
use Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface;
use Symfony\Component\HttpFoundation\Session\SessionInterface;

class ZoneMemberIntegrityListenerSpec extends ObjectBehavior
final class ZoneMemberIntegrityListenerSpec extends ObjectBehavior
{
function let(
RequestStack $requestStack,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use Sylius\Component\Addressing\Model\CountryInterface;
use Sylius\Component\Core\Model\ProductInterface;

class CountryDataPersisterSpec extends ObjectBehavior
final class CountryDataPersisterSpec extends ObjectBehavior
{
function let(
ContextAwareDataPersisterInterface $decoratedDataPersister,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use Sylius\Component\Addressing\Model\ZoneInterface;
use Sylius\Component\Core\Model\ProductInterface;

class ZoneDataPersisterSpec extends ObjectBehavior
final class ZoneDataPersisterSpec extends ObjectBehavior
{
function let(
ContextAwareDataPersisterInterface $decoratedDataPersister,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
use Symfony\Component\Serializer\Normalizer\AbstractNormalizer;
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;

class ZoneDenormalizerSpec extends ObjectBehavior
final class ZoneDenormalizerSpec extends ObjectBehavior
{
function let(IriConverterInterface $iriConverter): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
use Sylius\Component\Addressing\Model\ZoneMemberInterface;
use Sylius\Component\Resource\Repository\RepositoryInterface;

class CountryProvincesDeletionCheckerSpec extends ObjectBehavior
final class CountryProvincesDeletionCheckerSpec extends ObjectBehavior
{
function let(
RepositoryInterface $zoneMemberRepository,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use Sylius\Component\Addressing\Model\ZoneMemberInterface;
use Sylius\Component\Resource\Repository\RepositoryInterface;

class ZoneDeletionCheckerSpec extends ObjectBehavior
final class ZoneDeletionCheckerSpec extends ObjectBehavior
{
function let(RepositoryInterface $zoneMemberRepository): void
{
Expand Down

0 comments on commit 26d6a10

Please sign in to comment.