Ignore a specific file or directory¶
SymfonyInsight analyses all the files of your project, but it excludes by default the following directories, commonly used to store tests and third-party libraries:
In case you need to exclude other files or directories for a specific project,
you can use two main configuration keys:
You can learn more about how to configure SymfonyInsight on the dedicated documentation page.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
global_exclude_dirs: - vendor - vendors - test - tests - Tests - spec - features - Fixtures - DataFixtures - var exclude_patterns: - file.php - build/*.php
If you want to completely override the directories that Insight excludes by
default, add an empty
global_exclude_dirs configuration option.