Skip to content

Commit 0633395

Browse files
committed
refactor: set minimum PHP 8.2
1 parent 66c2b2f commit 0633395

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

public/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*---------------------------------------------------------------
1010
*/
1111

12-
$minPhpVersion = '8.1'; // If you update this, don't forget to update `spark`.
12+
$minPhpVersion = '8.2'; // If you update this, don't forget to update `spark`.
1313
if (version_compare(PHP_VERSION, $minPhpVersion, '<')) {
1414
$message = sprintf(
1515
'Your PHP version must be %s or higher to run CodeIgniter. Current version: %s',

spark

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if (str_starts_with(PHP_SAPI, 'cgi')) {
3838
*---------------------------------------------------------------
3939
*/
4040

41-
$minPhpVersion = '8.1'; // If you update this, don't forget to update `public/index.php`.
41+
$minPhpVersion = '8.2'; // If you update this, don't forget to update `public/index.php`.
4242
if (version_compare(PHP_VERSION, $minPhpVersion, '<')) {
4343
$message = sprintf(
4444
'Your PHP version must be %s or higher to run CodeIgniter. Current version: %s',

system/HTTP/Files/UploadedFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ public function getClientName(): string
273273
}
274274

275275
/**
276-
* (PHP 8.1+)
276+
* (PHP 8.2+)
277277
* Returns the webkit relative path of the uploaded file on directory uploads.
278278
*/
279279
public function getClientPath(): ?string

system/HTTP/Files/UploadedFileInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function getName(): string;
114114
public function getTempName(): string;
115115

116116
/**
117-
* (PHP 8.1+)
117+
* (PHP 8.2+)
118118
* Returns the webkit relative path of the uploaded file on directory uploads.
119119
*/
120120
public function getClientPath(): ?string;

0 commit comments

Comments
 (0)