stable

Clone or download

Read-only

Use azjezz/psl as a replacement for thecodingmachine/safe

It seems that webimpress/safe-writer lack a bit of maintenance/releases these days. The currently published version has a type incompatibility on \DateTimeImmutable. azjezz/psl has also some interesting implementations regarding type safety we could use to improve our implementation of Tuleap\OnlyOffice\Save\OptionalValue. The "safe" part has been dropped in AdminPermissionsController, anyway if it fails at some point it will throw when trying to output the response. Part of request #30344: Run Tuleap with PHP 8.2 Change-Id: I43004fc371f0c0582f6dfcee2f3d34d256de1eb2

Modified Files

Name
M plugins/docman/include/REST/v1/EmbeddedFiles/EmbeddedFileVersionContentRetriever.php +6 −1 Go to diff View file
M plugins/document/composer.json +1 −2 Go to diff View file
M plugins/document/composer.lock +1 −140 Go to diff View file
M plugins/mediawiki_standalone/composer.json +0 −3 Go to diff View file
M plugins/mediawiki_standalone/composer.lock +2 −142 Go to diff View file
M plugins/mediawiki_standalone/include/Permissions/Admin/AdminPermissionsController.php +4 −5 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/Text/TextValueValidatorTest.php +2 −3 Go to diff View file
M src/composer.json +2 −0 Go to diff View file
M src/composer.lock +201 −1 Go to diff View file
M tests/psalm/psalm.xml +1 −0 Go to diff View file