Skip to content

Commit

Permalink
PHP 8.3 Support: Add PHP 8.3 to the PhpVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
junichi11 committed Nov 24, 2023
1 parent 0b3757b commit bbbe151
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion php/php.api.phpmodule/manifest.mf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Manifest-Version: 1.0
OpenIDE-Module: org.netbeans.modules.php.api.phpmodule
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/php/api/phpmodule/resources/Bundle.properties
OpenIDE-Module-Specification-Version: 2.92
OpenIDE-Module-Specification-Version: 2.93
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"PhpVersion.PHP_80=PHP 8.0",
"PhpVersion.PHP_81=PHP 8.1",
"PhpVersion.PHP_82=PHP 8.2",
"PhpVersion.PHP_83=PHP 8.3",
})
public enum PhpVersion {

Expand Down Expand Up @@ -103,6 +104,11 @@ public enum PhpVersion {
* @since 2.87
*/
PHP_82(Bundle.PhpVersion_PHP_82()),
/**
* PHP 8.3.
* @since 2.93
*/
PHP_83(Bundle.PhpVersion_PHP_83()),
;

private final String displayName;
Expand Down Expand Up @@ -284,6 +290,7 @@ private enum Period {
PHP_80(LocalDate.of(2020, 11, 26), LocalDate.of(2022, 11, 26), LocalDate.of(2023, 11, 26)),
PHP_81(LocalDate.of(2021, 11, 25), LocalDate.of(2023, 11, 25), LocalDate.of(2024, 11, 25)),
PHP_82(LocalDate.of(2022, 12, 8), LocalDate.of(2024, 12, 8), LocalDate.of(2025, 12, 8)),
PHP_83(LocalDate.of(2023, 11, 23), LocalDate.of(2025, 11, 23), LocalDate.of(2026, 11, 23)),
;

private final LocalDate initialRelease;
Expand Down
2 changes: 1 addition & 1 deletion php/php.editor/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ javac.source=1.8
javac.compilerargs=-Xlint -Xlint:-serial
nbjavac.ignore.missing.enclosing=**/CUP$ASTPHP5Parser$actions.class
nbm.needs.restart=true
spec.version.base=2.28.0
spec.version.base=2.29.0
release.external/predefined_vars-1.0.zip=docs/predefined_vars.zip
sigtest.gen.fail.on.error=false

Expand Down
2 changes: 1 addition & 1 deletion php/php.editor/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<specification-version>2.92</specification-version>
<specification-version>2.93</specification-version>
</run-dependency>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion php/php.project/manifest.mf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
AutoUpdate-Show-In-Client: false
OpenIDE-Module-Specification-Version: 2.165
OpenIDE-Module-Specification-Version: 2.166
OpenIDE-Module: org.netbeans.modules.php.project
OpenIDE-Module-Layer: org/netbeans/modules/php/project/resources/layer.xml
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/php/project/resources/Bundle.properties
2 changes: 1 addition & 1 deletion php/php.project/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<specification-version>2.87</specification-version>
<specification-version>2.93</specification-version>
</run-dependency>
</dependency>
<dependency>
Expand Down

0 comments on commit bbbe151

Please sign in to comment.