mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[Composer] Bump phparkitect/phparkitect
This commit is contained in:
parent
b37ab5793d
commit
1b734d370a
2 changed files with 11 additions and 11 deletions
|
|
@ -212,7 +212,7 @@
|
||||||
"mikey179/vfsstream": "^1.6",
|
"mikey179/vfsstream": "^1.6",
|
||||||
"mockery/mockery": "^1.6",
|
"mockery/mockery": "^1.6",
|
||||||
"nyholm/psr7": "^1.8",
|
"nyholm/psr7": "^1.8",
|
||||||
"phparkitect/phparkitect": "^0.3",
|
"phparkitect/phparkitect": "^0.6",
|
||||||
"phpspec/phpspec": "^7.5",
|
"phpspec/phpspec": "^7.5",
|
||||||
"phpspec/prophecy-phpunit": "^2.2",
|
"phpspec/prophecy-phpunit": "^2.2",
|
||||||
"phpstan/extension-installer": "^1.4",
|
"phpstan/extension-installer": "^1.4",
|
||||||
|
|
|
||||||
|
|
@ -49,13 +49,13 @@ return static function (Config $config): void
|
||||||
$separationClassSet,
|
$separationClassSet,
|
||||||
Rule::allClasses()
|
Rule::allClasses()
|
||||||
->that(new ResideInOneOfTheseNamespaces('Sylius\Component'))
|
->that(new ResideInOneOfTheseNamespaces('Sylius\Component'))
|
||||||
->should(new NotDependsOnTheseNamespaces('Sylius\Bundle'))
|
->should(new NotDependsOnTheseNamespaces(['Sylius\Bundle']))
|
||||||
->because('Components should not depend on bundles')
|
->because('Components should not depend on bundles')
|
||||||
,
|
,
|
||||||
Rule::allClasses()
|
Rule::allClasses()
|
||||||
->except('Sylius\Component\Core')
|
->except('Sylius\Component\Core')
|
||||||
->that(new ResideInOneOfTheseNamespaces('Sylius\Component'))
|
->that(new ResideInOneOfTheseNamespaces('Sylius\Component'))
|
||||||
->should(new NotDependsOnTheseNamespaces('Sylius\Component\Core'))
|
->should(new NotDependsOnTheseNamespaces(['Sylius\Component\Core']))
|
||||||
->because('Stand-alone components should not depend on Core')
|
->because('Stand-alone components should not depend on Core')
|
||||||
,
|
,
|
||||||
Rule::allClasses()
|
Rule::allClasses()
|
||||||
|
|
@ -67,7 +67,7 @@ return static function (Config $config): void
|
||||||
'Sylius\Bundle\ShopBundle',
|
'Sylius\Bundle\ShopBundle',
|
||||||
)
|
)
|
||||||
->that(new ResideInOneOfTheseNamespaces('Sylius\Bundle'))
|
->that(new ResideInOneOfTheseNamespaces('Sylius\Bundle'))
|
||||||
->should(new NotDependsOnTheseNamespaces('Sylius\Component\Core'))
|
->should(new NotDependsOnTheseNamespaces(['Sylius\Component\Core']))
|
||||||
->because('Stand-alone bundles should not depend on Core')
|
->because('Stand-alone bundles should not depend on Core')
|
||||||
,
|
,
|
||||||
Rule::allClasses()
|
Rule::allClasses()
|
||||||
|
|
@ -79,30 +79,30 @@ return static function (Config $config): void
|
||||||
'Sylius\Bundle\ShopBundle',
|
'Sylius\Bundle\ShopBundle',
|
||||||
)
|
)
|
||||||
->that(new ResideInOneOfTheseNamespaces('Sylius\Bundle'))
|
->that(new ResideInOneOfTheseNamespaces('Sylius\Bundle'))
|
||||||
->should(new NotDependsOnTheseNamespaces('Sylius\Bundle\CoreBundle'))
|
->should(new NotDependsOnTheseNamespaces(['Sylius\Bundle\CoreBundle']))
|
||||||
->because('Stand-alone bundles should not depend on CoreBundle')
|
->because('Stand-alone bundles should not depend on CoreBundle')
|
||||||
,
|
,
|
||||||
Rule::allClasses()
|
Rule::allClasses()
|
||||||
->that(new ResideInOneOfTheseNamespaces('Sylius\Bundle\ShopBundle'))
|
->that(new ResideInOneOfTheseNamespaces('Sylius\Bundle\ShopBundle'))
|
||||||
->should(new NotDependsOnTheseNamespaces(
|
->should(new NotDependsOnTheseNamespaces(
|
||||||
'Sylius\Bundle\AdminBundle',
|
['Sylius\Bundle\AdminBundle'],
|
||||||
'Sylius\Bundle\ApiBundle',
|
['Sylius\Bundle\ApiBundle'],
|
||||||
))
|
))
|
||||||
->because('Shop should not depend on Admin and Api')
|
->because('Shop should not depend on Admin and Api')
|
||||||
,
|
,
|
||||||
Rule::allClasses()
|
Rule::allClasses()
|
||||||
->that(new ResideInOneOfTheseNamespaces('Sylius\Bundle\AdminBundle'))
|
->that(new ResideInOneOfTheseNamespaces('Sylius\Bundle\AdminBundle'))
|
||||||
->should(new NotDependsOnTheseNamespaces(
|
->should(new NotDependsOnTheseNamespaces(
|
||||||
'Sylius\Bundle\ApiBundle',
|
['Sylius\Bundle\ApiBundle'],
|
||||||
'Sylius\Bundle\ShopBundle',
|
['Sylius\Bundle\ShopBundle'],
|
||||||
))
|
))
|
||||||
->because('Admin should not depend on Shop and Api')
|
->because('Admin should not depend on Shop and Api')
|
||||||
,
|
,
|
||||||
Rule::allClasses()
|
Rule::allClasses()
|
||||||
->that(new ResideInOneOfTheseNamespaces('Sylius\Bundle\ApiBundle'))
|
->that(new ResideInOneOfTheseNamespaces('Sylius\Bundle\ApiBundle'))
|
||||||
->should(new NotDependsOnTheseNamespaces(
|
->should(new NotDependsOnTheseNamespaces(
|
||||||
'Sylius\Bundle\AdminBundle',
|
['Sylius\Bundle\AdminBundle'],
|
||||||
'Sylius\Bundle\ShopBundle',
|
['Sylius\Bundle\ShopBundle'],
|
||||||
))
|
))
|
||||||
->because('Api should not depend on Admin and Shop')
|
->because('Api should not depend on Admin and Shop')
|
||||||
,
|
,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue