🕸️ Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.
This report summarizes scanner evidence for api-platform/api-platform, a PHP project with 9,188 GitHub stars. SynthScan examined 5,472 lines of code across 53 source files, recording 110 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 25.2 (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? 110 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 102 finding(s).
Which changes need focused human review? 110 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 110 distinct pattern matches across 3 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⚡ | tests/InstallerCommandTest.php | 207 | public function testAdminDefaultsToFalseInNonInteractiveMode(): void | CODE |
| LOW⚡ | tests/InstallerCommandTest.php | 214 | public function testDocsOptionDescriptionMentionsScalar(): void | CODE |
| LOW⚡ | tests/InstallerCommandTest.php | 221 | public function testAcceptsScalarAsDocsOption(): void | CODE |
| LOW⚡ | tests/InstallerCommandTest.php | 226 | public function testReportsDevVersionWhenPlaceholderUnsubstituted(): void | CODE |
| LOW⚡ | tests/InstallerCommandTest.php | 233 | public function testNonInteractiveDefaultsSelectEveryFormatAndDocViewer(): void | CODE |
| LOW⚡ | tests/InstallerCommandTest.php | 241 | public function testEmptyDocsOptionDisablesDocViewers(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 49 | public function testRejectsExistingDirectory(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 71 | public function testRejectsInvalidProjectName(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 79 | public function testRejectsUnknownFramework(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 95 | public function testRejectsWithDockerOnLaravel(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 106 | public function testRejectsSymfonyDockerRefOnLaravel(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 117 | public function testRejectsWithPwaOnLaravel(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 128 | public function testSymfonyDockerRefOptionIsPropagated(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 142 | public function testWarnsWhenSymfonyDockerRefIsOverridden(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 156 | public function testDoesNotWarnWhenTheRefIsLeftAtThePinnedDefault(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 169 | public function testDoesNotWarnWhenTheRefCannotBeUsed(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 183 | public function testAdminOptionIsAcceptedOnSymfony(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 189 | public function testAdminOptionIsAcceptedOnLaravel(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 255 | public function testRejectsEmptyDocsOptionCombinedWithDocViewers(): void | CODE |
| LOW | tests/InstallerCommandTest.php | 270 | public static function interactiveDocsSelections(): array | CODE |
| LOW | tests/InstallerCommandTest.php | 288 | public function testInteractiveDocsPromptAcceptsDisplayedChoices(string $answer, array $expected): void | CODE |
| LOW | tests/InstallerCommandTest.php | 293 | public function testInteractiveMultiselectPromptsEmitNoPhpWarnings(): void | CODE |
| LOW | tests/Scaffold/NextPwaScaffoldTest.php | 12 | public function testKeepsExistingCorsAllowOriginFromNelmioRecipe(): void | CODE |
| LOW⚡ | tests/Scaffold/NextPwaScaffoldTest.php | 25 | public function testAddsNelmioCorsAllowOriginFallbackWhenMissing(): void | CODE |
| LOW⚡ | tests/Scaffold/NextPwaScaffoldTest.php | 35 | public function testCorsAllowOriginFallbackIsIdempotent(): void | CODE |
| LOW⚡ | tests/Scaffold/NextPwaScaffoldTest.php | 43 | public function testApprovesPnpmBuildPlaceholdersCreatedByCreateNextApp(): void | CODE |
| LOW | tests/Scaffold/NextPwaScaffoldTest.php | 60 | public function testKeepsUnrelatedIgnoredBuildDependencies(): void | CODE |
| LOW | tests/Scaffold/NextPwaScaffoldTest.php | 80 | public function testDoesNotOverwriteExplicitPnpmBuildDecisions(): void | CODE |
| LOW | tests/Scaffold/NextPwaScaffoldTest.php | 93 | public function testPnpmBuildApprovalPatchIsIdempotent(): void | CODE |
| LOW⚡ | tests/Scaffold/NextPwaScaffoldTest.php | 107 | public function testWritesNextPublicApiEntrypointEnvWhenAbsent(): void | CODE |
| LOW⚡ | tests/Scaffold/NextPwaScaffoldTest.php | 114 | public function testNextPublicApiEntrypointEnvIsIdempotent(): void | CODE |
| LOW⚡ | tests/Scaffold/NextPwaScaffoldTest.php | 123 | public function testNextPublicApiEntrypointEnvDoesNotOverwriteCustomValue(): void | CODE |
| LOW⚡ | tests/Scaffold/NextPwaScaffoldTest.php | 131 | public function testCreateNextAppCommandPinsTypeScriptAndAppRouter(): void | CODE |
| LOW | tests/Scaffold/FileWriterTest.php | 26 | public function testThrowsWhenTargetIsNotWritable(): void | CODE |
| LOW | tests/Scaffold/ComposeOverrideWriterTest.php | 54 | public function testInjectsCaddyDirectivesUnderPhpEnvironmentBetweenMarkers(): void | CODE |
| LOW | tests/Scaffold/ComposeOverrideWriterTest.php | 69 | public function testPreservesUpstreamCommentsAndOtherMarkers(): void | CODE |
| LOW | tests/Scaffold/ComposeOverrideWriterTest.php | 84 | public function testInjectionLandsBeforeVolumesSiblingNotInside(): void | CODE |
| LOW | tests/Scaffold/ComposeOverrideWriterTest.php | 98 | public function testDoesNotCreateSidecarComposeFile(): void | CODE |
| LOW⚡ | tests/Scaffold/ComposeOverrideWriterTest.php | 117 | public function testFailsLoudlyWhenComposeFileIsMissing(): void | CODE |
| LOW⚡ | tests/Scaffold/ComposeOverrideWriterTest.php | 123 | public function testFailsLoudlyWhenServicesPhpEnvironmentIsMissing(): void | CODE |
| LOW⚡ | tests/Scaffold/ComposeOverrideWriterTest.php | 131 | public function testIsIdempotentOnRepeatedRuns(): void | CODE |
| LOW | tests/Scaffold/ComposeOverrideWriterTest.php | 146 | public function testInjectsUnderFrankenphpServiceName(): void | CODE |
| LOW | tests/Scaffold/ComposeOverrideWriterTest.php | 172 | public function testRewritesBlockInPlaceWhenDirectivesChange(): void | CODE |
| LOW | tests/Scaffold/LaravelAdminScaffoldTest.php | 13 | public function testAppendsAdminRouteBetweenMarkersWhenAbsent(): void | CODE |
| LOW | tests/Scaffold/LaravelAdminScaffoldTest.php | 25 | public function testAdminRouteAppendIsIdempotent(): void | CODE |
| LOW | tests/Scaffold/LaravelAdminScaffoldTest.php | 36 | public function testAdminBladeTemplateExistsAndPointsAtViteEntry(): void | CODE |
| LOW | tests/Scaffold/LaravelAdminScaffoldTest.php | 46 | public function testAdminAppTemplateUsesHydraAdminAndDefaultsToWindowOrigin(): void | CODE |
| LOW | tests/Scaffold/LaravelAdminScaffoldTest.php | 57 | public function testAdminMainTemplateMountsOnAdminRoot(): void | CODE |
| LOW | tests/Scaffold/LaravelAdminScaffoldTest.php | 68 | public function testFilterInstalledPackagesSkipsAlreadyDeclaredDeps(): void | CODE |
| LOW | tests/Scaffold/LaravelAdminScaffoldTest.php | 93 | public function testFilterInstalledPackagesReturnsAllWhenManifestMissing(): void | CODE |
| LOW⚡ | tests/Scaffold/LaravelAdminScaffoldTest.php | 105 | public function testAppendsViteEntrypointEnvForLaravel(): void | CODE |
| LOW⚡ | tests/Scaffold/LaravelAdminScaffoldTest.php | 114 | public function testViteEntrypointEnvIsIdempotent(): void | CODE |
| LOW⚡ | tests/Scaffold/LaravelAdminScaffoldTest.php | 123 | public function testViteEntrypointEnvDoesNotOverwriteCustomValue(): void | CODE |
| LOW⚡ | tests/Scaffold/ViteConfigPatcherTest.php | 27 | public function testAddsEntryToInputArrayBetweenMarkers(): void | CODE |
| LOW⚡ | tests/Scaffold/ViteConfigPatcherTest.php | 36 | public function testPreservesExistingInputsAndConfigKeys(): void | CODE |
| LOW⚡ | tests/Scaffold/ViteConfigPatcherTest.php | 46 | public function testNewEntryLandsInsideInputArrayBeforeClosingBracket(): void | CODE |
| LOW | tests/Scaffold/ViteConfigPatcherTest.php | 57 | public function testIsIdempotentOnRepeatedPatches(): void | CODE |
| LOW | tests/Scaffold/ViteConfigPatcherTest.php | 68 | public function testFailsLoudlyWhenInputArrayMissing(): void | CODE |
| LOW | tests/Scaffold/ViteConfigPatcherTest.php | 75 | public function testDoesNotIntroduceArrayHoleOnTrailingComma(): void | CODE |
| LOW | tests/Scaffold/LaravelConfigPatcherTest.php | 46 | public function testReplacesFormatsAndKeepsSwaggerUi(): void | CODE |
| 42 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/Scaffold/NextPwaScaffoldTest.php | 140 | // a Pages-router or JS scaffold would crash the entry-page lookup. | COMMENT |
| MEDIUM | tests/Scaffold/AgentsScaffoldTest.php | 41 | // A null fetch (offline, rate limit) must not abort the scaffold. | COMMENT |
| MEDIUM | scripts/symfony-docker-pin.php | 9 | // pin <sha> repin the scaffold to <sha> | COMMENT |
| MEDIUM | scripts/symfony-docker-pin.php | 10 | // filter read upstream paths on stdin, print those the scaffold copies | COMMENT |
| MEDIUM | .github/workflows/symfony-docker-bump.yml | 64 | # Only the files the scaffold actually installs justify a PR. | COMMENT |
| MEDIUM | .github/workflows/symfony-docker-bump.yml | 151 | echo '### Files the scaffold copies that changed' | CODE |
| MEDIUM | src/Scaffold/AgentsScaffold.php | 39 | // Non-critical: never abort a scaffold over a doc file the project | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/symfony-docker-bump.yml | 1 | name: symfony-docker bump | COMMENT |