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

chore: update dependencies #2632

Merged
merged 6 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
151 changes: 8 additions & 143 deletions .phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3085,6 +3085,11 @@ parameters:
count: 1
path: engine/Library/Enlight/Loader.php

-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 1
path: engine/Library/Enlight/Loader.php

-
message: "#^Property Enlight_Loader\\:\\:\\$namespaces type has no value type specified in iterable type array\\.$#"
count: 1
Expand Down Expand Up @@ -11806,7 +11811,7 @@ parameters:
path: engine/Shopware/Bundle/StoreFrontBundle/Struct/ShopPage.php

-
message: "#^Argument of an invalid type Shopware\\\\Bundle\\\\StoreFrontBundle\\\\Struct\\\\Struct supplied for foreach, only iterables are supported\\.$#"
message: "#^Argument of an invalid type \\$this\\(Shopware\\\\Bundle\\\\StoreFrontBundle\\\\Struct\\\\Struct\\) supplied for foreach, only iterables are supported\\.$#"
count: 1
path: engine/Shopware/Bundle/StoreFrontBundle/Struct/Struct.php

Expand Down Expand Up @@ -18970,11 +18975,6 @@ parameters:
count: 1
path: engine/Shopware/Components/Snippet/Writer/QueryWriter.php

-
message: "#^Method Shopware\\\\Components\\\\Snippet\\\\Writer\\\\QueryWriter\\:\\:generateUpdateInsertQueries\\(\\) has no return type specified\\.$#"
count: 1
path: engine/Shopware/Components/Snippet/Writer/QueryWriter.php

-
message: "#^Method Shopware\\\\Components\\\\Snippet\\\\Writer\\\\QueryWriter\\:\\:generateUpdateInsertQueries\\(\\) has parameter \\$data with no type specified\\.$#"
count: 1
Expand Down Expand Up @@ -28040,11 +28040,6 @@ parameters:
count: 1
path: engine/Shopware/Models/Blog/Repository.php

-
message: "#^Method Shopware\\\\Models\\\\Blog\\\\Repository\\:\\:getAverageVoteQuery\\(\\) should return Doctrine\\\\ORM\\\\Query\\<null, Shopware\\\\Models\\\\Blog\\\\Comment\\> but returns Doctrine\\\\ORM\\\\Query\\<null, array\\<string, float\\|int\\|string\\|null\\>\\>\\.$#"
count: 1
path: engine/Shopware/Models/Blog/Repository.php

-
message: "#^Method Shopware\\\\Models\\\\Blog\\\\Repository\\:\\:getBackedDetailQueryBuilder\\(\\) has parameter \\$filter with no value type specified in iterable type array\\.$#"
count: 1
Expand Down Expand Up @@ -41047,12 +41042,12 @@ parameters:

-
message: "#^Access to an undefined property sSystem\\:\\:\\$_GET\\.$#"
count: 11
count: 12
path: tests/Unit/Components/LegacyRequestWrapper/GetWrapperTest.php

-
message: "#^Access to an undefined property sSystem\\:\\:\\$_POST\\.$#"
count: 11
count: 12
path: tests/Unit/Components/LegacyRequestWrapper/PostWrapperTest.php

-
Expand Down Expand Up @@ -41135,136 +41130,6 @@ parameters:
count: 1
path: tests/Unit/Components/Model/CategoryDenormalizationTest.php

