stable

Clone or download

Read-only

Fix PHP 8.1 hard crashes when launching the unit tests

The test suite still fails but it can be completely executed without crashing in the middle. It can be tested with `make tests-unit-php PHP_VERSION=81`. Part of request #22659: Run Tuleap with PHP 8.1 Change-Id: I7580124888002ce65390abbf63ea0e14c71bd359

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/BacklogItemCollection.class.php +6 −6 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/DescendantItemsCollection.class.php +6 −6 Go to diff View file
M plugins/cardwall/include/MappingCollection.class.php +1 −4 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/SimilarField/SimilarFieldCollection.php +1 −1 Go to diff View file
M plugins/git/include/Git/Gitolite/SSHKey/Provider/GerritServer.php +5 −8 Go to diff View file
M plugins/git/include/Git/Gitolite/SSHKey/Provider/User.php +5 −8 Go to diff View file
M plugins/git/include/Git/Gitolite/SSHKey/Provider/WholeInstanceKeysAggregator.php +5 −8 Go to diff View file
M plugins/gitlfs/include/Batch/Response/Action/BatchResponseActionContent.php +1 −1 Go to diff View file
M plugins/gitlfs/include/Batch/Response/Action/BatchResponseActionsForDownloadOperation.php +1 −1 Go to diff View file
M plugins/gitlfs/include/Batch/Response/Action/BatchResponseActionsForUploadOperation.php +1 −1 Go to diff View file
M plugins/gitlfs/include/Batch/Response/BatchResponseObjectWithActions.php +1 −1 Go to diff View file
M plugins/gitlfs/include/Batch/Response/BatchResponseObjectWithNotFoundError.php +1 −1 Go to diff View file
M plugins/gitlfs/include/Batch/Response/BatchResponseObjectWithoutAction.php +1 −1 Go to diff View file
M plugins/gitlfs/include/Batch/Response/BatchSuccessfulResponse.php +1 −1 Go to diff View file
M plugins/gitlfs/include/StreamFilter/StreamFilterWrapper.php +2 −2 Go to diff View file
M plugins/ldap/include/LDAPResult.class.php +6 −6 Go to diff View file
M plugins/ldap/include/LDAPResultIterator.php +7 −15 Go to diff View file
M plugins/mediawiki/tests/unit/MediawikiUserGroupsMapperTest.php +26 −26 Go to diff View file
M plugins/oauth2_server/include/OpenIDConnect/Discovery/ConfigurationResponseRepresentation.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_File.class.php +10 −29 Go to diff View file
M plugins/tracker/include/Tracker/Creation/ProjectTemplatesRepresentation.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/TrackerTemplatesRepresentation.php +1 −4 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticCollection.class.php +9 −9 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticManager.class.php +10 −2 Go to diff View file
M plugins/tracker/include/Workflow/Transition/ConditionsCollection.class.php +4 −4 Go to diff View file
M plugins/tracker/include/Workflow/Trigger/TriggerRuleCollection.class.php +6 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/TrackerManagerTest.php +3 −10 Go to diff View file
M plugins/tracker/tests/unit/Tracker_FormElementFactoryTest.php +8 −14 Go to diff View file
M src/common/DB/Compat/Legacy2018/CompatPDODataAccessResult.php +1 −0 Go to diff View file
M src/common/DB/Compat/Legacy2018/LegacyDataAccessResultInterface.php +6 −16 Go to diff View file
M src/common/User/Account/AccountTabPresenterCollection.php +5 −20 Go to diff View file
M src/common/dao/include/DataAccessResultEmpty.class.php +6 −12 Go to diff View file
M src/common/trove/TroveCat.php +1 −4 Go to diff View file
M tests/lib/DataAccessResult.class.php +6 −15 Go to diff View file
M tests/lib/ErrorDataAccessResult.php +2 −2 Go to diff View file
M tests/unit/common/Project/UGroupBindingTest.php +15 −11 Go to diff View file
M tests/unit/common/Reference/ReferenceManagerTest.php +2 −2 Go to diff View file
M tests/unit/common/dao/SystemEventDaoTest.php +9 −9 Go to diff View file