Skip to content

Commit 5ab8f08

Browse files
authored
[6.0] update JOOMLA_MINIMUM_PHP (#45746)
* [6.0] update JOOMLA_MINIMUM_PHP * Update README.md * remove unsupported php version from phpversioncheck quickicon * update Joomla 6 EOS date https://developer.joomla.org/roadmap.html * update ci/cd * remove symfony/polyfill-php83 * Update ci.yml * Update phpstan-baseline.neon * Update phpstan-baseline.neon * Update phpstan-baseline.neon
1 parent 52edc60 commit 5ab8f08

File tree

14 files changed

+67
-122
lines changed

14 files changed

+67
-122
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
needs: [code-style-php]
117117
strategy:
118118
matrix:
119-
php_version: ['8.1', '8.2', '8.3', '8.4']
119+
php_version: ['8.3', '8.4']
120120
steps:
121121
- uses: actions/checkout@v4
122122
- uses: actions/cache/restore@v4
@@ -133,7 +133,7 @@ jobs:
133133
needs: [code-style-php]
134134
strategy:
135135
matrix:
136-
php_version: ['8.1', '8.2', '8.3', '8.4']
136+
php_version: ['8.3', '8.4']
137137
config: ['phpunit.xml.dist', 'phpunit-pgsql.xml.dist']
138138
steps:
139139
- uses: actions/checkout@v4
@@ -270,11 +270,11 @@ jobs:
270270
test_group: cmysqlmax
271271
db_engine: mysqli
272272
db_host: mysql
273-
- php_version: '8.1'
273+
- php_version: '8.3'
274274
test_group: cmysql
275275
db_engine: mysqli
276276
db_host: mysql
277-
- php_version: '8.1'
277+
- php_version: '8.3'
278278
test_group: cpostgres
279279
db_engine: pgsql
280280
db_host: postgres

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Build Status
99

1010
| Actions | PHP | Node | npm |
1111
|-------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|
12-
| [![Build Status](https://github.com/joomla/joomla-cms/actions/workflows/ci.yml/badge.svg?branch=6.0-dev)](https://github.com/joomla/joomla-cms) | [![PHP](https://img.shields.io/badge/PHP-V8.1.0-green)](https://www.php.net/) | [![node-lts](https://img.shields.io/badge/Node-V20.0-green)](https://nodejs.org/en/) | [![npm](https://img.shields.io/badge/npm-v10.1.0-green)](https://nodejs.org/en/) |
12+
| [![Build Status](https://github.com/joomla/joomla-cms/actions/workflows/ci.yml/badge.svg?branch=6.0-dev)](https://github.com/joomla/joomla-cms) | [![PHP](https://img.shields.io/badge/PHP-V8.3.0-green)](https://www.php.net/) | [![node-lts](https://img.shields.io/badge/Node-V20.0-green)](https://nodejs.org/en/) | [![npm](https://img.shields.io/badge/npm-v10.1.0-green)](https://nodejs.org/en/) |
1313

1414
Overview
1515
---------------------

administrator/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// NOTE: This file should remain compatible with PHP 5.2 to allow us to run our PHP minimum check and show a friendly error message
1111

1212
// Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
13-
\define('JOOMLA_MINIMUM_PHP', '8.1.0');
13+
\define('JOOMLA_MINIMUM_PHP', '8.3.0');
1414

1515
if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) {
1616
die(

api/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// NOTE: This file should remain compatible with PHP 5.2 to allow us to run our PHP minimum check and show a friendly error message
1111

1212
// Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
13-
\define('JOOMLA_MINIMUM_PHP', '8.1.0');
13+
\define('JOOMLA_MINIMUM_PHP', '8.3.0');
1414

1515
if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) {
1616
header('HTTP/1.1 500 Internal Server Error');

build/helpTOC.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/**
2828
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
2929
*/
30-
const JOOMLA_MINIMUM_PHP = '8.1.0';
30+
const JOOMLA_MINIMUM_PHP = '8.3.0';
3131

3232
if (!\defined('_JDEFINES')) {
3333
\define('JPATH_BASE', \dirname(__DIR__));

cli/joomla.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
const _JEXEC = 1;
1313

1414
// Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
15-
const JOOMLA_MINIMUM_PHP = '8.1.0';
15+
const JOOMLA_MINIMUM_PHP = '8.3.0';
1616

1717
if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) {
1818
echo 'Sorry, your PHP version is not supported.' . PHP_EOL;

composer.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,10 @@
115115
},
116116
"replace": {
117117
"paragonie/random_compat": "9.99.99",
118-
"symfony/polyfill-php70": "*",
119-
"symfony/polyfill-php71": "*",
120-
"symfony/polyfill-php72": "*",
121-
"symfony/polyfill-php73": "*",
122-
"symfony/polyfill-php74": "*",
123118
"symfony/polyfill-php80": "*",
124-
"symfony/polyfill-php81": "*"
119+
"symfony/polyfill-php81": "*",
120+
"symfony/polyfill-php82": "*",
121+
"symfony/polyfill-php83": "*"
125122
},
126123
"extra": {
127124
"composer-exit-on-patch-failure": true

composer.lock

Lines changed: 1 addition & 77 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// NOTE: This file should remain compatible with PHP 5.2 to allow us to run our PHP minimum check and show a friendly error message
1111

1212
// Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
13-
define('JOOMLA_MINIMUM_PHP', '8.1.0');
13+
define('JOOMLA_MINIMUM_PHP', '8.3.0');
1414

1515
if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) {
1616
die(

installation/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// NOTE: This file should remain compatible with PHP 5.2 to allow us to run our PHP minimum check and show a friendly error message
1111

1212
// Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
13-
\define('JOOMLA_MINIMUM_PHP', '8.1.0');
13+
\define('JOOMLA_MINIMUM_PHP', '8.3.0');
1414

1515
if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) {
1616
die(

0 commit comments

Comments
 (0)