What's Changed
Changed
- Modernize PHP code by @Krymonota in #1
- Only support maintained PHP versions (8.1, 8.2, 8.3)
- Replace usage of deprecated
utf8_encodefunction - Add PHPStan
- Fix PHPStan errors up to level 5
- Improve overall code quality, such as adding type hints and improve type safety
- Remove PHPMD
- Add
.gitkeepfile tobuild/logsfolder - Clean up
.gitignorefile - Add
ext-simplexmltocomposer.json
- Verify response is actually challenge response in Source protocol by @Krymonota in #2
- Remove deprecated protocols by @Krymonota in #3
- Remove deprecated
Armedassault3protocol class - Remove deprecated
Gta5mprotocol class - Remove
Rf2in favour ofRfactor2protocol class
- Remove deprecated
- Refactor exceptions by @Krymonota in #4
- Rename
\GameQ\Exception\Protocolto\GameQ\Exception\ProtocolException - Rename
\GameQ\Exception\Serverto\GameQ\Exception\ServerException - Rename
\GameQ\Exception\Queryto\GameQ\Exception\QueryException - Debug mode: Bubble up GameQ exceptions instead of wrapping them into a generic
\Exceptionobject
- Rename
- Run experimental CI checks also for PHP 8.4 by @Krymonota in #5
New Contributors
- @Krymonota made their first contribution in #1
Full Changelog: https://github.com/KrymoSoftware/GameQ/commits/4.0.0