stable

Clone or download

Read-only

Correct type declarations in tests

part of request #23044 Program management: add psalm in unit test private Stub|ARandomClass $class; is not a valid type for psalm, this patch will correct this types. You can check that it's better than before by running make psalm FILES=~/MAG/enalean/tuleap/plugins/program_management/tests on master you'll have more than 400 errors, with this patch they decrease to +- 270 errors I split this part in a dedicated commit, because it's easy to review and it removes many error and it will reduce the amount of file to check in review Change-Id: I90b602883ad5be0cb88f18a040a572e883558e04

Modified Files

Name
M plugins/program_management/tests/unit/Adapter/Events/ProgramIncrementCreationEventProxyTest.php +4 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ArtifactCreatorAdapterTest.php +8 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ChangesetAdderTest.php +8 −3 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/LastChangesetRetrieverTest.php +8 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationDispatcherTest.php +4 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateDispatcherTest.php +4 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ProjectFromTrackerRetrieverTest.php +4 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/ChangesetRetrieverTest.php +4 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/Values/FieldValuesGathererRetrieverTest.php +8 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/Values/FieldValuesGathererTest.php +8 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldsGathererTest.php +24 −7 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/Content/FeatureContentRetrieverTest.php +12 −3 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/UserStoriesInMirroredProgramIncrementsPlannerTest.php +12 −3 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Workspace/TrackerOfArtifactRetrieverTest.php +8 −2 Go to diff View file
M plugins/program_management/tests/unit/DisplayAdminProgramManagementControllerTest.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/TimeboxCreatorCheckerTest.php +12 −3 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/SourceArtifactNatureAnalyzerTest.php +4 −1 Go to diff View file