Update to php 8.1
Closes #1226 (closed)
What does this MR do?
- update phpstan to 1.8.5
- update jms/serializer-bundle to 4.0.2
- update nesbot/carbon to 2.62.1 to prevent deprecated warning
- removed "--diff-format" in lint-php script
- Update to php 8.1.8
- Removed unused classes
- php debugbar removed
ToDo
-
phpstan show: You're using a deprecated config option excludes_analyse. -
update composer.json to php 8.1.8 -
Debugbar is broken and waiting for https://github.com/maximebf/php-debugbar/pull/497 -
[critical] Error thrown while running command "'maintenance:recreateGroupStructure'". Message: "Attribute value must be of type int for selected attribute, string given" -
error on seed script: Unknown or bad timezone (-14 days) for Creator.php line 87 and CarbonTimeZone.php line 104 -
http://localhost:18080/api/conversations?limit=20 show {"code":500,"message":"Warning: Undefined array key 26"} -
Always-read and written properties
How confident are you it won't break things if deployed?
Links to related issues
How to test
Screenshots (if applicable)
Checklist
-
added a test, or explain why one is not needed/possible... -
no unrelated changes -
asked someone for a code review -
set a "for:" label to indicate who will be affected by this change -
added to the next milestone (see https://gitlab.com/foodsharing-dev/foodsharing/-/milestones, unless it has a "for:Dev" label) -
added an entry to CHANGELOG.md
-
added a short text that can be used in the release notes -
Once your MR has been merged, you are responsible to create a testing issue in the Beta Testing forum: https://foodsharing.de/?page=bezirk&bid=734&sub=forum. Please change the MRs label to "state:Beta testing". - Consider writing a detailed description in German.
- Describe in a few sentences, what should be tested from a user perspective.
- Also mention different settings (e.g. different browsers, roles, ...) how this change can be tested.
- Be aware, that also non technical people should understand.
Release notes text in German
Edited by Christian Walgenbach