Eases the creation of beautiful and testable command line interfaces
This report summarizes scanner evidence for symfony/console, a PHP project with 9,814 GitHub stars. SynthScan examined 64,088 lines of code across 555 source files, recording 1103 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 17.7 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 894 finding(s).
Are imports declared and package/API names verified? 209 finding(s).
Are wrappers, guards, and repeated structures necessary? 875 finding(s).
Which changes need focused human review? 1103 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1103 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Application.php | 160 | public function setSignalsToDispatchEvent(int ...$signalsToDispatchEvent): void | CODE |
| LOW | Application.php | 1236 | protected function getDefaultInputDefinition(): InputDefinition | CODE |
| LOW | Application.php | 1276 | private function getAbbreviationSuggestions(array $abbrevs): string | CODE |
| LOW | Application.php | 1449 | private function registerContainerServices(): void | CODE |
| LOW | Application.php | 1618 | private function createUnknownSegmentException(string $segment, string $path): CommandNotFoundException | CODE |
| LOW | Application.php | 1642 | private function getApplicationOptionTokens(InputInterface $input, array $consumed): array | CODE |
| LOW | CI/GithubActionReporter.php | 48 | public static function isGithubActionEnvironment(): bool | CODE |
| LOW | ArgumentResolver/ArgumentResolver.php | 151 | public static function getDefaultArgumentValueResolvers(): iterable | CODE |
| LOW | Tests/TerminalTest.php | 152 | public function testSupportsKittyGraphics(?string $termProgram, ?string $term, ?string $ghosttyResources, ?string $k | CODE |
| LOW | Tests/TerminalTest.php | 220 | public function testSupportsImageProtocol() | CODE |
| LOW | Tests/TerminalTest.php | 239 | public function testSetKittyGraphicsSupport() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 332 | public function testAddCommandWithEmptyConstructor() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 340 | public function testAddCommandWithExtendedCommand() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 349 | public function testAddCommandWithInvokableCommand() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 359 | public function testAddCommandWithInvokableExtendedCommand() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 369 | public function testAddCommandThrowsExceptionOnInvalidCommand(callable $command, string $expectedException, string $ | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 379 | public static function provideInvalidInvokableCommands(): iterable | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 668 | public function testFindWithAmbiguousAbbreviationsFindsCommandIfAlternativesAreHidden() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 678 | public function testFindCommandEqualNamespace() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 688 | public function testFindCommandWithAmbiguousNamespacesButUniqueName() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 697 | public function testFindCommandWithMissingNamespace() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 706 | public function testFindAlternativeExceptionMessageSingle($name) | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2093 | public function testGetDisabledLazyCommand() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2103 | public function testHasReturnsFalseForDisabledLazyCommand() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2110 | public function testAllExcludesDisabledLazyCommand() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2117 | public function testFindAlternativesDoesNotLoadSameNamespaceCommandsOnExactMatch() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2567 | public function testSignalableRestoresStty() | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2575 | public function testTerminalInputHelperRestoresStty(string $option) | CODE |
| LOW⚡ | Tests/ApplicationTest.php | 2581 | public static function provideTerminalInputHelperOption() | CODE |
| LOW | Tests/ApplicationTest.php | 168 | public function testGetLongVersionWithContainer() | CODE |
| LOW | Tests/ApplicationTest.php | 180 | public function testContainerWiresEventDispatcher() | CODE |
| LOW | Tests/ApplicationTest.php | 192 | public function testContainerWiresCommandLoader() | CODE |
| LOW | Tests/ApplicationTest.php | 204 | public function testContainerWiresEagerCommands() | CODE |
| LOW | Tests/ApplicationTest.php | 215 | public function testPsrContainerWiresEagerCommands() | CODE |
| LOW | Tests/ApplicationTest.php | 230 | public function testPsrContainerSkipsLazyCommands() | CODE |
| LOW | Tests/ApplicationTest.php | 246 | public function testApplicationWithoutContainer() | CODE |
| LOW | Tests/ApplicationTest.php | 410 | public function testHasGetWithCommandLoader() | CODE |
| LOW | Tests/ApplicationTest.php | 472 | public function testFindNamespaceWithSubnamespaces() | CODE |
| LOW | Tests/ApplicationTest.php | 480 | public function testFindAmbiguousNamespace() | CODE |
| LOW | Tests/ApplicationTest.php | 495 | public function testFindAmbiguousNamespaceSortedAlphabetically() | CODE |
| LOW | Tests/ApplicationTest.php | 524 | public function testFindUniqueNameButNamespaceName() | CODE |
| LOW | Tests/ApplicationTest.php | 549 | public function testFindCaseSensitiveFirst() | CODE |
| LOW | Tests/ApplicationTest.php | 561 | public function testFindCaseInsensitiveAsFallback() | CODE |
| LOW | Tests/ApplicationTest.php | 571 | public function testFindCaseInsensitiveSuggestions() | CODE |
| LOW | Tests/ApplicationTest.php | 583 | public function testFindSingleWithAmbiguousAliases() | CODE |
| LOW | Tests/ApplicationTest.php | 595 | public function testFindWithCommandLoader() | CODE |
| LOW | Tests/ApplicationTest.php | 610 | public function testFindWithAmbiguousAbbreviations($abbreviation, $expectedExceptionMessage) | CODE |
| LOW | Tests/ApplicationTest.php | 624 | public static function provideAmbiguousAbbreviations() | CODE |
| LOW | Tests/ApplicationTest.php | 645 | public function testFindAmbiguousCommandsSortedAlphabetically() | CODE |
| LOW | Tests/ApplicationTest.php | 717 | public function testDontRunAlternativeNamespaceName() | CODE |
| LOW | Tests/ApplicationTest.php | 727 | public function testCanRunAlternativeCommandName() | CODE |
| LOW | Tests/ApplicationTest.php | 741 | public function testDontRunAlternativeCommandName() | CODE |
| LOW | Tests/ApplicationTest.php | 755 | public static function provideInvalidCommandNamesSingle() | CODE |
| LOW | Tests/ApplicationTest.php | 779 | public function testFindAlternativeExceptionMessageMultiple() | CODE |
| LOW | Tests/ApplicationTest.php | 822 | public function testFindAlternativeCommands() | CODE |
| LOW | Tests/ApplicationTest.php | 854 | public function testFindAlternativeCommandsWithAnAlias() | CODE |
| LOW | Tests/ApplicationTest.php | 870 | public function testFindAlternativeNamespace() | CODE |
| LOW | Tests/ApplicationTest.php | 905 | public function testFindAlternativesOutput() | CODE |
| LOW | Tests/ApplicationTest.php | 936 | public function testFindNamespaceDoesNotFailOnDeepSimilarNamespaces() | CODE |
| LOW | Tests/ApplicationTest.php | 946 | public function testFindWithDoubleColonInNameThrowsException() | CODE |
| 815 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tests/Tester/CommandTesterTest.php | 469 | 'email' => 'admin@example.com', | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 1 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 1 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 6 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 6 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 11 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 11 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 16 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 16 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 21 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 21 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 27 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | …/Style/SymfonyStyle/output/output_4_with_iterators.txt | 27 | Lorem ipsum dolor sit amet | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_12.txt | 2 | // Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | COMMENT |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_12.txt | 2 | // Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | COMMENT |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_13.txt | 2 | [39;49m // [39;49mÁrvíztűrőtükörfúrógép 🎼 Lorem ipsum dolor sit [33m💕 amet, consectetur adipisicing elit, sed do eius | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_10.txt | 2 | X [CUSTOM] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_10.txt | 2 | X [CUSTOM] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_14.txt | 2 | $ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_14.txt | 2 | $ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_15.txt | 2 | [TEST] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_15.txt | 2 | [TEST] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_16.txt | 3 | [30;42m [OK] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_16.txt | 3 | [30;42m [OK] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 4 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 4 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 10 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 10 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 16 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 16 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 22 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 22 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 28 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 28 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 34 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_24.txt | 34 | │ Lorem ipsum dolor sit amet │ | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_21.txt | 2 | [OK] Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_21.txt | 2 | [OK] Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_21.txt | 4 | [OK] Lorem ipsum dolor sit amet with one emoji 🎉 | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_21.txt | 4 | [OK] Lorem ipsum dolor sit amet with one emoji 🎉 | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_21.txt | 6 | [OK] Lorem ipsum dolor sit amet with so many of them 🌾🌾🌾🌾🌾 | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_21.txt | 6 | [OK] Lorem ipsum dolor sit amet with so many of them 🌾🌾🌾🌾🌾 | CODE |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_22.txt | 2 | [39;49m ║ [39;49m[★] Árvíztűrőtükörfúrógép Lorem ipsum dolor sit [33mamet, consectetur adipisicing elit, sed do eiusm | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_6.txt | 1 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_6.txt | 1 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_6.txt | 4 | [OK] Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_6.txt | 4 | [OK] Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 1 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 1 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 2 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 2 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 5 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 5 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 6 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 6 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 9 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 9 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 10 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 10 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt | 13 | Lorem ipsum dolor sit amet | CODE |
| 149 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Resources/completion.bash | 1 | # This file is part of the Symfony package. | COMMENT |
| MEDIUM | Resources/completion.zsh | 3 | # This file is part of the Symfony package. | COMMENT |
| MEDIUM | Tests/shell-completion/run.sh | 3 | # This file is part of the Symfony package. | COMMENT |
| MEDIUM | Tests/shell-completion/try.sh | 3 | # This file is part of the Symfony package. | COMMENT |
| MEDIUM | Tests/shell-completion/docker.sh | 3 | # This file is part of the Symfony package. | COMMENT |
| MEDIUM | Tests/shell-completion/drivers/bash-completion.sh | 1 | # This file is part of the Symfony package. | COMMENT |
| MEDIUM | Tests/shell-completion/drivers/zsh.zsh | 3 | # This file is part of the Symfony package. | COMMENT |
| MEDIUM | Tests/shell-completion/drivers/bash.sh | 3 | # This file is part of the Symfony package. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Resources/completion.zsh | 1 | #compdef {{ COMMAND_NAME }} | COMMENT |
| LOW | Tests/Input/ArgvInputTest.php | 461 | } | COMMENT |
| LOW | Tests/shell-completion/try.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | Tests/shell-completion/cases.txt | 1 | # Test cases for the shell completion scripts. | COMMENT |
| LOW | Tests/shell-completion/docker.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | Tests/shell-completion/drivers/zsh.zsh | 1 | #!/usr/bin/env zsh | COMMENT |
| LOW | Tests/shell-completion/drivers/bash.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | Tests/Fixtures/Style/SymfonyStyle/output/output_12.txt | 1 | COMMENT | |
| LOW | Tests/Command/InvokableCommandTest.php | 581 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tests/shell-completion/docker.sh | 12 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tester/ApplicationTester.php | 20 | * When testing an application, don't forget to disable the auto exit flag: | COMMENT |