Documentation


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.

  1. Click on the Edit project link at the top right of a project or analysis page.
  2. 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
  3. Click on the Update Project button to save changes and then, launch a new project analysis.