AI Slop Code RIsk Monitor

symfony/symfony

The Symfony PHP framework

9.3 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for symfony/symfony, a PHP project with 31,183 GitHub stars. SynthScan examined 2,336,583 lines of code across 14308 source files, recording 22057 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 9.3 (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.

9.3
Adjusted Signal
9.3
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
31.2K
Stars
PHP
Language
2.3M
Lines of Code
14.3K
Files
22.1K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 35.7/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 21112 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.3/100 · LOW

Are imports declared and package/API names verified? 933 finding(s).

Agent Over-Engineering Ratio 35.7/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 21070 finding(s).

PR Review Velocity Impact 37.7/100 · MEDIUM

Which changes need focused human review? 22057 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 1HIGH 1MEDIUM 26LOW 22029

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 22057 distinct pattern matches across 10 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.

Hyper-Verbose Identifiers21058 hits · 20586 pts
SeverityFileLineSnippetContext
LOWsrc/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php86 public function getQueryBuilderPartsForCachingHash(object $queryBuilder): ?arrayCODE
LOWsrc/Symfony/Bridge/Doctrine/Form/Type/EntityType.php74 public function getQueryBuilderPartsForCachingHash(object $queryBuilder): ?arrayCODE
LOW…idge/Doctrine/Tests/ContainerAwareEventManagerTest.php31 public function testDispatchEventRespectOrder()CODE
LOW…idge/Doctrine/Tests/ContainerAwareEventManagerTest.php41 public function testUsingDoctrineSubscribersThrows()CODE
LOW…idge/Doctrine/Tests/ContainerAwareEventManagerTest.php77 public function testAddEventListenerAfterDispatchEvent()CODE
LOW…idge/Doctrine/Tests/ContainerAwareEventManagerTest.php146 public function testGetListenersWhenALazyListenerAddsListeners()CODE
LOW…idge/Doctrine/Tests/ContainerAwareEventManagerTest.php181 public function testRemoveLazyEventListenerByObject()CODE
LOW…idge/Doctrine/Tests/ContainerAwareEventManagerTest.php195 public function testRemoveLazyEventListenerByObjectKeepsListenersLazy()CODE
LOW…idge/Doctrine/Tests/ContainerAwareEventManagerTest.php220 public function testDispatchEventAfterRemovingLazyEventListenerByObject()CODE
LOW…idge/Doctrine/Tests/ContainerAwareEventManagerTest.php231 public function testRemoveLazyEventSubscriberByObject()CODE
LOW…idge/Doctrine/Tests/ContainerAwareEventManagerTest.php241 public function testRemoveEventListenerOnSeveralEvents()CODE
LOW…idge/Doctrine/Tests/ContainerAwareEventManagerTest.php253 public function testRemoveAllEventListener()CODE
LOW…idge/Doctrine/Tests/ContainerAwareEventManagerTest.php268 public function testRemoveEventListenerAfterDispatchEvent()CODE
LOW…/Symfony/Bridge/Doctrine/Tests/ManagerRegistryTest.php54 public function testResetServiceWithNativeLazyObjects(string $class)CODE
LOW…/Symfony/Bridge/Doctrine/Tests/ManagerRegistryTest.php81 public static function provideResetServiceWithNativeLazyObjectsCases(): iterableCODE
LOW…/Symfony/Bridge/Doctrine/Tests/ManagerRegistryTest.php115 public function testResetServiceWillNotNestFurtherLazyServicesWithinEachOther()CODE
LOW…/Symfony/Bridge/Doctrine/Tests/ManagerRegistryTest.php152 private function dumpLazyServiceDoctrineBridgeContainerAsFiles()CODE
LOW…c/Symfony/Bridge/Doctrine/Tests/DoctrineTestHelper.php65 public static function createTestConfigurationWithXmlLoader(): ConfigurationCODE
LOW…rine/Tests/DataCollector/DoctrineDataCollectorTest.php94 public function testCollectTimeWithFloatExecutionMS()CODE
LOW…rine/Tests/DataCollector/DoctrineDataCollectorTest.php124 public function testCollectQueryWithNoTypes()CODE
LOW…rine/Tests/DataCollector/DoctrineDataCollectorTest.php180 public function testCollectQueryWithNoParams()CODE
LOW…trine/Tests/Middleware/IdleConnection/ListenerTest.php41 public function testOnKernelRequestClosesEveryExpiredConnection()CODE
LOW…trine/Tests/Middleware/IdleConnection/ListenerTest.php72 public function testOnKernelRequestShouldSkipSubrequests()CODE
LOW…dge/Doctrine/Tests/Middleware/Debug/MiddlewareTest.php162 public static function provideEndTransactionMethod(): arrayCODE
LOW…dge/Doctrine/Tests/Middleware/Debug/MiddlewareTest.php204 public static function provideExecuteAndEndTransactionMethods(): arrayCODE
LOW…dge/Doctrine/Tests/Middleware/Debug/MiddlewareTest.php223 public function testGlobalDoctrineDuration(callable $sqlMethod, callable $endTransactionMethod)CODE
LOW⚡…dge/Doctrine/Tests/Form/DoctrineOrmTypeGuesserTest.php53 public function testRequiredGuesserSimpleFieldNotNullable()CODE
LOW⚡…dge/Doctrine/Tests/Form/DoctrineOrmTypeGuesserTest.php62 public function testRequiredGuesserSimpleFieldNullable()CODE
LOW⚡…dge/Doctrine/Tests/Form/DoctrineOrmTypeGuesserTest.php71 public function testRequiredGuesserOneToOneNullable()CODE
LOW…dge/Doctrine/Tests/Form/DoctrineOrmTypeGuesserTest.php82 public function testRequiredGuesserOneToOneExplicitNullable()CODE
LOW…dge/Doctrine/Tests/Form/DoctrineOrmTypeGuesserTest.php95 public function testRequiredGuesserOneToOneNotNullable()CODE
LOW…dge/Doctrine/Tests/Form/DoctrineOrmTypeGuesserTest.php108 public function testRequiredGuesserOneToMany()CODE
LOW…ine/Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php91 public function testLoadChoiceListUsesObjectLoaderIfAvailable()CODE
LOW…ine/Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php138 public function testLoadValuesForChoicesDoesNotLoadIfEmptyChoices()CODE
LOW…ine/Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php152 public function testLoadValuesForChoicesDoesNotLoadIfSingleIntId()CODE
LOW…ine/Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php175 public function testLoadValuesForChoicesDoesNotLoadIfSingleIntIdAndValueGiven()CODE
LOW…ine/Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php196 public function testLoadValuesForChoicesDoesNotLoadIfValueIsIdReader()CODE
LOW…ine/Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php243 public function testLoadChoicesForValuesDoesNotLoadIfEmptyValues()CODE
LOW…ine/Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php257 public function testLegacyLoadChoicesForValuesLoadsOnlyChoicesIfValueUseIdReader()CODE
LOW…ine/Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php283 public function testLoadChoicesForValuesLoadsOnlyChoicesIfValueUseIdReader()CODE
LOW…ine/Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php320 public function testLoadChoicesForValuesLoadsAllIfSingleIntIdAndValueGiven()CODE
LOW…ine/Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php341 public function testLoadChoicesForValuesLoadsOnlyChoicesIfValueIsIdReader()CODE
LOW…ine/Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php376 public function testPassingIdReaderWithoutSingleIdEntity()CODE
LOW…ne/Tests/Form/ChoiceList/ORMQueryBuilderLoaderTest.php42 public function testIdentifierTypeIsStringArray()CODE
LOW…ne/Tests/Form/ChoiceList/ORMQueryBuilderLoaderTest.php47 public function testIdentifierTypeIsIntegerArray()CODE
LOW…ne/Tests/Form/ChoiceList/ORMQueryBuilderLoaderTest.php83 public function testFilterNonIntegerValues()CODE
LOW…ne/Tests/Form/ChoiceList/ORMQueryBuilderLoaderTest.php186 public function testUidThrowProperException(string $entityClass)CODE
LOW…ne/Tests/Form/ChoiceList/ORMQueryBuilderLoaderTest.php216 public function testEmbeddedIdentifierName()CODE
LOW…m/DataTransformer/CollectionToArrayTransformerTest.php64 public function testTransformExpectsArrayOrCollection()CODE
LOW…m/DataTransformer/CollectionToArrayTransformerTest.php70 public function testTransformReadableCollection()CODE
LOW…m/DataTransformer/CollectionToArrayTransformerTest.php191 public function testReverseTransformEmpty()CODE
LOW…Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php105 public function testCollapsedEntityFieldWithChoices()CODE
LOW…Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php122 public function testCollapsedEntityFieldWithPreferredChoices()CODE
LOW⚡…ony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php225 public function testConfigureQueryBuilderWithNonQueryBuilderAndNonClosure()CODE
LOW⚡…ony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php235 public function testConfigureQueryBuilderWithClosureReturningNonQueryBuilder()CODE
LOW⚡…ony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php245 public function testConfigureQueryBuilderWithClosureReturningNullUseDefault()CODE
LOW…ony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php126 public function testClassOptionIsRequired()CODE
LOW…ony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php141 public function testChoiceTranslationDomainIsDisabledByDefault($expanded)CODE
LOW…ony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php163 public static function choiceTranslationDomainProvider(): arrayCODE
LOW…ony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php171 public function testSetDataToUninitializedEntityWithNonRequired()CODE
20998 more matches not shown…
Fake / Example Data931 hits · 1059 pts
SeverityFileLineSnippetContext
LOW…y/Bridge/Monolog/Tests/Handler/NotifierHandlerTest.php88 $recipient = new Recipient('admin@example.com');CODE
LOW…y/Bridge/Monolog/Tests/Handler/NotifierHandlerTest.php114 $recipient = new Recipient('admin@example.com');CODE
LOW…tension/AbstractBootstrap5HorizontalLayoutTestCase.php321 'placeholder' => 'name',CODE
LOW…ig/Tests/Extension/FormExtensionDaisyUi5LayoutTest.php155 'placeholder' => 'Placeholder&Not&Translated',CODE
LOW…ig/Tests/Extension/FormExtensionDaisyUi5LayoutTest.php207 'placeholder' => 'Test&Me',CODE
LOW…ig/Tests/Extension/FormExtensionDaisyUi5LayoutTest.php239 'placeholder' => 'Placeholder&Not&Translated',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php931 // The hidden attribute is only defaulted for the "placeholder" option:COMMENT
LOW⚡…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php2760 ->add('lastName', 'Symfony\Component\Form\Extension\Core\Type\TextType', ['attr' => ['placeholder' => 'Bar']CODE
LOW⚡…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php2776 ->add('lastName', 'Symfony\Component\Form\Extension\Core\Type\TextType', ['attr' => ['placeholder' => 'Bar']CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php78 'placeholder' => 'placeholder',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php648 'placeholder' => 'Placeholder&Not&Translated',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php874 'placeholder' => 'Select&Anything&Not&Me',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php898 'placeholder' => 'Test&Me',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php933 $this->assertWidgetMatchesXpath($form->createView(), ['placeholder' => ''],CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php1058 'placeholder' => 'Test&Me',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php1125 'placeholder' => 'Placeholder&Not&Translated',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php1171 'placeholder' => 'Test&Me',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php1199 'placeholder' => 'Placeholder&Not&Translated',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php1333 'placeholder' => 'Select&Country',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php1391 'placeholder' => 'Change&Me',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php1587 'placeholder' => 'Change&Me',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php1615 'placeholder' => ['year' => 'Change&Me'],CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php1721 'placeholder' => '',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php2253 'placeholder' => 'Change&Me',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php2280 'placeholder' => ['hour' => 'Change&Me'],CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php2330 'placeholder' => 'Select&Timezone',CODE
LOW…Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php2906 'placeholder' => 'Enter a message to %company%',CODE
LOW⚡…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php803 // The hidden attribute is only defaulted for the "placeholder" option:COMMENT
LOW⚡…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php805 $this->assertWidgetMatchesXpath($form->createView(), ['placeholder' => '', 'attr' => ['class' => 'my&class']],CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php513 'placeholder' => 'Placeholder&Not&Translated',CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php750 'placeholder' => 'Select&Anything&Not&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php775 'placeholder' => 'Test&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php906 'placeholder' => 'Test&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php1177 'placeholder' => 'Test&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php1225 'placeholder' => 'Placeholder&Not&Translated',CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php1571 'placeholder' => 'Select&Country',CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php1627 'placeholder' => 'Change&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php1831 'placeholder' => 'Change&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php1863 'placeholder' => ['year' => 'Change&Me'],CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php1970 'placeholder' => '',CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php2615 'placeholder' => 'Change&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php2644 'placeholder' => ['hour' => 'Change&Me'],CODE
LOW…g/Tests/Extension/AbstractBootstrap3LayoutTestCase.php2685 'placeholder' => 'Select&Timezone',CODE
LOW⚡…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php812 // The hidden attribute is only defaulted for the "placeholder" option:COMMENT
LOW⚡…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php814 $this->assertWidgetMatchesXpath($form->createView(), ['placeholder' => '', 'attr' => ['class' => 'my&class']],CODE
LOW…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php452 'placeholder' => 'Test&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php522 'placeholder' => 'Placeholder&Not&Translated',CODE
LOW…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php759 'placeholder' => 'Select&Anything&Not&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php784 'placeholder' => 'Test&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php1018 'placeholder' => 'Select&Country',CODE
LOW…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php1090 'placeholder' => 'Change&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php1318 'placeholder' => 'Change&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php1354 'placeholder' => ['year' => 'Change&Me'],CODE
LOW…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php1456 'placeholder' => '',CODE
LOW…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php1752 'placeholder' => 'Change&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php1787 'placeholder' => ['hour' => 'Change&Me'],CODE
LOW…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php1834 'placeholder' => 'Select&Timezone',CODE
LOW…g/Tests/Extension/AbstractBootstrap5LayoutTestCase.php1877 'placeholder' => 'name',CODE
LOW…g/Tests/Extension/AbstractBootstrap4LayoutTestCase.php680 'placeholder' => 'Test&Me',CODE
LOW…g/Tests/Extension/AbstractBootstrap4LayoutTestCase.php722 'placeholder' => 'Placeholder&Not&Translated',CODE
871 more matches not shown…
Decorative Section Separators12 hits · 54 pts
SeverityFileLineSnippetContext
MEDIUM⚡src/Symfony/Component/Workflow/Tests/WorkflowTest.php735 // ┌──────┐ ┌──────────────────────┐ ┌───┐ ┌─────────────┐ ┌───┐COMMENT
MEDIUM⚡src/Symfony/Component/Workflow/Tests/WorkflowTest.php737 // └──────┘ └──────────────────────┘ └───┘ └─────────────┘ └───┘COMMENT
MEDIUM⚡src/Symfony/Component/Workflow/Tests/WorkflowTest.php741 // ┌───────────────────────────────┐COMMENT
MEDIUM⚡src/Symfony/Component/Workflow/Tests/WorkflowTest.php743 // └───────────────────────────────┘COMMENT
MEDIUM⚡src/Symfony/Component/Workflow/Tests/WorkflowTest.php913 // ┌───────────────────┐ ┌─────────────┐ ┌─────────────┐ 4COMMENT
MEDIUM⚡src/Symfony/Component/Workflow/Tests/WorkflowTest.php914 // │ prepare_leg │ ──▶ │ build_leg │ ──▶ │ leg_created │ ───────────────────────────┐COMMENT
MEDIUM⚡src/Symfony/Component/Workflow/Tests/WorkflowTest.php915 // └───────────────────┘ └─────────────┘ └─────────────┘ │COMMENT
MEDIUM⚡src/Symfony/Component/Workflow/Tests/WorkflowTest.php919 // ┌──────┐ ┌───────────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌──────┐ COMMENT
MEDIUM⚡src/Symfony/Component/Workflow/Tests/WorkflowTest.php921 // └──────┘ └───────────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ └──────┘ COMMENT
MEDIUM⚡src/Symfony/Component/Workflow/Tests/WorkflowTest.php925 // ┌───────────────────┐ │COMMENT
MEDIUM⚡src/Symfony/Component/Workflow/Tests/WorkflowTest.php926 // │ stopwatch_running │ ───────────────────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡src/Symfony/Component/Workflow/Tests/WorkflowTest.php927 // └───────────────────┘COMMENT
Over-Commented Block38 hits · 36 pts
SeverityFileLineSnippetContext
LOW.github/sync-maintained-versions.php1<?phpCOMMENT
LOW.github/workflows/scorecards.yml41 # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authenticCOMMENT
LOW…c/Symfony/Contracts/HttpClient/HttpClientInterface.php41 // mixed - if set, implementations MUST set the "body" option to the JSON-encodedCOMMENT
LOW…c/Symfony/Contracts/HttpClient/HttpClientInterface.php61 // callable(int $dlNow, int $dlSize, array $info) - throwing any exceptions MUST abort theCOMMENT
LOWsrc/Symfony/Component/Form/FormRenderer.php121COMMENT
LOWsrc/Symfony/Component/Form/FormRenderer.php141 // functions to fall back from the custom to the parent implementation.COMMENT
LOWsrc/Symfony/Component/Form/FormRenderer.php221COMMENT
LOW…DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php81 public function finishView(FormView $view, FormInterface $form, array $options): voidCOMMENT
LOW…xtension/Validator/ViolationMapper/ViolationMapper.php61COMMENT
LOWsrc/Symfony/Component/Form/Tests/FormConfigTest.php41 ['a:'],COMMENT
LOW…ures/Attributes/SerializedPerGroupWithContextDummy.php21 #[Groups(['a', 'b'])]COMMENT
LOW…fony/Component/Validator/Constraints/LuhnValidator.php61 $length = \strlen($value);COMMENT
LOW…/Validator/Tests/Constraints/FileValidatorTestCase.php101 // 1001 bytes | "Size of 1001 bytes exceeded limit of 1000 bytes"COMMENT
LOWsrc/Symfony/Component/Intl/Util/IntlTestHelper.php41 // * the intl extension is not loadedCOMMENT
LOW…nt/Translation/Tests/Extractor/PhpAstExtractorTest.php301 // 'loop-next-iteration-value' => 'loop-next-iteration-value',COMMENT
LOW…y/Component/Config/Tests/Definition/StringNodeTest.php21 #[TestWith([''])]COMMENT
LOWsrc/Symfony/Component/ExpressionLanguage/Parser.php401 $node = new Node\GetAttrNode($node, $arg, new Node\ArgumentsNode(), Node\GetAttrNode::ARRAY_CALL, trCOMMENT
LOW…opertyInfo/Tests/Extractor/ReflectionExtractorTest.php281 #[TestWith([Dummy::class, 'setSelf', 'self'])]COMMENT
LOW…opertyInfo/Tests/Extractor/ReflectionExtractorTest.php301 #[TestWith([FalseAccessorDummy::class, 'settings', null])]COMMENT
LOW…fony/Component/Workflow/Tests/WorkflowBuilderTrait.php181COMMENT
LOW…fony/Component/Workflow/Tests/WorkflowBuilderTrait.php221 // | | c | <-----+ | b |COMMENT
LOWsrc/Symfony/Component/Workflow/Tests/WorkflowTest.php921 // └──────┘ └───────────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ └──────┘ COMMENT
LOWsrc/Symfony/Component/Workflow/Tests/WorkflowTest.php941 // from: prepare_legCOMMENT
LOW…Workflow/Tests/Validator/StateMachineValidatorTest.php101COMMENT
LOW…omponent/Routing/Tests/Requirement/RequirementTest.php21{COMMENT
LOW…omponent/Routing/Tests/Requirement/RequirementTest.php301 #[TestWith(['61c86569-e477-3ed9-9e3b-1562edb03277'])]COMMENT
LOW…/Symfony/Component/Routing/Loader/DelegatingLoader.php41 // This can happen if a fatal error occurs in parent::load().COMMENT
LOW…nent/DependencyInjection/Tests/EnvVarProcessorTest.php961 #[TestWith(["a\rb"])]COMMENT
LOWsrc/Symfony/Component/Console/Resources/completion.zsh1#compdef {{ COMMAND_NAME }}COMMENT
LOW…ymfony/Component/Console/Tests/Input/ArgvInputTest.php461 }COMMENT
LOW…ymfony/Component/Console/Tests/shell-completion/try.sh1#!/usr/bin/env bashCOMMENT
LOW…ony/Component/Console/Tests/shell-completion/cases.txt1# Test cases for the shell completion scripts.COMMENT
LOW…ony/Component/Console/Tests/shell-completion/docker.sh1#!/usr/bin/env bashCOMMENT
LOW…mponent/Console/Tests/shell-completion/drivers/zsh.zsh1#!/usr/bin/env zshCOMMENT
LOW…mponent/Console/Tests/shell-completion/drivers/bash.sh1#!/usr/bin/env bashCOMMENT
LOW…Tests/Fixtures/Style/SymfonyStyle/output/output_12.txt1COMMENT
LOW…mponent/Console/Tests/Command/InvokableCommandTest.php581COMMENT
LOWsrc/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php121#[RequiredBundle(SerializerBundle::class, ignoreOnInvalid: true)]COMMENT
Self-Referential Comments10 hits · 29 pts
SeverityFileLineSnippetContext
MEDIUM…/Symfony/Component/OptionsResolver/OptionsResolver.php1192 # Define a recursive subroutine for matching balanced parenthesesCOMMENT
MEDIUM…y/Component/DependencyInjection/Kernel/KernelTrait.php309 @file_put_contents($tag, "Signature: 8a477f597d28d172789f06886806bc55\n# This file is a cache directory CODE
MEDIUMsrc/Symfony/Component/Console/Resources/completion.bash1# This file is part of the Symfony package.COMMENT
MEDIUMsrc/Symfony/Component/Console/Resources/completion.zsh3# This file is part of the Symfony package.COMMENT
MEDIUM…ymfony/Component/Console/Tests/shell-completion/run.sh3# This file is part of the Symfony package.COMMENT
MEDIUM…ymfony/Component/Console/Tests/shell-completion/try.sh3# This file is part of the Symfony package.COMMENT
MEDIUM…ony/Component/Console/Tests/shell-completion/docker.sh3# This file is part of the Symfony package.COMMENT
MEDIUM…sole/Tests/shell-completion/drivers/bash-completion.sh1# This file is part of the Symfony package.COMMENT
MEDIUM…mponent/Console/Tests/shell-completion/drivers/zsh.zsh3# This file is part of the Symfony package.COMMENT
MEDIUM…mponent/Console/Tests/shell-completion/drivers/bash.sh3# This file is part of the Symfony package.COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL…urces/views/Script/Mermaid/mermaid-flowchart-v2.min.js155`+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):r.push(o);continue}if(e){let a="Infinite loop on bytCODE
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM.github/sync-maintained-versions.php40// Identify the checked-out branch from the source tree itself (robust to detachedCOMMENT
MEDIUM…onent/Messenger/Command/FailedMessagesRetryCommand.php229 // this avoids using get(), which for some less-robustCOMMENT
MEDIUM…mponent/PasswordHasher/Hasher/SodiumPasswordHasher.php87 // Accept validating non-argon passwords for seamless migrationsCOMMENT
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/Symfony/Component/Notifier/Bridge/Prelude/README.md19 PRELUDE_DSN=prelude://YOUR_API_KEY@default?sender=YOUR_SENDER_IDCODE
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
LOW…Symfony/Component/Console/Tester/ApplicationTester.php20 * When testing an application, don't forget to disable the auto exit flag:COMMENT
MEDIUM…dle/FrameworkBundle/Command/DebugAutowiringCommand.php33#[AsCommand(name: 'debug:autowiring', description: 'List classes/interfaces you can use for autowiring')]COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ony/Component/Console/Tests/shell-completion/docker.sh12# Usage:COMMENT