Skip to content

Commit

Permalink
[Composer] Bump up PayPalPlugin dependency (#1002)
Browse files Browse the repository at this point in the history
As it is a template for creating a Sylius project, I think it would be
good to encourage the use of the latest versions of our dependencies. So
I would like to propose bumping up the PayPalPlugin to its latest minor
version which also clarifies some other dependencies.
  • Loading branch information
Wojdylak authored Jun 17, 2024
2 parents caf0c9c + f1a8f1b commit a109c43
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 12 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,10 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["8.0", "8.1"]
php: ["8.1", "8.2"]
symfony: ["^5.4", "^6.4"]
node: ["16.x"]
mysql: ["5.7", "8.0"]
exclude:
-
php: "8.0"
symfony: "^6.4"
node: ["18.x"]
mysql: ["8.0"]

env:
APP_ENV: test_cached
Expand Down
13 changes: 8 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
}
],
"require": {
"php": "^8.0",
"sylius/paypal-plugin": "^1.5.2",
"php": "^8.1",
"sylius/paypal-plugin": "^1.6",
"sylius/state-machine-abstraction": "~1.13.0",
"sylius/sylius": "~1.12.17",
"symfony/dotenv": "^5.4 || ^6.4",
"symfony/runtime": "^5.4 || ^6.4",
"symfony/flex": "^2.4"
"symfony/flex": "^2.4",
"symfony/runtime": "^5.4 || ^6.4"
},
"require-dev": {
"behat/behat": "^3.7",
Expand All @@ -46,6 +47,7 @@
"friends-of-behat/symfony-extension": "^2.1",
"friends-of-behat/variadic-extension": "^1.3",
"lchrusciel/api-test-case": "^5.0",
"nyholm/psr7": "^1.8",
"phpspec/phpspec": "^7.0",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^1.8.4",
Expand All @@ -59,6 +61,7 @@
"sylius/sylius-rector": "^2.0",
"symfony/browser-kit": "^5.4 || ^6.4",
"symfony/debug-bundle": "^5.4 || ^6.4",
"symfony/http-client": "^5.4 || ^6.4",
"symfony/intl": "^5.4 || ^6.4",
"symfony/web-profiler-bundle": "^5.4 || ^6.4"
},
Expand All @@ -74,7 +77,7 @@
"allow-plugins": {
"symfony/flex": true,
"dealerdirect/phpcodesniffer-composer-installer": false,
"php-http/discovery": true,
"php-http/discovery": false,
"phpstan/extension-installer": false,
"symfony/thanks": false,
"symfony/runtime": true
Expand Down
1 change: 1 addition & 0 deletions config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
Sylius\Abstraction\StateMachine\SyliusStateMachineAbstractionBundle::class => ['all' => true],
Sylius\Calendar\SyliusCalendarBundle::class => ['all' => true],
Sylius\Bundle\OrderBundle\SyliusOrderBundle::class => ['all' => true],
Sylius\Bundle\MoneyBundle\SyliusMoneyBundle::class => ['all' => true],
Expand Down
10 changes: 10 additions & 0 deletions config/packages/http_discovery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
services:
Psr\Http\Message\RequestFactoryInterface: '@http_discovery.psr17_factory'
Psr\Http\Message\ResponseFactoryInterface: '@http_discovery.psr17_factory'
Psr\Http\Message\ServerRequestFactoryInterface: '@http_discovery.psr17_factory'
Psr\Http\Message\StreamFactoryInterface: '@http_discovery.psr17_factory'
Psr\Http\Message\UploadedFileFactoryInterface: '@http_discovery.psr17_factory'
Psr\Http\Message\UriFactoryInterface: '@http_discovery.psr17_factory'

http_discovery.psr17_factory:
class: Http\Discovery\Psr17Factory
2 changes: 2 additions & 0 deletions config/packages/workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
framework:
workflows: null
42 changes: 42 additions & 0 deletions symfony.lock
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,18 @@
"phar-io/version": {
"version": "1.0.1"
},
"php-http/discovery": {
"version": "1.19",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "1.18",
"ref": "f45b5dd173a27873ab19f5e3180b2f661c21de02"
},
"files": [
"config/packages/http_discovery.yaml"
]
},
"php-http/guzzle6-adapter": {
"version": "v1.1.1"
},
Expand Down Expand Up @@ -536,6 +548,15 @@
"sylius/resource-bundle": {
"version": "v1.4.4"
},
"sylius/state-machine-abstraction": {
"version": "1.13",
"recipe": {
"repo": "github.com/Sylius/SyliusRecipes",
"branch": "main",
"version": "1.13",
"ref": "d538f7c966e2d796543c3be72cb65072bf74504e"
}
},
"sylius/sylius": {
"version": "v1.3.6"
},
Expand Down Expand Up @@ -689,6 +710,15 @@
"symfony/options-resolver": {
"version": "v4.1.3"
},
"symfony/panther": {
"version": "2.1",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "1.0",
"ref": "673836afb0eac2b0ec36c44f2ff0379e5a4b2177"
}
},
"symfony/password-hasher": {
"version": "v5.3.2"
},
Expand Down Expand Up @@ -831,6 +861,18 @@
"webpack.config.js"
]
},
"symfony/workflow": {
"version": "6.4",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "3.3",
"ref": "3b2f8ca32a07fcb00f899649053943fa3d8bbfb6"
},
"files": [
"config/packages/workflow.yaml"
]
},
"symfony/yaml": {
"version": "v4.1.3"
},
Expand Down

0 comments on commit a109c43

Please sign in to comment.