Analyze a project using Git submodules
SymfonyInsight doesn't update the project's Git submodules before performing the code analysis. Therefore, if any of your projects use submodules, you'll need to define a custom project configuration to download the submodules.
- Click on the
Edit project
link at the top right of a project or analysis page. Scroll down to the project's
Configuration
section and add the following configuration to enable Git submodule downloading:1 2 3
pre_composer_script: | #!/bin/bash git submodule update --init --recursive
- Click on the
Update Project
button to save changes and then, launch a new project analysis.