/src/Symfony/Component/Form/ChoiceList/Factory/PropertyAccessDecorator.php:112 | 28 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/HttpFoundation/Cookie.php:79 | 25 | - No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Form/ChoiceList/Factory/CachingFactoryDecorator.php:148 | 22 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/MarkdownDescriptor.php:303 | 18 | - Scalar Are Not Arrays
- Null Or Boolean Arrays
- Weak Type With Array
- Variable Is Not A Condition
- Wrong Type For Native PHP Function
- Too Many Native Calls
- Uses Default Values
- Could Make A Function
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1139 | 17 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/HttpClient/Response/AmpResponse.php:277 | 17 | - Assumptions
- Class-typed References
- Ambiguous Static
- Useless Referenced Argument
- Unused Parameter
- Undefined Interfaces
- Objects Don't Need References
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/Process/Tests/ProcessTest.php:1623 | 17 | - Mismatched Typehint
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
- Method Could Be Static
|
/src/Symfony/Component/VarExporter/Tests/ProxyHelperTest.php:238 | 17 | - Unused Public Methods
- Used Once Variables (In Scope)
- Avoid Using stdClass
- String May Hold A Variable
- Unused Parameter
- Undefined Class Constants
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:34 | 16 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- Useless Return
- Wrong Type With Default
|
/src/Symfony/Bridge/Monolog/Tests/Handler/MailerHandlerTest.php:90 | 15 | - Ambiguous Static
- Mismatched Default Arguments
- Should Use Local Class
- Undefined Interfaces
- Undefined Class Constants
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:289 | 15 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraph.php:77 | 15 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
|
/src/Symfony/Component/Form/Tests/Extension/Validator/ViolationMapper/ViolationMapperTest.php:60 | 15 | - No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/src/Symfony/Component/HttpClient/Response/AmpResponse.php:218 | 15 | - Assumptions
- Class-typed References
- Mismatched Typehint
- Unused Parameter
- Undefined Interfaces
- Objects Don't Need References
- Undefined Classes
- StandaloneType True False Null
- Modified Typed Parameter
- Wrong Type With Default
|
/src/Symfony/Component/Messenger/Transport/Serialization/PhpSerializer.php:83 | 15 | - Used Once Variables (In Scope)
- Written Only Variables
- Uses Default Values
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/src/Symfony/Component/Notifier/Bridge/Mercure/Tests/MercureTransportTest.php:37 | 15 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Modified Typed Parameter
- Different Argument Counts
- Could Inject Parameter
- Wrong Type With Default
|
/src/Symfony/Component/Security/Http/Firewall/ContextListener.php:258 | 15 | - Used Once Variables (In Scope)
- Written Only Variables
- Uses Default Values
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/src/Symfony/Component/Serializer/Normalizer/ObjectToPopulateTrait.php:28 | 15 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Use Instanceof
- Indices Are Int Or String
|
/src/Symfony/Component/Validator/Constraints/Collection.php:36 | 15 | - Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/VarExporter/Tests/ProxyHelperTest.php:228 | 15 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Empty Function
- Randomly Sorted Arrays
- Wrong Type With Default
|
/src/Symfony/Component/BrowserKit/AbstractBrowser.php:326 | 14 | - Assumptions
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Same Name For Property And Method
- Could Inject Parameter
- Non Nullable Getters
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:659 | 14 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1094 | 14 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1109 | 14 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:939 | 14 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:959 | 14 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:489 | 14 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1104 | 14 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1114 | 14 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1124 | 14 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php:144 | 14 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php:152 | 14 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/DomCrawler/Tests/AbstractCrawlerTestCase.php:24 | 14 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Should Use Local Class
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Component/Form/ChoiceList/Factory/DefaultChoiceListFactory.php:144 | 14 | - Assumptions
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTestCase.php:110 | 14 | - No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Undefined Classes
- Same Name For Property And Method
- Wrong Type With Default
|
/src/Symfony/Component/Mailer/Transport/Smtp/EsmtpTransport.php:36 | 14 | - Incompatible Signature Methods With Covariance
- No Boolean As Default
- Insufficient Typehint
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
|
/src/Symfony/Component/Notifier/Bridge/ClickSend/Tests/ClickSendTransportTest.php:27 | 14 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Process/Process.php:190 | 14 | - Mismatch Type And Default
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
|
/src/Symfony/Component/Validator/Constraints/Bic.php:46 | 14 | - Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Contracts/Translation/TranslatorTrait.php:137 | 14 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Comparison Is Always The Same
- Wrong Parameter Type
- Uses Default Values
- Could Make A Function
- Wrong Type Returned
|
/src/Symfony/Bridge/Monolog/Tests/Processor/WebProcessorTest.php:99 | 13 | - Ambiguous Static
- Mismatched Default Arguments
- Mismatched Typehint
- Should Use Local Class
- Undefined Interfaces
- Undefined Class Constants
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Bridge/PhpUnit/DnsMock.php:140 | 13 | - No Default For Referenced Parameter
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/Cache/Traits/FilesystemCommonTrait.php:88 | 13 | - Fn Argument Variable Confusion
- Uncaught Exceptions
- Uses Default Values
- Undefined Classes
- Empty Function
- Throw Raw Exceptions
- Could Inject Parameter
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:109 | 13 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1074 | 13 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1079 | 13 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:114 | 13 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:944 | 13 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:464 | 13 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1164 | 13 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Console/Style/SymfonyStyle.php:235 | 13 | - Incompatible Signature Methods With Covariance
- No Null For Index
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Different Argument Counts
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:523 | 13 | - No Default For Referenced Parameter
- Assumptions
- No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Unused Parameter
- StandaloneType True False Null
- Could Use self
- Missing Some Returntype
|
/src/Symfony/Component/DependencyInjection/Loader/FileLoader.php:59 | 13 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Undefined Classes
- StandaloneType True False Null
- No Return Used
- Different Argument Counts
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
- Missing Some Returntype
|
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:284 | 13 | - Wrong Attribute Configuration
- Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
- Wrong Type With Default
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Bar.php:18 | 13 | - Mismatch Type And Default
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/Form/ChoiceList/Factory/DefaultChoiceListFactory.php:250 | 13 | - Assumptions
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
|
/src/Symfony/Component/HttpClient/Internal/AmpClientState.php:67 | 13 | - Assumptions
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Modified Typed Parameter
- Could Inject Parameter
|
/src/Symfony/Component/HttpKernel/Tests/ControllerMetadata/ArgumentMetadataFactoryTest.php:158 | 13 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Mailer/Transport.php:168 | 13 | - Type Must Be Returned
- Mismatched Typehint
- Should Use Local Class
- Must Return Methods
- Methods Without Return
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/Ntfy/NtfyTransport.php:34 | 13 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Property Used In One Method Only
- Used Once Property
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
- Never Called Parameter
|
/src/Symfony/Component/Security/Http/Tests/Authentication/AuthenticatorManagerTest.php:376 | 13 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
|
/src/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php:302 | 13 | - Assumptions
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- Too Many Local Variables
- Mismatched Typehint
- Unused Parameter
- StandaloneType True False Null
- Could Inject Parameter
- Missing Some Returntype
|
/src/Symfony/Component/Translation/Extractor/Visitor/AbstractVisitor.php:43 | 13 | - No Boolean As Default
- Should Make Alias
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/Validator/Constraints/AbstractComparison.php:31 | 13 | - Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Validator/Constraints/PasswordStrength.php:39 | 13 | - Assumptions
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Bridge/Twig/Tests/Fixtures/TemplateAttributeController.php:19 | 12 | - Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/JsonDescriptor.php:159 | 12 | - Scalar Are Not Arrays
- Null Or Boolean Arrays
- Weak Type With Array
- Wrong Type For Native PHP Function
- Uses Default Values
- Could Make A Function
|
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php:447 | 12 | - Scalar Are Not Arrays
- Null Or Boolean Arrays
- Weak Type With Array
- Wrong Type For Native PHP Function
- Uses Default Values
- Could Make A Function
|
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/XmlDescriptor.php:493 | 12 | - Scalar Are Not Arrays
- Null Or Boolean Arrays
- Weak Type With Array
- Wrong Type For Native PHP Function
- Uses Default Values
- Could Make A Function
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Command/TranslationUpdateCommandCompletionTest.php:70 | 12 | - Insufficient Typehint
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Modified Typed Parameter
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/Cache/Adapter/CouchbaseBucketAdapter.php:67 | 12 | - Uncaught Exceptions
- Uses Default Values
- Undefined Classes
- Empty Function
- Throw Raw Exceptions
- Could Inject Parameter
|
/src/Symfony/Component/Cache/Adapter/CouchbaseCollectionAdapter.php:60 | 12 | - Uncaught Exceptions
- Uses Default Values
- Undefined Classes
- Empty Function
- Throw Raw Exceptions
- Could Inject Parameter
|
/src/Symfony/Component/Cache/Adapter/MemcachedAdapter.php:97 | 12 | - Uncaught Exceptions
- Uses Default Values
- Undefined Classes
- Empty Function
- Throw Raw Exceptions
- Could Inject Parameter
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:99 | 12 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1134 | 12 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:924 | 12 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:984 | 12 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:434 | 12 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1159 | 12 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1204 | 12 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1209 | 12 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Config/Builder/ConfigBuilderGenerator.php:429 | 12 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/Config/Loader/FileLoader.php:100 | 12 | - No Default For Referenced Parameter
- No Boolean As Default
- Class-typed References
- Use Named Boolean In Argument Definition
- Unused Parameter
- Must Return Methods
- StandaloneType True False Null
- Modified Typed Parameter
- Could Inject Parameter
|
/src/Symfony/Component/Config/Tests/Resource/ReflectionClassResourceTest.php:108 | 12 | - Too Many Native Calls
- Implode() Arguments Order
- Buried Assignation
- Uses Default Values
- Use ::Class Operator
- eval() Without Try
- Use random_int()
- Eval() Usage
- Could Make A Function
|
/src/Symfony/Component/Console/Tests/EventListener/ErrorListenerTest.php:126 | 12 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Type Must Be Returned
- Use Named Boolean In Argument Definition
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php:335 | 12 | - Assumptions
- Max Level Of Nesting
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Too Many Local Variables
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/StubbedTranslator.php:25 | 12 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php:388 | 12 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/ErrorHandler/DebugClassLoader.php:358 | 12 | - Scalar Are Not Arrays
- Null Or Boolean Arrays
- Weak Type With Array
- Uncaught Exceptions
- Uses Default Values
- Throw Raw Exceptions
|
/src/Symfony/Component/ErrorHandler/Tests/Exception/FlattenExceptionTest.php:276 | 12 | - Used Once Variables (In Scope)
- Forgotten Thrown
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Form/Tests/Extension/Validator/EventListener/ValidationListenerTest.php:156 | 12 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
- Wrong Type With Default
|
/src/Symfony/Component/HtmlSanitizer/Visitor/Node/TextNode.php:21 | 12 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Empty Function
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/HttpFoundation/Tests/RequestTest.php:2193 | 12 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
- Wrong Type Returned
|
/src/Symfony/Component/HttpKernel/Log/Logger.php:60 | 12 | - No Null For Index
- Ambiguous Visibilities
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Undefined Classes
- StandaloneType True False Null
- Unfinished Object
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/HttpKernel/Tests/ControllerMetadata/ArgumentMetadataFactoryTest.php:166 | 12 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php:1818 | 12 | - Unused Public Methods
- Method Signature Must Be Compatible
- No Boolean As Default
- Type Must Be Returned
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
- Wrong Type With Default
|
/src/Symfony/Component/Routing/Tests/Fixtures/AttributedClasses/AbstractClass.php:21 | 12 | - Wrong Attribute Configuration
- Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/Routing/Tests/Loader/GlobFileLoaderTest.php:41 | 12 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Undefined Classes
- StandaloneType True False Null
- Different Argument Counts
- Wrong Type With Default
- Method Could Be Static
- Missing Some Returntype
|
/src/Symfony/Component/Validator/Constraints/Callback.php:27 | 12 | - Assumptions
- Missing Attribute Attribute
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Validator/Constraints/ExpressionSyntax.php:32 | 12 | - Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Validator/Constraints/When.php:26 | 12 | - Assumptions
- Missing Attribute Attribute
- Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Parent First
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/VarDumper/Caster/ExceptionCaster.php:302 | 12 | - Wrong Precedence In Expression
- Weak Type With Array
- Long Arguments
- Modernize Empty With Expression
- Uses Default Values
- Undefined Classes
- Nested Ternary
- Empty Function
- Could Make A Function
- Preprocessable
|
/src/Symfony/Component/Workflow/EventListener/ExpressionLanguage.php:31 | 12 | - Assumptions
- Uses Default Values
- Undefined Classes
- Empty Function
- Wrong Type With Default
- Preprocessable
|
/src/Symfony/Component/Yaml/Inline.php:270 | 12 | - No Default For Referenced Parameter
- No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Unused Parameter
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Bridge/Monolog/Tests/Processor/DebugProcessorTest.php:103 | 11 | - Ambiguous Static
- Mismatched Default Arguments
- Should Use Local Class
- Undefined Interfaces
- Undefined Class Constants
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Bridge/Monolog/Tests/RecordFactory.php:20 | 11 | - Ambiguous Static
- Should Use Local Class
- Undefined Interfaces
- Undefined Classes
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:208 | 11 | - Wrong Type For Native PHP Function
- Should Use Ternary Operator
- Used Once Variables (In Scope)
- Buried Assignation
- Iffectations
- Could Make A Function
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/Response.php:36 | 11 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/ServerRequest.php:74 | 11 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/Uri.php:100 | 11 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Bridge/Twig/Command/DebugCommand.php:491 | 11 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Wrong Parameter Type
- Buried Assignation
- Useless Parenthesis
- Uses Default Values
- Iffectations
- Could Make A Function
|
/src/Symfony/Bridge/Twig/NodeVisitor/TranslationNodeVisitor.php:101 | 11 | - Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Bridge/Twig/Tests/Extension/TranslationExtensionTest.php:209 | 11 | - Ambiguous Static
- Mismatched Typehint
- Should Use Local Class
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Modified Typed Parameter
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/MarkdownDescriptor.php:330 | 11 | - array_key_exists() Works On Arrays
- Fn Argument Variable Confusion
- Weak Type With Array
- Only Variable Passed By Reference
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Preprocessable
|
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php:534 | 11 | - array_key_exists() Works On Arrays
- Fn Argument Variable Confusion
- Weak Type With Array
- Only Variable Passed By Reference
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Preprocessable
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Command/TranslationUpdateCommandTest.php:187 | 11 | - Insufficient Typehint
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Modified Typed Parameter
- Could Inject Parameter
- Wrong Type With Default
|
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapGeneratorTest.php:748 | 11 | - Mismatch Type And Default
- Ambiguous Static
- Mismatched Typehint
- Should Use Local Class
- Undefined Interfaces
- Undefined Class Constants
- StandaloneType True False Null
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapManagerTest.php:428 | 11 | - Mismatch Type And Default
- Ambiguous Static
- Mismatched Typehint
- Should Use Local Class
- Undefined Interfaces
- Undefined Class Constants
- StandaloneType True False Null
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/Cache/Traits/Redis5Proxy.php:1134 | 11 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:364 | 11 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:889 | 11 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1184 | 11 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1234 | 11 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1279 | 11 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:104 | 11 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:359 | 11 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:1049 | 11 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:994 | 11 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1199 | 11 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1294 | 11 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1304 | 11 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/DependencyInjection/Argument/TaggedIteratorArgument.php:48 | 11 | - No Null For Native PHP Functions
- Variable Is Not A Condition
- Wrong Type For Native PHP Function
- Uses Default Values
- Nested Ternary
- Could Make A Function
- Mismatched Ternary Alternatives
|
/src/Symfony/Component/DependencyInjection/Argument/TaggedIteratorArgument.php:50 | 11 | - No Null For Native PHP Functions
- Variable Is Not A Condition
- Wrong Type For Native PHP Function
- Uses Default Values
- Nested Ternary
- Could Make A Function
- Mismatched Ternary Alternatives
|
/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php:609 | 11 | - Missing Assignation In Branches
- Use Positive Condition
- Buried Assignation
- Useless Parenthesis
- Only Variable Passed By Reference
- Uses Default Values
- Undefined Classes
- Iffectations
- Empty Function
- Useless Instructions
- No Choice
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Bar.php:23 | 11 | - Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_uninitialized_ref.php:61 | 11 | - Undefined Properties
- Undefined Classes
- Empty Function
- Useless Instructions
- Use ::Class Operator
- Wrong Type Returned
- No Choice
|
/src/Symfony/Component/DependencyInjection/Tests/Loader/GlobFileLoaderTest.php:41 | 11 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Undefined Classes
- StandaloneType True False Null
- Different Argument Counts
- Wrong Type With Default
- Missing Some Returntype
|
/src/Symfony/Component/Form/ChoiceList/Factory/DefaultChoiceListFactory.php:55 | 11 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FileTypeTest.php:318 | 11 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Missing Some Returntype
|
/src/Symfony/Component/Form/Tests/Extension/Validator/EventListener/ValidationListenerTest.php:152 | 11 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
- Wrong Type With Default
|
/src/Symfony/Component/HttpKernel/Tests/Fixtures/Controller/NullableController.php:16 | 11 | - Unused Public Methods
- Used Once Variables (In Scope)
- Avoid Using stdClass
- Unused Parameter
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Messenger/Event/WorkerRateLimitedEvent.php:24 | 11 | - Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Empty Function
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Notifier/Bridge/Mercure/Tests/MercureTransportTest.php:162 | 11 | - Mismatched Typehint
- Used Once Variables (In Scope)
- Unresolved Classes
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- Use ::Class Operator
|
/src/Symfony/Component/Routing/Tests/Fixtures/AttributedClasses/BarClass.php:16 | 11 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/Security/Core/Authorization/ExpressionLanguageProvider.php:31 | 11 | - Assumptions
- Weak Type With Array
- Uses Default Values
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:34 | 11 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:33 | 11 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Unreachable Method
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderWithoutTranslatorBagTest.php:28 | 11 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:34 | 11 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Validator/Constraints/CardScheme.php:49 | 11 | - Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Validator/Constraints/CssColor.php:65 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Parent First
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/Validator/Constraints/DateTime.php:35 | 11 | - Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Validator/Constraints/NotBlank.php:35 | 11 | - Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Validator/Constraints/Type.php:31 | 11 | - Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/VarExporter/Internal/Exporter.php:38 | 11 | - Max Level Of Nesting
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Too Many Local Variables
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarExporter/VarExporter.php:40 | 11 | - No Default For Referenced Parameter
- No Boolean As Default
- Ambiguous Static
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Too Many Local Variables
- Should Use Local Class
- Unused Parameter
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/Workflow/EventListener/ExpressionLanguage.php:29 | 11 | - Assumptions
- Weak Type With Array
- Uses Default Values
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/Yaml/Inline.php:559 | 11 | - No Default For Referenced Parameter
- Assumptions
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- Mismatched Typehint
- Unused Parameter
- StandaloneType True False Null
- Could Inject Parameter
- Missing Some Returntype
|
/src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:335 | 10 | - Wrong Type For Native PHP Function
- Used Once Variables (In Scope)
- Uses Default Values
- Undefined Classes
- Unused Inherited Variable In Closure
- Wrong Type With Default
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/Message.php:68 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/ServerRequest.php:134 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/JsonDescriptor.php:335 | 10 | - array_key_exists() Works On Arrays
- Fn Argument Variable Confusion
- Weak Type With Array
- Only Variable Passed By Reference
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
|
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/XmlDescriptor.php:513 | 10 | - array_key_exists() Works On Arrays
- Fn Argument Variable Confusion
- Weak Type With Array
- Only Variable Passed By Reference
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
|
/src/Symfony/Bundle/FrameworkBundle/Test/BrowserKitAssertionsTrait.php:118 | 10 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/Cache/Adapter/ChainAdapter.php:101 | 10 | - No Default For Referenced Parameter
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Written Only Variables
- StandaloneType True False Null
- Never Called Parameter
|
/src/Symfony/Component/Cache/Messenger/EarlyExpirationMessage.php:27 | 10 | - Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
- Could Inject Parameter
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Tests/Traits/RedisTraitTest.php:59 | 10 | - Wrong Type For Native PHP Function
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/Cache/Traits/Redis5Proxy.php:429 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis5Proxy.php:844 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis5Proxy.php:1074 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:279 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:539 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:999 | 10 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1194 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1274 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1289 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster5Proxy.php:374 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster5Proxy.php:639 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster5Proxy.php:744 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster5Proxy.php:969 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:859 | 10 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:1009 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:1039 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:1104 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:1119 | 10 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:399 | 10 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:719 | 10 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:724 | 10 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:999 | 10 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1004 | 10 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1009 | 10 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1144 | 10 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1154 | 10 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1179 | 10 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1184 | 10 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1189 | 10 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1194 | 10 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1214 | 10 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1219 | 10 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1284 | 10 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1299 | 10 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Config/Loader/FileLoader.php:69 | 10 | - Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
|
/src/Symfony/Component/Config/Loader/FileLoader.php:132 | 10 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
- Missing Some Returntype
|
/src/Symfony/Component/Console/Helper/ProcessHelper.php:35 | 10 | - Assumptions
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Console/Output/ConsoleOutput.php:40 | 10 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/Console/Output/StreamOutput.php:43 | 10 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Parent First
|
/src/Symfony/Component/Console/Tests/EventListener/ErrorListenerTest.php:122 | 10 | - Unused Public Methods
- Method Signature Must Be Compatible
- No Boolean As Default
- Type Must Be Returned
- Use Named Boolean In Argument Definition
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/Console/Tests/Helper/ProgressIndicatorTest.php:173 | 10 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:1004 | 10 | - Assumptions
- No Null For Index
- No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Too Many Local Variables
- Mismatched Typehint
- Unused Parameter
- StandaloneType True False Null
|
/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:1089 | 10 | - Fn Argument Variable Confusion
- Wrong Type For Native PHP Function
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:1769 | 10 | - No Default For Referenced Parameter
- Assumptions
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Unused Parameter
- StandaloneType True False Null
- Modified Typed Parameter
- Missing Some Returntype
|
/src/Symfony/Component/DependencyInjection/Loader/FileLoader.php:332 | 10 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Wrong Type For Native PHP Function
- Undefined Variable
- Indices Are Int Or String
- Uses Default Values
|
/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php:459 | 10 | - Scalar Are Not Arrays
- Null Or Boolean Arrays
- Weak Type With Array
- Long Arguments
- Uses Default Values
- Could Make A Function
|
/src/Symfony/Component/Filesystem/Tests/Fixtures/MockStream/MockStream.php:31 | 10 | - No Default For Referenced Parameter
- Unused Public Methods
- Useless Referenced Argument
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- StandaloneType True False Null
|
/src/Symfony/Component/Form/ChoiceList/ChoiceList.php:72 | 10 | - Ambiguous Static
- Mismatched Typehint
- Should Use Local Class
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Form/ChoiceList/ChoiceList.php:83 | 10 | - Mismatched Typehint
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Form/ChoiceList/ChoiceList.php:105 | 10 | - Ambiguous Static
- Mismatched Typehint
- Should Use Local Class
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Form/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformer.php:31 | 10 | - Incompatible Signature Methods With Covariance
- No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
|
/src/Symfony/Component/Form/Extension/Validator/Type/FormTypeValidatorExtension.php:34 | 10 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Used Once Variables (In Scope)
- Unused Parameter
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/Form/Tests/SimpleFormTest.php:1131 | 10 | - Mismatched Typehint
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Component/HttpClient/CurlHttpClient.php:96 | 10 | - Assumptions
- Unused Public Methods
- Mismatched Default Arguments
- Too Many Local Variables
- Mismatched Typehint
- Could Inject Parameter
|
/src/Symfony/Component/HttpClient/Internal/AmpListener.php:180 | 10 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
|
/src/Symfony/Component/HttpClient/Response/CurlResponse.php:315 | 10 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Undefined Variable
- Forgotten Thrown
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/src/Symfony/Component/HttpClient/Response/MockResponse.php:93 | 10 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Undefined Properties
- No Null For Index
- Indices Are Int Or String
- Ambiguous Array Index
- Useless Instructions
- Wrong Type Returned
- No Choice
|
/src/Symfony/Component/HttpClient/Response/NativeResponse.php:305 | 10 | - Undefined Properties
- No Null For Index
- Weak Type With Array
- Don't Mix ++
- Buried Assignation
- Useless Parenthesis
- Ambiguous Array Index
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php:30 | 10 | - Undefined Properties
- Wrong Type For Native PHP Function
- Too Many Native Calls
- Uses Default Values
- Wrong Number Of Arguments
- Use random_int()
- Could Make A Function
|
/src/Symfony/Component/HttpKernel/Tests/EventListener/ErrorListenerTest.php:318 | 10 | - Unused Public Methods
- Method Signature Must Be Compatible
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Undefined Classes
- Must Return Methods
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Component/HttpKernel/Tests/HttpCache/TestHttpKernel.php:57 | 10 | - Unused Public Methods
- Method Signature Must Be Compatible
- No Boolean As Default
- Ambiguous Static
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Undefined Classes
- Wrong Type With Default
- Could Use self
|
/src/Symfony/Component/HttpKernel/Tests/HttpCache/TestMultipleHttpKernel.php:46 | 10 | - Unused Public Methods
- Method Signature Must Be Compatible
- No Boolean As Default
- Ambiguous Static
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Undefined Classes
- Wrong Type With Default
- Could Use self
|
/src/Symfony/Component/Lock/Store/RedisStore.php:39 | 10 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Mailer/Bridge/Mailjet/Transport/MailjetApiTransport.php:58 | 10 | - Incompatible Signature Methods With Covariance
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
|
/src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/Connection.php:150 | 10 | - False To Array Conversion
- Weak Type With Array
- Useless Parenthesis
- Uses Default Values
- Useless Instructions
- No Choice
|
/src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php:216 | 10 | - Assumptions
- Max Level Of Nesting
- Mismatched Default Arguments
- Too Many Local Variables
- Mismatched Typehint
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/Mime/Email.php:332 | 10 | - Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- No Return Used
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Notifier/Bridge/PagerDuty/PagerDutyTransport.php:31 | 10 | - Incompatible Signature Methods With Covariance
- Ambiguous Visibilities
- Mismatched Typehint
- Property Used In One Method Only
- Used Once Property
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Notifier/Transport.php:178 | 10 | - Type Must Be Returned
- Mismatched Typehint
- Should Use Local Class
- Must Return Methods
- Methods Without Return
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherDumper.php:349 | 10 | - Used Once Variables (In Scope)
- Uncaught Exceptions
- Forgotten Thrown
- Unused Parameter
- Uses Default Values
- Undefined Classes
- Empty Function
- Throw Raw Exceptions
- Could Inject Parameter
|
/src/Symfony/Component/Runtime/Internal/ComposerPlugin.php:42 | 10 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
|
/src/Symfony/Component/Security/Core/Authorization/TraceableAccessDecisionManager.php:50 | 10 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- No Return Used
- Different Argument Counts
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php:286 | 10 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/Translation/Extractor/Visitor/AbstractVisitor.php:118 | 10 | - Undefined Properties
- Comparison Is Always The Same
- Should Make Alias
- Undefined Interfaces
- Undefined Classes
- Unresolved Instanceof
|
/src/Symfony/Component/Translation/Extractor/Visitor/ConstraintVisitor.php:34 | 10 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Translation/Extractor/Visitor/TransMethodVisitor.php:27 | 10 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Translation/Extractor/Visitor/TranslatableMessageVisitor.php:27 | 10 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Validator/Constraints/Currency.php:33 | 10 | - Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
- Wrong Type With Default
- Implicit Nullable Type
|
/src/Symfony/Component/Validator/Constraints/Iban.php:40 | 10 | - Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/VarDumper/Caster/DoctrineCaster.php:52 | 10 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/VarExporter/Tests/ProxyHelperTest.php:181 | 10 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/VarExporter/Tests/ProxyHelperTest.php:212 | 10 | - Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/VarExporter/Tests/ProxyHelperTest.php:216 | 10 | - No Referenced Void
- Unused Public Methods
- Class-typed References
- Ambiguous Static
- Useless Referenced Argument
- Used Once Variables (In Scope)
- Unused Parameter
- Objects Don't Need References
- Empty Function
|
/src/Symfony/Component/VarExporter/Tests/ProxyHelperTest.php:224 | 10 | - Unused Public Methods
- Maybe Missing New
- Used Once Variables (In Scope)
- Avoid Using stdClass
- Unused Parameter
- Undefined Class Constants
- Undefined Classes
- Undefined Constants
- Empty Function
- Preprocessable
|
/src/Symfony/Bridge/Doctrine/Form/DoctrineOrmTypeGuesser.php:139 | 9 | - Scalar Are Not Arrays
- Null Or Boolean Arrays
- Weak Type With Array
- Uses Default Values
- Undefined Class Constants
- Undefined Classes
- Strict Comparison With Booleans
|
/src/Symfony/Bridge/Doctrine/Form/DoctrineOrmTypeGuesser.php:151 | 9 | - Scalar Are Not Arrays
- Null Or Boolean Arrays
- Weak Type With Array
- Uses Default Values
- Undefined Class Constants
- Undefined Classes
- Strict Comparison With Booleans
|
/src/Symfony/Bridge/Doctrine/Tests/Fixtures/Type/StringWrapperType.php:19 | 9 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Bridge/Doctrine/Tests/Fixtures/Type/StringWrapperType.php:24 | 9 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Bridge/Doctrine/Tests/Messenger/DoctrineOpenTransactionLoggerMiddlewareTest.php:35 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/Fixtures/DoctrineFooType.php:35 | 9 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/Fixtures/DoctrineFooType.php:47 | 9 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Bridge/Twig/EventListener/TemplateAttributeListener.php:40 | 9 | - Weak Type With Array
- Buried Assignation
- Only Variable Passed By Reference
- Uses Default Values
- Iffectations
- Useless Instructions
- No Null With Null Safe Operator
- No Readonly Assignation In Global
- No Choice
|
/src/Symfony/Bridge/Twig/Tests/Extension/Fixtures/StubTranslator.php:18 | 9 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Bundle/FrameworkBundle/Command/DebugAutowiringCommand.php:78 | 9 | - Fn Argument Variable Confusion
- Wrong Type For Native PHP Function
- Uses Default Values
- Undefined Classes
- Empty Function
- Could Make A Function
|
/src/Symfony/Bundle/FrameworkBundle/EventListener/ConsoleProfilerListener.php:80 | 9 | - Wrong Type For Native PHP Function
- Too Many Native Calls
- Uses Default Values
- Wrong Number Of Arguments
- Use random_int()
- Could Make A Function
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Controller/ControllerResolverTest.php:107 | 9 | - Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/MainConfiguration.php:259 | 9 | - Fn Argument Variable Confusion
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/CompleteConfigurationTestCase.php:519 | 9 | - Used Once Variables (In Scope)
- Buried Assignation
- Only Variable Passed By Reference
- Written Only Variables
- Iffectations
- Could Make A Function
- Preprocessable
|
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapManagerTest.php:397 | 9 | - Mismatch Type And Default
- Should Use Local Class
- Undefined Interfaces
- Undefined Class Constants
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/BrowserKit/HttpBrowser.php:95 | 9 | - Method Is Not An If
- Used Once Variables (In Scope)
- Buried Assignation
- Unused Parameter
- Written Only Variables
- Undefined Classes
- Wrong Number Of Arguments
|
/src/Symfony/Component/Cache/Adapter/PhpArrayAdapter.php:81 | 9 | - No Default For Referenced Parameter
- Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Missing Some Returntype
|
/src/Symfony/Component/Cache/Adapter/ProxyAdapter.php:83 | 9 | - No Default For Referenced Parameter
- Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
|
/src/Symfony/Component/Cache/Adapter/RedisTagAwareAdapter.php:63 | 9 | - Mismatched Typehint
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Cache/Tests/Adapter/AbstractRedisAdapterTestCase.php:26 | 9 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Undefined Interfaces
- Undefined Classes
- Mismatch Properties Typehints
- Unfinished Object
|
/src/Symfony/Component/Cache/Tests/Adapter/PhpArrayAdapterTest.php:160 | 9 | - Undefined Properties
- Wrong Type For Native PHP Function
- Uses Default Values
- eval() Without Try
- Eval() Usage
- Could Make A Function
|
/src/Symfony/Component/Cache/Traits/AbstractAdapterTrait.php:358 | 9 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Wrong Type For Native PHP Function
- Indices Are Int Or String
- Hash Algorithms
- Uses Default Values
- Undefined Class Constants
- Could Make A Function
|
/src/Symfony/Component/Cache/Traits/ContractsTrait.php:57 | 9 | - Infinite Recursion
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Cache/Traits/Redis5Proxy.php:749 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:139 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:149 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:324 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1179 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1189 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1229 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1239 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1264 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1284 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:154 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:164 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:319 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:1054 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:1124 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:1134 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:294 | 9 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:694 | 9 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:729 | 9 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:734 | 9 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:764 | 9 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Config/Tests/Resource/ReflectionClassResourceTest.php:97 | 9 | - Buried Assignation
- Uses Default Values
- Use ::Class Operator
- eval() Without Try
- Use random_int()
- Eval() Usage
- Could Make A Function
|
/src/Symfony/Component/Console/Tests/Helper/ProgressBarTest.php:1095 | 9 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:1178 | 9 | - No Default For Referenced Parameter
- Max Level Of Nesting
- No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Unused Parameter
- Missing Some Returntype
|
/src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php:61 | 9 | - Double Checks
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php:217 | 9 | - Weak Type With Array
- Wrong Type With Call
- Uses Default Values
- Wrong Number Of Arguments
- Useless Instructions
- Unused Returned Value
- No Choice
|
/src/Symfony/Component/DependencyInjection/ReverseContainer.php:34 | 9 | - Wrong Precedence In Expression
- Undefined Properties
- Nested Ternary
- Empty Function
- StandaloneType True False Null
- Could Make A Function
- Wrong Type Returned
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/Foo.php:11 | 9 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/lazy_closure.php:60 | 9 | - Unused Public Methods
- Avoid Using stdClass
- Buried Assignation
- Unused Parameter
- Empty Function
- StandaloneType True False Null
- No Readonly Assignation In Global
- Wrong Type Returned
- Class Could Be Final
|
/src/Symfony/Component/ErrorHandler/ErrorRenderer/HtmlErrorRenderer.php:50 | 9 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Form/ChoiceList/ChoiceList.php:63 | 9 | - Ambiguous Static
- Mismatched Typehint
- Should Use Local Class
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
|
/src/Symfony/Component/Form/ChoiceList/ChoiceList.php:94 | 9 | - Mismatched Typehint
- Should Use Local Class
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Form/ChoiceList/ChoiceList.php:116 | 9 | - Unused Public Methods
- Mismatched Typehint
- Should Use Local Class
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
|
/src/Symfony/Component/Form/ChoiceList/ChoiceList.php:127 | 9 | - Mismatched Typehint
- Should Use Local Class
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Form/ChoiceList/ChoiceList.php:138 | 9 | - Mismatched Typehint
- Should Use Local Class
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Form/ChoiceList/Factory/CachingFactoryDecorator.php:113 | 9 | - Method Signature Must Be Compatible
- Insufficient Typehint
- Mismatched Typehint
- Modified Typed Parameter
- Wrong Type With Default
- Implicit Nullable Type
|
/src/Symfony/Component/Form/ChoiceList/Factory/DefaultChoiceListFactory.php:194 | 9 | - Assumptions
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
|
/src/Symfony/Component/Form/Form.php:421 | 9 | - Incompatible Signature Methods With Covariance
- Max Level Of Nesting
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- No Return Used
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/HttpClient/HttpClientTrait.php:331 | 9 | - Method Is Not An If
- Used Once Variables (In Scope)
- Buried Assignation
- Unused Parameter
- Written Only Variables
- Undefined Classes
- Wrong Number Of Arguments
|
/src/Symfony/Component/HttpClient/Internal/AmpClientState.php:56 | 9 | - Unresolved Classes
- Undefined Interfaces
- Undefined Classes
- Empty Function
- Could Inject Parameter
- Wrong Type Returned
|
/src/Symfony/Component/HttpClient/Response/CurlResponse.php:425 | 9 | - False To Array Conversion
- Weak Type With Array
- Buried Assignation
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/HttpClient/Response/MockResponse.php:107 | 9 | - Undefined Properties
- Useless Type Casting
- Useless Parenthesis
- Useless Instructions
- Could Make A Function
- No Choice
|
/src/Symfony/Component/HttpFoundation/ResponseHeaderBag.php:90 | 9 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Indices Are Int Or String
- Only Variable Passed By Reference
- Uses Default Values
- Wrong Number Of Arguments
- Could Make A Function
- Wrong Type Returned
|
/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/Fixtures/common.inc:86 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Method Could Be Static
|
/src/Symfony/Component/HttpKernel/Controller/ControllerResolver.php:268 | 9 | - No Null For Native PHP Functions
- Wrong Precedence In Expression
- Long Arguments
- Uses Default Values
- Undefined Classes
- Nested Ternary
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolverTest.php:38 | 9 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Wrong Parameter Type
- Written Only Variables
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
|
/src/Symfony/Component/HttpKernel/Tests/Controller/ContainerControllerResolverTest.php:198 | 9 | - Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/HttpKernel/Tests/ControllerMetadata/ArgumentMetadataFactoryTest.php:162 | 9 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/HttpKernel/Tests/DependencyInjection/RegisterControllerArgumentLocatorsPassTest.php:655 | 9 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/HttpKernel/Tests/EventListener/ErrorListenerTest.php:305 | 9 | - Unused Public Methods
- Method Signature Must Be Compatible
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Component/HttpKernel/Tests/Exception/HttpExceptionTest.php:66 | 9 | - Mismatched Typehint
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php:498 | 9 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
|
/src/Symfony/Component/Lock/Tests/Store/CombinedStoreTest.php:42 | 9 | - Wrong Type For Native PHP Function
- Mismatched Typehint
- Unresolved Classes
- Uses Default Values
- Undefined Classes
- Could Make A Function
|
/src/Symfony/Component/Notifier/Bridge/Mastodon/MastodonTransport.php:36 | 9 | - Incompatible Signature Methods With Covariance
- Mismatched Typehint
- Property Used In One Method Only
- Used Once Property
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Notifier/Bridge/Mercure/MercureTransport.php:40 | 9 | - Incompatible Signature Methods With Covariance
- Mismatched Typehint
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Parent First
|
/src/Symfony/Component/Notifier/Bridge/Mercure/Tests/Fixtures/DummyHub.php:38 | 9 | - Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/Notifier/Bridge/OvhCloud/Tests/OvhCloudTransportTest.php:26 | 9 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
|
/src/Symfony/Component/OptionsResolver/OptionsResolver.php:1030 | 9 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Weak Type With Array
- Indices Are Int Or String
- Uses Default Values
- Undefined Classes
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1618 | 9 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1688 | 9 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/Routing/Generator/UrlGenerator.php:269 | 9 | - Method Is Not An If
- Used Once Variables (In Scope)
- Buried Assignation
- Unused Parameter
- Written Only Variables
- Undefined Classes
- Wrong Number Of Arguments
|
/src/Symfony/Component/Routing/Loader/Configurator/RoutingConfigurator.php:41 | 9 | - Double Checks
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Never Called Parameter
|
/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:137 | 9 | - Merge If Then
- Wrong Parameter Type
- Buried Assignation
- Useless Parenthesis
- Uses Default Values
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/Routing/Matcher/TraceableUrlMatcher.php:104 | 9 | - Merge If Then
- Wrong Parameter Type
- Buried Assignation
- Useless Parenthesis
- Uses Default Values
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/Routing/Matcher/UrlMatcher.php:144 | 9 | - Merge If Then
- Wrong Parameter Type
- Buried Assignation
- Useless Parenthesis
- Uses Default Values
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/Routing/Tests/Fixtures/AttributeFixtures/DefaultValueController.php:25 | 9 | - Wrong Attribute Configuration
- Unused Public Methods
- Mismatch Type And Default
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Class Constants
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/Routing/Tests/Fixtures/AttributeFixtures/DefaultValueController.php:30 | 9 | - Wrong Attribute Configuration
- Unused Public Methods
- Mismatch Type And Default
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Class Constants
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php:1030 | 9 | - Mismatched Typehint
- Should Use Local Class
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Component/Runtime/Internal/ComposerPlugin.php:47 | 9 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
|
/src/Symfony/Component/Scheduler/Tests/Command/DebugCommandTest.php:48 | 9 | - Wrong Type With Call
- Avoid Using stdClass
- Uses Default Values
- Undefined Classes
- Empty Function
- Unused Returned Value
- New Object Then Immediate Call
- Wrong Type Returned
|
/src/Symfony/Component/Scheduler/Tests/Command/DebugCommandTest.php:83 | 9 | - Wrong Type With Call
- Avoid Using stdClass
- Uses Default Values
- Undefined Classes
- Empty Function
- Unused Returned Value
- New Object Then Immediate Call
- Wrong Type Returned
|
/src/Symfony/Component/Security/Http/Tests/Authentication/AuthenticatorManagerTest.php:349 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Method Is Not An If
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/Serializer/NameConverter/MetadataAwareNameConverter.php:44 | 9 | - Incompatible Signature Methods With Covariance
- No Null For Index
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
|
/src/Symfony/Component/Serializer/Tests/Normalizer/ObjectNormalizerTest.php:774 | 9 | - Assumptions
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Different Argument Counts
- Method Could Be Static
|
/src/Symfony/Component/String/AbstractString.php:504 | 9 | - Repeated Regex
- Used Once Variables (In Scope)
- Buried Assignation
- Written Only Variables
- Access Protected Structures
- Uses Default Values
- Iffectations
- Used Once Variables
- Could Make A Function
|
/src/Symfony/Component/Translation/Extractor/Visitor/AbstractVisitor.php:84 | 9 | - No Boolean As Default
- Should Make Alias
- Use Named Boolean In Argument Definition
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
|
/src/Symfony/Component/Translation/Tests/Fixtures/extractor-ast/translation.html.php:52 | 9 | - Recycled Variables
- Undefined Variable
- Assigned Twice
- Overwritten Literals
- Buried Assignation
- Repeated print()
|
/src/Symfony/Component/Validator/Constraints/IsTrue.php:30 | 9 | - Missing Attribute Attribute
- Mismatched Typehint
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Validator/Constraints/NotNull.php:30 | 9 | - Missing Attribute Attribute
- Mismatched Typehint
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Validator/Constraints/Sequentially.php:27 | 9 | - Missing Attribute Attribute
- Mismatched Typehint
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/VarDumper/Caster/RedisCaster.php:50 | 9 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Missing Some Returntype
|
/src/Symfony/Component/VarDumper/Tests/Caster/ExceptionCasterTest.php:29 | 9 | - No Default For Referenced Parameter
- Useless Referenced Argument
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Component/VarDumper/Tests/Caster/ReflectionCasterTest.php:89 | 9 | - Used Once Variables (In Scope)
- Unused Parameter
- Written Only Variables
- Undefined Classes
- Empty Function
- Unused Inherited Variable In Closure
|
/src/Symfony/Component/VarDumper/Tests/Cloner/VarClonerTest.php:402 | 9 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Wrong Type Returned
|
/src/Symfony/Component/VarDumper/Tests/Fixtures/dumb-var.php:34 | 9 | - No Default For Referenced Parameter
- Class-typed References
- Useless Referenced Argument
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/VarExporter/Tests/ProxyHelperTest.php:242 | 9 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unresolved Classes
- Unused Parameter
- Undefined Classes
- Undefined Constants
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Contracts/Tests/Cache/CacheTraitTest.php:130 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Contracts/Tests/Cache/CacheTraitTest.php:134 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Contracts/Tests/Cache/CacheTraitTest.php:142 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Contracts/Translation/TranslatorTrait.php:38 | 9 | - Assumptions
- Unused Public Methods
- Max Level Of Nesting
- Mismatched Typehint
- Used Once Variables (In Scope)
- Unused Parameter
- StandaloneType True False Null
|
/src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php:28 | 8 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php:51 | 8 | - Unused Public Methods
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- Undefined Interfaces
- Undefined Classes
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Bridge/Doctrine/Messenger/DoctrineClearEntityManagerWorkerSubscriber.php:27 | 8 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/Security/User/EntityUserProvider.php:43 | 8 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/Security/User/EntityUserProvider.php:45 | 8 | - No Null For Index
- Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/Tests/ArgumentResolver/EntityValueResolverTest.php:391 | 8 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Bridge/Doctrine/Validator/DoctrineLoader.php:38 | 8 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Monolog/Handler/ElasticsearchLogstashHandler.php:59 | 8 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Undefined Interfaces
- Undefined Class Constants
- Undefined Classes
- StandaloneType True False Null
- Parent First
|
/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Configuration.php:123 | 8 | - Used Once Variables (In Scope)
- Unused Parameter
- Written Only Variables
- Uses Default Values
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/Message.php:36 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/ServerRequest.php:54 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/ServerRequest.php:64 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/ServerRequest.php:119 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/ServerRequest.php:139 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/Stream.php:62 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/Stream.php:98 | 8 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
- Missing Some Returntype
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/Uri.php:95 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/Uri.php:105 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/Uri.php:110 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/Uri.php:115 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/Uri.php:120 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/Uri.php:125 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/Twig/Extension/TranslationExtension.php:128 | 8 | - Unused Public Methods
- Mismatched Typehint
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Bridge/Twig/Mime/NotificationEmail.php:57 | 8 | - Too Many Native Calls
- Uncaught Exceptions
- Uses Default Values
- Throw Raw Exceptions
- Could Make A Function
- Preprocessable
|
/src/Symfony/Bridge/Twig/Tests/Command/DebugCommandTest.php:320 | 8 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/XmlDescriptor.php:291 | 8 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Used Once Variables (In Scope)
- Unused Parameter
- StandaloneType True False Null
|
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/XmlDescriptor.php:321 | 8 | - Max Level Of Nesting
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Too Many Local Variables
- Mismatched Typehint
- StandaloneType True False Null
|
/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php:2777 | 8 | - No Null For Native PHP Functions
- Undefined ::class
- Wrong Type For Native PHP Function
- Should Make Alias
- Undefined Classes
- Could Make A Function
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Controller/AbstractControllerTest.php:116 | 8 | - Fn Argument Variable Confusion
- Wrong Type With Call
- Only Variable Passed By Reference
- Uses Default Values
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTestCase.php:1147 | 8 | - Missing Assignation In Branches
- Wrong Type For Native PHP Function
- Use Positive Condition
- Buried Assignation
- Uses Default Values
- Iffectations
- Could Make A Function
- Strict Comparison With Booleans
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Translation/TranslatorTest.php:256 | 8 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php:1024 | 8 | - Fn Argument Variable Confusion
- Repeated Regex
- Uses Default Values
- Undefined Classes
- Empty Function
- Could Make A Function
|
/src/Symfony/Bundle/WebProfilerBundle/Tests/Resources/IconTest.php:37 | 8 | - Wrong Type For Native PHP Function
- No Direct Usage
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/AssetMapper/AssetMapperCompiler.php:29 | 8 | - Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Empty Function
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapManagerTest.php:423 | 8 | - Mismatch Type And Default
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Undefined Interfaces
- Undefined Class Constants
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapUpdateCheckerTest.php:208 | 8 | - Mismatch Type And Default
- Ambiguous Static
- Mismatched Typehint
- Should Use Local Class
- Undefined Interfaces
- Undefined Class Constants
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:691 | 8 | - Mismatch Type And Default
- Ambiguous Static
- Mismatched Typehint
- Should Use Local Class
- Undefined Interfaces
- Undefined Class Constants
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Adapter/ChainAdapter.php:91 | 8 | - No Default For Referenced Parameter
- Ambiguous Static
- Useless Referenced Argument
- StandaloneType True False Null
- No Return Used
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Component/Cache/Adapter/CouchbaseCollectionAdapter.php:50 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Too Many Local Variables
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/Cache/Adapter/FilesystemTagAwareAdapter.php:38 | 8 | - Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Cache/Adapter/Psr16Adapter.php:24 | 8 | - Repeated Interface
- Trait Not Found
- Multiple Identical Trait Or Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
/src/Symfony/Component/Cache/LockRegistry.php:86 | 8 | - Unused Public Methods
- Max Level Of Nesting
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- StandaloneType True False Null
- Missing Some Returntype
|
/src/Symfony/Component/Cache/Traits/Redis5Proxy.php:769 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:144 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:154 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:434 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:599 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:644 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:909 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster5Proxy.php:664 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:159 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:169 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:394 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:549 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:764 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisTrait.php:87 | 8 | - Unused Public Methods
- Max Level Of Nesting
- Ambiguous Static
- Too Many Local Variables
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:504 | 8 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:814 | 8 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:854 | 8 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:859 | 8 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:894 | 8 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1049 | 8 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1054 | 8 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1254 | 8 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1289 | 8 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1309 | 8 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:1314 | 8 | - Unused Public Methods
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Clock/Test/ClockSensitiveTrait.php:35 | 8 | - Double Checks
- No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Undefined Interfaces
- Undefined Classes
- Could Inject Parameter
|
/src/Symfony/Component/Console/Application.php:845 | 8 | - Wrong Precedence In Expression
- Long Arguments
- Uses Default Values
- Undefined Classes
- Nested Ternary
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/Console/Helper/ProgressBar.php:605 | 8 | - Only Variable Passed By Reference
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
- Preprocessable
|
/src/Symfony/Component/Console/Output/TrimmedBufferOutput.php:27 | 8 | - Incompatible Signature Methods With Covariance
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
|
/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php:650 | 8 | - No Need For Else
- Buried Assignation
- Uses Default Values
- Wrong Number Of Arguments
- Iffectations
- Drop Else After Return
- Strict Comparison With Booleans
|
/src/Symfony/Component/DependencyInjection/Container.php:395 | 8 | - Don't Read And Write In One Expression
- Weak Type With Array
- Wrong Type With Call
- Useless Instructions
- Wrong Type Returned
- No Choice
|
/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:1399 | 8 | - No Default For Referenced Parameter
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Unused Parameter
- StandaloneType True False Null
|
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:934 | 8 | - Variable Is Not A Condition
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:947 | 8 | - Variable Is Not A Condition
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:1740 | 8 | - Variable Is Not A Condition
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php:633 | 8 | - Scalar Are Not Arrays
- Null Or Boolean Arrays
- Weak Type With Array
- Mismatched Typehint
- Buried Assignation
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/BarMethodCall.php:28 | 8 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/Foo.php:12 | 8 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Avoid Using stdClass
- Unused Parameter
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/NewInInitializer.php:7 | 8 | - Used Once Variables (In Scope)
- Avoid Using stdClass
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Preload/Dummy.php:27 | 8 | - Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Preload/UnionDummy.php:18 | 8 | - Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/MultipleArgumentsOptionalScalarNotReallyOptional.php:10 | 8 | - Wrong Optional Parameter
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php:198 | 8 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_dedup_lazy.php:97 | 8 | - Buried Assignation
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Use ::Class Operator
|
/src/Symfony/Component/ErrorHandler/DebugClassLoader.php:572 | 8 | - Weak Type With Array
- Buried Assignation
- Useless Parenthesis
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/ErrorHandler/ErrorHandler.php:742 | 8 | - Wrong Precedence In Expression
- Long Arguments
- Uses Default Values
- Undefined Classes
- Nested Ternary
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/ErrorHandler/Exception/FlattenException.php:231 | 8 | - Wrong Precedence In Expression
- Long Arguments
- Uses Default Values
- Undefined Classes
- Nested Ternary
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/ErrorHandler/Tests/Fixtures/ReturnType.php:16 | 8 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/Finder/Gitignore.php:82 | 8 | - No Null For Native PHP Functions
- Assumptions
- Weak Type With Array
- Uses Default Values
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/Finder/SplFileInfo.php:70 | 8 | - Undefined Variable
- Used Once Variables (In Scope)
- Unused Parameter
- Written Only Variables
- Uses Default Values
- Undefined Classes
|
/src/Symfony/Component/Form/Button.php:55 | 8 | - PHP Native Class Type Compatibility
- PHP Native Interfaces and Return Type
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Component/Form/Console/Descriptor/TextDescriptor.php:36 | 8 | - Weak Type With Array
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToHtml5LocalDateTimeTransformer.php:28 | 8 | - Ambiguous Visibilities
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Property Used In One Method Only
- StandaloneType True False Null
- Property Could Be Local
|
/src/Symfony/Component/Form/Extension/Validator/ViolationMapper/ViolationMapper.php:41 | 8 | - Max Level Of Nesting
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Too Many Local Variables
- Mismatched Typehint
- Modified Typed Parameter
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Form/Tests/AbstractRequestHandlerTestCase.php:509 | 8 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Component/Form/Tests/Extension/Validator/EventListener/ValidationListenerTest.php:52 | 8 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Component/HttpClient/AmpHttpClient.php:151 | 8 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
- Method Could Be Static
|
/src/Symfony/Component/HttpClient/MockHttpClient.php:87 | 8 | - Ambiguous Static
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Component/HttpClient/NativeHttpClient.php:272 | 8 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
- Method Could Be Static
|
/src/Symfony/Component/HttpClient/Response/AmpResponse.php:139 | 8 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Indices Are Int Or String
- Ambiguous Array Index
- Useless Instructions
- Wrong Type Returned
- No Choice
|
/src/Symfony/Component/HttpClient/Response/AsyncContext.php:122 | 8 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Wrong Type With Call
- Indices Are Int Or String
- Ambiguous Array Index
- Wrong Type Returned
|
/src/Symfony/Component/HttpClient/Response/AsyncResponse.php:122 | 8 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Wrong Type With Call
- Indices Are Int Or String
- Ambiguous Array Index
- Wrong Type Returned
|
/src/Symfony/Component/HttpClient/Response/CurlResponse.php:220 | 8 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Indices Are Int Or String
- Ambiguous Array Index
- Useless Instructions
- Wrong Type Returned
- No Choice
|
/src/Symfony/Component/HttpClient/Response/NativeResponse.php:82 | 8 | - No Null For Index
- Don't Mix ++
- Buried Assignation
- Useless Parenthesis
- Ambiguous Array Index
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/HttpClient/Response/NativeResponse.php:101 | 8 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Indices Are Int Or String
- Ambiguous Array Index
- Useless Instructions
- Wrong Type Returned
- No Choice
|
/src/Symfony/Component/HttpFoundation/File/File.php:89 | 8 | - Undefined Variable
- Used Once Variables (In Scope)
- Unused Parameter
- Written Only Variables
- Uses Default Values
- Undefined Classes
|
/src/Symfony/Component/HttpFoundation/File/UploadedFile.php:170 | 8 | - Undefined Variable
- Used Once Variables (In Scope)
- Unused Parameter
- Written Only Variables
- Uses Default Values
- Undefined Classes
|
/src/Symfony/Component/HttpFoundation/RequestMatcher/MethodRequestMatcher.php:35 | 8 | - Fn Argument Variable Confusion
- Repeated Regex
- Uses Default Values
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/HttpFoundation/RequestMatcher/SchemeRequestMatcher.php:35 | 8 | - Fn Argument Variable Confusion
- Repeated Regex
- Uses Default Values
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/RedisSessionHandler.php:43 | 8 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
|
/src/Symfony/Component/HttpFoundation/Test/Constraint/ResponseHeaderLocationSame.php:20 | 8 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Empty Function
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/Fixtures/common.inc:114 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/HttpKernel/Controller/ArgumentResolver/DateTimeValueResolver.php:30 | 8 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/HttpKernel/Controller/ArgumentResolver/RequestPayloadValueResolver.php:131 | 8 | - Fn Argument Variable Confusion
- Forgotten Thrown
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php:405 | 8 | - Weak Type With Array
- Buried Assignation
- Useless Parenthesis
- Uses Default Values
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/HttpKernel/EventListener/CacheAttributeListener.php:54 | 8 | - Weak Type With Array
- Buried Assignation
- Only Variable Passed By Reference
- Uses Default Values
- Useless Instructions
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/BackedEnumValueResolverTest.php:148 | 8 | - No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Should Use Local Class
- Could Inject Parameter
|
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolverTest.php:364 | 8 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/HttpKernel/Tests/ControllerMetadata/ArgumentMetadataFactoryTest.php:170 | 8 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/HttpKernel/Tests/DependencyInjection/FragmentRendererPassTest.php:63 | 8 | - Unused Public Methods
- Method Signature Must Be Compatible
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/HttpKernel/Tests/DependencyInjection/RegisterControllerArgumentLocatorsPassTest.php:669 | 8 | - Unused Public Methods
- Mismatch Type And Default
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Class Constants
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/HttpKernel/Tests/HttpCache/SubRequestHandlerTest.php:150 | 8 | - Unused Public Methods
- Method Signature Must Be Compatible
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/HttpKernel/Tests/KernelTest.php:592 | 8 | - Unused Public Methods
- No Boolean As Default
- Type Must Be Returned
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/Ldap/Tests/Security/CheckLdapCredentialsListenerTest.php:188 | 8 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Component/Lock/Store/FlockStore.php:93 | 8 | - Undefined Variable
- Used Once Variables (In Scope)
- Unused Parameter
- Written Only Variables
- Uses Default Values
- Undefined Classes
|
/src/Symfony/Component/Lock/Store/FlockStore.php:95 | 8 | - Merge If Then
- Same Conditions In Condition
- Buried Assignation
- Uses Default Values
- Iffectations
- Could Make A Function
|
/src/Symfony/Component/Mailer/Bridge/Amazon/Transport/SesHttpAsyncAwsTransport.php:33 | 8 | - Incompatible Signature Methods With Covariance
- Mismatched Typehint
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Parent First
|
/src/Symfony/Component/Mailer/Bridge/MailPace/Tests/Transport/MailPaceApiTransportTest.php:103 | 8 | - Wrong Type With Call
- Mismatched Typehint
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Mailer/Bridge/Mailchimp/Tests/Transport/MandrillApiTransportTest.php:106 | 8 | - Wrong Type With Call
- Mismatched Typehint
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Mailer/Bridge/Mailchimp/Tests/Transport/MandrillHttpTransportTest.php:91 | 8 | - Wrong Type With Call
- Mismatched Typehint
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Mailer/Bridge/Postmark/Tests/Transport/PostmarkApiTransportTest.php:105 | 8 | - Wrong Type With Call
- Mismatched Typehint
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Notifier/Bridge/AllMySms/Tests/AllMySmsTransportTest.php:25 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/AmazonSns/AmazonSnsTransport.php:33 | 8 | - Incompatible Signature Methods With Covariance
- Mismatched Typehint
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Parent First
|
/src/Symfony/Component/Notifier/Bridge/Clickatell/Tests/ClickatellTransportTest.php:28 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/GoogleChat/Tests/GoogleChatTransportTest.php:30 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/Mercure/MercureTransportFactory.php:30 | 8 | - Incompatible Signature Methods With Covariance
- Mismatched Typehint
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Never Called Parameter
|
/src/Symfony/Component/Notifier/Bridge/MessageMedia/Tests/MessageMediaTransportTest.php:28 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/Tests/MicrosoftTeamsTransportTest.php:52 | 8 | - Wrong Type With Call
- Mismatched Typehint
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Notifier/Bridge/OneSignal/Tests/OneSignalTransportTest.php:32 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/RocketChat/Tests/RocketChatTransportTest.php:27 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/Slack/Tests/SlackTransportTest.php:30 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/Sms77/Tests/Sms77TransportTest.php:24 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/Smsapi/Tests/SmsapiTransportTest.php:26 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:31 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/OptionsResolver/Tests/Debug/OptionsResolverIntrospectorTest.php:236 | 8 | - Used Once Variables (In Scope)
- Buried Assignation
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:483 | 8 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Wrong Type Returned
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:668 | 8 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Wrong Type Returned
|
/src/Symfony/Component/Process/PhpProcess.php:53 | 8 | - Mismatch Type And Default
- Must Return Methods
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Process/PhpSubprocess.php:76 | 8 | - Unused Public Methods
- Mismatch Type And Default
- Must Return Methods
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
|
/src/Symfony/Component/PropertyInfo/Extractor/PhpStanExtractor.php:188 | 8 | - Undefined Properties
- Useless Parenthesis
- Undefined Interfaces
- Uses Default Values
- Undefined Classes
- Empty Function
- Unresolved Instanceof
|
/src/Symfony/Component/PropertyInfo/Util/PhpDocTypeHelper.php:108 | 8 | - Use Named Boolean In Argument Definition
- Mismatched Typehint
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Runtime/Tests/phpt/kernel.php:27 | 8 | - Unused Public Methods
- Method Signature Must Be Compatible
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Security/Core/Authorization/AccessDecisionManager.php:52 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Different Argument Counts
- Wrong Type With Default
- Implicit Nullable Type
|
/src/Symfony/Component/Security/Core/Authorization/ExpressionLanguageProvider.php:29 | 8 | - Assumptions
- Weak Type With Array
- String May Hold A Variable
- Undefined Classes
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Security/Core/Authorization/ExpressionLanguageProvider.php:33 | 8 | - Assumptions
- Weak Type With Array
- String May Hold A Variable
- Undefined Classes
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Security/Http/Tests/Firewall/ContextListenerTest.php:476 | 8 | - Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/Semaphore/SemaphoreFactory.php:37 | 8 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Semaphore/Store/RedisStore.php:30 | 8 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
|
/src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php:474 | 8 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Type For Native PHP Function
- Bail Out Early
- Uses Default Values
- Could Make A Function
|
/src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php:660 | 8 | - Scalar Are Not Arrays
- Null Or Boolean Arrays
- Weak Type With Array
- Buried Assignation
- Iffectations
- Useless Instructions
- Check After Null Safe Operator
- No Choice
|
/src/Symfony/Component/Serializer/Tests/Fixtures/AbstractNormalizerDummy.php:33 | 8 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php:900 | 8 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Serializer/Tests/Normalizer/ObjectNormalizerTest.php:779 | 8 | - Assumptions
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- StandaloneType True False Null
- Different Argument Counts
- Method Could Be Static
|
/src/Symfony/Component/Serializer/Tests/Normalizer/TestDenormalizer.php:23 | 8 | - Unused Public Methods
- Method Signature Must Be Compatible
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/String/ByteString.php:186 | 8 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
|
/src/Symfony/Component/String/CodePointString.php:134 | 8 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
|
/src/Symfony/Component/String/UnicodeString.php:158 | 8 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
|
/src/Symfony/Component/Translation/Extractor/Visitor/AbstractVisitor.php:51 | 8 | - Should Make Alias
- Buried Assignation
- Undefined Interfaces
- Undefined Classes
- Iffectations
- Useless Instructions
- Unresolved Instanceof
- No Choice
|
/src/Symfony/Component/Translation/Extractor/Visitor/ConstraintVisitor.php:29 | 8 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Translation/Extractor/Visitor/ConstraintVisitor.php:108 | 8 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Translation/Extractor/Visitor/TransMethodVisitor.php:22 | 8 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Translation/Extractor/Visitor/TransMethodVisitor.php:61 | 8 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Translation/Extractor/Visitor/TranslatableMessageVisitor.php:22 | 8 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Translation/Extractor/Visitor/TranslatableMessageVisitor.php:61 | 8 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Translation/Tests/Command/XliffLintCommandTest.php:206 | 8 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Component/Uid/UuidV6.php:46 | 8 | - Ambiguous Static
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
- Never Called Parameter
|
/src/Symfony/Component/Validator/Constraints/Cascade.php:25 | 8 | - Missing Attribute Attribute
- Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
- Never Called Parameter
|
/src/Symfony/Component/Validator/Constraints/GroupSequenceProvider.php:26 | 8 | - Wrong Attribute Configuration
- Missing Attribute Attribute
- Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Empty Function
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Validator/Constraints/Valid.php:24 | 8 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Validator/Constraints/WhenValidator.php:22 | 8 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Empty Function
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
- Wrong Typed Property Default
|
/src/Symfony/Component/Validator/Tests/Fixtures/ConstraintWithRequiredArgument.php:23 | 8 | - Wrong Attribute Configuration
- Incompatible Signature Methods With Covariance
- Mismatched Typehint
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
/src/Symfony/Component/Validator/Tests/Mapping/MemberMetadataTest.php:106 | 8 | - Mismatch Parameter Name
- Unused Public Methods
- Method Signature Must Be Compatible
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/VarDumper/Caster/ClassStub.php:59 | 8 | - Wrong Precedence In Expression
- Long Arguments
- Uses Default Values
- Undefined Classes
- Nested Ternary
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/VarDumper/Caster/DOMCaster.php:66 | 8 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
|
/src/Symfony/Component/VarDumper/Caster/DoctrineCaster.php:28 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/DoctrineCaster.php:40 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/ImagineCaster.php:22 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/PgSqlCaster.php:79 | 8 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/PgSqlCaster.php:111 | 8 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/ResourceCaster.php:25 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Missing Some Returntype
|
/src/Symfony/Component/VarDumper/Caster/ResourceCaster.php:38 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/SymfonyCaster.php:49 | 8 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/UuidCaster.php:22 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/XmlResourceCaster.php:50 | 8 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Dumper/AbstractDumper.php:122 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Different Argument Counts
- Wrong Type With Default
|
/src/Symfony/Component/VarDumper/Dumper/HtmlDumper.php:128 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Different Argument Counts
- Wrong Type With Default
|
/src/Symfony/Component/VarDumper/Tests/Fixtures/Php82NullStandaloneReturnType.php:16 | 8 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/VarExporter/Internal/Registry.php:64 | 8 | - No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/src/Symfony/Component/VarExporter/LazyProxyTrait.php:105 | 8 | - Bail Out Early
- No Need For Else
- Iffectations
- Useless Instructions
- Drop Else After Return
- No Readonly Assignation In Global
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Component/VarExporter/Tests/VarExporterTest.php:434 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Method Could Be Static
|
/src/Symfony/Component/Workflow/Tests/EventListener/AuditTrailListenerTest.php:56 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/Yaml/Parser.php:233 | 8 | - Wrong Type For Native PHP Function
- Too Many Native Calls
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/src/Symfony/Contracts/Cache/CacheTrait.php:28 | 8 | - No Default For Referenced Parameter
- Ambiguous Static
- Mismatched Default Arguments
- Mismatched Typehint
- Unused Parameter
- StandaloneType True False Null
|
/src/Symfony/Contracts/Tests/Cache/CacheTraitTest.php:138 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Contracts/Tests/Cache/CacheTraitTest.php:146 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Contracts/Tests/Cache/CacheTraitTest.php:150 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Contracts/Tests/Cache/CacheTraitTest.php:154 | 8 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Bridge/Doctrine/ArgumentResolver/EntityValueResolver.php:35 | 7 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/DataCollector/DoctrineDataCollector.php:35 | 7 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/Form/ChoiceList/IdReader.php:34 | 7 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/Form/DataTransformer/CollectionToArrayTransformer.php:53 | 7 | - Mismatch Parameter Name
- Method Signature Must Be Compatible
- Undefined Interfaces
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Bridge/Doctrine/Tests/Messenger/DoctrineOpenTransactionLoggerMiddlewareTest.php:59 | 7 | - Undefined Properties
- Wrong Type With Call
- Avoid Using stdClass
- Only Variable Passed By Reference
- Uses Default Values
- Unused Returned Value
|
/src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/Fixtures/DoctrineFooType.php:30 | 7 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
|
/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php:31 | 7 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php:41 | 7 | - Mismatch Parameter Name
- Unused Public Methods
- Method Signature Must Be Compatible
- Mismatched Typehint
- Could Inject Parameter
- Memoize MagicCall
|
/src/Symfony/Bridge/Monolog/Handler/FingersCrossed/HttpCodeActivationStrategy.php:33 | 7 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
|
/src/Symfony/Bridge/Monolog/Handler/FingersCrossed/NotFoundActivationStrategy.php:33 | 7 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
|
/src/Symfony/Bridge/Monolog/Handler/MailerHandler.php:31 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Undefined Interfaces
- Undefined Class Constants
- Undefined Classes
- Never Called Parameter
|
/src/Symfony/Bridge/Monolog/Handler/NotifierHandler.php:30 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Undefined Interfaces
- Undefined Class Constants
- Undefined Classes
- Parent First
|
/src/Symfony/Bridge/Monolog/Handler/ServerLogHandler.php:39 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Undefined Interfaces
- Undefined Class Constants
- Undefined Classes
- Never Called Parameter
|
/src/Symfony/Bridge/Monolog/Tests/Formatter/ConsoleFormatterTest.php:25 | 7 | - Unused Public Methods
- Mismatched Typehint
- Should Use Local Class
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
|
/src/Symfony/Bridge/Monolog/Tests/Handler/FingersCrossed/NotFoundActivationStrategyTest.php:29 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Should Use Local Class
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
|
/src/Symfony/Bridge/PhpUnit/Legacy/CommandForV9.php:44 | 7 | - Undefined ::class
- Missing Assignation In Branches
- Undefined Interfaces
- Uses Default Values
- Undefined Classes
- Unresolved Instanceof
|
/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/fake_vendor/acme/lib/PhpDeprecation.php:12 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/Message.php:88 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/ServerRequest.php:89 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/ServerRequest.php:99 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/ServerRequest.php:109 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Bridge/Twig/EventListener/TemplateAttributeListener.php:27 | 7 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Twig/Extension/SecurityExtension.php:37 | 7 | - Unused Public Methods
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
|
/src/Symfony/Bridge/Twig/Node/TransDefaultDomainNode.php:30 | 7 | - Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
|
/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/AbstractPhpFileCacheWarmer.php:53 | 7 | - Comparison Is Always The Same
- Only Variable Passed By Reference
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
|
/src/Symfony/Bundle/FrameworkBundle/Command/CachePoolListCommand.php:54 | 7 | - Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- New Object Then Immediate Call
- Wrong Type Returned
|
/src/Symfony/Bundle/FrameworkBundle/Controller/AbstractController.php:309 | 7 | - Mismatched Typehint
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php:119 | 7 | - Variable Is Not A Condition
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php:1545 | 7 | - Fn Argument Variable Confusion
- Wrong Type For Native PHP Function
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
|
/src/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.php:43 | 7 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Bundle/TestBundle/Controller/AnnotatedController.php:27 | 7 | - Wrong Attribute Configuration
- Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Bundle/TestBundle/Controller/AnnotatedController.php:33 | 7 | - Wrong Attribute Configuration
- Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Bundle/TestBundle/Controller/SubRequestController.php:21 | 7 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Empty Function
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/MainConfiguration.php:245 | 7 | - Variable Is Not A Condition
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AccessTokenFactory.php:106 | 7 | - Assumptions
- Useless Argument
- Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- No Return Used
- Could Inject Parameter
|
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/HttpBasicLdapFactory.php:33 | 7 | - Assumptions
- Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php:500 | 7 | - Fn Argument Variable Confusion
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Inject Parameter
- Wrong Type Returned
|
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php:860 | 7 | - Assumptions
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/RegisterEntryPointsPassTest.php:96 | 7 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/AssetMapper/Factory/CachedMappedAssetFactory.php:28 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/AssetMapper/ImportMap/ImportMapRenderer.php:172 | 7 | - Wrong Type With Call
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Inject Parameter
|
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapGeneratorTest.php:743 | 7 | - Mismatch Type And Default
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Undefined Interfaces
- Undefined Class Constants
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Adapter/ArrayAdapter.php:129 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Weak Type With Array
- Indices Are Int Or String
- Useless Parenthesis
- Useless Instructions
- No Choice
|
/src/Symfony/Component/Cache/Adapter/CouchbaseBucketAdapter.php:57 | 7 | - Mismatch Parameter Name
- Assumptions
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/Cache/Adapter/NullAdapter.php:40 | 7 | - No Default For Referenced Parameter
- Unused Public Methods
- Ambiguous Static
- Useless Referenced Argument
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/Cache/Adapter/TraceableAdapter.php:38 | 7 | - No Default For Referenced Parameter
- Ambiguous Static
- Useless Referenced Argument
- StandaloneType True False Null
- No Return Used
- Never Called Parameter
|
/src/Symfony/Component/Cache/Adapter/TraceableAdapter.php:88 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- False To Array Conversion
- Null Or Boolean Arrays
- Insufficient Typehint
- Indices Are Int Or String
- Buried Assignation
|
/src/Symfony/Component/Cache/Adapter/TraceableAdapter.php:98 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- False To Array Conversion
- Null Or Boolean Arrays
- Insufficient Typehint
- Indices Are Int Or String
- Buried Assignation
|
/src/Symfony/Component/Cache/Tests/Adapter/MemcachedAdapterTest.php:46 | 7 | - Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:79 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:204 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:544 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:839 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:864 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:869 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1169 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1174 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1254 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/Redis6Proxy.php:1269 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:214 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:304 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:309 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:494 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:799 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:844 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:849 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:1014 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:1139 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:269 | 7 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
|
/src/Symfony/Component/Cache/Traits/RelayProxy.php:339 | 7 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/Clock/Clock.php:26 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Config/Definition/Builder/ExprBuilder.php:199 | 7 | - Check JSON
- Uncaught Exceptions
- Uses Default Values
- Undefined Classes
- Empty Function
- Throw Raw Exceptions
|
/src/Symfony/Component/Config/Definition/Configurator/DefinitionConfigurator.php:28 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Config/Definition/Configurator/DefinitionConfigurator.php:32 | 7 | - Double Checks
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Never Called Parameter
|
/src/Symfony/Component/Config/Tests/Builder/Fixtures/AddToList/Symfony/Config/AddToList/MessengerConfig.php:42 | 7 | - Weak Type With Array
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Inject Parameter
- Wrong Type Returned
|
/src/Symfony/Component/Config/Tests/Builder/Fixtures/AddToList/Symfony/Config/AddToList/MessengerConfig.php:48 | 7 | - Weak Type With Array
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Inject Parameter
- Wrong Type Returned
|
/src/Symfony/Component/Config/Tests/Builder/Fixtures/AddToList/Symfony/Config/AddToList/Translator/BooksConfig.php:32 | 7 | - Weak Type With Array
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Inject Parameter
- Wrong Type Returned
|
/src/Symfony/Component/Config/Tests/Builder/Fixtures/ArrayExtraKeys/Symfony/Config/ArrayExtraKeysConfig.php:67 | 7 | - Weak Type With Array
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Inject Parameter
- Wrong Type Returned
|
/src/Symfony/Component/Config/Tests/Builder/Fixtures/NodeInitialValues/Symfony/Config/NodeInitialValues/MessengerConfig.php:33 | 7 | - Weak Type With Array
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Inject Parameter
- Wrong Type Returned
|
/src/Symfony/Component/Console/Application.php:262 | 7 | - Missing Assignation In Branches
- Comparison Is Always The Same
- Nested Ifthen
- Buried Assignation
- Only Variable Passed By Reference
- Uses Default Values
|
/src/Symfony/Component/Console/Command/Command.php:183 | 7 | - Ambiguous Static
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Component/Console/Completion/Suggestion.php:22 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Console/Style/SymfonyStyle.php:447 | 7 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Wrong Type With Call
- Mismatched Typehint
- Only Variable Passed By Reference
- Uses Default Values
- Could Make A Function
|
/src/Symfony/Component/Console/Tests/Descriptor/JsonDescriptorTest.php:30 | 7 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Check JSON
- Uses Default Values
- Wrong Number Of Arguments
- Could Make A Function
|
/src/Symfony/Component/Console/Tests/Input/InputArgumentTest.php:139 | 7 | - Wrong Type With Call
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Wrong Type Returned
|
/src/Symfony/Component/Console/Tests/Input/InputOptionTest.php:252 | 7 | - Wrong Type With Call
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Wrong Type Returned
|
/src/Symfony/Component/Console/Tests/Tester/CommandTesterTest.php:95 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Use ::Class Operator
- Unused Returned Value
- New Object Then Immediate Call
|
/src/Symfony/Component/CssSelector/Parser/Parser.php:60 | 7 | - Fn Argument Variable Confusion
- Only Variable Passed By Reference
- Uses Default Values
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php:444 | 7 | - Undefined Properties
- Only Variable Passed By Reference
- Uses Default Values
- Undefined Classes
- Empty Function
- Useless Instructions
- No Choice
|
/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php:173 | 7 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Different Argument Counts
|
/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:337 | 7 | - No Null For Index
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:1038 | 7 | - No Null For Index
- No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
|
/src/Symfony/Component/DependencyInjection/Dumper/XmlDumper.php:133 | 7 | - Only Variable Passed By Reference
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php:73 | 7 | - Only Variable Passed By Reference
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/LazyServiceDumper.php:142 | 7 | - No Default For Referenced Parameter
- Class-typed References
- Use Named Boolean In Argument Definition
- Unused Parameter
- StandaloneType True False Null
- Modified Typed Parameter
- Could Inject Parameter
|
/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php:128 | 7 | - Useless Short Ternary
- Wrong Type With Call
- Uses Default Values
- Wrong Number Of Arguments
- Unused Returned Value
- No Choice
|
/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php:486 | 7 | - Weak Type With Array
- Don't Mix ++
- Repeated Regex
- Used Once Variables (In Scope)
- Uses Default Values
- Could Make A Function
|
/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php:635 | 7 | - Scalar Are Not Arrays
- Null Or Boolean Arrays
- Weak Type With Array
- Long Arguments
- Uses Default Values
- Could Make A Function
|
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:264 | 7 | - Wrong Attribute Configuration
- Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveInstanceofConditionalsPassTest.php:391 | 7 | - Unused Public Methods
- Method Signature Must Be Compatible
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/DependencyInjection/Tests/EnvVarProcessorTest.php:332 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Wrong Type Returned
|
/src/Symfony/Component/DependencyInjection/Tests/EnvVarProcessorTest.php:335 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Wrong Type Returned
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Container/ConstructorWithOptionalArgumentsContainer.php:7 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/FactoryDummy.php:20 | 7 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Avoid Using stdClass
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Preload/Dummy.php:18 | 7 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/StaticConstructorAutoconfigure.php:20 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Empty Function
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/TaggedLocatorConsumerWithServiceSubscriber.php:25 | 7 | - Wrong Attribute Configuration
- Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/TestServiceSubscriberParent.php:13 | 7 | - Unused Public Methods
- Type Must Be Returned
- Undefined Interfaces
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php:280 | 7 | - Wrong Attribute Configuration
- Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
- Unreachable Method
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php:341 | 7 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php:430 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Empty Function
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/classes.php:86 | 7 | - No Default For Referenced Parameter
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/closure_proxy.php:56 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/lazy_closure.php:58 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/lazy_closure.php:68 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/lazy_closure.php:70 | 7 | - Buried Assignation
- Unused Parameter
- No Direct Call To Magic Method
- Empty Function
- No Readonly Assignation In Global
- Wrong Type Returned
- Class Could Be Final
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services26.php:59 | 7 | - Undefined Constant Name
- Used Once Variables (In Scope)
- Buried Assignation
- Written Only Variables
- Useless Instructions
- Use ::Class Operator
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_almost_circular_private.php:374 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_almost_circular_private.php:552 | 7 | - Wrong Type With Call
- Avoid Using stdClass
- Buried Assignation
- Only Variable Passed By Reference
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_almost_circular_private.php:573 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_almost_circular_private.php:589 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_almost_circular_public.php:244 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_almost_circular_public.php:258 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_almost_circular_public.php:602 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_almost_circular_public.php:709 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_almost_circular_public.php:813 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_dedup_lazy.php:55 | 7 | - Buried Assignation
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Use ::Class Operator
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy.php:66 | 7 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/ErrorHandler/DebugClassLoader.php:513 | 7 | - Missing Assignation In Branches
- Weak Type With Array
- Buried Assignation
- Iffectations
- Useless Instructions
- Should Use Coalesce
- No Choice
|
/src/Symfony/Component/ErrorHandler/DebugClassLoader.php:1216 | 7 | - False To Array Conversion
- Weak Type With Array
- Variable Is Not A Condition
- Unconditional Break In Loop
- Buried Assignation
- Useless Instructions
- No Choice
|
/src/Symfony/Component/ErrorHandler/Error/FatalError.php:21 | 7 | - Assumptions
- Max Level Of Nesting
- No Boolean As Default
- Don't Send $this In Constructor
- Use Named Boolean In Argument Definition
- StandaloneType True False Null
|
/src/Symfony/Component/ErrorHandler/ErrorEnhancer/UndefinedFunctionErrorEnhancer.php:47 | 7 | - Missing Assignation In Branches
- Use Positive Condition
- Buried Assignation
- Uses Default Values
- Iffectations
- Could Make A Function
- Preprocessable
|
/src/Symfony/Component/ErrorHandler/ErrorRenderer/HtmlErrorRenderer.php:256 | 7 | - No Null For Native PHP Functions
- Repeated Regex
- Uses Default Values
- Undefined Classes
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/ErrorHandler/Tests/DebugClassLoaderTest.php:204 | 7 | - Undefined ::class
- Don't Mix ++
- Used Once Variables (In Scope)
- Buried Assignation
- Undefined Classes
- Pre-increment
- Could Make A Function
|
/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php:44 | 7 | - Used Once Variables (In Scope)
- Buried Assignation
- Written Only Variables
- Uses Default Values
- Empty Function
- Use ::Class Operator
- New Object Then Immediate Call
|
/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php:212 | 7 | - Used Once Variables (In Scope)
- Buried Assignation
- Written Only Variables
- Uses Default Values
- Empty Function
- Use ::Class Operator
- New Object Then Immediate Call
|
/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php:237 | 7 | - Used Once Variables (In Scope)
- Buried Assignation
- Only Variable Passed By Reference
- Written Only Variables
- Uses Default Values
- Use ::Class Operator
- New Object Then Immediate Call
|
/src/Symfony/Component/Form/Button.php:67 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Method Could Be Static
|
/src/Symfony/Component/Form/ChoiceList/Factory/DefaultChoiceListFactory.php:69 | 7 | - No Null For Native PHP Functions
- Fn Argument Variable Confusion
- Wrong Type For Native PHP Function
- Wrong Parameter Type
- Undefined Classes
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php:128 | 7 | - Avoid mb_dectect_encoding()
- Wrong Type For Native PHP Function
- Use Positive Condition
- Wrong Parameter Type
- Buried Assignation
- Iffectations
- Could Make A Function
|
/src/Symfony/Component/Form/Extension/Validator/Constraints/FormValidator.php:32 | 7 | - Mismatch Parameter Name
- Unused Public Methods
- Max Level Of Nesting
- Method Signature Must Be Compatible
- Too Many Local Variables
- Mismatched Typehint
- Could Inject Parameter
|
/src/Symfony/Component/Form/Extension/Validator/Type/UploadValidatorExtension.php:39 | 7 | - Infinite Recursion
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Unused Returned Value
|
/src/Symfony/Component/Form/Form.php:719 | 7 | - Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- No Return Used
- Modified Typed Parameter
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Form/FormErrorIterator.php:175 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Method Could Be Static
|
/src/Symfony/Component/Form/FormView.php:125 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Method Could Be Static
|
/src/Symfony/Component/Form/Tests/Command/DebugCommandTest.php:299 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/Form/Tests/Console/Descriptor/AbstractDescriptorTestCase.php:174 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/Form/Tests/Extension/Validator/EventListener/ValidationListenerTest.php:139 | 7 | - Unused Public Methods
- Method Signature Must Be Compatible
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/Form/Tests/Extension/Validator/EventListener/ValidationListenerTest.php:143 | 7 | - Unused Public Methods
- Method Signature Must Be Compatible
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/HttpClient/AsyncDecoratorTrait.php:33 | 7 | - Ambiguous Static
- Mismatched Typehint
- Should Use Local Class
- StandaloneType True False Null
- Modified Typed Parameter
- Method Could Be Static
|
/src/Symfony/Component/HttpClient/CurlHttpClient.php:43 | 7 | - Unsupported Types With Operators
- Unsupported Operand Types
- Ambiguous Visibilities
- Ambiguous Static
- Inherited Property Type Must Match
- Property Could Be Local
- Preprocessable
|
/src/Symfony/Component/HttpClient/CurlHttpClient.php:328 | 7 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
|
/src/Symfony/Component/HttpClient/HttpClientTrait.php:325 | 7 | - No Default For Referenced Parameter
- Assumptions
- Max Level Of Nesting
- Too Many Local Variables
- Unused Parameter
- Undefined Classes
- Could Inject Parameter
|
/src/Symfony/Component/HttpClient/Response/NativeResponse.php:231 | 7 | - No Default For Referenced Parameter
- Incompatible Signature Methods With Covariance
- Max Level Of Nesting
- Insufficient Typehint
- Useless Referenced Argument
- StandaloneType True False Null
- Never Called Parameter
|
/src/Symfony/Component/HttpClient/Tests/AsyncDecoratorTraitTest.php:29 | 7 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- StandaloneType True False Null
- Modified Typed Parameter
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/HttpClient/Tests/TraceableHttpClientTest.php:131 | 7 | - Wrong Type With Call
- Used Once Variables (In Scope)
- Buried Assignation
- Written Only Variables
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/SessionHandlerFactory.php:26 | 7 | - Assumptions
- Double Checks
- Ambiguous Static
- Mismatched Typehint
- Should Use Local Class
- Could Inject Parameter
|
/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/PdoSessionHandlerTest.php:430 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Ambiguous Static
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/src/Symfony/Component/HttpKernel/Controller/ArgumentResolver/QueryParameterValueResolver.php:83 | 7 | - Long Arguments
- Uncaught Exceptions
- Only Variable Passed By Reference
- Uses Default Values
- Throw Raw Exceptions
- Useless Null Coalesce
|
/src/Symfony/Component/HttpKernel/Controller/ArgumentResolver/RequestPayloadValueResolver.php:60 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/HttpKernel/DependencyInjection/RegisterControllerArgumentLocatorsPass.php:129 | 7 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Repeated Regex
- Mismatched Typehint
- Buried Assignation
- Uses Default Values
|
/src/Symfony/Component/HttpKernel/Event/ControllerEvent.php:93 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Ambiguous Array Index
- Wrong Type Returned
|
/src/Symfony/Component/HttpKernel/Event/ControllerEvent.php:111 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Ambiguous Array Index
- Wrong Type Returned
|
/src/Symfony/Component/HttpKernel/EventListener/CacheAttributeListener.php:41 | 7 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
- Wrong Typed Property Default
|
/src/Symfony/Component/HttpKernel/Tests/DataCollector/RequestDataCollectorTest.php:361 | 7 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Use ::Class Operator
- Hardcoded Passwords
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Component/HttpKernel/Tests/DependencyInjection/RegisterControllerArgumentLocatorsPassTest.php:651 | 7 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/HttpKernel/Tests/DependencyInjection/RemoveEmptyControllerArgumentLocatorsPassTest.php:84 | 7 | - Unused Public Methods
- Used Once Variables (In Scope)
- Avoid Using stdClass
- Unused Parameter
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/HttpKernel/Tests/Fixtures/Controller/AttributeController.php:30 | 7 | - Unused Public Methods
- Wrong Argument Type
- Wrong Type With Call
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/HttpKernel/Tests/Fixtures/Controller/AttributeController.php:34 | 7 | - Unused Public Methods
- Wrong Argument Type
- Wrong Type With Call
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
|
/src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTestCase.php:28 | 7 | - Ambiguous Visibilities
- Assign Default To Properties
- StandaloneType True False Null
- Same Name For Property And Method
- Mismatch Properties Typehints
- Unfinished Object
- Wrong Typed Property Default
|
/src/Symfony/Component/Intl/Data/Util/ArrayAccessibleResourceBundle.php:52 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Method Could Be Static
|
/src/Symfony/Component/Intl/Tests/TimezonesTest.php:650 | 7 | - Only Variable Passed By Reference
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Ldap/Entry.php:86 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Weak Type With Array
- Indices Are Int Or String
- Useless Instructions
- Wrong Type Returned
- No Choice
|
/src/Symfony/Component/Mailer/Event/FailedMessageEvent.php:23 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Mailer/Event/SentMessageEvent.php:22 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Empty Function
- Unfinished Object
|
/src/Symfony/Component/Mailer/Exception/HttpTransportException.php:19 | 7 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Forgotten Interface
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
/src/Symfony/Component/Mailer/Tests/MailerTest.php:94 | 7 | - Incompatible Signature Methods With Covariance
- Mismatched Typehint
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
|
/src/Symfony/Component/Mailer/Tests/Transport/AbstractTransportTest.php:93 | 7 | - Incompatible Signature Methods With Covariance
- Mismatched Typehint
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
|
/src/Symfony/Component/Messenger/Exception/RecoverableMessageHandlingException.php:19 | 7 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Unthrown Exception
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
/src/Symfony/Component/Messenger/Exception/StopWorkerException.php:17 | 7 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Unthrown Exception
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
/src/Symfony/Component/Messenger/Middleware/HandleMessageMiddleware.php:67 | 7 | - Mismatched Typehint
- Written Only Variables
- Undefined Classes
- StandaloneType True False Null
- Modified Typed Parameter
- Could Inject Parameter
- Wrong Type With Default
|
/src/Symfony/Component/Messenger/Transport/InMemory/InMemoryTransport.php:55 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Notifier/Bridge/Bandwidth/Tests/BandwidthTransportTest.php:32 | 7 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/Notifier/Bridge/Mercure/Tests/Fixtures/DummyHub.php:29 | 7 | - Unused Public Methods
- Type Must Be Returned
- Undefined Interfaces
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/Notifier/Bridge/Mobyt/Tests/MobytTransportTest.php:28 | 7 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/Plivo/Tests/PlivoTransportTest.php:32 | 7 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/Notifier/Bridge/SimpleTextin/Tests/SimpleTextinTransportTest.php:26 | 7 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/SimpleTextin/Tests/SimpleTextinTransportTest.php:31 | 7 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/Notifier/Bridge/SimpleTextin/Tests/SimpleTextinTransportTest.php:90 | 7 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/Notifier/Bridge/Slack/Tests/SlackOptionsTest.php:182 | 7 | - Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
- Wrong Type Returned
|
/src/Symfony/Component/Notifier/Bridge/Slack/Tests/SlackOptionsTest.php:192 | 7 | - Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
- Wrong Type Returned
|
/src/Symfony/Component/Notifier/Bridge/Smsmode/Tests/SmsmodeTransportTest.php:27 | 7 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/Twitter/TwitterTransport.php:107 | 7 | - Weak Type With Array
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/OptionsResolver/OptionsResolver.php:1189 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Method Could Be Static
|
/src/Symfony/Component/OptionsResolver/Tests/Debug/OptionsResolverIntrospectorTest.php:96 | 7 | - Recycled Variables
- Assigned Twice
- Overwritten Literals
- Buried Assignation
- Use ::Class Operator
- Unused Returned Value
- New Object Then Immediate Call
|
/src/Symfony/Component/OptionsResolver/Tests/Debug/OptionsResolverIntrospectorTest.php:127 | 7 | - Recycled Variables
- Assigned Twice
- Overwritten Literals
- Buried Assignation
- Use ::Class Operator
- Unused Returned Value
- New Object Then Immediate Call
|
/src/Symfony/Component/OptionsResolver/Tests/Debug/OptionsResolverIntrospectorTest.php:158 | 7 | - Recycled Variables
- Assigned Twice
- Overwritten Literals
- Buried Assignation
- Use ::Class Operator
- Unused Returned Value
- New Object Then Immediate Call
|
/src/Symfony/Component/OptionsResolver/Tests/Debug/OptionsResolverIntrospectorTest.php:159 | 7 | - Recycled Variables
- Assigned Twice
- Overwritten Literals
- Buried Assignation
- Empty Function
- Use ::Class Operator
- Unused Returned Value
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:135 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:180 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:200 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1507 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Uses Default Values
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1609 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1679 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1732 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:2195 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/Process/PhpExecutableFinder.php:37 | 7 | - Wrong Type For Native PHP Function
- Bail Out Early
- No Need For Else
- Buried Assignation
- Uses Default Values
- Iffectations
- Drop Else After Return
|
/src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php:213 | 7 | - Should Make Alias
- Undefined Interfaces
- Uses Default Values
- Undefined Classes
- Empty Function
- Unresolved Instanceof
|
/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Dummy.php:257 | 7 | - Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Php71Dummy.php:23 | 7 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Php80Dummy.php:40 | 7 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/Routing/Loader/AttributeDirectoryLoader.php:29 | 7 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- Never Called Parameter
|
/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherDumper.php:427 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Weak Type With Array
- Wrong Type For Native PHP Function
- Indices Are Int Or String
- String May Hold A Variable
- Uses Default Values
|
/src/Symfony/Component/Routing/Requirement/EnumRequirement.php:49 | 7 | - Wrong Type For Native PHP Function
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/Routing/Route.php:456 | 7 | - Weak Type With Array
- Useless Parenthesis
- Uses Default Values
- Useless Instructions
- Wrong Type Returned
- No Choice
|
/src/Symfony/Component/Routing/Tests/Fixtures/AttributeFixtures/DefaultValueController.php:12 | 7 | - Wrong Attribute Configuration
- Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/Runtime/GenericRuntime.php:187 | 7 | - Weak Type With Array
- Buried Assignation
- Useless Parenthesis
- Iffectations
- Useless Instructions
- Should Use Coalesce
- No Choice
|
/src/Symfony/Component/Runtime/Tests/phpt/dotenv_overload.php:22 | 7 | - Assumptions
- Weak Type With Array
- Wrong Type With Call
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Runtime/Tests/phpt/request.php:17 | 7 | - Assumptions
- Weak Type With Array
- Wrong Type With Call
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Scheduler/Event/FailureEvent.php:24 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Scheduler/Event/PostRunEvent.php:22 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Scheduler/Event/PreRunEvent.php:24 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Scheduler/Generator/MessageGenerator.php:30 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Property Could Be Local
|
/src/Symfony/Component/Scheduler/Generator/MessageGenerator.php:31 | 7 | - Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Same Name For Property And Method
- Unfinished Object
- Property Could Be Local
- Wrong Typed Property Default
|
/src/Symfony/Component/Scheduler/Messenger/SchedulerTransportFactory.php:30 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Property Could Be Local
|
/src/Symfony/Component/Security/Core/Authorization/ExpressionLanguageProvider.php:27 | 7 | - Assumptions
- Weak Type With Array
- String May Hold A Variable
- Undefined Classes
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Security/Core/Tests/Fixtures/DummyVoter.php:19 | 7 | - Unused Public Methods
- Method Signature Must Be Compatible
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/Security/Core/Validator/Constraints/UserPasswordValidator.php:34 | 7 | - Mismatch Parameter Name
- Unused Public Methods
- Method Signature Must Be Compatible
- Mismatched Typehint
- Could Inject Parameter
- Memoize MagicCall
|
/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php:42 | 7 | - Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php:47 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Property Could Be Local
|
/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcUserInfoTokenHandler.php:30 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Security/Http/Authenticator/FallbackUserLoader.php:24 | 7 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Undefined Classes
- Empty Function
- Unfinished Object
|
/src/Symfony/Component/Security/Http/EventListener/ClearSiteDataLogoutListener.php:39 | 7 | - Only Variable Passed By Reference
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/Security/Http/EventListener/IsGrantedAttributeListener.php:35 | 7 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
- Wrong Typed Property Default
|
/src/Symfony/Component/Security/Http/ParameterBagUtils.php:43 | 7 | - Weak Type With Array
- Buried Assignation
- Only Variable Passed By Reference
- Uses Default Values
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/Security/Http/Tests/EventListener/LoginThrottlingListenerTest.php:118 | 7 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- No Hardcoded Ip
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Component/Security/Http/Tests/EventListener/PasswordMigratingListenerTest.php:145 | 7 | - Unused Public Methods
- Type Must Be Returned
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/Security/Http/Tests/Firewall/ContextListenerTest.php:442 | 7 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Component/Serializer/Exception/MissingConstructorArgumentsException.php:28 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Serializer/Mapping/Factory/ClassMetadataFactory.php:33 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Serializer/NameConverter/AdvancedNameConverterInterface.php:21 | 7 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Different Argument Counts
|
/src/Symfony/Component/Serializer/NameConverter/MetadataAwareNameConverter.php:54 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Wrong Type With Call
- Indices Are Int Or String
- Wrong Type Returned
|
/src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php:286 | 7 | - Assumptions
- Too Many Local Variables
- Mismatched Typehint
- StandaloneType True False Null
- Wrong Type With Default
- Missing Some Returntype
|
/src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php:417 | 7 | - Max Level Of Nesting
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Wrong Type With Default
- Missing Some Returntype
|
/src/Symfony/Component/Serializer/Normalizer/ConstraintViolationListNormalizer.php:96 | 7 | - Weak Type With Array
- Buried Assignation
- Useless Parenthesis
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/Serializer/Normalizer/ConstraintViolationListNormalizer.php:102 | 7 | - Weak Type With Array
- Buried Assignation
- Useless Parenthesis
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/Serializer/Serializer.php:292 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Ambiguous Array Index
- Iffectations
|
/src/Symfony/Component/Serializer/Serializer.php:303 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Ambiguous Array Index
- Iffectations
|
/src/Symfony/Component/Serializer/Serializer.php:352 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Ambiguous Array Index
- Iffectations
|
/src/Symfony/Component/Serializer/Serializer.php:363 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Ambiguous Array Index
- Iffectations
|
/src/Symfony/Component/Serializer/Tests/Encoder/ChainEncoderTest.php:135 | 7 | - Unused Public Methods
- Method Signature Must Be Compatible
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/Serializer/Tests/Fixtures/DummyObjectWithEnumConstructor.php:16 | 7 | - Ambiguous Visibilities
- Used Once Variables (In Scope)
- Undefined Interfaces
- Never Used Properties
- No Public Access
- Empty Function
- Unfinished Object
|
/src/Symfony/Component/Serializer/Tests/Fixtures/DummyWithNotNormalizable.php:19 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- Empty Function
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Serializer/Tests/Fixtures/DummyWithObjectOrBool.php:19 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Never Used Properties
- Empty Function
- Unfinished Object
|
/src/Symfony/Component/Serializer/Tests/Fixtures/DummyWithObjectOrNull.php:19 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- Empty Function
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Serializer/Tests/Fixtures/DummyWithStringObject.php:19 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- Empty Function
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Serializer/Tests/Fixtures/EnvelopedMessageNormalizer.php:21 | 7 | - Mismatch Parameter Name
- Unused Public Methods
- Method Signature Must Be Compatible
- Ambiguous Static
- Undefined Classes
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/Serializer/Tests/Normalizer/AbstractObjectNormalizerTest.php:1107 | 7 | - Useless Method
- Method Signature Must Be Compatible
- Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Component/Serializer/Tests/Normalizer/AbstractObjectNormalizerTest.php:1359 | 7 | - Unused Public Methods
- Method Signature Must Be Compatible
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/Serializer/Tests/Normalizer/AbstractObjectNormalizerTest.php:1363 | 7 | - Unused Public Methods
- Method Signature Must Be Compatible
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/Serializer/Tests/Normalizer/AbstractObjectNormalizerTest.php:1414 | 7 | - Useless Method
- Unused Public Methods
- Method Signature Must Be Compatible
- Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/Serializer/Tests/Normalizer/TestNormalizer.php:23 | 7 | - Unused Public Methods
- Method Signature Must Be Compatible
- Ambiguous Static
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Serializer/Tests/SerializerTest.php:163 | 7 | - Fn Argument Variable Confusion
- Used Once Variables (In Scope)
- Unused Parameter
- Written Only Variables
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/String/AbstractString.php:451 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Uses Default Values
- Undefined Classes
- Empty Function
- Could Inject Parameter
|
/src/Symfony/Component/String/AbstractString.php:623 | 7 | - Useless Short Ternary
- Useless Coalesce
- Variable Is Not A Condition
- Wrong Type With Call
- Buried Assignation
- Iffectations
- Randomly Sorted Arrays
|
/src/Symfony/Component/String/AbstractUnicodeString.php:231 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Uses Default Values
- Undefined Classes
- Empty Function
- Could Inject Parameter
|
/src/Symfony/Component/String/AbstractUnicodeString.php:315 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Uses Default Values
- Undefined Classes
- Empty Function
- Could Inject Parameter
|
/src/Symfony/Component/String/ByteString.php:169 | 7 | - Double Checks
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
- Never Called Parameter
|
/src/Symfony/Component/String/ByteString.php:239 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Uses Default Values
- Undefined Classes
- Empty Function
- Could Inject Parameter
|
/src/Symfony/Component/String/ByteString.php:303 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Uses Default Values
- Undefined Classes
- Empty Function
- Could Inject Parameter
|
/src/Symfony/Component/String/ByteString.php:420 | 7 | - Used Once Variables (In Scope)
- Unused Parameter
- Uses Default Values
- Undefined Classes
- Empty Function
- Could Inject Parameter
|
/src/Symfony/Component/String/CodePointString.php:83 | 7 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- Modified Typed Parameter
- Missing Some Returntype
|
/src/Symfony/Component/String/CodePointString.php:117 | 7 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
|
/src/Symfony/Component/String/LazyString.php:29 | 7 | - Wrong Type For Native PHP Function
- Uncaught Exceptions
- Uses Default Values
- Wrong Number Of Arguments
- Throw Raw Exceptions
- Could Make A Function
|
/src/Symfony/Component/String/Slugger/AsciiSlugger.php:169 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Weak Type With Array
- Indices Are Int Or String
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/String/Slugger/AsciiSlugger.php:173 | 7 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Indices Are Int Or String
- Buried Assignation
- Useless Instructions
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Component/String/UnicodeString.php:134 | 7 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
|
/src/Symfony/Component/Translation/Bridge/Lokalise/LokaliseProvider.php:363 | 7 | - No Null For Native PHP Functions
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Translation/Bridge/Phrase/PhraseProvider.php:37 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/PhraseProvider.php:149 | 7 | - Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- StandaloneType True False Null
- Missing Some Returntype
|
/src/Symfony/Component/Translation/Bridge/Phrase/PhraseProviderFactory.php:46 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/PhraseProviderFactory.php:48 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderFactoryTest.php:34 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderFactoryTest.php:36 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderTest.php:43 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderTest.php:45 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Property Could Be Local
|
/src/Symfony/Component/Translation/Exception/ProviderException.php:19 | 7 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Forgotten Interface
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
/src/Symfony/Component/Translation/Extractor/Visitor/ConstraintVisitor.php:45 | 7 | - Undefined Properties
- Comparison Is Always The Same
- Should Make Alias
- Undefined Interfaces
- Undefined Classes
- Unresolved Instanceof
|
/src/Symfony/Component/Translation/Extractor/Visitor/TranslatableMessageVisitor.php:38 | 7 | - Undefined Properties
- Should Make Alias
- Buried Assignation
- Undefined Interfaces
- Undefined Classes
- Iffectations
- Unresolved Instanceof
|
/src/Symfony/Component/Translation/Provider/NullProvider.php:27 | 7 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Empty Function
- Different Argument Counts
|
/src/Symfony/Component/Translation/Tests/Command/XliffLintCommandTest.php:222 | 7 | - No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/Translation/Tests/DependencyInjection/DataCollectorTranslatorPassTest.php:113 | 7 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/Translation/Translator.php:111 | 7 | - Don't Read And Write In One Expression
- Useless Short Ternary
- Useless Coalesce
- Variable Is Not A Condition
- Buried Assignation
- Uses Default Values
- Nested Ternary
|
/src/Symfony/Component/Uid/UuidV7.php:52 | 7 | - Ambiguous Static
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
- Never Called Parameter
- Missing Some Returntype
|
/src/Symfony/Component/Validator/Constraints/CidrValidator.php:21 | 7 | - Unused Public Methods
- Method Signature Must Be Compatible
- Mismatched Typehint
- Undefined Classes
- Could Inject Parameter
- Memoize MagicCall
|
/src/Symfony/Component/Validator/Constraints/Email.php:54 | 7 | - No Null For Native PHP Functions
- Scalar Are Not Arrays
- Null Or Boolean Arrays
- Weak Type With Array
- Wrong Type For Native PHP Function
- Wrong Parameter Type
- Could Make A Function
|
/src/Symfony/Component/Validator/Constraints/EmailValidator.php:86 | 7 | - Undefined ::class
- No Need For Else
- Unresolved Classes
- Uses Default Values
- Undefined Classes
- Drop Else After Return
|
/src/Symfony/Component/Validator/Constraints/Traverse.php:25 | 7 | - Missing Attribute Attribute
- Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
|
/src/Symfony/Component/Validator/Context/ExecutionContext.php:142 | 7 | - Mismatch Parameter Name
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- Could Inject Parameter
|
/src/Symfony/Component/Validator/Tests/Fixtures/CallbackClass.php:21 | 7 | - Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/Validator/Tests/Fixtures/NestedAttribute/Entity.php:136 | 7 | - Wrong Attribute Configuration
- Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/Validator/Tests/Mapping/MemberMetadataTest.php:110 | 7 | - Mismatch Parameter Name
- Method Signature Must Be Compatible
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/VarDumper/Caster/Caster.php:165 | 7 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
|
/src/Symfony/Component/VarDumper/Caster/DOMCaster.php:76 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/DateCaster.php:125 | 7 | - Buried Assignation
- Useless Parenthesis
- Uses Default Values
- Nested Ternary
- Useless Instructions
- Could Make A Function
|
/src/Symfony/Component/VarDumper/Caster/ExceptionCaster.php:271 | 7 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
|
/src/Symfony/Component/VarDumper/Caster/PdoCaster.php:111 | 7 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
|
/src/Symfony/Component/VarDumper/Caster/PgSqlCaster.php:72 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/ProxyManagerCaster.php:24 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/RedisCaster.php:76 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Used Once Variables (In Scope)
- Unused Parameter
- Missing Some Returntype
|
/src/Symfony/Component/VarDumper/Caster/ReflectionCaster.php:274 | 7 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Used Once Variables (In Scope)
- Unused Parameter
|
/src/Symfony/Component/VarDumper/Caster/ResourceCaster.php:30 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/ResourceCaster.php:58 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/SplCaster.php:66 | 7 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
|
/src/Symfony/Component/VarDumper/Caster/SplCaster.php:142 | 7 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
|
/src/Symfony/Component/VarDumper/Caster/SymfonyCaster.php:34 | 7 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
|
/src/Symfony/Component/VarDumper/Caster/SymfonyCaster.php:59 | 7 | - Unused Public Methods
- Cancelled Parameter
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/SymfonyCaster.php:71 | 7 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/SymfonyCaster.php:96 | 7 | - Unused Public Methods
- Insufficient Typehint
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
|
/src/Symfony/Component/VarDumper/Cloner/Data.php:150 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Method Could Be Static
|
/src/Symfony/Component/VarExporter/ProxyHelper.php:216 | 7 | - No Default For Referenced Parameter
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Unused Parameter
- StandaloneType True False Null
- Modified Typed Parameter
|
/src/Symfony/Component/VarExporter/Tests/Fixtures/MySerializable.php:21 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/VarExporter/Tests/ProxyHelperTest.php:220 | 7 | - Unused Public Methods
- Useless Referenced Argument
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/VarExporter/Tests/VarExporterTest.php:323 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Method Could Be Static
|
/src/Symfony/Component/Webhook/Messenger/SendWebhookMessage.php:23 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Yaml/Inline.php:415 | 7 | - No Default For Referenced Parameter
- Mismatched Default Arguments
- Mismatched Typehint
- Avoid Using stdClass
- Unused Parameter
- Could Inject Parameter
|
/src/Symfony/Contracts/Cache/CacheTrait.php:52 | 7 | - Check Division By Zero
- Wrong Type For Native PHP Function
- Buried Assignation
- Uses Default Values
- Iffectations
- Could Make A Function
|
/src/Symfony/Contracts/Tests/Service/ServiceSubscriberTraitTest.php:107 | 7 | - Wrong Attribute Configuration
- Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Contracts/Tests/Service/ServiceSubscriberTraitTest.php:112 | 7 | - Wrong Attribute Configuration
- Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Bridge/Doctrine/ArgumentResolver/EntityValueResolver.php:36 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/ArgumentResolver/EntityValueResolver.php:143 | 6 | - Avoid Optional Properties
- Uses Default Values
- Mismatched Ternary Alternatives
- Wrong Type Returned
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Bridge/Doctrine/ArgumentResolver/EntityValueResolver.php:147 | 6 | - Avoid Optional Properties
- Uses Default Values
- Mismatched Ternary Alternatives
- Wrong Type Returned
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Bridge/Doctrine/DataCollector/DoctrineDataCollector.php:197 | 6 | - Unsupported Types With Operators
- Variable Is Not A Condition
- Wrong Type With Call
- Buried Assignation
- Only Variable Passed By Reference
- Useless Instructions
|
/src/Symfony/Bridge/Doctrine/DataCollector/ObjectParameter.php:21 | 6 | - Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/DependencyInjection/Security/UserProvider/EntityFactory.php:30 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php:38 | 6 | - Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/Form/DoctrineOrmTypeGuesser.php:191 | 6 | - Buried Assignation
- Uses Default Values
- Undefined Class Constants
- Undefined Classes
- Iffectations
- Preprocessable
|
/src/Symfony/Bridge/Doctrine/IdGenerator/UlidGenerator.php:23 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/Middleware/Debug/DBAL3/Statement.php:36 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/Middleware/Debug/Middleware.php:27 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Bridge/Doctrine/Middleware/Debug/Statement.php:35 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/PropertyInfo/DoctrineExtractor.php:146 | 6 | - Mismatched Typehint
- Buried Assignation
- Iffectations
- Useless Instructions
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Bridge/Doctrine/Tests/Fixtures/BaseUser.php:19 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/Tests/Fixtures/BaseUser.php:20 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bridge/Doctrine/Tests/Fixtures/LegacyQueryMock.php:27 | 6 | - Type Must Be Returned
- Undefined Interfaces
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/Fixtures/DoctrineFooType.php:62 | 6 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueEntityValidatorTest.php:53 | 6 | - Ambiguous Visibilities
- Assign Default To Properties
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Bridge/Monolog/Command/ServerLogCommand.php:126 | 6 | - Type Must Be Returned
- Should Use Local Class
- Undefined Classes
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Bridge/Monolog/Handler/ServerLogHandler.php:60 | 6 | - Don't Read And Write In One Expression
- Useless Coalesce
- Avoid Optional Properties
- Buried Assignation
- Only Variable Passed By Reference
- Iffectations
|
/src/Symfony/Bridge/Twig/Command/DebugCommand.php:193 | 6 | - Unsupported Types With Operators
- Variable Is Not A Condition
- Buried Assignation
- Only Variable Passed By Reference
- Uses Default Values
- Iffectations
|
/src/Symfony/Bridge/Twig/Command/DebugCommand.php:239 | 6 | - Unsupported Types With Operators
- Variable Is Not A Condition
- Buried Assignation
- Only Variable Passed By Reference
- Uses Default Values
- Iffectations
|
/src/Symfony/Bridge/Twig/Command/DebugCommand.php:383 | 6 | - Wrong Type For Native PHP Function
- Check JSON
- Uses Default Values
- @ Operator
- Could Make A Function
- Preprocessable
|
/src/Symfony/Bridge/Twig/Extension/FormExtension.php:149 | 6 | - Misused Yield
- Type Must Be Returned
- Mismatched Typehint
- Must Return Methods
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Bridge/Twig/NodeVisitor/TranslationDefaultDomainNodeVisitor.php:64 | 6 | - Missing Assignation In Branches
- Comparison Is Always The Same
- Nested Ifthen
- Undefined Interfaces
- Undefined Classes
- Unresolved Instanceof
|
/src/Symfony/Bundle/FrameworkBundle/Test/TestContainer.php:33 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Bundle/TestBundle/AutowiringTypes/AutowiredServices.php:20 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Bundle/TestBundle/Controller/AnnotatedController.php:39 | 6 | - Wrong Attribute Configuration
- Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Bundle/TestBundle/Controller/SessionController.php:21 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Empty Function
- Unfinished Object
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Bundle/TestBundle/Controller/SubRequestServiceResolutionController.php:21 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Empty Function
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Bundle/TestBundle/Controller/UidController.php:22 | 6 | - Wrong Attribute Configuration
- Unused Public Methods
- Mismatched Typehint
- Should Use Local Class
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Bundle/TestBundle/Controller/UidController.php:28 | 6 | - Wrong Attribute Configuration
- Unused Public Methods
- Mismatched Typehint
- Should Use Local Class
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Bundle/TestBundle/Controller/UidController.php:34 | 6 | - Wrong Attribute Configuration
- Unused Public Methods
- Mismatched Typehint
- Should Use Local Class
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AccessTokenFactory.php:145 | 6 | - Fn Argument Variable Confusion
- Uses Default Values
- Wrong Number Of Arguments
- Empty Function
- Could Inject Parameter
- Wrong Type Returned
|
/src/Symfony/Bundle/SecurityBundle/Security/FirewallConfig.php:20 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bundle/SecurityBundle/Security/FirewallConfig.php:25 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bundle/SecurityBundle/Security/FirewallConfig.php:26 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/SortFirewallListenersPassTest.php:64 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/SortFirewallListenersPassTest.php:80 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/SortFirewallListenersPassTest.php:96 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php:934 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php:946 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php:950 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/AuthenticatorBundle/ApiAuthenticator.php:49 | 6 | - Wrong Type With Call
- Mismatched Typehint
- Undefined Classes
- Empty Function
- Could Inject Parameter
- Wrong Type Returned
|
/src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/CsrfFormLoginBundle/Form/UserLoginType.php:36 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php:81 | 6 | - Fn Argument Variable Confusion
- Wrong Type With Call
- Buried Assignation
- Undefined Classes
- Iffectations
- Empty Function
|
/src/Symfony/Bundle/WebProfilerBundle/Profiler/CodeExtension.php:34 | 6 | - Useless Short Ternary
- Wrong Precedence In Expression
- Useless Coalesce
- Variable Is Not A Condition
- Nested Ternary
- Could Make A Function
|
/src/Symfony/Bundle/WebProfilerBundle/Twig/WebProfilerExtension.php:52 | 6 | - Unused Public Methods
- Method Is Not An If
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/AssetMapper/AssetMapperDevServerSubscriber.php:110 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/AssetMapper/AssetMapperRepository.php:33 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/AssetMapper/Compiler/CssAssetUrlCompiler.php:32 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/AssetMapper/Compiler/JavaScriptImportPathCompiler.php:58 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/AssetMapper/Exception/CircularAssetsException.php:21 | 6 | - Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- StandaloneType True False Null
- Unfinished Object
- Never Called Parameter
|
/src/Symfony/Component/AssetMapper/Factory/CachedMappedAssetFactory.php:29 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/AssetMapper/Factory/MappedAssetFactory.php:33 | 6 | - Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/AssetMapper/ImportMap/ImportMapManager.php:30 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/AssetMapper/ImportMap/ImportMapRenderer.php:38 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/AssetMapper/ImportMap/ImportMapRenderer.php:92 | 6 | - Buried Assignation
- Only Variable Passed By Reference
- Uses Default Values
- Iffectations
- Check After Null Safe Operator
- No Null With Null Safe Operator
|
/src/Symfony/Component/AssetMapper/ImportMap/ImportMapUpdateChecker.php:22 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/AssetMapper/ImportMap/Resolver/JsDelivrEsmResolver.php:300 | 6 | - Useless Referenced Argument
- Should Use Local Class
- Unused Parameter
- Undefined Interfaces
- Method Could Be Static
- Missing Some Returntype
|
/src/Symfony/Component/AssetMapper/MapperAwareAssetPackage.php:25 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapAuditorTest.php:122 | 6 | - Unused Public Methods
- Type Must Be Returned
- Should Use Local Class
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapGeneratorTest.php:279 | 6 | - Unused Public Methods
- Type Must Be Returned
- Should Use Local Class
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapGeneratorTest.php:614 | 6 | - Unused Public Methods
- Type Must Be Returned
- Should Use Local Class
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapUpdateCheckerTest.php:123 | 6 | - Written Only Variables
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Unused Returned Value
|
/src/Symfony/Component/BrowserKit/AbstractBrowser.php:145 | 6 | - Unused Public Methods
- No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
|
/src/Symfony/Component/BrowserKit/Tests/CookieJarTest.php:30 | 6 | - Recycled Variables
- Wrong Argument Type
- Wrong Type With Call
- Buried Assignation
- Timestamp Difference
- Use ::Class Operator
|
/src/Symfony/Component/BrowserKit/Tests/CookieJarTest.php:124 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Used Once Variables (In Scope)
- Buried Assignation
- Timestamp Difference
- Use ::Class Operator
|
/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:112 | 6 | - Double Checks
- Ambiguous Static
- Mismatched Default Arguments
- Mismatched Typehint
- Should Use Local Class
- Missing Some Returntype
|
/src/Symfony/Component/Cache/Adapter/ArrayAdapter.php:126 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Weak Type With Array
- Wrong Type With Call
- Avoid Optional Properties
- Indices Are Int Or String
|
/src/Symfony/Component/Cache/Adapter/MemcachedAdapter.php:89 | 6 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Max Level Of Nesting
- Method Signature Must Be Compatible
- Ambiguous Static
- Too Many Local Variables
|
/src/Symfony/Component/Cache/Adapter/PhpArrayAdapter.php:309 | 6 | - No Null For Native PHP Functions
- Mismatched Typehint
- Overwritten Literals
- Double Assignation
- Uses Default Values
- Could Make A Function
|
/src/Symfony/Component/Cache/Adapter/PhpArrayAdapter.php:314 | 6 | - Weak Type With Array
- Buried Assignation
- Iffectations
- Useless Instructions
- Should Use Coalesce
- No Choice
|
/src/Symfony/Component/Cache/Adapter/PhpFilesAdapter.php:46 | 6 | - No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
|
/src/Symfony/Component/Cache/Adapter/PhpFilesAdapter.php:239 | 6 | - No Null For Native PHP Functions
- Mismatched Typehint
- Overwritten Literals
- Double Assignation
- Uses Default Values
- Could Make A Function
|
/src/Symfony/Component/Cache/Adapter/ProxyAdapter.php:89 | 6 | - Undefined Properties
- Wrong Type With Call
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/Cache/Adapter/RedisTagAwareAdapter.php:224 | 6 | - Undefined Properties
- Missing Assignation In Branches
- Buried Assignation
- Undefined Interfaces
- Undefined Classes
- Unresolved Instanceof
|
/src/Symfony/Component/Cache/Adapter/TraceableAdapter.php:75 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- False To Array Conversion
- Null Or Boolean Arrays
- Indices Are Int Or String
- Iffectations
|
/src/Symfony/Component/Cache/LockRegistry.php:164 | 6 | - Useless Coalesce
- Weak Type With Array
- Variable Is Not A Condition
- Buried Assignation
- Uses Default Values
- Could Make A Function
|
/src/Symfony/Component/Cache/Tests/Adapter/AbstractRedisAdapterTestCase.php:28 | 6 | - Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Component/Cache/Tests/Adapter/ProxyAdapterAndRedisAdapterTest.php:35 | 6 | - Method Signature Must Be Compatible
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Component/Cache/Traits/RedisCluster6Proxy.php:239 | 6 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
|
/src/Symfony/Component/Cache/Traits/RedisTrait.php:101 | 6 | - Undefined Variable
- Used Once Variables (In Scope)
- Written Only Variables
- Uses Default Values
- Undefined Classes
- Wrong Type With Default
|
/src/Symfony/Component/Clock/Tests/ClockBeforeClassTest.php:25 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php:499 | 6 | - Weak Type With Array
- Buried Assignation
- Useless Parenthesis
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/Config/Definition/Configuration.php:29 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Config/Definition/Configurator/DefinitionConfigurator.php:26 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Config/Definition/Configurator/DefinitionConfigurator.php:27 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Config/Definition/Dumper/XmlReferenceDumper.php:49 | 6 | - Max Level Of Nesting
- No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Too Many Local Variables
- StandaloneType True False Null
|
/src/Symfony/Component/Config/Definition/Dumper/XmlReferenceDumper.php:200 | 6 | - Missing Assignation In Branches
- Nested Ifthen
- Buried Assignation
- Useless Parenthesis
- Uses Default Values
- Iffectations
|
/src/Symfony/Component/Config/Definition/Loader/DefinitionFileLoader.php:37 | 6 | - Mismatched Typehint
- StandaloneType True False Null
- No Return Used
- Could Inject Parameter
- Never Called Parameter
- Missing Some Returntype
|
/src/Symfony/Component/Config/Tests/Builder/Fixtures/ScalarNormalizedTypes/Symfony/Config/ScalarNormalizedTypes/NestedConfig.php:73 | 6 | - Weak Type With Array
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Inject Parameter
|
/src/Symfony/Component/Config/Tests/Builder/Fixtures/ScalarNormalizedTypes/Symfony/Config/ScalarNormalizedTypesConfig.php:158 | 6 | - Weak Type With Array
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Inject Parameter
|
/src/Symfony/Component/Config/Tests/Builder/Fixtures/ScalarNormalizedTypes/Symfony/Config/ScalarNormalizedTypesConfig.php:164 | 6 | - Weak Type With Array
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Inject Parameter
|
/src/Symfony/Component/Config/Tests/Loader/LoaderTest.php:125 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/Console/Debug/CliRequest.php:52 | 6 | - Incompatible Signature Methods With Covariance
- Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Property
- Unfinished Object
|
/src/Symfony/Component/Console/Exception/MissingInputException.php:19 | 6 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
/src/Symfony/Component/Console/Style/SymfonyStyle.php:239 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Weak Type With Array
- Indices Are Int Or String
- Useless Instructions
- No Choice
|
/src/Symfony/Component/Console/Tests/ApplicationTest.php:1869 | 6 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Unused Parameter
- Undefined Classes
- Method Could Be Static
|
/src/Symfony/Component/Console/Tests/EventListener/ErrorListenerTest.php:118 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/CssSelector/XPath/Extension/AttributeMatchingExtension.php:43 | 6 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/DependencyInjection/Attribute/Autoconfigure.php:23 | 6 | - Ambiguous Visibilities
- Used Once Variables (In Scope)
- Never Used Properties
- No Public Access
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Attribute/Autoconfigure.php:24 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Attribute/Autoconfigure.php:28 | 6 | - Ambiguous Visibilities
- Used Once Variables (In Scope)
- Never Used Properties
- No Public Access
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Attribute/Autoconfigure.php:31 | 6 | - Ambiguous Visibilities
- Used Once Variables (In Scope)
- Never Used Properties
- No Public Access
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Attribute/AutowireCallable.php:27 | 6 | - Missing Attribute Attribute
- Incompatible Signature Methods With Covariance
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Parent First
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Compiler/AnalyzeServiceReferencesPass.php:83 | 6 | - No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- No Return Used
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Compiler/DecoratorServicePass.php:122 | 6 | - No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Return Used
- Never Called Parameter
- Missing Some Returntype
|
/src/Symfony/Component/DependencyInjection/Compiler/PriorityTaggedServiceTrait.php:124 | 6 | - Unsupported Types With Operators
- Variable Is Not A Condition
- Wrong Type With Call
- Buried Assignation
- Uses Default Values
- Iffectations
|
/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:735 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Different Argument Counts
|
/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:1077 | 6 | - Fn Argument Variable Confusion
- Wrong Type For Native PHP Function
- Only Variable Passed By Reference
- Uses Default Values
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:439 | 6 | - No Default For Referenced Parameter
- Assumptions
- Max Level Of Nesting
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Unused Parameter
|
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:1001 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Null Or Boolean Arrays
- Weak Type With Array
- Indices Are Int Or String
- Only Variable Passed By Reference
|
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:1003 | 6 | - Unsupported Types With Operators
- Weak Type With Array
- Variable Is Not A Condition
- Should Use Ternary Operator
- Buried Assignation
- Iffectations
|
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:1696 | 6 | - No Default For Referenced Parameter
- Max Level Of Nesting
- No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Unused Parameter
|
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:1860 | 6 | - Don't Read And Write In One Expression
- Append And Assign Arrays
- Weak Type With Array
- Don't Mix ++
- Wrong Type With Call
- Buried Assignation
|
/src/Symfony/Component/DependencyInjection/Loader/PhpFileLoader.php:45 | 6 | - Mismatched Typehint
- StandaloneType True False Null
- No Return Used
- Could Inject Parameter
- Never Called Parameter
- Missing Some Returntype
|
/src/Symfony/Component/DependencyInjection/ParameterBag/FrozenParameterBag.php:47 | 6 | - Method Signature Must Be Compatible
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Must Return Methods
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveNamedArgumentsPassTest.php:228 | 6 | - Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php:141 | 6 | - Recycled Variables
- Avoid Using stdClass
- Buried Assignation
- Written Only Variables
- Use ::Class Operator
- New Object Then Immediate Call
|
/src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php:146 | 6 | - Recycled Variables
- Avoid Using stdClass
- Buried Assignation
- Written Only Variables
- Use ::Class Operator
- New Object Then Immediate Call
|
/src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php:233 | 6 | - Recycled Variables
- Avoid Using stdClass
- Buried Assignation
- Written Only Variables
- Use ::Class Operator
- New Object Then Immediate Call
|
/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php:2082 | 6 | - Wrong Attribute Configuration
- Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php:2088 | 6 | - Wrong Attribute Configuration
- Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php:2097 | 6 | - Wrong Attribute Configuration
- Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php:2106 | 6 | - Wrong Attribute Configuration
- Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/EnvVarProcessorTest.php:779 | 6 | - Wrong Type With Call
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Extension/ValidConfig/ValidConfigExtension.php:10 | 6 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/FactoryDummy.php:16 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/TaggedLocatorConsumer.php:21 | 6 | - Wrong Attribute Configuration
- Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/TaggedLocatorConsumerWithDefaultIndexMethod.php:12 | 6 | - Wrong Attribute Configuration
- Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/TaggedLocatorConsumerWithDefaultIndexMethodAndWithDefaultPriorityMethod.php:12 | 6 | - Wrong Attribute Configuration
- Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/TaggedLocatorConsumerWithDefaultPriorityMethod.php:12 | 6 | - Wrong Attribute Configuration
- Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/TaggedLocatorConsumerWithoutIndex.php:21 | 6 | - Wrong Attribute Configuration
- Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/TestServiceSubscriberChild.php:39 | 6 | - Type Must Be Returned
- Undefined Interfaces
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/TestServiceSubscriberTrait.php:9 | 6 | - Type Must Be Returned
- Undefined Interfaces
- Undefined Classes
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php:19 | 6 | - Wrong Attribute Configuration
- Used Once Variables (In Scope)
- Avoid Using stdClass
- Unused Parameter
- StandaloneType True False Null
- Never Called Parameter
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php:291 | 6 | - Wrong Attribute Configuration
- Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
- Unreachable Method
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php:305 | 6 | - Wrong Attribute Configuration
- Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php:329 | 6 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php:349 | 6 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php:353 | 6 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php:373 | 6 | - Wrong Attribute Configuration
- Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes_80.php:16 | 6 | - Wrong Attribute Configuration
- Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes_80.php:53 | 6 | - Wrong Attribute Configuration
- Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes_80.php:55 | 6 | - Wrong Attribute Configuration
- Used Once Variables (In Scope)
- Never Used Properties
- No Public Access
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes_80.php:67 | 6 | - Wrong Attribute Configuration
- Used Once Variables (In Scope)
- Avoid Using stdClass
- Never Used Properties
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes_80.php:78 | 6 | - Wrong Attribute Configuration
- Used Once Variables (In Scope)
- Never Used Properties
- No Public Access
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/classes.php:98 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/callable_adapter_consumer.php:53 | 6 | - Unused Public Methods
- Buried Assignation
- Empty Function
- No Readonly Assignation In Global
- Wrong Type Returned
- Class Could Be Final
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/closure_proxy.php:58 | 6 | - Unused Public Methods
- Buried Assignation
- Empty Function
- No Readonly Assignation In Global
- Wrong Type Returned
- Class Could Be Final
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/lazy_autowire_attribute_with_intersection.php:90 | 6 | - Undefined Properties
- Iffectations
- Useless Instructions
- No Readonly Assignation In Global
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services19.php:49 | 6 | - Undefined Constant Name
- Used Once Variables (In Scope)
- Buried Assignation
- Written Only Variables
- Useless Instructions
- Use ::Class Operator
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_dedup_lazy.php:104 | 6 | - Don't Pollute Global Space
- Abstract Or Implements
- No Class In Global
- Avoid Using stdClass
- Multiple Class Declarations
- Class Could Be Final
|
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy_ghost.php:78 | 6 | - Don't Pollute Global Space
- Abstract Or Implements
- No Class In Global
- Avoid Using stdClass
- Multiple Class Declarations
- Class Could Be Final
|
/src/Symfony/Component/DomCrawler/Field/ChoiceFormField.php:102 | 6 | - Method Is Not An If
- Max Level Of Nesting
- Method Signature Must Be Compatible
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
|
/src/Symfony/Component/ErrorHandler/DebugClassLoader.php:576 | 6 | - Weak Type With Array
- Nested Ifthen
- Useless Parenthesis
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/ErrorHandler/Error/FatalError.php:34 | 6 | - Nested Ifthen
- Buried Assignation
- Uses Default Values
- Iffectations
- @ Operator
- Could Make A Function
|
/src/Symfony/Component/ErrorHandler/ErrorEnhancer/ClassNotFoundErrorEnhancer.php:34 | 6 | - Missing Assignation In Branches
- Use Positive Condition
- Buried Assignation
- Uses Default Values
- Iffectations
- Could Make A Function
|
/src/Symfony/Component/ErrorHandler/ErrorEnhancer/UndefinedFunctionErrorEnhancer.php:59 | 6 | - Use Positive Condition
- Should Use Ternary Operator
- Buried Assignation
- Uses Default Values
- Iffectations
- Could Make A Function
|
/src/Symfony/Component/ErrorHandler/ErrorHandler.php:111 | 6 | - No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- StandaloneType True False Null
- Modified Typed Parameter
- Missing Some Returntype
|
/src/Symfony/Component/ErrorHandler/ErrorHandler.php:637 | 6 | - Undefined Properties
- Bail Out Early
- Buried Assignation
- Undefined static:: Or self::
- Written Only Variables
- Iffectations
|
/src/Symfony/Component/ErrorHandler/Tests/Fixtures/FinalProperty/OutsideFinalProperty.php:10 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Never Used Properties
- No Public Access
- Undefined Classes
- Unfinished Object
|
/src/Symfony/Component/EventDispatcher/Attribute/AsEventListener.php:24 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php:56 | 6 | - Used Once Variables (In Scope)
- Buried Assignation
- Written Only Variables
- Uses Default Values
- Empty Function
- Use ::Class Operator
|
/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php:213 | 6 | - Used Once Variables (In Scope)
- Buried Assignation
- Written Only Variables
- Uses Default Values
- Empty Function
- Use ::Class Operator
|
/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php:238 | 6 | - Used Once Variables (In Scope)
- Buried Assignation
- Written Only Variables
- Uses Default Values
- Empty Function
- Use ::Class Operator
|
/src/Symfony/Component/Filesystem/Filesystem.php:683 | 6 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Undefined Classes
- Could Inject Parameter
|
/src/Symfony/Component/Finder/Tests/Iterator/MockFileListIterator.php:18 | 6 | - Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Inject Parameter
- Wrong Type Returned
|
/src/Symfony/Component/Form/Button.php:79 | 6 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Method Could Be Static
|
/src/Symfony/Component/Form/ButtonBuilder.php:56 | 6 | - Unused Public Methods
- Method Signature Must Be Compatible
- Ambiguous Static
- Must Return Methods
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/Form/ButtonBuilder.php:66 | 6 | - Unused Public Methods
- Method Signature Must Be Compatible
- Ambiguous Static
- Must Return Methods
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/Form/ButtonBuilder.php:140 | 6 | - Unused Public Methods
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Component/Form/ButtonBuilder.php:160 | 6 | - Unused Public Methods
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Component/Form/ChoiceList/Loader/AbstractChoiceLoader.php:22 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Property
- StandaloneType True False Null
- Property Could Be Local
|
/src/Symfony/Component/Form/Console/Descriptor/TextDescriptor.php:28 | 6 | - Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Form/Extension/Core/DataTransformer/PercentToLocalizedStringTransformer.php:145 | 6 | - Avoid mb_dectect_encoding()
- Wrong Type For Native PHP Function
- Wrong Parameter Type
- Buried Assignation
- Iffectations
- Could Make A Function
|
/src/Symfony/Component/Form/Extension/Core/DataTransformer/UlidToStringTransformer.php:55 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Component/Form/Extension/PasswordHasher/EventListener/PasswordHasherListener.php:32 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Form/Extension/PasswordHasher/EventListener/PasswordHasherListener.php:33 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Form/Extension/Validator/ValidatorTypeGuesser.php:230 | 6 | - Unused Public Methods
- Insufficient Typehint
- Should Use Local Class
- StandaloneType True False Null
- Memoize MagicCall
- Method Could Be Static
|
/src/Symfony/Component/Form/Extension/Validator/ViolationMapper/ViolationMapper.php:226 | 6 | - Insufficient Typehint
- Should Use Local Class
- StandaloneType True False Null
- Modified Typed Parameter
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Component/Form/Form.php:134 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
- Wrong Typed Property Default
|
/src/Symfony/Component/Form/FormErrorIterator.php:185 | 6 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Method Could Be Static
|
/src/Symfony/Component/Form/FormRenderer.php:273 | 6 | - Unused Public Methods
- Should Use Local Class
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
- Missing Some Returntype
|
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorTest.php:446 | 6 | - Fn Argument Variable Confusion
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/Form/Tests/FormConfigTest.php:134 | 6 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Component/HtmlSanitizer/Visitor/Model/Cursor.php:23 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Empty Function
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/HttpClient/CachingHttpClient.php:108 | 6 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Modified Typed Parameter
|
/src/Symfony/Component/HttpClient/CurlHttpClient.php:50 | 6 | - Unsupported Types With Operators
- Unsupported Operand Types
- Ambiguous Visibilities
- Ambiguous Static
- Inherited Property Type Must Match
- Preprocessable
|
/src/Symfony/Component/HttpClient/Exception/HttpExceptionTrait.php:58 | 6 | - Merge If Then
- Check JSON
- Buried Assignation
- Uses Default Values
- Iffectations
- Could Make A Function
|
/src/Symfony/Component/HttpClient/Exception/TimeoutException.php:19 | 6 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Unthrown Exception
- Already Parents Interface
- Interfaces Is Not Implemented
|
/src/Symfony/Component/HttpClient/HttpClientTrait.php:623 | 6 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Wrong Parameter Type
- Buried Assignation
- Uses Default Values
- Iffectations
|
/src/Symfony/Component/HttpClient/NativeHttpClient.php:329 | 6 | - Missing Assignation In Branches
- Weak Type With Array
- Buried Assignation
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/HttpClient/Response/AsyncContext.php:40 | 6 | - Class-typed References
- Useless Referenced Argument
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- StandaloneType True False Null
|
/src/Symfony/Component/HttpClient/Response/AsyncContext.php:162 | 6 | - Weak Type With Array
- Buried Assignation
- Written Only Variables
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/HttpClient/Response/AsyncResponse.php:53 | 6 | - Weak Type With Array
- Buried Assignation
- Written Only Variables
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/HttpClient/Response/CurlResponse.php:66 | 6 | - Scalar Are Not Arrays
- Undefined Properties
- Null Or Boolean Arrays
- Weak Type With Array
- Useless Instructions
- No Choice
|
/src/Symfony/Component/HttpClient/Response/CurlResponse.php:68 | 6 | - Scalar Are Not Arrays
- Undefined Properties
- Null Or Boolean Arrays
- Weak Type With Array
- Useless Instructions
- No Choice
|
/src/Symfony/Component/HttpClient/Response/CurlResponse.php:69 | 6 | - Scalar Are Not Arrays
- Undefined Properties
- Null Or Boolean Arrays
- Weak Type With Array
- Useless Instructions
- No Choice
|
/src/Symfony/Component/HttpClient/Response/CurlResponse.php:268 | 6 | - No Default For Referenced Parameter
- Assumptions
- Incompatible Signature Methods With Covariance
- Insufficient Typehint
- Useless Referenced Argument
- StandaloneType True False Null
|
/src/Symfony/Component/HttpClient/Response/MockResponse.php:265 | 6 | - Useless Short Ternary
- Wrong Precedence In Expression
- Useless Coalesce
- Undefined Properties
- Only Variable Passed By Reference
- Nested Ternary
|
/src/Symfony/Component/HttpClient/Response/TransportResponseTrait.php:142 | 6 | - Max Level Of Nesting
- Ambiguous Static
- Too Many Local Variables
- Mismatched Typehint
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/HttpClient/RetryableHttpClient.php:181 | 6 | - Ambiguous Static
- Should Use Local Class
- Unused Parameter
- Methods Without Return
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/HttpClient/ScopingHttpClient.php:65 | 6 | - Weak Type With Array
- Wrong Type With Call
- Uses Default Values
- Useless Instructions
- Could Make A Function
- No Choice
|
/src/Symfony/Component/HttpClient/ScopingHttpClient.php:76 | 6 | - Weak Type With Array
- Catch With Undefined Variable
- Wrong Type With Call
- Useless Instructions
- Could Make A Function
- No Choice
|
/src/Symfony/Component/HttpFoundation/BinaryFileResponse.php:63 | 6 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- No Return Used
- Modified Typed Parameter
|
/src/Symfony/Component/HttpFoundation/InputBag.php:29 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
|
/src/Symfony/Component/HttpFoundation/JsonResponse.php:39 | 6 | - No Boolean As Default
- Mismatched Default Arguments
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Wrong Type With Default
- Implicit Nullable Type
|
/src/Symfony/Component/HttpFoundation/RequestMatcher/PortRequestMatcher.php:24 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Empty Function
- Unfinished Object
|
/src/Symfony/Component/HttpFoundation/Response.php:1278 | 6 | - Weak Type With Array
- Don't Mix ++
- Buried Assignation
- Useless Parenthesis
- Pre-increment
- Should Use Coalesce
|
/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/NullSessionHandler.php:51 | 6 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- StandaloneType True False Null
|
/src/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php:63 | 6 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- No Return Used
- Never Called Parameter
|
/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:385 | 6 | - No Default For Referenced Parameter
- Assumptions
- Unused Parameter
- Lost References
- StandaloneType True False Null
- Never Called Parameter
|
/src/Symfony/Component/HttpFoundation/Tests/JsonResponseTest.php:205 | 6 | - PHP Native Class Type Compatibility
- PHP Native Interfaces and Return Type
- Unused Public Methods
- Should Use Local Class
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Component/HttpFoundation/Tests/RequestTest.php:2656 | 6 | - Unused Public Methods
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Undefined Classes
- Method Could Be Static
|
/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MemcachedSessionHandlerTest.php:40 | 6 | - Written Only Variables
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- New Object Then Immediate Call
|
/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/RedisClusterSessionHandlerTest.php:25 | 6 | - Bail Out Early
- Used Once Variables (In Scope)
- Buried Assignation
- Uses Default Values
- Iffectations
- Could Make A Function
|
/src/Symfony/Component/HttpFoundation/Tests/Test/Constraint/ResponseHeaderLocationSameTest.php:25 | 6 | - Unused Public Methods
- Mismatched Typehint
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
|
/src/Symfony/Component/HttpFoundation/Tests/Test/Constraint/ResponseHeaderLocationSameTest.php:39 | 6 | - Unused Public Methods
- Type Must Be Returned
- Should Use Local Class
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/HttpFoundation/Tests/Test/Constraint/ResponseHeaderLocationSameTest.php:115 | 6 | - Unused Public Methods
- Type Must Be Returned
- Should Use Local Class
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/HttpKernel/Bundle/Bundle.php:28 | 6 | - Ambiguous Visibilities
- Scalar Or Object Property
- Property Used In One Method Only
- StandaloneType True False Null
- Mismatch Properties Typehints
- Unfinished Object
|
/src/Symfony/Component/HttpKernel/Config/FileLocator.php:33 | 6 | - Mismatch Parameter Name
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Never Called Parameter
|
/src/Symfony/Component/HttpKernel/Controller/ArgumentResolver/QueryParameterValueResolver.php:31 | 6 | - Weak Type With Array
- Buried Assignation
- Uses Default Values
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/HttpKernel/Controller/ArgumentResolver/RequestPayloadValueResolver.php:61 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/HttpKernel/Controller/ArgumentResolver/RequestPayloadValueResolver.php:137 | 6 | - Fn Argument Variable Confusion
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/HttpKernel/DataCollector/DumpDataCollector.php:73 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- No Return Used
- Modified Typed Parameter
|
/src/Symfony/Component/HttpKernel/DataCollector/EventDataCollector.php:40 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/HttpKernel/DataCollector/LoggerDataCollector.php:209 | 6 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Don't Change The Blind Var
- Wrong Parameter Type
- No Direct Usage
- Uses Default Values
|
/src/Symfony/Component/HttpKernel/HttpCache/Store.php:360 | 6 | - Buried Assignation
- Useless Parenthesis
- Uses Default Values
- Useless Instructions
- @ Operator
- Wrong Type Returned
|
/src/Symfony/Component/HttpKernel/HttpClientKernel.php:45 | 6 | - No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Return Used
- Could Use self
- Never Called Parameter
|
/src/Symfony/Component/HttpKernel/Log/Logger.php:80 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Ambiguous Array Index
|
/src/Symfony/Component/HttpKernel/Profiler/FileProfilerStorage.php:309 | 6 | - No Null For Native PHP Functions
- Don't Read And Write In One Expression
- Multiple Type Variable
- Buried Assignation
- Uses Default Values
- Iffectations
|
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/RequestPayloadValueResolverTest.php:744 | 6 | - Ambiguous Visibilities
- Used Once Variables (In Scope)
- Never Used Properties
- No Public Access
- Empty Function
- Unfinished Object
|
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/RequestPayloadValueResolverTest.php:753 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/RequestPayloadValueResolverTest.php:755 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/TraceableValueResolverTest.php:53 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/HttpKernel/Tests/DependencyInjection/RegisterControllerArgumentLocatorsPassTest.php:637 | 6 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/HttpKernel/Tests/DependencyInjection/RegisterControllerArgumentLocatorsPassTest.php:644 | 6 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/HttpKernel/Tests/DependencyInjection/RemoveEmptyControllerArgumentLocatorsPassTest.php:91 | 6 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Interfaces
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/HttpKernel/Tests/EventListener/DumpListenerTest.php:77 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/HttpKernel/Tests/Fixtures/Controller/AttributeController.php:26 | 6 | - Unused Public Methods
- Wrong Argument Type
- Wrong Type With Call
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
|
/src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php:263 | 6 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Wrong Type With Call
- Repeated Regex
- Uses Default Values
- Could Make A Function
|
/src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTestCase.php:24 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Assign Default To Properties
- Undefined Classes
- Unfinished Object
- Wrong Type With Default
|
/src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTestCase.php:25 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Assign Default To Properties
- Undefined Classes
- Unfinished Object
- Wrong Type With Default
|
/src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTestCase.php:29 | 6 | - Ambiguous Visibilities
- Assign Default To Properties
- StandaloneType True False Null
- Mismatch Properties Typehints
- Unfinished Object
- Wrong Typed Property Default
|
/src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php:408 | 6 | - Uses Default Values
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Could Inject Parameter
- Wrong Type Returned
|
/src/Symfony/Component/Intl/Data/Util/ArrayAccessibleResourceBundle.php:57 | 6 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Method Could Be Static
|
/src/Symfony/Component/Intl/Intl.php:57 | 6 | - Ambiguous Static
- Property Used In One Method Only
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
- Wrong Typed Property Default
|
/src/Symfony/Component/Intl/Util/IntlTestHelper.php:33 | 6 | - Mismatched Default Arguments
- Mismatched Typehint
- Should Use Local Class
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
|
/src/Symfony/Component/Ldap/Adapter/AbstractQuery.php:43 | 6 | - Fn Argument Variable Confusion
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Unused Returned Value
|
/src/Symfony/Component/Ldap/Adapter/ExtLdap/Collection.php:89 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Weak Type With Array
- Indices Are Int Or String
- Useless Instructions
- No Choice
|
/src/Symfony/Component/Ldap/Tests/Security/CheckLdapCredentialsListenerTest.php:209 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/Ldap/Tests/Security/CheckLdapCredentialsListenerTest.php:217 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/Ldap/Tests/Security/CheckLdapCredentialsListenerTest.php:221 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/Lock/Exception/InvalidTtlException.php:17 | 6 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
/src/Symfony/Component/Lock/LockFactory.php:28 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Lock/LockFactory.php:39 | 6 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
- Never Called Parameter
|
/src/Symfony/Component/Mailer/Bridge/Mailgun/Transport/MailgunSmtpTransport.php:27 | 6 | - Variable Is Not A Condition
- Wrong Type With Call
- Useless Parenthesis
- Uses Default Values
- Wrong Number Of Arguments
- Preprocessable
|
/src/Symfony/Component/Mailer/Exception/UnexpectedResponseException.php:14 | 6 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
/src/Symfony/Component/Mailer/Tests/Transport/Smtp/DummyStream.php:49 | 6 | - Unused Public Methods
- Max Level Of Nesting
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Undefined Classes
|
/src/Symfony/Component/Messenger/Attribute/AsMessageHandler.php:23 | 6 | - Ambiguous Visibilities
- Used Once Variables (In Scope)
- Never Used Properties
- No Public Access
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Messenger/Attribute/AsMessageHandler.php:26 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Messenger/Bridge/AmazonSqs/Tests/Transport/AmazonSqsTransportTest.php:175 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Weak Type With Array
- Indices Are Int Or String
- Useless Instructions
- No Choice
|
/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/ConnectionTest.php:652 | 6 | - Unused Public Methods
- Type Must Be Returned
- Should Use Local Class
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/RedisExtIntegrationTest.php:31 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php:57 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Assign Default To Properties
- Undefined Interfaces
- Undefined Classes
- Property Could Be Local
|
/src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php:71 | 6 | - Assumptions
- Mismatched Typehint
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Avoid option arrays in constructors
|
/src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php:314 | 6 | - No Null For Native PHP Functions
- Undefined Variable
- Used Once Variables (In Scope)
- Written Only Variables
- Uses Default Values
- Undefined Classes
|
/src/Symfony/Component/Messenger/Exception/UnrecoverableMessageHandlingException.php:19 | 6 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
/src/Symfony/Component/Messenger/Tests/DependencyInjection/MessengerPassTest.php:882 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/Messenger/Tests/MessageBusTest.php:136 | 6 | - Unused Public Methods
- Misused Yield
- Type Must Be Returned
- Should Use Local Class
- Must Return Methods
- Methods Without Return
|
/src/Symfony/Component/Mime/Address.php:36 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Undefined Interfaces
- Undefined Classes
- Wrong Typed Property Default
|
/src/Symfony/Component/Mime/Crypto/SMime.php:65 | 6 | - Type Must Be Returned
- Should Use Local Class
- Undefined Classes
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/Mime/Encoder/EightBitContentEncoder.php:19 | 6 | - Unused Public Methods
- Type Must Be Returned
- Undefined Classes
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/Mime/Header/Headers.php:193 | 6 | - Method Is Not An If
- No Null For Index
- Type Must Be Returned
- Must Return Methods
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/Mime/Part/File.php:25 | 6 | - Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
- Wrong Typed Property Default
|
/src/Symfony/Component/Notifier/Bridge/Bandwidth/Tests/BandwidthTransportTest.php:27 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/Bandwidth/Tests/BandwidthTransportTest.php:88 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
|
/src/Symfony/Component/Notifier/Bridge/ClickSend/Tests/ClickSendTransportTest.php:32 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
|
/src/Symfony/Component/Notifier/Bridge/ClickSend/Tests/ClickSendTransportTest.php:87 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
|
/src/Symfony/Component/Notifier/Bridge/GoIp/Tests/GoIpTransportTest.php:85 | 6 | - Unused Public Methods
- Type Must Be Returned
- Should Use Local Class
- Must Return Methods
- Methods Without Return
- Method Could Be Static
|
/src/Symfony/Component/Notifier/Bridge/Mercure/Tests/Fixtures/DummyHub.php:33 | 6 | - Unused Public Methods
- Should Use Local Class
- Undefined Interfaces
- Undefined Classes
- Empty Function
- StandaloneType True False Null
|
/src/Symfony/Component/Notifier/Bridge/Novu/NovuOptions.php:36 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Notifier/Bridge/Novu/NovuOptions.php:37 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Notifier/Bridge/Novu/NovuOptions.php:38 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Notifier/Bridge/Novu/NovuOptions.php:39 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Notifier/Bridge/Novu/NovuOptions.php:41 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Notifier/Bridge/Novu/NovuSubscriberRecipient.php:36 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Notifier/Bridge/Novu/NovuSubscriberRecipient.php:37 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Notifier/Bridge/Novu/NovuSubscriberRecipient.php:38 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Notifier/Bridge/Novu/NovuSubscriberRecipient.php:39 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Notifier/Bridge/Novu/NovuSubscriberRecipient.php:41 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Notifier/Bridge/Plivo/Tests/PlivoTransportTest.php:27 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/Plivo/Tests/PlivoTransportTest.php:92 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
|
/src/Symfony/Component/Notifier/Bridge/RingCentral/Tests/RingCentralTransportTest.php:27 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/RingCentral/Tests/RingCentralTransportTest.php:32 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
|
/src/Symfony/Component/Notifier/Bridge/RingCentral/Tests/RingCentralTransportTest.php:90 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
|
/src/Symfony/Component/Notifier/Bridge/Smsmode/Tests/SmsmodeTransportTest.php:32 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
|
/src/Symfony/Component/Notifier/Bridge/Smsmode/Tests/SmsmodeTransportTest.php:115 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
|
/src/Symfony/Component/Notifier/Bridge/Termii/Tests/TermiiTransportTest.php:27 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/Termii/Tests/TermiiTransportTest.php:32 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
|
/src/Symfony/Component/Notifier/Bridge/Termii/Tests/TermiiTransportTest.php:67 | 6 | - Check JSON
- Undefined static:: Or self::
- Only Variable Passed By Reference
- Uses Default Values
- Use ::Class Operator
- Hardcoded Passwords
|
/src/Symfony/Component/Notifier/Bridge/Termii/Tests/TermiiTransportTest.php:92 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
|
/src/Symfony/Component/Notifier/Bridge/Twilio/Tests/TwilioTransportTest.php:26 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Different Argument Counts
- Could Inject Parameter
|
/src/Symfony/Component/Notifier/Bridge/Twilio/Tests/TwilioTransportTest.php:73 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
|
/src/Symfony/Component/Notifier/Bridge/Twilio/Tests/TwilioTransportTest.php:117 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Should Use Local Class
- Must Return Methods
- Methods Without Return
|
/src/Symfony/Component/Notifier/Exception/TransportException.php:19 | 6 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
/src/Symfony/Component/OptionsResolver/OptionsResolver.php:1199 | 6 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Method Could Be Static
|
/src/Symfony/Component/OptionsResolver/Tests/Debug/OptionsResolverIntrospectorTest.php:66 | 6 | - Used Once Variables (In Scope)
- Buried Assignation
- Unused Parameter
- Empty Function
- Use ::Class Operator
- Unused Returned Value
|
/src/Symfony/Component/OptionsResolver/Tests/Debug/OptionsResolverIntrospectorTest.php:97 | 6 | - Recycled Variables
- Assigned Twice
- Overwritten Literals
- Buried Assignation
- Use ::Class Operator
- Unused Returned Value
|
/src/Symfony/Component/OptionsResolver/Tests/Debug/OptionsResolverIntrospectorTest.php:128 | 6 | - Recycled Variables
- Assigned Twice
- Overwritten Literals
- Buried Assignation
- Use ::Class Operator
- Unused Returned Value
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1299 | 6 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1308 | 6 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1363 | 6 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1505 | 6 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1516 | 6 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1518 | 6 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1527 | 6 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Unused Returned Value
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1730 | 6 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:1744 | 6 | - Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Unused Returned Value
- Wrong Type Returned
|
/src/Symfony/Component/PasswordHasher/Hasher/MessageDigestPasswordHasher.php:51 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
|
/src/Symfony/Component/PasswordHasher/Hasher/NativePasswordHasher.php:63 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- Weak Type With Array
- Indices Are Int Or String
- Useless Instructions
- No Choice
|
/src/Symfony/Component/PasswordHasher/Hasher/PlaintextPasswordHasher.php:38 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- Mismatched Typehint
- StandaloneType True False Null
- Different Argument Counts
|
/src/Symfony/Component/PasswordHasher/LegacyPasswordHasherInterface.php:30 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Ambiguous Static
- StandaloneType True False Null
- Different Argument Counts
|
/src/Symfony/Component/PasswordHasher/Tests/Command/UserPasswordHashCommandTest.php:89 | 6 | - Buried Assignation
- Useless Parenthesis
- Only Variable Passed By Reference
- Iffectations
- Could Make A Function
- Preprocessable
|
/src/Symfony/Component/PasswordHasher/Tests/Hasher/PasswordHasherFactoryTest.php:227 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/Process/Process.php:85 | 6 | - Scalar Or Object Property
- Property Used In One Method Only
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
- Wrong Typed Property Default
|
/src/Symfony/Component/PropertyAccess/Tests/Fixtures/ReturnTyped.php:32 | 6 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Missing Some Returntype
|
/src/Symfony/Component/PropertyAccess/Tests/Fixtures/TestClass.php:72 | 6 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Method Could Be Static
|
/src/Symfony/Component/PropertyAccess/Tests/Fixtures/Ticket5775Object.php:16 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/PropertyInfo/PropertyReadInfo.php:31 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/PropertyInfo/PropertyReadInfo.php:32 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/PropertyInfo/PropertyWriteInfo.php:39 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/PropertyInfo/Tests/Fixtures/InvalidDummy.php:37 | 6 | - Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Php7Dummy.php:19 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Php7ParentDummy.php:16 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- Parent Is Not Static
|
/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Php80Dummy.php:52 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Php80Dummy.php:64 | 6 | - Unused Public Methods
- Type Must Be Returned
- Ambiguous Static
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Php81Dummy.php:16 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- Empty Function
- Unfinished Object
|
/src/Symfony/Component/PropertyInfo/Util/PhpDocTypeHelper.php:132 | 6 | - Wrong Type For Native PHP Function
- Comparison Is Always The Same
- Undefined Interfaces
- Undefined Classes
- Unresolved Instanceof
- Could Make A Function
|
/src/Symfony/Component/RemoteEvent/Messenger/ConsumeRemoteEventMessage.php:22 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/RemoteEvent/Messenger/ConsumeRemoteEventMessage.php:23 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/RemoteEvent/RemoteEvent.php:20 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/RemoteEvent/RemoteEvent.php:21 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/RemoteEvent/RemoteEvent.php:22 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Routing/Generator/UrlGenerator.php:148 | 6 | - Assumptions
- Max Level Of Nesting
- Too Many Local Variables
- Used Once Variables (In Scope)
- Unused Parameter
- Could Inject Parameter
|
/src/Symfony/Component/Routing/Loader/AttributeClassLoader.php:75 | 6 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/Routing/Loader/PhpFileLoader.php:33 | 6 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- Never Called Parameter
|
/src/Symfony/Component/Routing/Loader/XmlFileLoader.php:41 | 6 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- Never Called Parameter
|
/src/Symfony/Component/Routing/Loader/YamlFileLoader.php:44 | 6 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- Never Called Parameter
|
/src/Symfony/Component/Routing/Router.php:57 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Runtime/Internal/ComposerPlugin.php:65 | 6 | - Missing Assignation In Branches
- Buried Assignation
- Iffectations
- Useless Instructions
- Should Use Coalesce
- No Choice
|
/src/Symfony/Component/Scheduler/Attribute/AsCronTask.php:24 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Scheduler/Attribute/AsCronTask.php:25 | 6 | - Ambiguous Visibilities
- Used Once Variables (In Scope)
- Never Used Properties
- No Public Access
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Scheduler/Attribute/AsCronTask.php:28 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Scheduler/Attribute/AsCronTask.php:29 | 6 | - Ambiguous Visibilities
- Used Once Variables (In Scope)
- Never Used Properties
- No Public Access
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Scheduler/Attribute/AsPeriodicTask.php:24 | 6 | - Ambiguous Visibilities
- Used Once Variables (In Scope)
- Never Used Properties
- No Public Access
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Scheduler/Attribute/AsPeriodicTask.php:25 | 6 | - Ambiguous Visibilities
- Used Once Variables (In Scope)
- Never Used Properties
- No Public Access
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Scheduler/Attribute/AsPeriodicTask.php:26 | 6 | - Ambiguous Visibilities
- Used Once Variables (In Scope)
- Never Used Properties
- No Public Access
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Scheduler/Attribute/AsPeriodicTask.php:29 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Scheduler/Attribute/AsPeriodicTask.php:30 | 6 | - Ambiguous Visibilities
- Used Once Variables (In Scope)
- Never Used Properties
- No Public Access
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Scheduler/Event/FailureEvent.php:22 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Scheduler/Event/FailureEvent.php:23 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Scheduler/Event/PostRunEvent.php:20 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Scheduler/Event/PostRunEvent.php:21 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Scheduler/Event/PreRunEvent.php:22 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Scheduler/Event/PreRunEvent.php:23 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Scheduler/Generator/Checkpoint.php:74 | 6 | - Uses Default Values
- Undefined Classes
- Empty Function
- Check After Null Safe Operator
- No Null With Null Safe Operator
- Wrong Type Returned
|
/src/Symfony/Component/Scheduler/Scheduler.php:38 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Scheduler/Tests/Generator/MessageGeneratorTest.php:67 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Empty Function
- Unfinished Object
|
/src/Symfony/Component/Scheduler/Tests/Generator/MessageGeneratorTest.php:307 | 6 | - Wrong Type For Native PHP Function
- Wrong Parameter Type
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
|
/src/Symfony/Component/Scheduler/Tests/Trigger/CallbackTriggerTest.php:27 | 6 | - Recycled Variables
- Wrong Type With Call
- Undefined Classes
- Empty Function
- Use ::Class Operator
- Wrong Type Returned
|
/src/Symfony/Component/Scheduler/Trigger/StaticMessageProvider.php:22 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Security/Core/Authorization/AccessDecisionManager.php:82 | 6 | - Type Must Be Returned
- Ambiguous Static
- Undefined Classes
- Must Return Methods
- Methods Without Return
- Wrong Type With Default
|
/src/Symfony/Component/Security/Core/Tests/Authentication/AuthenticationTrustResolverTest.php:93 | 6 | - Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/Security/Core/Tests/User/OidcUserTest.php:65 | 6 | - Unknown Parameter Name
- Wrong Argument Type
- Wrong Type With Call
- No Spread For Hash
- Wrong Number Of Arguments
- Hardcoded Passwords
|
/src/Symfony/Component/Security/Core/User/MissingUserProvider.php:34 | 6 | - Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Must Return Methods
- Method Could Be Static
|
/src/Symfony/Component/Security/Core/User/OidcUser.php:27 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Security/Core/User/OidcUser.php:36 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Security/Core/User/OidcUser.php:41 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php:41 | 6 | - Property Used In One Method Only
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php:46 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcUserInfoTokenHandler.php:31 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Security/Http/Attribute/IsGranted.php:38 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- StandaloneType True False Null
- Unfinished Object
|
/src/Symfony/Component/Security/Http/Authentication/DefaultAuthenticationSuccessHandler.php:103 | 6 | - Wrong Type With Call
- Buried Assignation
- Only Variable Passed By Reference
- Uses Default Values
- Accessing Private
- Iffectations
|
/src/Symfony/Component/Security/Http/Authenticator/AccessTokenAuthenticator.php:42 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Security/Http/Authenticator/AccessTokenAuthenticator.php:43 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Security/Http/Authenticator/AccessTokenAuthenticator.php:44 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Security/Http/Controller/SecurityTokenValueResolver.php:27 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Empty Function
- Unfinished Object
|
/src/Symfony/Component/Security/Http/EventListener/IsGrantedAttributeListener.php:42 | 6 | - Weak Type With Array
- Buried Assignation
- Only Variable Passed By Reference
- Uses Default Values
- Useless Instructions
- No Choice
|
/src/Symfony/Component/Security/Http/LoginLink/Exception/ExpiredLoginLinkException.php:19 | 6 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
/src/Symfony/Component/Security/Http/ParameterBagUtils.php:38 | 6 | - Weak Type With Array
- Only Variable Passed By Reference
- Uses Default Values
- Useless Instructions
- Wrong Type Returned
- No Choice
|
/src/Symfony/Component/Security/Http/Tests/Authentication/AuthenticatorManagerTest.php:371 | 6 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
|
/src/Symfony/Component/Semaphore/SemaphoreFactory.php:29 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Serializer/Attribute/MaxDepth.php:22 | 6 | - Missing Attribute Attribute
- Method Is Not An If
- Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Property
- Unfinished Object
|
/src/Symfony/Component/Serializer/Attribute/SerializedName.php:22 | 6 | - Missing Attribute Attribute
- Method Is Not An If
- Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Property
- Unfinished Object
|
/src/Symfony/Component/Serializer/CacheWarmer/CompiledClassMetadataCacheWarmer.php:26 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Serializer/CacheWarmer/CompiledClassMetadataCacheWarmer.php:28 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Serializer/Command/DebugCommand.php:33 | 6 | - Incompatible Signature Methods With Covariance
- Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Serializer/DataCollector/SerializerDataCollector.php:61 | 6 | - Written Only Variables
- Uses Default Values
- Wrong Number Of Arguments
- Empty Function
- Wrong Type Returned
- Preprocessable
|
/src/Symfony/Component/Serializer/Exception/PartialDenormalizationException.php:23 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Serializer/NameConverter/MetadataAwareNameConverter.php:51 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Wrong Type With Call
- Indices Are Int Or String
|
/src/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php:476 | 6 | - Assumptions
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php:686 | 6 | - Weak Type With Array
- Used Once Variables (In Scope)
- Buried Assignation
- Written Only Variables
- Iffectations
- Used Once Variables
|
/src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php:793 | 6 | - Don't Read And Write In One Expression
- Unsupported Types With Operators
- Weak Type With Array
- Variable Is Not A Condition
- Buried Assignation
- Iffectations
|
/src/Symfony/Component/Serializer/Normalizer/ConstraintViolationListNormalizer.php:35 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Serializer/Normalizer/DataUriNormalizer.php:90 | 6 | - Method Signature Must Be Compatible
- Mismatched Typehint
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Component/Serializer/Normalizer/ObjectToPopulateTrait.php:29 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Wrong Type Returned
|
/src/Symfony/Component/Serializer/Normalizer/ProblemNormalizer.php:43 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Serializer/Normalizer/ProblemNormalizer.php:87 | 6 | - Weak Type With Array
- Uses Default Values
- Undefined Classes
- Wrong Number Of Arguments
- Empty Function
- Could Make A Function
|
/src/Symfony/Component/Serializer/Normalizer/TranslatableNormalizer.php:28 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Serializer/Serializer.php:273 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Ambiguous Array Index
|
/src/Symfony/Component/Serializer/Serializer.php:274 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Ambiguous Array Index
|
/src/Symfony/Component/Serializer/Serializer.php:309 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Ambiguous Array Index
|
/src/Symfony/Component/Serializer/Serializer.php:329 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Ambiguous Array Index
|
/src/Symfony/Component/Serializer/Serializer.php:330 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Ambiguous Array Index
|
/src/Symfony/Component/Serializer/Serializer.php:369 | 6 | - Unsupported Types With Operators
- Non Integer Nor String As Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Ambiguous Array Index
|
/src/Symfony/Component/Serializer/Tests/Fixtures/AbstractNormalizerDummy.php:42 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/Serializer/Tests/Fixtures/Attributes/ContextDummyPromotedProperties.php:26 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- Undefined Classes
- Unfinished Object
|
/src/Symfony/Component/Serializer/Tests/Fixtures/Attributes/ContextDummyPromotedProperties.php:33 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- Undefined Classes
- Unfinished Object
|
/src/Symfony/Component/Serializer/Tests/Fixtures/EnvelopeNormalizer.php:23 | 6 | - Mismatch Parameter Name
- Unused Public Methods
- Method Signature Must Be Compatible
- Ambiguous Static
- Undefined Classes
- StandaloneType True False Null
|
/src/Symfony/Component/Serializer/Tests/Normalizer/AbstractObjectNormalizerTest.php:1162 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- Undefined Classes
- Unfinished Object
|
/src/Symfony/Component/String/AbstractString.php:454 | 6 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Wrong Parameter Type
- Invalid Regex
- Buried Assignation
- Iffectations
|
/src/Symfony/Component/String/AbstractUnicodeString.php:187 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Different Argument Counts
|
/src/Symfony/Component/String/ByteString.php:135 | 6 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- Modified Typed Parameter
|
/src/Symfony/Component/String/ByteString.php:146 | 6 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- Modified Typed Parameter
|
/src/Symfony/Component/String/ByteString.php:386 | 6 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- Modified Typed Parameter
|
/src/Symfony/Component/String/CodePointString.php:102 | 6 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- Modified Typed Parameter
|
/src/Symfony/Component/String/CodePointString.php:242 | 6 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- Modified Typed Parameter
|
/src/Symfony/Component/String/UnicodeString.php:94 | 6 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- Modified Typed Parameter
|
/src/Symfony/Component/String/UnicodeString.php:116 | 6 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- Modified Typed Parameter
|
/src/Symfony/Component/String/UnicodeString.php:343 | 6 | - Double Checks
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- Modified Typed Parameter
|
/src/Symfony/Component/Translation/Bridge/Crowdin/CrowdinProvider.php:220 | 6 | - Weak Type With Array
- Uses Default Values
- Useless Instructions
- Could Make A Function
- Wrong Type Returned
- No Choice
|
/src/Symfony/Component/Translation/Bridge/Phrase/PhraseProvider.php:38 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/PhraseProvider.php:39 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/PhraseProvider.php:242 | 6 | - Empty Json Error
- Check JSON
- Uses Default Values
- Useless Instructions
- Could Make A Function
- No Choice
|
/src/Symfony/Component/Translation/Bridge/Phrase/PhraseProviderFactory.php:44 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/PhraseProviderFactory.php:45 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/PhraseProviderFactory.php:47 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/PhraseProviderFactory.php:49 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderFactoryTest.php:32 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderFactoryTest.php:33 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderFactoryTest.php:35 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderTest.php:42 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Property Could Be Local
|
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderTest.php:44 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
- Property Could Be Local
|
/src/Symfony/Component/Translation/PseudoLocalizationTranslator.php:363 | 6 | - Avoid mb_dectect_encoding()
- Buried Assignation
- Useless Parenthesis
- Useless Instructions
- Could Make A Function
- Wrong Type Returned
|
/src/Symfony/Component/Translation/Test/ProviderFactoryTestCase.php:37 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/Translation/Test/ProviderTestCase.php:34 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Property
- Undefined Interfaces
- Undefined Classes
|
/src/Symfony/Component/Translation/Translator.php:130 | 6 | - Useless Short Ternary
- Useless Coalesce
- Avoid Optional Properties
- Uses Default Values
- Nested Ternary
- Wrong Type Returned
|
/src/Symfony/Component/Uid/Command/GenerateUlidCommand.php:82 | 6 | - Bail Out Early
- No Need For Else
- Only Variable Passed By Reference
- Uses Default Values
- Drop Else After Return
- Strict Comparison With Booleans
|
/src/Symfony/Component/Uid/Command/GenerateUuidCommand.php:171 | 6 | - Bail Out Early
- No Need For Else
- Only Variable Passed By Reference
- Uses Default Values
- Drop Else After Return
- Strict Comparison With Booleans
|
/src/Symfony/Component/Uid/Factory/UlidFactory.php:18 | 6 | - Ambiguous Static
- Mismatched Default Arguments
- Mismatched Typehint
- Should Use Local Class
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/Validator/Constraints/BicValidator.php:159 | 6 | - Weak Type With Array
- Comparison Is Always The Same
- Useless Parenthesis
- Useless Instructions
- Wrong Type Returned
- No Choice
|
/src/Symfony/Component/Validator/Constraints/Choice.php:32 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- StandaloneType True False Null
- Mismatch Properties Typehints
- Unfinished Object
|
/src/Symfony/Component/Validator/Constraints/Compound.php:27 | 6 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Mismatched Typehint
- Parent First
- Wrong Type With Default
- Implicit Nullable Type
|
/src/Symfony/Component/Validator/Constraints/DisableAutoMapping.php:28 | 6 | - Missing Attribute Attribute
- Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
|
/src/Symfony/Component/Validator/Constraints/EnableAutoMapping.php:28 | 6 | - Missing Attribute Attribute
- Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Mismatched Typehint
- StandaloneType True False Null
- Parent First
|
/src/Symfony/Component/Validator/Mapping/ClassMetadata.php:115 | 6 | - Use Positive Condition
- Should Use Ternary Operator
- Buried Assignation
- Uses Default Values
- Iffectations
- Could Make A Function
|
/src/Symfony/Component/Validator/Tests/Constraints/Fixtures/WhenTestWithAttributes.php:43 | 6 | - Wrong Attribute Configuration
- Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/Validator/Tests/Fixtures/AbstractPropertyGetter.php:7 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Property
- Undefined Classes
- Unfinished Object
|
/src/Symfony/Component/Validator/Tests/Fixtures/ConstraintWithStaticProperty.php:9 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Never Used Properties
- No Public Access
- Undefined Classes
- Unfinished Object
|
/src/Symfony/Component/Validator/Tests/Fixtures/NestedAttribute/EntityParent.php:22 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Property
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Validator/Validator/RecursiveValidator.php:52 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Mismatched Typehint
- Different Argument Counts
- Wrong Type With Default
- Implicit Nullable Type
|
/src/Symfony/Component/VarDumper/Caster/ExceptionCaster.php:324 | 6 | - Assumptions
- Mismatched Typehint
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
|
/src/Symfony/Component/VarDumper/Caster/LinkStub.php:63 | 6 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Unused Parameter
- StandaloneType True False Null
- Method Could Be Static
|
/src/Symfony/Component/VarDumper/Caster/ReflectionCaster.php:168 | 6 | - Assumptions
- Unused Public Methods
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Used Once Variables (In Scope)
- Unused Parameter
|
/src/Symfony/Component/VarDumper/Caster/ReflectionCaster.php:434 | 6 | - Don't Read And Write In One Expression
- Assumptions
- Bail Out Early
- Buried Assignation
- Useless Parenthesis
- Iffectations
|
/src/Symfony/Component/VarDumper/Caster/ResourceCaster.php:66 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/StubCaster.php:51 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
|
/src/Symfony/Component/VarDumper/Caster/XmlReaderCaster.php:46 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Missing Some Returntype
|
/src/Symfony/Component/VarDumper/Cloner/Data.php:155 | 6 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Parameter
- Method Could Be Static
|
/src/Symfony/Component/VarDumper/Command/ServerDumpCommand.php:82 | 6 | - Weak Type With Array
- Buried Assignation
- Written Only Variables
- Iffectations
- Useless Instructions
- No Choice
|
/src/Symfony/Component/VarDumper/Server/Connection.php:54 | 6 | - Don't Read And Write In One Expression
- Useless Coalesce
- Avoid Optional Properties
- Buried Assignation
- Only Variable Passed By Reference
- Iffectations
|
/src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php:441 | 6 | - Used Once Variables (In Scope)
- Useless Parenthesis
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type Returned
|
/src/Symfony/Component/VarDumper/Tests/Caster/ReflectionCasterTest.php:134 | 6 | - No Referenced Void
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Empty Function
- Wrong Type With Default
|
/src/Symfony/Component/VarExporter/Internal/Reference.php:25 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Variables (In Scope)
- Never Used Properties
- Unfinished Object
- Wrong Type With Default
|
/src/Symfony/Component/VarExporter/LazyGhostTrait.php:60 | 6 | - Wrong Attribute Configuration
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Unused Parameter
|
/src/Symfony/Component/VarExporter/LazyGhostTrait.php:62 | 6 | - Buried Assignation
- Iffectations
- Useless Instructions
- No Readonly Assignation In Global
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Component/VarExporter/LazyGhostTrait.php:74 | 6 | - Buried Assignation
- Iffectations
- Useless Instructions
- No Readonly Assignation In Global
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Component/VarExporter/LazyGhostTrait.php:90 | 6 | - Buried Assignation
- Iffectations
- Useless Instructions
- No Readonly Assignation In Global
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Component/VarExporter/LazyGhostTrait.php:339 | 6 | - Written Only Variables
- Iffectations
- Useless Instructions
- No Readonly Assignation In Global
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Component/VarExporter/LazyProxyTrait.php:55 | 6 | - Wrong Attribute Configuration
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Used Once Variables (In Scope)
- Unused Parameter
|
/src/Symfony/Component/VarExporter/LazyProxyTrait.php:173 | 6 | - Missing Assignation In Branches
- Iffectations
- Useless Instructions
- No Readonly Assignation In Global
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Component/VarExporter/LazyProxyTrait.php:208 | 6 | - Missing Assignation In Branches
- Iffectations
- Useless Instructions
- No Readonly Assignation In Global
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Component/VarExporter/LazyProxyTrait.php:241 | 6 | - Missing Assignation In Branches
- Iffectations
- Useless Instructions
- No Readonly Assignation In Global
- No Choice
- Useless Null Coalesce
|
/src/Symfony/Component/VarExporter/Tests/LazyGhostTraitTest.php:272 | 6 | - Mismatched Typehint
- Used Once Variables (In Scope)
- Unused Parameter
- Uses Default Values
- Undefined Classes
- Empty Function
|
/src/Symfony/Component/VarExporter/Tests/LazyGhostTraitTest.php:290 | 6 | - Ambiguous Static
- Should Use Local Class
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
- Never Called Parameter
|
/src/Symfony/Component/VarExporter/Tests/ProxyHelperTest.php:208 | 6 | - Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
- StandaloneType True False Null
|
/src/Symfony/Component/VarExporter/Tests/VarExporterTest.php:387 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Used Once Property
- Never Used Properties
- Undefined Classes
- Unfinished Object
|
/src/Symfony/Component/Webhook/Messenger/SendWebhookMessage.php:24 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Webhook/Server/Transport.php:25 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
|
/src/Symfony/Component/Webhook/Subscriber.php:19 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Workflow/DataCollector/WorkflowDataCollector.php:39 | 6 | - Ambiguous Static
- Property Used In One Method Only
- Used Once Variables (In Scope)
- Used Once Property
- Unfinished Object
- Property Could Be Local
|
/src/Symfony/Component/Yaml/Inline.php:58 | 6 | - No Default For Referenced Parameter
- Ambiguous Static
- Mismatched Typehint
- Unused Parameter
- Could Inject Parameter
- Missing Some Returntype
|
/src/Symfony/Contracts/Tests/Cache/CacheTraitTest.php:158 | 6 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Contracts/Tests/Cache/CacheTraitTest.php:162 | 6 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Contracts/Tests/Service/ServiceSubscriberTraitTest.php:102 | 6 | - Wrong Attribute Configuration
- Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
|
/src/Symfony/Contracts/Tests/Service/ServiceSubscriberTraitTest.php:120 | 6 | - Wrong Attribute Configuration
- Unused Public Methods
- Type Must Be Returned
- Must Return Methods
- Empty Function
- Methods Without Return
|