-
message: "#^Cannot call method getName\\(\\) on Shopware\\\\Models\\\\Article\\\\Supplier\\|null\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:setProperty\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:setProperty\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanAssignManyToOne\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanAssignManyToOneByInstance\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanAssignOneToMany\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanAssignOneToManyByInstance\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanAssignProperties\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanEmptyArrayDoesNotOverrideManyToOne\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanOverWriteAssignOneToMany\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanReAssignManyToOne\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanReAssignProperties\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanReAssignWithAnotherIdThrowsExceptionManyToOne\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanRemoveManyToOne\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanRemoveOneToMany\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanSetCodesOnVoucher\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanSetCodesOnVoucherWithArrayCollection\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanSetCountriesOnArea\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanSetElementsOnDocument\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanSetElementsOnDocumentWithArrayCollection\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanUpdateOneToMany\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelEntityTest\\:\\:testCanUpdateOneToManyById\\(\\) has no return type specified\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Parameter \\#1 \\$codes of method Shopware\\\\Models\\\\Voucher\\\\Voucher\\:\\:setCodes\\(\\) expects array\\|\\(Doctrine\\\\Common\\\\Collections\\\\ArrayCollection&iterable\\<Shopware\\\\Models\\\\Voucher\\\\Code\\>\\)\\|null, Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<int, array\\<string, string\\>\\> given\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Parameter \\#1 \\$countries of method Shopware\\\\Models\\\\Country\\\\Area\\:\\:setCountries\\(\\) expects array\\<Shopware\\\\Models\\\\Country\\\\Country\\>\\|null, array\\<int, array\\<string, string\\>\\> given\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Parameter \\#1 \\$elements of method Shopware\\\\Models\\\\Document\\\\Document\\:\\:setElements\\(\\) expects array\\<Shopware\\\\Models\\\\Document\\\\Element\\>\\|\\(Doctrine\\\\Common\\\\Collections\\\\ArrayCollection&iterable\\<Shopware\\\\Models\\\\Document\\\\Element\\>\\), Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<int, array\\<string, string\\>\\> given\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Parameter \\#1 \\$elements of method Shopware\\\\Models\\\\Document\\\\Document\\:\\:setElements\\(\\) expects array\\<Shopware\\\\Models\\\\Document\\\\Element\\>\\|\\(Doctrine\\\\Common\\\\Collections\\\\ArrayCollection&iterable\\<Shopware\\\\Models\\\\Document\\\\Element\\>\\), array\\<int, array\\<string, string\\>\\> given\\.$#"
count: 1
path: tests/Unit/Components/Model/ModelEntityTest.php

-
message: "#^Method Shopware\\\\Tests\\\\Unit\\\\Components\\\\Model\\\\ModelManagerTest\\:\\:getSqlTypes\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
Expand Down
4 changes: 3 additions & 1 deletion UPGRADE-5.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ This changelog references changes done in Shopware 5.7 patch versions.
* Changed behaviour of the translation transfer while setting a product variant as the main variant
* Changed the test kernel, so PHPUnit tests do no longer ignore PHP warnings and notices and are failing instead

* Updated `beberlei/doctrineextensions` to version 1.4.0
* Updated `cocur/slugify` to version 4.5.1 for PHP 8.0 and newer
* Updated `doctrine/orm` to version 2.15.5
* Updated `google/cloud-storage` to version 1.37.0
* Updated `doctrine/persistence` to version 3.3.2
* Updated `google/cloud-storage` to version 1.39.0
* Updated `guzzlehttp/guzzle` to version 7.8.1
* Updated `guzzlehttp/psr7` to version 2.6.2
* Updated `monolog/monolog` to version 2.9.2
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"composer-runtime-api": "^2.0",
"bcremer/line-reader": "1.3.0",
"beberlei/assert": "3.3.2",
"beberlei/doctrineextensions": "1.3.0",
"beberlei/doctrineextensions": "1.4.0",
"cocur/slugify": "4.3.0 || 4.5.1",
"doctrine/annotations": "1.14.3",
"doctrine/cache": "1.13.0",
Expand All @@ -50,11 +50,11 @@
"doctrine/event-manager": "1.2.0",
"doctrine/inflector": "2.0.4",
"doctrine/orm": "2.15.5",
"doctrine/persistence": "3.2.0",
"doctrine/persistence": "3.3.2",
"elasticsearch/elasticsearch": "^7",
"fig/link-util": "1.1.2",
"friendsofphp/proxy-manager-lts": "1.0.16",
"google/cloud-storage": "1.37.0",
"google/cloud-storage": "1.39.0",
"guzzlehttp/guzzle": "~7.8.0",
"guzzlehttp/psr7": "~2.6.1",
"laminas/laminas-code": "4.7.1 || 4.13.0",
Expand Down Expand Up @@ -113,10 +113,10 @@
"friends-of-behat/mink-extension": "2.7.5",
"php-parallel-lint/php-var-dump-check": "^0.5",
"phpstan/extension-installer": "1.3.1",
"phpstan/phpstan": "1.10.56",
"phpstan/phpstan-doctrine": "1.3.59",
"phpstan/phpstan-phpunit": "1.3.15",
"phpstan/phpstan-symfony": "1.3.7",
"phpstan/phpstan": "1.10.62",
"phpstan/phpstan-doctrine": "1.3.62",
"phpstan/phpstan-phpunit": "1.3.16",
"phpstan/phpstan-symfony": "1.3.9",
"phpunit/phpunit": "^9.6",
"sensiolabs/behat-page-object-extension": "2.3.7",
"staabm/phpstan-dba": "0.2.79",
Expand Down
Loading
Loading