pokepark / PokemonRaidBot

Telegram bot for organizing Raids in Pokémon Go. Developers & admins are welcome to join https://t.me/PokeParkSupport
https://t.me/PokeParkSupport
GNU Affero General Public License v3.0
48 stars 40 forks source link

php8 migration #266

Closed jinnatar closed 2 years ago

jinnatar commented 2 years ago

As of November 2021 php7.4 which we target has entered the "security fixes only" phase of it's lifecycle: https://www.php.net/supported-versions.php .. It's the last of the php7 versions. That means right now we have 10 months of security updates remaining.

We should probably aim to target php8.1 directly. Let's use this bug to track any outstanding issues.

General migration guidance: https://www.php.net/manual/en/migration80.php

Known changes already taken care of:

Known bits we use that need to be checked (full list which I checked through https://www.php.net/manual/en/migration80.incompatible.php):

Also there's some deprecated features we may be using (https://www.php.net/manual/en/migration80.deprecated.php):