/src/Composer/Command/CreateProjectCommand.php:180 | 29 | - 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:339 | 26 | - 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:544 | 15 | - 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:284 | 14 | - 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:302 | 14 | - 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:191 | 13 | - 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:46 | 13 | - 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:299 | 12 | - 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:90 | 12 | - 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:125 | 12 | - 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:402 | 11 | - 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:572 | 11 | - 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:585 | 11 | - 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:33 | 11 | - 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:275 | 11 | - 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:150 | 10 | - 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:42 | 10 | - 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:43 | 10 | - 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:109 | 10 | - 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:1458 | 10 | - 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:48 | 10 | - 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:102 | 10 | - 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:176 | 9 | - 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:63 | 9 | - 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:55 | 9 | - 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:358 | 9 | - 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:526 | 9 | - 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:167 | 9 | - 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:444 | 9 | - 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:72 | 9 | - 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:59 | 8 | - 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:112 | 8 | - 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:55 | 8 | - 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:122 | 8 | - 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:78 | 8 | - 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:164 | 8 | - 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:263 | 8 | - 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:78 | 8 | - 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:86 | 8 | - 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:102 | 8 | - 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:110 | 8 | - 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:74 | 8 | - 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:89 | 8 | - 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:221 | 8 | - 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:396 | 8 | - 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:195 | 8 | - 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:73 | 8 | - 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:516 | 8 | - 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:320 | 7 | - 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:936 | 7 | - 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:75 | 7 | - Double Checks
- Merge If Then
- Check JSON
- Buried Assignation
- Uses Default Values
- Could Make A Function
|
/src/Composer/Command/PackageDiscoveryTrait.php:277 | 7 | - 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:722 | 7 | - 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:725 | 7 | - 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:734 | 7 | - 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:736 | 7 | - 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:194 | 7 | - 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:373 | 7 | - 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:347 | 7 | - 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:416 | 7 | - 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:186 | 7 | - 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:194 | 7 | - 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:79 | 7 | - 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:86 | 7 | - 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:101 | 7 | - 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:267 | 7 | - 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:62 | 7 | - 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:308 | 7 | - Bail Out Early
- Used Once Variables (In Scope)
- Buried Assignation
- Uses Default Values
- Weak Type With Array
- Iffectations
|
/src/Composer/Repository/ComposerRepository.php:292 | 7 | - 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:221 | 7 | - 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:215 | 7 | - 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:25 | 7 | - 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:25 | 7 | - 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:76 | 7 | - 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:173 | 6 | - 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:956 | 6 | - 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:429 | 6 | - No Null For Native PHP Functions
- Wrong Parameter Type
- Useless Parenthesis
- Buried Assignation
- Wrong Type For Native PHP Function
- Iffectations
|
/src/Composer/Config.php:423 | 6 | - Useless Parenthesis
- Buried Assignation
- Uses Default Values
- Weak Type With Array
- Iffectations
- Strict Comparison With Booleans
|
/src/Composer/Config/JsonConfigSource.php:292 | 6 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- No Return Used
- Method Could Be Static
|
/src/Composer/DependencyResolver/Operation/UninstallOperation.php:52 | 6 | - 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:71 | 6 | - 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:202 | 6 | - Should Use Local Class
- Insufficient Typehint
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Method Could Be Static
|
/src/Composer/IO/NullIO.php:65 | 6 | - 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:117 | 6 | - 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:94 | 6 | - 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:63 | 6 | - Assumptions
- Too Many Local Variables
- Max Level Of Nesting
- Use ::Class Operator
- Could Inject Parameter
- Never Called Parameter
|
/src/Composer/Package/Version/VersionBumper.php:45 | 6 | - 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:239 | 6 | - 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:190 | 6 | - Bail Out Early
- Nested Ifthen
- Unresolved Classes
- Uses Default Values
- Undefined Classes
- Strict Comparison With Booleans
|
/src/Composer/Repository/PlatformRepository.php:729 | 6 | - Constant Used Only Once
- Buried Assignation
- Undefined Variable
- Undefined Classes
- Useless Instructions
- Could Use self
|
/src/Composer/Repository/RepositoryFactory.php:56 | 6 | - 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:161 | 6 | - 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:327 | 6 | - 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:593 | 6 | - 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:25 | 6 | - 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:27 | 6 | - 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:422 | 6 | - 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
|