Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design v2 #2744

Open
wants to merge 57 commits into
base: next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
c84d193
[Design-v2] - set webpack , base scss styles, b-icons, flag-icons, h…
codingioanniskrikos Sep 9, 2024
16b621f
[Design-v2] - test
codingioanniskrikos Sep 9, 2024
92557ab
[Design-v2] - topbar, cart widget
codingioanniskrikos Sep 9, 2024
a40826a
[Design-v2] - remove extra template
codingioanniskrikos Sep 9, 2024
e0fe1a7
[Design-v2] - product preview , form
codingioanniskrikos Sep 11, 2024
83f4e68
[Design-v2] - product detail
codingioanniskrikos Sep 12, 2024
ed8beb9
[Design-v2] - category, add cart
codingioanniskrikos Sep 13, 2024
fee078f
[Design-v2] - category, checkout cart step 1
codingioanniskrikos Sep 17, 2024
959ef73
[Design-v2] - cart steps
codingioanniskrikos Sep 17, 2024
33142fd
[Design-v2] - checkout steps
codingioanniskrikos Sep 18, 2024
43c20c2
[Design-v2] - flash message, summary
codingioanniskrikos Sep 19, 2024
4b5e403
[Design-v2] - change logic for the javascripts, bootstrap 5.3
codingioanniskrikos Sep 23, 2024
4faa213
[Design-v2] - add JS
codingioanniskrikos Sep 24, 2024
d5b9e2c
[Design-v2] - checkout thank summary
codingioanniskrikos Sep 24, 2024
5d768ef
[Design-v2] - profile pages
codingioanniskrikos Sep 27, 2024
9308ea3
[Desing-v2] - profile pages
codingioanniskrikos Sep 27, 2024
b95d5c9
Merge branch 'next' into Design-v2
codingioanniskrikos Oct 9, 2024
60387b2
[Design-v2] - remove jquery, convert to vanillajs, remove packages no…
codingioanniskrikos Oct 10, 2024
252f36d
[Design-v2] - format address JS
codingioanniskrikos Oct 10, 2024
ffb9755
[Design-v2] - cart list
codingioanniskrikos Oct 14, 2024
94143a8
[Design-v2] - load Cart widget vis AJax request
codingioanniskrikos Oct 21, 2024
d30214e
Merge branch 'next' into Design-v2
dpfaffenbauer Nov 5, 2024
12ba2da
[Design-v2] - refactor code - SonarCloud
codingioanniskrikos Nov 5, 2024
5505c9e
[Design-v2] - refactor SonarCloud
codingioanniskrikos Nov 5, 2024
6da3310
[Design-v2] - refactor SonarCloud
codingioanniskrikos Nov 5, 2024
cc889c9
[Design-v2] - refactor sonarcloud
codingioanniskrikos Nov 6, 2024
a9532ca
[Design-v2] - refactor sonarcloud
codingioanniskrikos Nov 6, 2024
3440852
[Design-v2]- refactor sonarcloud
codingioanniskrikos Nov 6, 2024
6f9ce43
[Design-v2] - refactor sonarcloud test
codingioanniskrikos Nov 6, 2024
8846507
[Design-v2] - refactor code
codingioanniskrikos Nov 6, 2024
309324c
[Design-v2] - refactor code
codingioanniskrikos Nov 6, 2024
0be3dc8
[Design-v2] - remove defer
codingioanniskrikos Nov 6, 2024
5c6ce89
[Design-v2] - fix Behat part 1
codingioanniskrikos Nov 6, 2024
7acf93d
[Behat] fix checkbox click
dpfaffenbauer Nov 6, 2024
c24ad5c
[Design-v2] - Behat tests
codingioanniskrikos Nov 8, 2024
93a8579
[Design-v2] - refactor sonarcloud
codingioanniskrikos Nov 8, 2024
7608765
[Design-v2] - behat test, category filter icons
codingioanniskrikos Nov 11, 2024
76dc279
[Design-v2] - behat fix feature
codingioanniskrikos Nov 14, 2024
19fbc1e
[DesignV2] use webpack builds and asset paths
dpfaffenbauer Nov 14, 2024
39c10f7
Merge branch 'Design-v2' of github.com:codingioanniskrikos/CoreShop i…
dpfaffenbauer Nov 14, 2024
fca53aa
[DesignV2] reverts
dpfaffenbauer Nov 14, 2024
b84467e
[DesignV2] use address formatter
dpfaffenbauer Nov 14, 2024
425956d
[Design-v2] - adapt style and structure
codingioanniskrikos Nov 25, 2024
48d9f61
[Design-v2] - fix behat test
codingioanniskrikos Nov 26, 2024
085336d
[Design-v2] - Category page, Wishlist add/remove, gift, Units price
codingioanniskrikos Nov 27, 2024
3fcb57c
[Design-v2] - remove shortdescription
codingioanniskrikos Nov 27, 2024
f5e8042
Merge branch 'next' into Design-v2
dpfaffenbauer Feb 17, 2025
98b5157
[PHP8-4] updates
codingioanniskrikos Feb 19, 2025
68de8b5
Merge branch 'next' into Design-v2
codingioanniskrikos Feb 19, 2025
2d6117f
php8.4
dpfaffenbauer Feb 19, 2025
df2a59d
[Pimcore] remove downward compatibility - Pimcore is not compatible i…
dpfaffenbauer Feb 19, 2025
6ab890a
use payum/payum 2.0
dpfaffenbauer Feb 19, 2025
9d54319
use payum/payum 2.0
dpfaffenbauer Feb 19, 2025
7c13b40
[PHP8.4] fixes
dpfaffenbauer Feb 19, 2025
33ddf24
[PHP8.4] fixes
dpfaffenbauer Feb 19, 2025
a719852
use payum/payum 2.0
dpfaffenbauer Feb 19, 2025
bc240ca
[PHP8.4] stan and psalm
dpfaffenbauer Feb 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 1 addition & 11 deletions .github/workflows/behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,9 @@ jobs:
strategy:
matrix:
php: [ 8.3, 8.4 ]
pimcore: [ ^11.5, ^12.0 ]
pimcore: [ ^12.0 ]
jms: [ ^4.0, ^5.0 ]
dependencies: [ highest ]
exclude:
- pimcore: ^11.5
php: 8.4

