IDE Helper for Laravel
This report summarizes scanner evidence for barryvdh/laravel-ide-helper, a PHP project with 14,969 GitHub stars. SynthScan examined 19,793 lines of code across 277 source files, recording 197 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 12.6 (Moderate 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? 197 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 196 finding(s).
Which changes need focused human review? 197 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 197 distinct pattern matches across 2 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/AliasTest.php | 23 | public function testDetectMethodsMacroableMacros(): void | CODE |
| LOW | tests/AliasTest.php | 48 | public function testDetectMethodsEloquentBuilderMacros(): void | CODE |
| LOW | tests/AliasTest.php | 73 | public function testNoExceptionOnRequiredFakeParameters(): void | CODE |
| LOW | tests/AliasTest.php | 89 | public function testTemplateNamesAreDetected(): void | CODE |
| LOW | tests/MethodTest.php | 58 | public function testEloquentBuilderOutput() | CODE |
| LOW | tests/MethodTest.php | 90 | public function testEloquentBuilderNormalizedReturnType() | CODE |
| LOW | tests/MethodTest.php | 120 | public function testQueryBuilderNormalizedReturnType() | CODE |
| LOW | tests/MethodTest.php | 190 | public function testEloquentBuilderWithTemplates() | CODE |
| LOW | tests/MacroTest.php | 31 | public function testInitPhpDocEloquentBuilderHasStaticInReturnType(): void | CODE |
| LOW | tests/MacroTest.php | 54 | public function testInitPhpDocClosureWithoutDocBlock(): void | CODE |
| LOW | tests/MacroTest.php | 75 | public function testInitPhpDocClosureWithArgsAndReturnType(): void | CODE |
| LOW | tests/MacroTest.php | 99 | public function testInitPhpDocClosureWithArgs(): void | CODE |
| LOW | tests/MacroTest.php | 123 | public function testInitPhpDocClosureWithReturnType(): void | CODE |
| LOW | tests/MacroTest.php | 146 | public function testInitPhpDocParamsAddedOnlyNotPresent(): void | CODE |
| LOW | tests/MacroTest.php | 170 | public function testInitPhpDocReturnAddedOnlyNotPresent(): void | CODE |
| LOW | tests/MacroTest.php | 191 | public function testInitPhpDocParamsWithUnionTypes(): void | CODE |
| LOW | tests/MacroTest.php | 210 | public function testInitPhpDocParamsWithDnfTypes(): void | CODE |
| LOW | tests/MacroTest.php | 229 | public function testInitPhpDocParamsWithPureIntersectionType(): void | CODE |
| LOW | tests/MacroTest.php | 248 | public function testInitPhpDocParamsWithMultipleIntersections(): void | CODE |
| LOW | tests/TestCase.php | 58 | protected function assertMatchesMockedSnapshot() | CODE |
| LOW | …ts/Console/ModelsCommand/SoftDeletesRelations/Test.php | 26 | public function testSoftDeletesForceNullableDisabled(): void | CODE |
| LOW | …and/SoftDeletesRelations/Models/ModelWithRelations.php | 30 | public function softDeletableWithoutTrashed(): BelongsTo | CODE |
| LOW | …ts__/Test__testSoftDeletesForceNullableDisabled__1.php | 49 | public function softDeletableWithoutTrashed(): BelongsTo | CODE |
| LOW | …d/SoftDeletesRelations/__snapshots__/Test__test__1.php | 49 | public function softDeletableWithoutTrashed(): BelongsTo | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 15 | public function getAttributeWithIntReturnPhpdocAttribute() | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 19 | public function getAttributeWithIntReturnTypeAttribute(): int | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 26 | public function getAttributeWithIntReturnTypeAndPhpdocAttribute(): int | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 33 | public function getAttributeWithIntReturnTypeAndButPhpdocStringAttribute(): int | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 37 | public function getAttributeWithoutTypeAttribute() | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 44 | public function getAttributeTakesPhpdocLiteralAttribute() | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 48 | public function getAttributeReturnTypeIntOrNullAttribute(): ?int | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 52 | public function getAttributeReturnsImportedClassAttribute(): DateTime | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 56 | public function getAttributeReturnsFqnClassAttribute(): \Illuminate\Support\Facades\Date | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 60 | public function getAttributeReturnsArrayAttribute(): array | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 64 | public function getAttributeReturnsNullableArrayAttribute(): ?array | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 68 | public function getAttributeReturnsStdClassAttribute(): \stdClass | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 72 | public function getAttributeReturnsNullableStdClassAttribute(): ?\stdClass | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 76 | public function getAttributeReturnsBoolAttribute(): bool | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 80 | public function getAttributeReturnsNullableBoolAttribute(): ?bool | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 84 | public function getAttributeReturnsFloatAttribute(): bool | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 88 | public function getAttributeReturnsNullableFloatAttribute(): ?bool | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 92 | public function getAttributeReturnsCallableAttribute(): callable | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 96 | public function getAttributeReturnsNullableCallableAttribute(): ?callable | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 103 | public function getAttributeReturnsVoidAttribute(): void | CODE |
| LOW⚡ | tests/Console/ModelsCommand/Getter/Models/Simple.php | 107 | private function getInvalidAccessModifierAttribute() | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 43 | public function getAttributeWithIntReturnPhpdocAttribute() | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 47 | public function getAttributeWithIntReturnTypeAttribute(): int | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 54 | public function getAttributeWithIntReturnTypeAndPhpdocAttribute(): int | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 61 | public function getAttributeWithIntReturnTypeAndButPhpdocStringAttribute(): int | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 65 | public function getAttributeWithoutTypeAttribute() | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 72 | public function getAttributeTakesPhpdocLiteralAttribute() | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 76 | public function getAttributeReturnTypeIntOrNullAttribute(): ?int | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 80 | public function getAttributeReturnsImportedClassAttribute(): DateTime | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 84 | public function getAttributeReturnsFqnClassAttribute(): \Illuminate\Support\Facades\Date | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 88 | public function getAttributeReturnsArrayAttribute(): array | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 92 | public function getAttributeReturnsNullableArrayAttribute(): ?array | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 96 | public function getAttributeReturnsStdClassAttribute(): \stdClass | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 100 | public function getAttributeReturnsNullableStdClassAttribute(): ?\stdClass | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 104 | public function getAttributeReturnsBoolAttribute(): bool | CODE |
| LOW⚡ | …e/ModelsCommand/Getter/__snapshots__/Test__test__1.php | 108 | public function getAttributeReturnsNullableBoolAttribute(): ?bool | CODE |
| 136 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/release-drafter.yml | 21 | permissions: | COMMENT |