v10.3.0 Support PHP 8.4
Support for PHP 8.4
We are delighted to announce official support for PHP 8.4. As part of this update, we have addressed changes related to PHP's new deprecations.
Deprecated: Implicitly Nullable Parameter
Starting from PHP 8.4, the use of implicitly nullable parameters has been deprecated. Thanks to the fixes in OpenAPI Generator version 7.11.0 ( OpenAPITools/openapi-generator#20243 ) by @77web, any occurrence of this deprecated syntax has been removed from the autogenerated files.
- function foo (array $data = null)
+ function foo (array|null $data = null)
For more information on these deprecations, please refer to the PHP 8.4 Migration Guide.
Enhancements in Type Safety
Additionally, several implementations have been refactored for improved type safety. This raised the PHPStan level from 5 to 8.
Other Changes
Full Changelog: v10.2.1...v10.3.0
This release is prepared by @eucyt