Fixes PHP 8.4 deprecation warnings - #217
Conversation
Fixes the "Implicitly marking parameter $context as nullable is deprecated" deprecation
tacman
commented
Jan 8, 2026
Any downsides will accepting this PR and publishing a new version? |
nadar
commented
Jan 8, 2026
PHP 8.4 adoption is growing, so it would be nice to have support for it, @cebe . I obviously have the same issue with PHP 8.5 as well. |
Maybe if you don’t have time (which is totally understandable, since you’re spending your free time on open source), you could add another maintainer to help? There seems to be many open PR's and Issues. |
tacman
commented
Jan 8, 2026
Another maintainer would be better than a fork. If B/C is an issue, what about releasing a 2.0 with only PHP 8.4+ and the latest of the libraries? A quick rector pass would also make the code more maintainable because static analysis is so much better with the later versions. |
nadar
commented
Jan 13, 2026
@cebe is there anything we could do here to help you? or to help maintain the repo? PHP 8.4 als ready the most installed version currently, see => https://packagist.org/php-statistics |
nadar
commented
Jan 20, 2026
@tacman i have published this fork, if you need this fixed: https://github.com/nadar/cebe-php-openapi/releases/tag/1.0 replace |
Fixes the "Implicitly marking parameter ... as nullable is deprecated" deprecation warnings