Support for PHP 8.5
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Description
Support for the latest version of Php 8.5
### Use case/motivation
With the recent release of PHP 8.5 https://www.php.net/releases/8.5/en.php I think we can start preparing the support code for the new version.
I want to help with the development, but there are some parts for which I don't know the process.
- Ex: It looks like the parser compiler uses a library `parser.cutter` for which is not clear what is the source code.
I, also, know we would need to see the availability of junichi11 for this feature development.
### Related issues
Possible evolution conflicts as there are some pull requests for PHP 8.4 which are in draft mode / work in progress.
https://github.com/apache/netbeans/pull/8227
### Are you willing to submit a pull request?
Yes
### Troubleshooting
it seems that by default the ant task for java cup loads the libraries from the installed java package Linux (usr/share/java).
So it will use CUP v0.11b instead of the referenced classpath of CUP v0.11a.
A solution is to move the jar : java-cup-0.11b.jar to temporary location.
Contributor guide
Research direction
Start by reviewing the PHP 8.4 work in pull request #8227, then investigate where the parser compiler uses parser.cutter and how the Ant java-cup classpath is resolved. Done means NetBeans has support for PHP 8.5 without conflicting with the in-progress PHP 8.4 changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, php
- Domain
- compilers, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100