stable

Clone or download

Read-only

Add Psalm verification in the test pipeline on modified files

Only the modified files that are in scope of the Psalm configuration are analyzed. We might miss some issues in the non modified files but it allow us to do the analysis quickly without needing to new resources or increase the pipeline execution time. Recents errors introduced in the codebase are also fixed. Part of request #13292: Integrate vimeo/psalm to the test pipeline Change-Id: I20f84bc20807378ecc7357083dfa2ec4dc05af4f

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanEmbeddedFilesResource.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/DocmanFoldersResource.php +6 −6 Go to diff View file
M plugins/docman/include/REST/v1/DocmanLinksResource.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/DocmanWikiResource.php +1 −1 Go to diff View file
M plugins/statistics/include/Frequencies/GraphDataBuilders/SampleGraph.php +11 −0 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/CIBuild/Transition_PostAction_CIBuildDao.class.php +3 −4 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/Update/Internal/CIBuildValueRepository.php +17 −10 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/Update/Internal/CIBuildValueUpdater.php +6 −1 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/Update/Internal/FrozenFieldsValueValidator.php +6 −1 Go to diff View file
M src/common/tracker/ArtifactField.class.php +9 −6 Go to diff View file
M tests/Jenkinsfile +17 −0 Go to diff View file
M tests/Jenkinsfile-nightly +2 −1 Go to diff View file
M tests/actions.groovy +11 −5 Go to diff View file
A tests/lib/Psalm/PsalmCILauncher.php +91 −0 Go to diff View file
M tests/lib/Psalm/PsalmCommandLauncherWithIgnoreDirectory.php +4 −5 Go to diff View file
A tests/lib/Psalm/ShellPassthrough.php +28 −0 Go to diff View file
A tests/lib/Psalm/ShellPassthroughUsingPassthruFunction.php +34 −0 Go to diff View file
A tests/phpunit/tests/Psalm/PsalmCILauncherTest.php +86 −0 Go to diff View file
M tests/phpunit/tests/Psalm/PsalmCommandLauncherWithIgnoreDirectoryTest.php +26 −28 Go to diff View file
A tests/phpunit/tests/Psalm/ShellPassthroughUsingPassthruFunctionTest.php +41 −0 Go to diff View file
M tests/psalm/Dockerfile +11 −1 Go to diff View file
A tests/psalm/psalm-ci-launcher.php +34 −0 Go to diff View file
M tests/psalm/psalm-config-plugins-git-ignore.php +2 −3 Go to diff View file