Skip to content

Commit

Permalink
Update list of supported PHP versions in PHP version check
Browse files Browse the repository at this point in the history
Fixes #137.
  • Loading branch information
chesio committed Apr 11, 2023
1 parent e3af696 commit a76afb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Version 0.20.1 (????-??-??)

* Validate IP addresses to avoid potential security issues [#138](https://github.com/chesio/bc-security/issues/138).
* List of supported PHP versions for PHP version check has been updated to include PHP 8.2 and exclude PHP 7.4 [#137](https://github.com/chesio/bc-security/issues/137).

## Version 0.20.0 (2023-03-31)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ class PhpVersionSupported extends Checklist\BasicCheck
{
/**
* @var array<string,string> List of supported PHP versions and their end-of-life dates
*
* @link https://www.php.net/supported-versions.php
*/
private const SUPPORTED_VERSIONS = [
'7.4' => '2022-11-28',
'8.0' => '2023-11-26',
'8.1' => '2024-11-25',
'8.2' => '2025-12-08',
];


Expand Down

0 comments on commit a76afb6

Please sign in to comment.