v3.9.0
What's Changed
Default docker image improvements
phpDocumentor is now running by default on PHP 8.4 via the official Docker image. As usual older code is still processed correctly. No matter which PHP version you project is written for.
- Docker Optimizations by @NabeelKhanYYC in https://github.com/phpDocumentor/phpDocumentor/pull/3945
- Restrict dependency of php:8.1 to 8.1-bookworm. This is due to missin? by @jaymeh in https://github.com/phpDocumentor/phpDocumentor/pull/3961
- PHP version in docker to 8.4 by @jaapio in https://github.com/phpDocumentor/phpDocumentor/pull/4011
PHP 8.5
Our CI ppipelines are now also testing against PHP 8.5. Which allows you to run phpDocumentor on PHP 8.5 as well. PHP 8.5 does not have any additional changes that affect phpDocumentor at this time.
- Test against php 8.5 by @sergiy-petrov in https://github.com/phpDocumentor/phpDocumentor/pull/3978
Expression Support
phpDocumentor now supports default expressions in parameters, properties and constants. The used types in these expressions are also parsed and used in the type resolution. So types within expressions are now linked correctly.
In this examle the type is linked correctly in the constructor parameter.