Provides mechanisms for walking through any arbitrary PHP variable
This report summarizes scanner evidence for symfony/var-dumper, a PHP project with 7,425 GitHub stars. SynthScan examined 17,828 lines of code across 142 source files, recording 91 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 4.8 (Low 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? 91 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 91 finding(s).
Which changes need focused human review? 91 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 91 distinct pattern matches across 1 syntactic category. 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 | VarDumper.php | 113 | private static function getDefaultContextProviders(): array | CODE |
| LOW | Caster/ExceptionCaster.php | 71 | public static function castThrowingCasterException(ThrowingCasterException $e, array $a, Stub $stub, bool $isNested) | CODE |
| LOW | Caster/DOMCaster.php | 171 | public static function castProcessingInstruction(\DOMProcessingInstruction|\Dom\ProcessingInstruction $dom, array $a | CODE |
| LOW | Tests/Cloner/StubTest.php | 29 | public function testUnserializeNullInTypedProperty() | CODE |
| LOW | Tests/Cloner/StubTest.php | 39 | public function testUninitializedStubPropertiesAreLeftUninitialized() | CODE |
| LOW | Tests/Test/VarDumperTestTraitTest.php | 44 | public function testAllowsNonScalarExpectation() | CODE |
| LOW | Tests/Caster/SplCasterTest.php | 124 | public function testCastSplDoublyLinkedList($modeValue, $modeDump) | CODE |
| LOW | Tests/Caster/SplCasterTest.php | 137 | public static function provideCastSplDoublyLinkedList() | CODE |
| LOW | Tests/Caster/SplCasterTest.php | 147 | public function testCastObjectStorageIsntModified() | CODE |
| LOW | Tests/Caster/SplCasterTest.php | 158 | public function testCastObjectStorageDumpsInfo() | CODE |
| LOW | Tests/Caster/IntlCasterTest.php | 153 | public function testCastIntlTimeZoneWithDST() | CODE |
| LOW | Tests/Caster/IntlCasterTest.php | 173 | public function testCastIntlTimeZoneWithoutDST() | CODE |
| LOW | Tests/Caster/IntlCasterTest.php | 297 | private function normalizeNarrowNoBreakSpaceCharacter(string $input): string | CODE |
| LOW | Tests/Caster/MemcachedCasterTest.php | 24 | public function testCastMemcachedWithDefaultOptions() | CODE |
| LOW | Tests/Caster/MemcachedCasterTest.php | 54 | public function testCastMemcachedWithCustomOptions() | CODE |
| LOW | Tests/Caster/StubCasterTest.php | 45 | public function testArgsStubWithExtraArgs($foo = 234) | CODE |
| LOW | Tests/Caster/StubCasterTest.php | 63 | public function testArgsStubNoParamWithExtraArgs() | CODE |
| LOW | Tests/Caster/StubCasterTest.php | 120 | public function testVirtualPropertyWithoutTypeStub() | CODE |
| LOW | Tests/Caster/StubCasterTest.php | 155 | public function testLinkStubWithNoFileLink() | CODE |
| LOW | Tests/Caster/StubCasterTest.php | 196 | public function testClassStubWithNotExistingClass() | CODE |
| LOW | Tests/Caster/StubCasterTest.php | 217 | public function testClassStubWithNotExistingMethod() | CODE |
| LOW | Tests/Caster/StubCasterTest.php | 237 | public function testClassStubWithAnonymousClass() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 106 | public function testFromCallableClosureCaster() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 132 | public function testClosureCasterExcludingVerbosity() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 156 | public function testReflectionParameterScalar() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 173 | public function testReflectionParameterMixed() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 191 | public function testReflectionParameterUnion() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 208 | public function testReflectionParameterNullableUnion() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 226 | public function testReflectionParameterIntersection() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 243 | public function testReflectionPropertyScalar() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 298 | public function testReflectionIntersectionType() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 323 | public function testReflectionUnionTypeWithIntersection() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 358 | public function testExtendsReflectionType() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 439 | public function testNullableUnionReturnType() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 550 | public function testReflectionClassWithAttribute() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 570 | public function testReflectionMethodWithAttribute() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 593 | public function testReflectionPropertyWithAttribute() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 616 | public function testReflectionClassConstantWithAttribute() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 646 | public function testReflectionParameterWithAttribute() | CODE |
| LOW | Tests/Caster/ReflectionCasterTest.php | 674 | function reflectionParameterFixture(?NotLoadableClass $arg1, $arg2) | CODE |
| LOW | Tests/Caster/FFICasterTest.php | 168 | public function testCastFunctionWithArguments() | CODE |
| LOW | Tests/Caster/FFICasterTest.php | 181 | public function testCastNonCuttedPointerToChar() | CODE |
| LOW | Tests/Caster/FFICasterTest.php | 198 | public function testCastCuttedPointerToChar() | CODE |
| LOW | Tests/Caster/FFICasterTest.php | 230 | public function testCastNonTrailingCharPointer() | CODE |
| LOW | Tests/Caster/FFICasterTest.php | 252 | public function testCastUnionWithDirectReferencedFields() | CODE |
| LOW | Tests/Caster/FFICasterTest.php | 272 | public function testCastUnionWithPointerReferencedFields() | CODE |
| LOW | Tests/Caster/FFICasterTest.php | 296 | public function testCastUnionWithMixedFields() | CODE |
| LOW | Tests/Caster/FFICasterTest.php | 324 | public function testCastPointerToEmptyScalars() | CODE |
| LOW | Tests/Caster/FFICasterTest.php | 354 | public function testCastPointerToNonEmptyScalars() | CODE |
| LOW | Tests/Caster/DOMCasterTest.php | 35 | public function testCastModernImplementation() | CODE |
| LOW | Tests/Caster/DOMCasterTest.php | 221 | public function testCastModernDocumentType() | STRING |
| LOW | Tests/Caster/DOMCasterTest.php | 235 | public function testCastProcessingInstruction() | STRING |
| LOW | Tests/Caster/DOMCasterTest.php | 248 | public function testCastModernProcessingInstruction() | STRING |
| LOW | Tests/Caster/XmlReaderCasterTest.php | 238 | public function testWithUninitializedXMLReader() | STRING |
| LOW | Tests/Caster/DoctrineCasterTest.php | 27 | public function testCastPersistentCollection() | CODE |
| LOW | Tests/Caster/ExceptionCasterTest.php | 45 | private function getTestSilencedErrorContext(): SilencedErrorContext | CODE |
| LOW | Tests/Caster/ExceptionCasterTest.php | 82 | public function testDefaultSettingsOnError() | CODE |
| LOW | Tests/Caster/ExceptionCasterTest.php | 106 | public function testDefaultSettingsOnErrorException() | CODE |
| LOW | Tests/Caster/ExceptionCasterTest.php | 132 | public function testCastSilencedErrorContext() | CODE |
| LOW | Tests/Caster/ExceptionCasterTest.php | 241 | public function testHtmlDumpLinksFramesWithoutSrcContext() | CODE |
| 31 more matches not shown… | ||||