wapmorgan / PhpDeprecationDetector

Analyzer of PHP code to search issues with deprecated functionality in newer interpreter versions.
http://wapmorgan.github.io/PhpDeprecationDetector/
BSD 3-Clause "New" or "Revised" License
364 stars 37 forks source link

PHP 8.2 support #73

Open kkmuffme opened 1 year ago

kkmuffme commented 1 year ago

PHP 8.2 has been released

https://wiki.php.net/rfc/deprecations_php_8_2 https://www.php.net/manual/en/migration82.deprecated.php

Also:

default for --target needs to be increased to 8.2 documentation needs to be updated to include the 8.2 too

For anyone who can contribute, here is a sample of 8.1 https://github.com/wapmorgan/PhpDeprecationDetector/pull/70/commits/b71aac3e4151802338138b681f623f8103c5cc5d which can be applied in a similar way for 8.2

Axent96 commented 1 year ago

@jamessampford do you have a time for v8.2 like you supported already for v8.1?

jamessampford commented 1 year ago

@Axent96 I found it in a fork

maork-elementor commented 1 year ago

@Axent96 Can you please provide the link to the fork? Which include php8.2

Axent96 commented 1 year ago

@maork-elementor I have no link for a fork with the fix.

jamessampford commented 1 year ago

@maork-elementor feel free to put it together yourself and share with the community

All forks listed at https://github.com/wapmorgan/PhpDeprecationDetector/forks - this is how I found someone had already put the rules together for 8.1, which I included in the PR that added 8.1 support