Skip to content

Commit 720ef0f

Browse files
committed
[PHP 8.3 support](#133) : Marking overridden methods with [Override attribute](https://stitcher.io/blog/override-in-php-83)
1 parent 015bcb1 commit 720ef0f

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"name": "Override",
4+
"ext_min": "8.3.0alpha3",
5+
"php_min": "8.3.0alpha3"
6+
}
7+
]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[
2+
{
3+
"class_name": "Override",
4+
"name": "__construct",
5+
"ext_min": "8.3.0alpha3",
6+
"php_min": "8.3.0alpha3"
7+
}
8+
]

src/Application/Command/Init/InitHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ private function majorReleaseDefinitionProvider(): Generator
328328
'40',
329329
'50', '51', '53', '55',
330330
'70', '71', '73', '74',
331-
'80', '81', '82',
331+
'80', '81', '82', '83',
332332
],
333333
'const' => ['80'],
334334
'constants' => [
@@ -345,7 +345,7 @@ private function majorReleaseDefinitionProvider(): Generator
345345
'methods' => [
346346
'51', '53', '55',
347347
'70', '72', '74',
348-
'80', '81', '82',
348+
'80', '81', '82', '83',
349349
],
350350
'iniEntries' => [
351351
'40', '41',

0 commit comments

Comments
 (0)