services:
database:
Expand Down Expand Up @@ -94,13 +91,6 @@ jobs:
- name: pimcore/pimcore
run: |
composer req pimcore/pimcore:${{ matrix.pimcore }} --no-interaction --no-scripts --no-update
if [ "${{ matrix.pimcore }}" == "^11.5" ]; then
composer req pimcore/admin-ui-classic-bundle:^1.6 --no-interaction --no-scripts --no-update
else
composer req pimcore/admin-ui-classic-bundle:^2.0 --no-interaction --no-scripts --no-update
composer req payum/payum:1.7.x-dev --no-interaction --no-scripts --no-update
fi


- if: matrix.dependencies == 'highest'
name: Install dependencies highest
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/behat_ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,9 @@ jobs:
strategy:
matrix:
php: [ 8.3, 8.4 ]
pimcore: [ ^11.5, ^12.0 ]
pimcore: [ ^12.0 ]
jms: [ ^4.0, ^5.0 ]
dependencies: [ highest ]
exclude:
- pimcore: ^11.5
php: 8.4

services:
database:
Expand Down Expand Up @@ -102,12 +99,6 @@ jobs:
- name: pimcore/pimcore
run: |
composer req pimcore/pimcore:${{ matrix.pimcore }} --no-interaction --no-scripts --no-update
if [ "${{ matrix.pimcore }}" == "^11.5" ]; then
composer req pimcore/admin-ui-classic-bundle:^1.6 --no-interaction --no-scripts --no-update
else
composer req pimcore/admin-ui-classic-bundle:^2.0 --no-interaction --no-scripts --no-update
composer req payum/payum:1.7.x-dev --no-interaction --no-scripts --no-update
fi

- if: matrix.dependencies == 'highest'
name: Install dependencies highest
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/packages_bundles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,9 @@ jobs:
fail-fast: false
matrix:
php: [ 8.3, 8.4 ]
pimcore: [ ^11.5, ^12.0 ]
pimcore: [ ^12.0 ]
dependencies: [ highest ]
package: "${{ fromJson(needs.list.outputs.packages) }}"
exclude:
- pimcore: ^11.5
php: 8.4

steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/packages_components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,9 @@ jobs:
fail-fast: false
matrix:
php: [ 8.3, 8.4 ]
pimcore: [ ^11.5, ^12.0 ]
pimcore: [ ^12.0 ]
dependencies: [ highest ]
package: "${{ fromJson(needs.list.outputs.packages) }}"
exclude:
- pimcore: ^11.5
php: 8.4

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ jobs:
strategy:
matrix:
php: [ 8.3, 8.4 ]
pimcore: [ ^11.5, ^12.0 ]
pimcore: [ ^12.0 ]
jms: [ ^4.0, ^5.0 ]
dependencies: [ highest ]

services:
database:
image: "mysql:8"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*.exe
*.o
*.so
cache

######################
# Packages #
Expand Down
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,31 +95,31 @@
"gedmo/doctrine-extensions": "^3.11",
"jms/serializer-bundle": "^5.0",
"knplabs/knp-menu-bundle": "^3.1",
"payum/payum": "^1.7",
"payum/payum": "^2.0",
"payum/payum-bundle": "^2.6",
"php-http/guzzle7-adapter": "^1.0",
"php-http/message-factory": "^1.1",
"pimcore/admin-ui-classic-bundle": "^1.6 || ^2.0",
"pimcore/admin-ui-classic-bundle": "^2.0",
"pimcore/google-marketing-bundle": "^1.0",
"pimcore/newsletter-bundle": "^1.0",
"pimcore/pimcore": "^11.5 || ^12.0",
"pimcore/pimcore": "^12.0",
"pimcore/web-to-print-bundle": "^1.3",
"rinvex/countries": "^7.3",
"sebastian/diff": "^4.0 | ^5.0 | ^6.0",
"stof/doctrine-extensions-bundle": "^1.6",
"sylius/theme-bundle": "^2.2",
"sylius/theme-bundle": "^2.4",
"symfony/dotenv": "^6.3",
"symfony/form": "^6.3",
"symfony/http-client": "^6.3",
"symfony/intl": "^6.3",
"symfony/notifier": "^6.3",
"symfony/serializer": "^6.3",
"symfony/twig-bundle": "^6.3",
"symfony/form": "^6.3",
"webmozart/assert": "^1.10"
},
"require-dev": {
"behat/behat": "^3.8",
"behat/mink": "^1.8",
"behat/mink": "^1.12",
"chrome-php/chrome": "^1.11",
"dbrekelmans/bdi": "^1.0",
"friends-of-behat/mink-debug-extension": "^2.0",
Expand All @@ -139,8 +139,7 @@
"vimeo/psalm": "^5.23 || ^6.0"
},
"conflict": {
"twig/twig": ">=3.9.0 <3.14.0",
"pimcore/pimcore": "11.3.1"
"twig/twig": ">=3.9.0 <3.14.0"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 0 additions & 1 deletion config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
return [
Pimcore\Bundle\SimpleBackendSearchBundle\PimcoreSimpleBackendSearchBundle::class => ['all' => true],
Pimcore\Bundle\SeoBundle\PimcoreSeoBundle::class => ['all' => true],
Pimcore\Bundle\TinymceBundle\PimcoreTinymceBundle::class => ['all' => true],
Pimcore\Bundle\ApplicationLoggerBundle\PimcoreApplicationLoggerBundle::class => ['all' => true],
Pimcore\Bundle\StaticRoutesBundle\PimcoreStaticRoutesBundle::class => ['all' => true],
Pimcore\Bundle\NewsletterBundle\PimcoreNewsletterBundle::class => ['all' => true],
Expand Down
10 changes: 5 additions & 5 deletions docs/01_Getting_Started/04_Tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ SYMFONY_ENV=test vendor/bin/phpstan analyse -c phpstan.neon src -l 3 --memory-li
#### Install Pimcore and CoreShop in Test Env

```
APP_ENV=test PIMCORE_TEST_DB_DSN=mysql://root:ROOT@coreshop4.1-db/coreshop4_1___behat PIMCORE_INSTALL_ADMIN_USERNAME=admin PIMCORE_INSTALL_ADMIN_PASSWORD=admin PIMCORE_INSTALL_MYSQL_HOST_SOCKET=coreshop4.1-db PIMCORE_INSTALL_MYSQL_USERNAME=root PIMCORE_INSTALL_MYSQL_PASSWORD=ROOT PIMCORE_INSTALL_MYSQL_DATABASE=coreshop4_1___behat PIMCORE_INSTALL_MYSQL_PORT=3306 PIMCORE_KERNEL_CLASS=Kernel vendor/bin/pimcore-install --env=test --skip-database-config -n
APP_ENV=test PIMCORE_TEST_DB_DSN=mysql://root:ROOT@coreshop4.1-db/coreshop4_1___behat bin/console coreshop:install
APP_ENV=test PIMCORE_TEST_DB_DSN=mysql://root:ROOT@db/coreshop5___behat PIMCORE_INSTALL_ADMIN_USERNAME=admin PIMCORE_INSTALL_ADMIN_PASSWORD=admin PIMCORE_INSTALL_MYSQL_HOST_SOCKET=db PIMCORE_INSTALL_MYSQL_USERNAME=root PIMCORE_INSTALL_MYSQL_PASSWORD=ROOT PIMCORE_INSTALL_MYSQL_DATABASE=coreshop5___behat PIMCORE_INSTALL_MYSQL_PORT=3306 PIMCORE_KERNEL_CLASS=Kernel vendor/bin/pimcore-install --env=test --skip-database-config -n
APP_ENV=test PIMCORE_TEST_DB_DSN=mysql://root:ROOT@db/coreshop5___behat bin/console coreshop:install
```

#### BEHAT Domain

```
CORESHOP_SKIP_DB_SETUP=1 PIMCORE_TEST_DB_DSN=mysql://root:ROOT@coreshop4.1-db/coreshop4_1___behat vendor/bin/behat -c behat.yml.dist -p default
CORESHOP_SKIP_DB_SETUP=1 PIMCORE_TEST_DB_DSN=mysql://root:ROOT@coreshop50-db/coreshop5___behat vendor/bin/behat -c behat.yml.dist -p default
```

#### BEHAT UI
Expand All @@ -41,8 +41,8 @@ vendor/bin/bdi detect drivers

# OUTSIDE CONTAINER
# Run Symfony Server
APP_ENV=test PIMCORE_TEST_DB_DSN=mysql://root:[email protected]:3306/coreshop4_1___behat symfony server:start --port=9080 --dir=public --no-tls
APP_ENV=test PIMCORE_TEST_DB_DSN=mysql://root:[email protected]:3306/coreshop5___behat symfony server:start --port=9080 --dir=public --no-tls

# Run Behat
CORESHOP_SKIP_DB_SETUP=1 PANTHER_EXTERNAL_BASE_URI=http://127.0.0.1:9080/index_test.php PANTHER_NO_HEADLESS=0 PIMCORE_TEST_DB_DSN=mysql://root:[email protected]:3306/coreshop4_1___behat php -d memory_limit=-1 vendor/bin/behat -c behat.yml.dist -p ui -vvv features/ui/frontend/wishlist/adding_product_to_wishlist.feature
CORESHOP_SKIP_DB_SETUP=1 PANTHER_EXTERNAL_BASE_URI=http://127.0.0.1:9080/index_test.php PANTHER_NO_HEADLESS=0 PIMCORE_TEST_DB_DSN=mysql://root:[email protected]:3306/coreshop5___behat php -d memory_limit=-1 vendor/bin/behat -c behat.yml.dist -p ui -vvv features/ui/frontend/wishlist/adding_product_to_wishlist.feature
```
4 changes: 2 additions & 2 deletions features/ui/frontend/cart/adding_product_to_cart.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Feature: Adding a product to the cart
Then I should be on the cart summary page
And I should be notified that the product has been successfully added
And there should be one item in my cart
And this item should have name "TSHIRT"
And this item should have name "TShirt"
And I should see "TShirt" with unit price "€100.00" in my cart

Scenario: Adding a product to the cart as a logged in customer
Expand All @@ -23,5 +23,5 @@ Feature: Adding a product to the cart
Then I should be on the cart summary page
And I should be notified that the product has been successfully added
And there should be one item in my cart
And this item should have name "RACING CAR"
And this item should have name "Racing Car"
And I should see "Racing Car" with unit price "€1,000.00" in my cart
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ Feature: Adding a product to the cart with maximum Quantity to Order
Then I should be on the cart summary page
And I should be notified that the product has been successfully added
And there should be one item in my cart
And this item should have name "TSHIRT"
And this item should have name "TShirt"
And I should see "TShirt" with unit price "€100.00" in my cart

Scenario: Adding product to cart with less than minimum quantity to order
Given the product "TShirt" has a maximum order quantity of "100"
When I add 101 of this product to the cart
Then I should be on the cart summary page
And I should be notified that I can only order a maximum of 100 of TSHIRT
And I should be notified that I can only order a maximum of 100 of TShirt


Scenario: Adding product to cart with less than minimum quantity to order with smaller quantities
Given the product "TShirt" has a maximum order quantity of "2"
When I add 3 of this product to the cart
Then I should be on the cart summary page
And I should be notified that I can only order a maximum of 2 of TSHIRT
And I should be notified that I can only order a maximum of 2 of TShirt

Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ Feature: Adding a product to the cart with minimum Quantity to Order
Then I should be on the cart summary page
And I should be notified that the product has been successfully added
And there should be one item in my cart
And this item should have name "TSHIRT"
And this item should have name "TShirt"
And I should see "TShirt" with unit price "€100.00" in my cart

Scenario: Adding product to cart with less than minimum quantity to order
Given the product "TShirt" has a minimum order quantity of "100"
When I add 99 of this product to the cart
Then I should be on the cart summary page
And I should be notified that I need to order at least 100 of TSHIRT
And I should be notified that I need to order at least 100 of TShirt


Scenario: Adding product to cart with less than minimum quantity to order with smaller quantities
Given the product "TShirt" has a minimum order quantity of "2"
When I add 1 of this product to the cart
Then I should be on the cart summary page
And I should be notified that I need to order at least 2 of TSHIRT
And I should be notified that I need to order at least 2 of TShirt

Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Feature: Adding a product to the cart with a Product that is tracked and out-of-
Then I should be on the cart summary page
And I should be notified that the product has been successfully added
And there should be one item in my cart
And this item should have name "TSHIRT"
And this item should have name "TShirt"
And I should see "TShirt" with unit price "€100.00" in my cart

Scenario: Adding product to cart with more than stocked quantity
When I add 3 of this product to the cart
Then I should be on the cart summary page
And I should be notified that TSHIRT does not have sufficient stock
And I should be notified that TShirt does not have sufficient stock

Scenario: Adding product, with on-hold stock, to cart with more than stocked quantity
Given the product has 2 on hold
Expand All @@ -31,5 +31,5 @@ Feature: Adding a product to the cart with a Product that is tracked and out-of-
Given the product has 1 on hold
When I add 2 of this product to the cart
Then I should be on the cart summary page
And I should be notified that TSHIRT does not have sufficient stock
And I should be notified that TShirt does not have sufficient stock

4 changes: 2 additions & 2 deletions features/ui/frontend/cart/automatic_cart_price_rule.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Feature: Getting an automatic cart price rule
Then I should be on the cart summary page
And I should be notified that the product has been successfully added
And there should be one item in my cart
And this item should have name "TSHIRT"
And this item should have name "TShirt"
And I should see "TShirt" with unit price "€100.00" in my cart
And my cart's total should be "€80.00"

Expand All @@ -25,6 +25,6 @@ Feature: Getting an automatic cart price rule
Then I should be on the cart summary page
And I should be notified that the product has been successfully added
And there should be one item in my cart
And this item should have name "TSHIRT"
And this item should have name "TShirt"
And I should see "TShirt" with unit price "€100.00" in my cart
And my cart's total should be "€70.00"
4 changes: 2 additions & 2 deletions features/ui/frontend/cart/keep_cart_after_login.feature
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Feature: Maintaining cart after login
When I log in as "[email protected]" with "cybertruck" password
And I see the summary of my cart
Then there should be one item in my cart
And this item should have name "TSHIRT"
And this item should have name "TShirt"

Scenario: Having cart maintained after registration
Given I add this product to the cart
When I register with email "[email protected]" and password "bigbigbooster"
And I see the summary of my cart
Then there should be one item in my cart
And this item should have name "TSHIRT"
And this item should have name "TShirt"
10 changes: 5 additions & 5 deletions features/ui/frontend/category/view_category.feature
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ Feature: Viewing a product details
When I switch to category "Coats" on main menu
Then I should see 3 products in the category list
And I change order to "Name Descending"
And I should see products in order "WINTER COAT,RAIN COAT,JACKET" in list
And I should see products in order "Winter Coat,Rain Coat,Jacket" in list
And I change order to "Name Ascending"
And I should see products in order "JACKET,RAIN COAT,WINTER COAT" in list
And I should see products in order "Jacket,Rain Coat,Winter Coat" in list
When I switch to category "Shoes" on left menu
And I change order to "Name Descending"
And I should see products in order "SHOE 2,SHOE" in list
And I should see products in order "Shoe 2,Shoe" in list
And I switch to view to "grid"
And I should see products in order "SHOE 2,SHOE" in grid
And I should see products in order "Shoe 2,Shoe" in grid
And I change order to "Name Ascending"
And I should see products in order "SHOE,SHOE 2" in grid
And I should see products in order "Shoe,Shoe 2" in grid
1 change: 1 addition & 0 deletions features/ui/frontend/payment/concurrency.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Feature: Create a new order
And the site has a tax rule group "AT"
And the tax rule group has a tax rule for country "Austria" with tax rate "AT"
And the site has a product "T-Shirt" priced at 2000
And the product is active and published and available for store "Austria"
And the product has the tax rule group "AT"
And the site has a customer "[email protected]"
And the customer "[email protected]" has an address with country "Austria", "4600", "Wels", "Freiung", "9-11/N3"
Expand Down
27 changes: 21 additions & 6 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
findUnusedBaselineEntry="false"
findUnusedCode="false"
ensureOverrideAttribute="false"
>
<projectFiles>
<directory name="src" />
Expand All @@ -30,6 +31,11 @@
</projectFiles>

<issueHandlers>
<ClassMustBeFinal>
<errorLevel type="info">
<directory name="src/CoreShop/*" />
</errorLevel>
</ClassMustBeFinal>
<RiskyCast>
<errorLevel type="info">
<directory name="src/CoreShop/*" />
Expand All @@ -46,12 +52,6 @@
</errorLevel>
</MissingTemplateParam>
<!-- level 3 issues - slightly lazy code writing, but probably low false-negatives -->
<UndefinedDocblockClass>
<errorLevel type="suppress">
<referencedClass name="UnitEnum" />
</errorLevel>
</UndefinedDocblockClass>

<DeprecatedClass>
<errorLevel type="info">
<referencedClass name="Doctrine\Common\Persistence\ManagerRegistry" />
Expand Down Expand Up @@ -132,6 +132,21 @@
<referencedClass name="Pimcore\File" />
</errorLevel>
</InternalClass>

<TooManyTemplateParams>
<errorLevel type="info">
<file name="src/CoreShop/Bundle/PayumBundle/Action/AuthorizePaymentAction.php" />
<file name="src/CoreShop/Bundle/PayumBundle/Action/CapturePaymentAction.php" />
<file name="src/CoreShop/Bundle/PayumBundle/Action/ExecuteSameRequestWithPaymentDetailsAction.php" />
<file name="src/CoreShop/Bundle/PayumBundle/Action/Offline/StatusAction.php" />
</errorLevel>
</TooManyTemplateParams>

<InvalidOperand>
<errorLevel type="info">
<directory name="src/CoreShop/*" />
</errorLevel>
</InvalidOperand>

<MissingReturnType errorLevel="info" />

Expand Down
2 changes: 1 addition & 1 deletion src/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
use Pimcore\HttpKernel\BundleCollection\BundleCollection;
use Pimcore\Kernel as PimcoreKernel;

class Kernel extends PimcoreKernel
final class Kernel extends PimcoreKernel
{
public function registerBundlesToCollection(BundleCollection $collection): void
{
Expand Down
Loading
Loading