Concentrated issues

Here is the list of the lines that generated the most issues.

File Count Analysis
/src/Composer/Command/CreateProjectCommand.php:18029
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Undefined Interfaces
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Modified Typed Parameter
  •   Wrong Type With Default
  •   Could Inject Parameter
/src/Composer/Command/CreateProjectCommand.php:33926
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Mismatched Default Arguments
  •   Undefined Interfaces
  •   No Null For Index
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Modified Typed Parameter
  •   Could Inject Parameter
/src/Composer/Util/Filesystem.php:54415
  •   No Null For Native PHP Functions
  •   strpos() Too Much
  •   Wrong Parameter Type
  •   Uses Default Values
  •   Wrong Type For Native PHP Function
  •   Could Make A Function
  •   Avoid Substr() One
/src/Composer/Factory.php:28414
  •   Double Checks
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Wrong Type With Default
  •   Could Inject Parameter
/src/Composer/IO/ConsoleIO.php:30214
  •   Unused Public Methods
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Undefined Classes
  •   Wrong Type With Default
  •   Could Inject Parameter
/src/Composer/Downloader/DownloadManager.php:19113
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Unused Parameter
  •   Written Only Variables
  •   Undefined Classes
  •   Wrong Type With Default
  •   Never Called Parameter
/src/Composer/PHPStan/RuleReasonDataReturnTypeExtension.php:4613
  •   Unused Public Methods
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Should Use Local Class
  •   Undefined Interfaces
  •   Undefined Classes
  •   Method Could Be Static
/src/Composer/Command/BaseCommand.php:29912
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Undefined Interfaces
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Wrong Type With Default
  •   Method Could Be Static
/src/Composer/Command/PackageDiscoveryTrait.php:9012
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Max Level Of Nesting
  •   Use Named Boolean In Argument Definition
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Undefined Interfaces
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
/src/Composer/IO/NullIO.php:12512
  •   Unused Public Methods
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/src/Composer/Console/Application.php:40211
  •   Unsupported Types With Operators
  •   Too Many Native Calls
  •   Timestamp Difference
  •   Uses Default Values
  •   Wrong Type With Call
  •   Could Make A Function
/src/Composer/Factory.php:57211
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Should Use Local Class
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Could Inject Parameter
  •   Method Could Be Static
/src/Composer/Factory.php:58511
  •   No Null For Native PHP Functions
  •   Wrong Parameter Type
  •   Wrong Argument Type
  •   Uses Default Values
  •   Mismatched Typehint
  •   Could Make A Function
/src/Composer/IO/BufferIO.php:3311
  •   Undefined Class Constants
  •   Undefined Interfaces
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Parent First
  •   Could Inject Parameter
  •   Never Called Parameter
/src/Composer/IO/ConsoleIO.php:27511
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   Method Signature Must Be Compatible
  •   Undefined Classes
  •   Wrong Type With Default
  •   Could Inject Parameter
/src/Composer/Console/Application.php:15010
  •   Unused Public Methods
  •   Too Many Local Variables
  •   Max Level Of Nesting
  •   Undefined Interfaces
  •   Undefined Classes
  •   Could Inject Parameter
  •   Missing Some Returntype
/src/Composer/Downloader/PathDownloader.php:4210
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Undefined Interfaces
  •   Undefined Classes
  •   StandaloneType True False Null
  •   Different Argument Counts
  •   Method Could Be Static
/src/Composer/Downloader/ZipDownloader.php:4310
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Undefined Interfaces
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Different Argument Counts
/src/Composer/IO/NullIO.php:10910
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   Method Signature Must Be Compatible
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/src/Composer/Repository/ComposerRepository.php:145810
  •   No Boolean As Default
  •   Max Level Of Nesting
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Could Inject Parameter
/src/Composer/Util/Git.php:4810
  •   No Default For Referenced Parameter
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Max Level Of Nesting
  •   Use Named Boolean In Argument Definition
  •   Useless Referenced Argument
  •   Unused Parameter
  •   Undefined Classes
  •   StandaloneType True False Null
  •   Wrong Type With Default
