Skip to content
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
needs: [code-style-php]
strategy:
matrix:
php_version: ['8.1', '8.2', '8.3', '8.4']
php_version: ['8.3', '8.4']
steps:
- uses: actions/checkout@v4
- uses: actions/cache/restore@v4
Expand All @@ -133,7 +133,7 @@ jobs:
needs: [code-style-php]
strategy:
matrix:
php_version: ['8.1', '8.2', '8.3', '8.4']
php_version: ['8.3', '8.4']
config: ['phpunit.xml.dist', 'phpunit-pgsql.xml.dist']
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -270,11 +270,11 @@ jobs:
test_group: cmysqlmax
db_engine: mysqli
db_host: mysql
- php_version: '8.1'
- php_version: '8.3'
test_group: cmysql
db_engine: mysqli
db_host: mysql
- php_version: '8.1'
- php_version: '8.3'
test_group: cpostgres
db_engine: pgsql
db_host: postgres
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Build Status

| Actions | PHP | Node | npm |
|-------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|
| [![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/) |
| [![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/) |

Overview
---------------------
Expand Down
2 changes: 1 addition & 1 deletion administrator/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// 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

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

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) {
die(
Expand Down
2 changes: 1 addition & 1 deletion api/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// 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

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

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) {
header('HTTP/1.1 500 Internal Server Error');
Expand Down
2 changes: 1 addition & 1 deletion build/helpTOC.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
const JOOMLA_MINIMUM_PHP = '8.1.0';
const JOOMLA_MINIMUM_PHP = '8.3.0';

if (!\defined('_JDEFINES')) {
\define('JPATH_BASE', \dirname(__DIR__));
Expand Down
2 changes: 1 addition & 1 deletion cli/joomla.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
const _JEXEC = 1;

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

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) {
echo 'Sorry, your PHP version is not supported.' . PHP_EOL;
Expand Down
9 changes: 3 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,10 @@
},
"replace": {
"paragonie/random_compat": "9.99.99",
"symfony/polyfill-php70": "*",
"symfony/polyfill-php71": "*",
"symfony/polyfill-php72": "*",
"symfony/polyfill-php73": "*",
"symfony/polyfill-php74": "*",
"symfony/polyfill-php80": "*",
"symfony/polyfill-php81": "*"
"symfony/polyfill-php81": "*",
"symfony/polyfill-php82": "*",
"symfony/polyfill-php83": "*"
},
"extra": {
"composer-exit-on-patch-failure": true
Expand Down
78 changes: 1 addition & 77 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// 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

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

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) {
die(
Expand Down
2 changes: 1 addition & 1 deletion installation/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// 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

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

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) {
die(
Expand Down
2 changes: 1 addition & 1 deletion installation/joomla.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
\define('JOOMLA_MINIMUM_PHP', '8.1.0');
\define('JOOMLA_MINIMUM_PHP', '8.3.0');

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) {
echo 'Sorry, your PHP version is not supported.' . PHP_EOL;
Expand Down
52 changes: 50 additions & 2 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -15366,8 +15366,8 @@ parameters:
path: plugins/actionlog/joomla/src/Extension/Joomla.php

-
message: '#^Property Joomla\\CMS\\Application\\BaseApplication\:\:\$input is not writable\.$#'
identifier: assign.propertyReadOnly
message: '#^Access to an undefined property Joomla\\CMS\\Application\\BaseApplication\:\:\$input\.$#'
identifier: property.notFound
count: 1
path: plugins/behaviour/compat6/classes/Application/BaseApplication.php

Expand Down Expand Up @@ -15890,12 +15890,60 @@ parameters:
count: 1
path: plugins/system/webauthn/src/MetadataRepository.php

-
message: '#^Access to an undefined property Joomla\\Plugin\\Task\\Checkfiles\\Extension\\Checkfiles\:\:\$app\.$#'
identifier: property.notFound
count: 2
path: plugins/task/checkfiles/src/Extension/Checkfiles.php

-
message: '#^Access to an undefined property Joomla\\Plugin\\Task\\DeleteActionLogs\\Extension\\DeleteActionLogs\:\:\$app\.$#'
identifier: property.notFound
count: 2
path: plugins/task/deleteactionlogs/src/Extension/DeleteActionLogs.php

-
message: '#^Access to an undefined property Joomla\\Plugin\\Task\\PrivacyConsent\\Extension\\PrivacyConsent\:\:\$app\.$#'
identifier: property.notFound
count: 2
path: plugins/task/privacyconsent/src/Extension/PrivacyConsent.php

-
message: '#^Access to an undefined property Joomla\\Plugin\\Task\\Requests\\Extension\\Requests\:\:\$app\.$#'
identifier: property.notFound
count: 2
path: plugins/task/requests/src/Extension/Requests.php

-
message: '#^Access to an undefined property Joomla\\Plugin\\Task\\RotateLogs\\Extension\\RotateLogs\:\:\$app\.$#'
identifier: property.notFound
count: 2
path: plugins/task/rotatelogs/src/Extension/RotateLogs.php

-
message: '#^Access to an undefined property Joomla\\Plugin\\Task\\SessionGC\\Extension\\SessionGC\:\:\$app\.$#'
identifier: property.notFound
count: 2
path: plugins/task/sessiongc/src/Extension/SessionGC.php

-
message: '#^Instantiated class JConfig not found\.$#'
identifier: class.notFound
count: 1
path: plugins/task/sitestatus/services/provider.php

-
message: '#^Access to an undefined property Joomla\\Plugin\\Task\\SiteStatus\\Extension\\SiteStatus\:\:\$app\.$#'
identifier: property.notFound
count: 2
path: plugins/task/sitestatus/src/Extension/SiteStatus.php

-
message: '#^Access to an undefined property Joomla\\Plugin\\Task\\UpdateNotification\\Extension\\UpdateNotification\:\:\$app\.$#'
identifier: property.notFound
count: 2
path: plugins/task/updatenotification/src/Extension/UpdateNotification.php

-
message: '''
#^Access to deprecated static property \$language of class Joomla\\CMS\\Factory\:
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ includes:

parameters:
level: 0
phpVersion: 80100
phpVersion: 80300
reportUnmatchedIgnoredErrors: false
scanDirectories:
- libraries/php-encryption
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,30 +119,6 @@ public function onGetIcons(QuickIconsEvent $event): void
private function getPhpSupport()
{
$phpSupportData = [
'7.2' => [
'security' => '2019-11-30',
'eos' => '2020-11-30',
],
'7.3' => [
'security' => '2020-12-06',
'eos' => '2021-12-06',
],
'7.4' => [
'security' => '2021-11-28',
'eos' => '2022-11-28',
],
'8.0' => [
'security' => '2022-11-26',
'eos' => '2023-11-26',
],
'8.1' => [
'security' => '2023-11-25',
'eos' => '2025-12-31',
],
'8.2' => [
'security' => '2024-12-31',
'eos' => '2026-12-31',
],
'8.3' => [
'security' => '2025-12-31',
'eos' => '2027-12-31',
Expand Down
Loading