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

Make php-8.1 minimum requirement #4124

Closed
wants to merge 11 commits into from
Closed
Show file tree
Hide file tree
Changes from 6 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
2 changes: 1 addition & 1 deletion .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.0

- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.0

- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.4', '8.3']
php-versions: ['8.0', '8.3']

steps:
- name: Setup PHP
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.4']
php-versions: ['8.0']
steps:
- name: Checkout repository
uses: actions/checkout@master
Expand Down Expand Up @@ -38,6 +38,10 @@ jobs:
if: startsWith(github.event.release.tag_name, 'v19')
run: composer require --no-install --prefer-dist --no-progress --ignore-platform-req=ext-* openmage/module-mage-pagecache

- name: Require Mage_Poll on v19
if: startsWith(github.event.release.tag_name, 'v19')
run: composer require --no-install --prefer-dist --no-progress --ignore-platform-req=ext-* openmage/module-mage-poll

- name: Composer install
run: composer install --prefer-dist --no-progress --ignore-platform-req=ext-* --no-dev

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
max-parallel: 5
matrix:
os: [ubuntu-latest]
php: ['7.4', '8.1']
php: ['8.0', '8.3']
steps:
- uses: actions/checkout@v4
- name: Setup PHP
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/syntax-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
php: ['7.4', '8.3']
php: ['8.0', '8.3']

name: PHP Syntax ${{ matrix.php }}

Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ In a nutshell:

## Requirements

- PHP 7.4 to 8.3
- PHP 8.0 to 8.4
- MySQL 5.7+ (8.0+ recommended) or MariaDB
- optional: Redis 5.x, 6.x and 7.0.x are supported

Expand Down Expand Up @@ -263,6 +263,10 @@ If you see SQL errors after upgrading please remember to check for this specific

UPS shut down their old CGI APIs so we removed the support for it from the Mage_Usa module.

### Since OpenMage 20.11.0

PHP 8.0 is now the minimum required version.

### Between OpenMage 20.x and 21.x (unreleased, available on branch `next`)

- PHP 8.2 as minimum required version
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "openmage/magento-lts",
"description": "A fork of Magento-1 that is accepting bug fixes (backward compatible, drop in replacement for official Magento)",
"homepage": "https://www.openmage.org/",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"type": "magento-source",
"require": {
"php": ">=7.4 <8.5",
"php": ">=8.0 <8.5",
"ext-ctype": "*",
"ext-curl": "*",
"ext-dom": "*",
Expand All @@ -31,7 +32,6 @@
"phpseclib/mcrypt_compat": "^2.0.3",
"phpseclib/phpseclib": "^3.0.14",
"shardj/zf1-future": "1.24.0",
"symfony/polyfill-php74": "^1.29",
"symfony/polyfill-php80": "^1.29",
"symfony/polyfill-php81": "^1.29",
"symfony/polyfill-php82": "^1.29"
sreichel marked this conversation as resolved.
Show resolved Hide resolved
Expand Down Expand Up @@ -120,7 +120,7 @@
"cweagans/composer-patches": true
},
"platform": {
"php": "7.4"
"php": "8.0"
},
"sort-packages": true
}
Expand Down
Loading
Loading