/src/Composer/Util/ProcessExecutor.php:10210
  •   No Default For Referenced Parameter
  •   Use Named Boolean In Argument Definition
  •   Unused Parameter
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Wrong Type With Default
  •   Could Inject Parameter
/src/Composer/Autoload/AutoloadGenerator.php:1769
  •   Unused Public Methods
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Max Level Of Nesting
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
  •   StandaloneType True False Null
/src/Composer/Autoload/ClassMapGenerator.php:639
  •   No Default For Referenced Parameter
  •   Unused Parameter
  •   Should Use Local Class
  •   Undefined Classes
  •   StandaloneType True False Null
  •   Never Called Parameter
/src/Composer/Command/BaseDependencyCommand.php:559
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Undefined Interfaces
  •   Undefined Classes
  •   Could Inject Parameter
/src/Composer/Console/Application.php:3589
  •   Double Checks
  •   Merge If Then
  •   Check JSON
  •   Nested Ifthen
  •   Buried Assignation
  •   Uses Default Values
  •   Wrong Type For Native PHP Function
  •   Could Make A Function
/src/Composer/Console/Application.php:5269
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Never Called Parameter
/src/Composer/DependencyResolver/DefaultPolicy.php:1679
  •   No Null For Native PHP Functions
  •   Wrong Parameter Type
  •   Useless Parenthesis
  •   Buried Assignation
  •   Uses Default Values
  •   Wrong Type For Native PHP Function
  •   Iffectations
  •   Could Make A Function
  •   Preprocessable
/src/Composer/DependencyResolver/Rule.php:4449
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Should Use Local Class
  •   Undefined Interfaces
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Method Could Be Static
/src/Composer/Package/Version/VersionSelector.php:729
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Max Level Of Nesting
  •   Use Named Boolean In Argument Definition
  •   Undefined Classes
  •   StandaloneType True False Null
  •   Wrong Type With Default
/src/Composer/DependencyResolver/RuleSetGenerator.php:598
  •   Should Use Local Class
  •   Undefined Classes
  •   StandaloneType True False Null
  •   Wrong Type With Default
  •   Could Inject Parameter
  •   Method Could Be Static
/src/Composer/DependencyResolver/RuleSetGenerator.php:1128
  •   Should Use Local Class
  •   Undefined Classes
  •   StandaloneType True False Null
  •   Wrong Type With Default
  •   Could Inject Parameter
  •   Method Could Be Static
/src/Composer/Downloader/ArchiveDownloader.php:558
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Undefined Interfaces
  •   Undefined Classes
  •   Different Argument Counts
/src/Composer/Downloader/FileDownloader.php:1228
  •   Incompatible Signature Methods With Covariance
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Undefined Interfaces
  •   Undefined Classes
  •   StandaloneType True False Null
  •   Different Argument Counts
/src/Composer/Downloader/PathDownloader.php:788
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Undefined Interfaces
  •   Undefined Classes
  •   Different Argument Counts
/src/Composer/Downloader/PathDownloader.php:1648
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Undefined Interfaces
  •   Undefined Classes
  •   Different Argument Counts
/src/Composer/IO/ConsoleIO.php:2638
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Undefined Classes
  •   Could Inject Parameter
  •   Never Called Parameter
/src/Composer/Installer/ProjectInstaller.php:788
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   Method Signature Must Be Compatible
  •   Undefined Interfaces
  •   Undefined Classes
  •   StandaloneType True False Null
/src/Composer/Installer/ProjectInstaller.php:868
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   Method Signature Must Be Compatible
  •   Undefined Interfaces
  •   Undefined Classes
  •   StandaloneType True False Null
/src/Composer/Installer/ProjectInstaller.php:1028
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   Method Signature Must Be Compatible
  •   Must Return Methods
  •   Undefined Interfaces
  •   Undefined Classes
  •   StandaloneType True False Null
  •   Method Could Be Static
