Skip to content

Commit

Permalink
minor Sylius#13338 Drop support for PHP 7.4 (AdamKasp)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.11-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | master
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.10 branch
 - Features and deprecations must be submitted against the master branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------

dab2a91 remove 7.4 from composer and from builds
  • Loading branch information
GSadee authored Nov 29, 2021
2 parents c01dfc4 + dab2a91 commit fde65b8
Show file tree
Hide file tree
Showing 44 changed files with 49 additions and 45 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["7.4", "8.0"]
php: ["8.0"]
symfony: ["^4.4", "5.3.*"]

steps:
Expand Down Expand Up @@ -326,7 +326,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["7.4", "8.0"]
php: ["8.0"]
symfony: ["^4.4", "5.3.*"]
node: ["14.x"]
mysql: ["5.7", "8.0"]
Expand Down Expand Up @@ -457,7 +457,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["7.4", "8.0"]
php: ["8.0"]
symfony: ["^4.4", "5.3.*"]
node: ["14.x"]
mysql: ["5.7", "8.0"]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["7.4", "8.0"]
php: ["8.0"]
symfony: ["^4.4", "5.3.*"]
package: "${{ fromJson(needs.list.outputs.packages) }}"

Expand Down
4 changes: 4 additions & 0 deletions UPGRADE-1.11.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# UPGRADE FROM `v1.10.X` TO `v1.11.0`

### Drop support for PHP 7.4

Due to the drop of support PHP `7.4` Sylius also will not support it since version `1.11`.

### Potential BC-break

In Sylius we are using WinzouStateMachine where as example `sylius_order` state machine has declared 14 callbacks on one state.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"ext-exif": "*",
"ext-fileinfo": "*",
"ext-gd": "*",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/AddressingBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"stof/doctrine-extensions-bundle": "^1.4",
"sylius/addressing": "^1.6",
"sylius/resource-bundle": "^1.7",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/AdminBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/core-bundle": "^1.6",
"sylius/ui-bundle": "^1.6",
"symfony/framework-bundle": "^4.4 || ^5.2",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/ApiBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"doctrine/dbal": "^2.7",
"api-platform/core": "^2.6",
"lexik/jwt-authentication-bundle": "^2.6",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/AttributeBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"ramsey/uuid": "^3.9",
"stof/doctrine-extensions-bundle": "^1.4",
"sylius/attribute": "^1.6",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/ChannelBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/channel": "^1.6",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2"
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/CoreBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"doctrine/doctrine-migrations-bundle": "^3.0",
"egulias/email-validator": "^3.0",
"fakerphp/faker": "^1.10",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/CurrencyBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/currency": "^1.6",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/CustomerBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"doctrine/orm": "^2.7",
"egulias/email-validator": "^3.0",
"sylius/customer": "^1.6",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/InventoryBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/inventory": "^1.6",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/LocaleBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/locale": "^1.6",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/MoneyBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2",
"symfony/intl": "^4.4 || ^5.2",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/OrderBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"stof/doctrine-extensions-bundle": "^1.4",
"sylius-labs/polyfill-symfony-framework-bundle": "^1.0",
"sylius/money-bundle": "^1.6",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/PaymentBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/payment": "^1.6",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2"
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/PayumBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"payum/payum": "^1.6",
"payum/payum-bundle": "^2.4",
"php-http/guzzle6-adapter": "^2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/ProductBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"stof/doctrine-extensions-bundle": "^1.4",
"sylius/attribute-bundle": "^1.6",
"sylius/locale-bundle": "^1.6",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/PromotionBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"stof/doctrine-extensions-bundle": "^1.4",
"sylius/money-bundle": "^1.6",
"sylius/promotion": "^1.6",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/ReviewBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"stof/doctrine-extensions-bundle": "^1.4",
"sylius/mailer-bundle": "^1.4",
"sylius/resource-bundle": "^1.7",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/ShippingBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"stof/doctrine-extensions-bundle": "^1.4",
"sylius/money-bundle": "^1.6",
"sylius/resource-bundle": "^1.7",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/ShopBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/core-bundle": "^1.6",
"sylius/ui-bundle": "^1.6",
"symfony/framework-bundle": "^4.4 || ^5.2",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/TaxationBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"stof/doctrine-extensions-bundle": "^1.4",
"sylius/registry": "^1.5",
"sylius/resource-bundle": "^1.7",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/TaxonomyBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"stof/doctrine-extensions-bundle": "^1.4",
"sylius/resource-bundle": "^1.7",
"sylius/taxonomy": "^1.6",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/UiBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"doctrine/collections": "^1.6",
"knplabs/knp-menu": "^3.1",
"knplabs/knp-menu-bundle": "^3.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/UserBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"doctrine/orm": "^2.7",
"egulias/email-validator": "^3.0",
"sylius-labs/polyfill-symfony-event-dispatcher": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Addressing/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/registry": "^1.5",
"sylius/resource": "^1.7",
"symfony/intl": "^4.4 || ^5.2"
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Attribute/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"doctrine/collections": "^1.6",
"sylius/registry": "^1.5",
"sylius/resource": "^1.7",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Channel/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/resource": "^1.7",
"symfony/form": "^4.4 || ^5.2",
"symfony/http-foundation": "^4.4 || ^5.2",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Core/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"knplabs/gaufrette": "^0.8",
"payum/payum": "^1.6",
"php-http/guzzle6-adapter": "^2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Currency/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/resource": "^1.7",
"symfony/intl": "^4.4 || ^5.2",
"laminas/laminas-stdlib": "^3.2"
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Customer/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"doctrine/collections": "^1.6",
"sylius/resource": "^1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Inventory/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/resource": "^1.7",
"webmozart/assert": "^1.8"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Locale/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/resource": "^1.7",
"symfony/intl": "^4.4 || ^5.2",
"laminas/laminas-stdlib": "^3.2"
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Order/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/resource": "^1.7",
"webmozart/assert": "^1.8",
"laminas/laminas-stdlib": "^3.2"
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Payment/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/registry": "^1.5",
"sylius/resource": "^1.7"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Product/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"behat/transliterator": "^1.1",
"sylius/attribute": "^1.6",
"sylius/resource": "^1.7",
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Promotion/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"doctrine/orm": "^2.5",
"sylius/registry": "^1.5",
"sylius/resource": "^1.7"
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Review/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"doctrine/collections": "^1.6",
"sylius/resource": "^1.7"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Shipping/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/registry": "^1.5",
"sylius/resource": "^1.7",
"symfony/options-resolver": "^4.4 || ^5.2"
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Taxation/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"sylius/registry": "^1.5",
"sylius/resource": "^1.7"
},
Expand Down
Loading

0 comments on commit fde65b8

Please sign in to comment.