Skip to content

Commit 6f90066

Browse files
committed
Various alignments with PluginSkeleton
1 parent 533507c commit 6f90066

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ jobs:
149149
name: Prepare test application assets
150150
run: |
151151
(cd tests/Application && bin/console assets:install public -vvv)
152-
(cd tests/Application && bin/console sylius:install:assets -vvv)
153152
(cd tests/Application && yarn build:prod)
154153
155154
-
@@ -170,7 +169,7 @@ jobs:
170169

171170
-
172171
name: Run PHPStan
173-
run: vendor/bin/phpstan analyse
172+
run: vendor/bin/phpstan analyse -c phpstan.neon -l max src/
174173

175174
-
176175
name: Run Psalm
@@ -186,7 +185,7 @@ jobs:
186185

187186
-
188187
name: Run Behat
189-
run: vendor/bin/behat --colors --strict -vvv --no-interaction || vendor/bin/behat --colors --strict -vvv --no-interaction --rerun
188+
run: vendor/bin/behat --colors --strict -vvv --no-interaction -f progress || vendor/bin/behat --colors --strict -vvv --no-interaction -f progress --rerun
190189

191190
-
192191
name: Upload Behat logs

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@
6666
"extra": {
6767
"branch-alias": {
6868
"dev-master": "2.0-dev"
69+
},
70+
"symfony": {
71+
"require": "^6.4"
6972
}
7073
},
7174
"autoload": {

tests/Application/config/packages/_sylius.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ imports:
55
- { resource: "@SyliusShopBundle/Resources/config/app/config.yml" }
66
- { resource: "@SyliusApiBundle/Resources/config/app/config.yaml" }
77

8+
- { resource: '@WebgriffeSyliusAkeneoPlugin/config/config.yaml' }
89
- { resource: '../fixtures/*.yaml' }
910

1011
parameters:

tests/Application/config/packages/framework.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ framework:
44
csrf_protection: true
55
session:
66
handler_id: ~
7+
annotations:
8+
enabled: false

tests/Application/config/packages/security.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ security:
113113
access_control:
114114
- { path: "%sylius.security.admin_regex%/forgotten-password", role: PUBLIC_ACCESS }
115115

116-
- { path: "%sylius.security.admin_regex%/forgotten-password", role: PUBLIC_ACCESS }
117-
118116
- { path: "%sylius.security.admin_regex%/login", role: PUBLIC_ACCESS }
119117
- { path: "%sylius.security.shop_regex%/login", role: PUBLIC_ACCESS }
120118

tests/Application/config/routes/sylius_shop.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ sylius_shop_request_password_reset_token_redirect:
2323
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
2424
defaults:
2525
route: sylius_shop_request_password_reset_token
26-
permanent: false
26+
permanent: false

tests/Application/config/services_test.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,3 @@ services:
1212

1313
webgriffe_sylius_akeneo.date_time_builder:
1414
class: 'Tests\Webgriffe\SyliusAkeneoPlugin\TestDouble\DateTimeBuilder'
15-
16-
Sylius\Component\Core\Generator\ImagePathGeneratorInterface:
17-
class: 'Sylius\Component\Core\Generator\UploadedImagePathGenerator'

0 commit comments

Comments
 (0)