/src/Composer/Installer/ProjectInstaller.php:1108
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   Method Signature Must Be Compatible
  •   Must Return Methods
  •   Undefined Interfaces
  •   Undefined Classes
  •   StandaloneType True False Null
  •   Method Could Be Static
/src/Composer/Package/Loader/RootPackageLoader.php:748
  •   Assumptions
  •   Incompatible Signature Methods With Covariance
  •   Too Many Local Variables
  •   Method Signature Must Be Compatible
  •   Mismatched Default Arguments
  •   Use ::Class Operator
  •   StandaloneType True False Null
  •   Different Argument Counts
/src/Composer/Repository/InstalledRepository.php:898
  •   No Boolean As Default
  •   Max Level Of Nesting
  •   Use Named Boolean In Argument Definition
  •   Undefined Interfaces
  •   Undefined Classes
  •   StandaloneType True False Null
/src/Composer/Repository/Vcs/GitDriver.php:2218
  •   Unused Public Methods
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
  •   Could Inject Parameter
/src/Composer/Util/HttpDownloader.php:3968
  •   Unsupported Types With Operators
  •   Cast To Boolean
  •   Ambiguous Array Index
  •   Indices Are Int Or String
  •   Weak Type With Array
  •   No Null For Index
  •   Non Integer Nor String As Index
  •   Wrong Type Returned
/src/Composer/Util/NoProxyPattern.php:1958
  •   No Boolean As Default
  •   Class-typed References
  •   Use Named Boolean In Argument Definition
  •   Unused Parameter
  •   Avoid Using stdClass
  •   StandaloneType True False Null
  •   Modified Typed Parameter
  •   Missing Some Returntype
/src/Composer/Util/ProcessExecutor.php:738
  •   No Default For Referenced Parameter
  •   Unused Parameter
  •   Mismatched Default Arguments
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Wrong Type With Default
/src/Composer/Util/RemoteFilesystem.php:5168
  •   No Default For Referenced Parameter
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Should Use Local Class
  •   Undefined Classes
  •   StandaloneType True False Null
  •   Method Could Be Static
/src/Composer/Command/BaseCommand.php:3207
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Should Use Local Class
  •   Undefined Interfaces
  •   Undefined Classes
  •   Method Could Be Static
/src/Composer/Command/ConfigCommand.php:9367
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Undefined Interfaces
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
/src/Composer/Command/PackageDiscoveryTrait.php:757
  •   Double Checks
  •   Merge If Then
  •   Check JSON
  •   Buried Assignation
  •   Uses Default Values
  •   Could Make A Function
/src/Composer/Command/PackageDiscoveryTrait.php:2777
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Undefined Interfaces
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Could Inject Parameter
/src/Composer/Command/ShowCommand.php:7227
  •   No Null For Native PHP Functions
  •   Variable Is Not A Condition
  •   Useless Parenthesis
  •   Uses Default Values
  •   Wrong Type For Native PHP Function
  •   Wrong Type With Call
/src/Composer/Command/ShowCommand.php:7257
  •   No Null For Native PHP Functions
  •   Variable Is Not A Condition
  •   Useless Parenthesis
  •   Uses Default Values
  •   Wrong Type For Native PHP Function
  •   Wrong Type With Call
/src/Composer/Command/ShowCommand.php:7347
  •   No Null For Native PHP Functions
  •   Variable Is Not A Condition
  •   Useless Parenthesis
  •   Uses Default Values
  •   Wrong Type For Native PHP Function
  •   Wrong Type With Call
/src/Composer/Command/ShowCommand.php:7367
  •   No Null For Native PHP Functions
  •   Variable Is Not A Condition
  •   Useless Parenthesis
  •   Uses Default Values
  •   Wrong Type For Native PHP Function
  •   Wrong Type With Call
/src/Composer/DependencyResolver/Problem.php:1947
  •   Too Many Local Variables
  •   Use Named Boolean In Argument Definition
  •   Undefined Interfaces
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
/src/Composer/DependencyResolver/Problem.php:3737
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Undefined Interfaces
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
/src/Composer/Downloader/FileDownloader.php:3477
  •   Incompatible Signature Methods With Covariance
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Undefined Interfaces
  •   Undefined Classes
  •   Different Argument Counts
