refactor(console): register commands by state and simplify CLI command-loading #69754
static-code-analysis.yml
on: pull_request
static-code-analysis
3m 22s
static-code-analysis-security
7m 38s
static-code-analysis-ocp
1m 10s
static-code-analysis-ncu
33s
Annotations
14 errors
|
TypeDoesNotContainType:
lib/private/Console/Application.php#L99
lib/private/Console/Application.php:99:13: TypeDoesNotContainType: Type false for $maintenance is always !falsy (see https://psalm.dev/056)
|
|
TypeDoesNotContainType:
lib/private/Console/Application.php#L99
lib/private/Console/Application.php:99:13: TypeDoesNotContainType: Operand of type false is always falsy (see https://psalm.dev/056)
|
|
TypeDoesNotContainType:
lib/private/Console/Application.php#L97
lib/private/Console/Application.php:97:14: TypeDoesNotContainType: Type true for $installed is never falsy (see https://psalm.dev/056)
|
|
TypeDoesNotContainType:
lib/private/Console/Application.php#L97
lib/private/Console/Application.php:97:13: TypeDoesNotContainType: Operand of type false is always falsy (see https://psalm.dev/056)
|
|
TypeDoesNotContainType:
lib/private/Console/Application.php#L95
lib/private/Console/Application.php:95:7: TypeDoesNotContainType: Type false for $needUpgrade is always !falsy (see https://psalm.dev/056)
|
|
TypeDoesNotContainType:
lib/private/Console/Application.php#L95
lib/private/Console/Application.php:95:7: TypeDoesNotContainType: Operand of type false is always falsy (see https://psalm.dev/056)
|
|
RedundantCast:
lib/private/Console/Application.php#L71
lib/private/Console/Application.php:71:12: RedundantCast: Redundant cast to bool (see https://psalm.dev/262)
|
|
RedundantCast:
lib/private/Console/Application.php#L65
lib/private/Console/Application.php:65:18: RedundantCast: Redundant cast to bool (see https://psalm.dev/262)
|
|
RedundantCast:
lib/private/Console/Application.php#L64
lib/private/Console/Application.php:64:18: RedundantCast: Redundant cast to bool (see https://psalm.dev/262)
|
|
RedundantCast:
lib/private/Console/Application.php#L63
lib/private/Console/Application.php:63:16: RedundantCast: Redundant cast to bool (see https://psalm.dev/262)
|
|
TaintedCallable:
lib/private/ServerContainer.php#L89
lib/private/ServerContainer.php:89:17: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
|
|
TaintedHtml:
lib/private/Mail/Mailer.php#L227
lib/private/Mail/Mailer.php:227:72: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
|
|
TaintedHtml:
lib/private/Mail/Mailer.php#L207
lib/private/Mail/Mailer.php:207:83: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
|
|
TaintedCallable:
lib/private/AppFramework/Utility/SimpleContainer.php#L129
lib/private/AppFramework/Utility/SimpleContainer.php:129:33: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
|