Skip to content

Commit

Permalink
PHP 8.2+
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Oct 1, 2023
1 parent 2cd51a2 commit 810d796
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog for Craft CMS Server Check

## 5.0.0 (Unreleased)
- The minimum PHP version is now 8.1.
- The minimum PHP version is now 8.2.
- The minimum PostgreSQL version is now 11.0.

## 2.1.8 - 2023-09-25
Expand Down
6 changes: 3 additions & 3 deletions server/requirements/requirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
/** @var RequirementsChecker $this */
$requirements = array(
array(
'name' => 'PHP 8.1+',
'name' => 'PHP 8.2+',
'mandatory' => true,
'condition' => PHP_VERSION_ID >= 80100,
'memo' => 'PHP 8.1 or later is required.',
'condition' => PHP_VERSION_ID >= 80200,
'memo' => 'PHP 8.2 or later is required.',
),
);

Expand Down

2 comments on commit 810d796

@romainpoirier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why 8.2 or alter is required while current Craft CMS requirements are PHP 8.0.2+?

@angrybrad
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.