/src/Composer/Downloader/FileDownloader.php:4167
  •   Incompatible Signature Methods With Covariance
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Undefined Interfaces
  •   Undefined Classes
  •   Different Argument Counts
/src/Composer/IO/ConsoleIO.php:1867
  •   Unused Public Methods
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
/src/Composer/IO/ConsoleIO.php:1947
  •   Unused Public Methods
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Undefined Classes
  •   Mismatched Typehint
  •   StandaloneType True False Null
/src/Composer/IO/NullIO.php:797
  •   Unused Public Methods
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Empty Function
  •   Undefined Classes
  •   StandaloneType True False Null
/src/Composer/IO/NullIO.php:867
  •   Unused Public Methods
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Empty Function
  •   Undefined Classes
  •   StandaloneType True False Null
/src/Composer/IO/NullIO.php:1017
  •   Unused Public Methods
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Undefined Classes
  •   Method Could Be Static
/src/Composer/Installer/LibraryInstaller.php:2677
  •   No Null For Native PHP Functions
  •   Uses Default Values
  •   Wrong Type For Native PHP Function
  •   Undefined Classes
  •   Could Make A Function
  •   Preprocessable
/src/Composer/Installer/ProjectInstaller.php:627
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   Method Signature Must Be Compatible
  •   Undefined Interfaces
  •   Undefined Classes
  •   StandaloneType True False Null
/src/Composer/Package/Loader/ValidatingArrayLoader.php:3087
  •   Bail Out Early
  •   Used Once Variables (In Scope)
  •   Buried Assignation
  •   Uses Default Values
  •   Weak Type With Array
  •   Iffectations
/src/Composer/Repository/ComposerRepository.php:2927
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Should Use Local Class
  •   Undefined Interfaces
  •   Undefined Classes
  •   StandaloneType True False Null
  •   Method Could Be Static
/src/Composer/Repository/Vcs/FossilDriver.php:2217
  •   Unused Public Methods
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
  •   Could Inject Parameter
/src/Composer/Repository/Vcs/HgDriver.php:2157
  •   Unused Public Methods
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
  •   Could Inject Parameter
/src/Composer/Util/Git.php:257
  •   Ambiguous Static
  •   Ambiguous Visibilities
  •   Property Used In One Method Only
  •   Undefined Classes
  •   Wrong Type With Default
  •   Unfinished Object
  •   Property Could Be Local
/src/Composer/Util/Hg.php:257
  •   Ambiguous Static
  •   Ambiguous Visibilities
  •   Property Used In One Method Only
  •   Undefined Classes
  •   Wrong Type With Default
  •   Unfinished Object
  •   Property Could Be Local
/src/Composer/Util/RemoteFilesystem.php:767
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
  •   StandaloneType True False Null
  •   Could Inject Parameter
  •   Never Called Parameter
/src/Composer/Command/ArchiveCommand.php:1736
  •   No Null For Native PHP Functions
  •   Wrong Parameter Type
  •   Wrong Type For Native PHP Function
  •   Useless Type Casting
  •   Undefined Variable
  •   Could Make A Function
/src/Composer/Command/ConfigCommand.php:9566
  •   No Null For Native PHP Functions
  •   Uses Default Values
  •   Wrong Type For Native PHP Function
  •   Undefined Classes
  •   Mismatched Typehint
  •   Wrong Number Of Arguments
/src/Composer/Command/CreateProjectCommand.php:4296
  •   No Null For Native PHP Functions
  •   Wrong Parameter Type
  •   Useless Parenthesis
  •   Buried Assignation
  •   Wrong Type For Native PHP Function
  •   Iffectations
/src/Composer/Config.php:4236
  •   Useless Parenthesis
  •   Buried Assignation
  •   Uses Default Values
  •   Weak Type With Array
  •   Iffectations
  •   Strict Comparison With Booleans
