stable

Clone or download

Read-only

Fix git plugin unit tests when running with PHP 8.2

You can test with the following command: `make tests-unit-php PHP_VERSION=82 FILES='plugins/git/tests/unit/'` Part of request #30344: Run Tuleap with PHP 8.2 Change-Id: I4d1cfb194481344d47f76b7ecd0035c3a85dd01f

Modified Files

Name
M plugins/git/include/Git.class.php +1 −0 Go to diff View file
M plugins/git/include/Git/GitoliteHousekeeping/GitoliteHousekeepingRunner.class.php +7 −11 Go to diff View file
M plugins/git/include/GitRepository.class.php +1 −0 Go to diff View file
M plugins/git/include/mvc/PluginController.class.php +1 −0 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerBindedUGroupsTest.php +26 −2 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerCreateGroupForUmbrellaTest.php +36 −2 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerCreateGroupTest.php +21 −2 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerListGroupsCacheTest.php +16 −0 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerListGroupsTest.php +13 −4 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerNoGerritTest.php +13 −4 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerProjectAdminOwnerOfEverythingTest.php +13 −9 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerProjectAdminTest.php +20 −2 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/MembershipManagerTest.php +20 −6 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/ProjectCreatorTest.php +30 −2 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/UmbrellaProjectManagerTest.php +13 −2 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/UserAccountManagerGetGerritUserTest.php +6 −0 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/UserAccountManagerPushSSHKeysTest.php +30 −0 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/UserAccountManagerTest.php +8 −0 Go to diff View file
M plugins/git/tests/unit/Git/Driver/Gerrit/UserFinderTest.php +1 −4 Go to diff View file
M plugins/git/tests/unit/Git/Gitolite/ConfigPermissionsSerializerGerritTest.php +4 −2 Go to diff View file
M plugins/git/tests/unit/Git/Gitolite/ConfigPermissionsSerializerGitoliteConfTest.php +6 −11 Go to diff View file
M plugins/git/tests/unit/Git/Gitolite/ConfigPermissionsSerializerTest.php +1 −2 Go to diff View file
M plugins/git/tests/unit/Git/Gitolite/Gitolite3LogParserTest.php +12 −2 Go to diff View file
M plugins/git/tests/unit/Git/GitoliteHousekeeping/ChainOfResponsibility/EnableGitGcTest.php +10 −2 Go to diff View file
M plugins/git/tests/unit/Git/GitoliteHousekeeping/ChainOfResponsibility/ServiceRestarterTest.php +10 −2 Go to diff View file
M plugins/git/tests/unit/Git/GitoliteHousekeeping/ChainOfResponsibility/ServiceStopperTest.php +10 −2 Go to diff View file
M plugins/git/tests/unit/Git/GitoliteHousekeeping/GitoliteHousekeepingGitGcTest.php +13 −2 Go to diff View file
M plugins/git/tests/unit/Git/GitoliteHousekeeping/GitoliteHousekeepingRunnerTest.php +24 −2 Go to diff View file
M plugins/git/tests/unit/Git/Mirror/ManifestFileGeneratorTest.php +1 −2 Go to diff View file
M plugins/git/tests/unit/Git/Permissions/DefaultFineGrainedPermissionFactoryTest.php +16 −10 Go to diff View file
M plugins/git/tests/unit/Git/Permissions/FineGrainedPermissionFactoryTest.php +16 −2 Go to diff View file
M plugins/git/tests/unit/Git/Permissions/HistoryValueFormatterTest.php +37 −2 Go to diff View file
M plugins/git/tests/unit/Git/Permissions/PermissionChangesDetectorForProjectTest.php +16 −2 Go to diff View file
M plugins/git/tests/unit/Git/RemoteServer/Gerrit/ReplicationHTTPUserAuthenticatorTest.php +4 −0 Go to diff View file
M plugins/git/tests/unit/Git/RemoteServer/GerritServerFactoryTest.php +5 −2 Go to diff View file
M plugins/git/tests/unit/Git/RemoteServer/MigrationHandlerTest.php +13 −2 Go to diff View file
M plugins/git/tests/unit/Git/SystemCheckTest.php +4 −2 Go to diff View file
M plugins/git/tests/unit/Git/UserAccountManagerTest.php +8 −0 Go to diff View file
M plugins/git/tests/unit/GitActionsFetchConfigTest.php +46 −2 Go to diff View file
M plugins/git/tests/unit/GitActionsForkTest.php +4 −2 Go to diff View file
M plugins/git/tests/unit/GitActionsProjectPrivacyTest.php +9 −2 Go to diff View file
M plugins/git/tests/unit/GitActionsTest.php +5 −0 Go to diff View file
M plugins/git/tests/unit/GitBackendGitoliteUserAccessRightsTest.php +8 −2 Go to diff View file
M plugins/git/tests/unit/GitGerritRouteTest.php +36 −8 Go to diff View file
M plugins/git/tests/unit/GitPermissionsManagerTest.php +4 −2 Go to diff View file
M plugins/git/tests/unit/GitProjectRenamerTest.php +1 −0 Go to diff View file
M plugins/git/tests/unit/GitRepositoryFactoryGetAllGerritRepositoriesFromProjectTest.php +35 −2 Go to diff View file
M plugins/git/tests/unit/GitRepositoryFactoryGetGerritRepositoriesWithPermissionsForUGroupTest.php +31 −2 Go to diff View file
M plugins/git/tests/unit/GitRepositoryManagerCreateTest.php +3 −4 Go to diff View file
M plugins/git/tests/unit/GitRepositoryManagerForkTest.php +12 −0 Go to diff View file
M plugins/git/tests/unit/GitRepositoryManagerRepositoryNameTest.php +8 −2 Go to diff View file
M plugins/git/tests/unit/GitXMLExporterTest.php +1 −0 Go to diff View file
M plugins/git/tests/unit/Git_Backend_GitoliteTest.php +0 −2 Go to diff View file
M plugins/git/tests/unit/SystemEvents/SystemEvent_GIT_EDIT_SSH_KEYSTest.php +4 −2 Go to diff View file
M plugins/git/tests/unit/SystemEvents/SystemEvent_GIT_GROKMIRROR_MANIFEST_CHECKTest.php +4 −2 Go to diff View file
M plugins/git/tests/unit/SystemEvents/SystemEvent_GIT_REPO_FORKTest.php +12 −1 Go to diff View file
M plugins/git/tests/unit/SystemEvents/SystemEvent_GIT_REPO_UPDATETest.php +16 −0 Go to diff View file