/src/Composer/Config/JsonConfigSource.php:2926
  •   Useless Referenced Argument
  •   Unused Parameter
  •   Should Use Local Class
  •   Undefined Classes
  •   No Return Used
  •   Method Could Be Static
/src/Composer/DependencyResolver/Operation/UninstallOperation.php:526
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Should Use Local Class
/src/Composer/DependencyResolver/Operation/UpdateOperation.php:716
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Should Use Local Class
/src/Composer/DependencyResolver/Pool.php:2026
  •   Should Use Local Class
  •   Insufficient Typehint
  •   Undefined Interfaces
  •   Undefined Classes
  •   StandaloneType True False Null
  •   Method Could Be Static
/src/Composer/IO/NullIO.php:656
  •   Unused Public Methods
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Use Named Boolean In Argument Definition
  •   Empty Function
  •   Undefined Classes
/src/Composer/IO/NullIO.php:1176
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   Method Signature Must Be Compatible
  •   Empty Function
  •   Undefined Classes
  •   StandaloneType True False Null
/src/Composer/Installer/ProjectInstaller.php:946
  •   Unused Public Methods
  •   Incompatible Signature Methods With Covariance
  •   Method Signature Must Be Compatible
  •   Undefined Interfaces
  •   Undefined Classes
  •   StandaloneType True False Null
/src/Composer/Package/Loader/ValidatingArrayLoader.php:636
  •   Assumptions
  •   Too Many Local Variables
  •   Max Level Of Nesting
  •   Use ::Class Operator
  •   Could Inject Parameter
  •   Never Called Parameter
/src/Composer/Package/Version/VersionBumper.php:456
  •   Too Many Local Variables
  •   Should Use Local Class
  •   Undefined Interfaces
  •   Undefined Classes
  •   Method Could Be Static
  •   Missing Some Returntype
/src/Composer/Package/Version/VersionSelector.php:2396
  •   No Need For Else
  •   Bail Out Early
  •   Uses Default Values
  •   Weak Type With Array
  •   Undefined Classes
  •   Drop Else After Return
/src/Composer/Repository/InstalledRepository.php:1906
  •   Bail Out Early
  •   Nested Ifthen
  •   Unresolved Classes
  •   Uses Default Values
  •   Undefined Classes
  •   Strict Comparison With Booleans
/src/Composer/Repository/PlatformRepository.php:7296
  •   Constant Used Only Once
  •   Buried Assignation
  •   Undefined Variable
  •   Undefined Classes
  •   Useless Instructions
  •   Could Use self
/src/Composer/Repository/RepositoryFactory.php:566
  •   Unused Public Methods
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   StandaloneType True False Null
/src/Composer/Repository/Vcs/PerforceDriver.php:1616
  •   Unused Public Methods
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
  •   Could Inject Parameter
/src/Composer/Repository/Vcs/SvnDriver.php:3276
  •   Unused Public Methods
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
  •   Could Inject Parameter
/src/Composer/Util/Filesystem.php:5936
  •   No Null For Native PHP Functions
  •   strpos() Too Much
  •   Wrong Parameter Type
  •   Uses Default Values
  •   Wrong Type For Native PHP Function
  •   Could Make A Function
/src/Composer/Util/Platform.php:256
  •   Property Used In One Method Only
  •   Undefined Classes
  •   Wrong Type With Default
  •   Unfinished Object
  •   Property Could Be Local
  •   Same Name For Property And Method
/src/Composer/Util/Platform.php:276
  •   Property Used In One Method Only
  •   Undefined Classes
  •   Wrong Type With Default
  •   Unfinished Object
  •   Property Could Be Local
  •   Same Name For Property And Method
/src/Composer/Util/RemoteFilesystem.php:4226
  •   Unsupported Types With Operators
  •   No Null For Native PHP Functions
  •   Variable Is Not A Condition
  •   strpos() Too Much
  •   Uses Default Values
  •   Wrong Type For Native PHP Function