executed scheduled task
nightly-build-3-x
Pipeline stages
6 stagesConsole Logs
1+ ./vendor/bin/phpstan
1s2Note: Using configuration file /drone/src/phpstan.neon.
2s3 0/3 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% 3/3 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
6s4
6s5 ------ ----------------------------------------------------------------------
6s6 Line ArrayHelper.php
6s7 ------ ----------------------------------------------------------------------
6s8 42 Call to function is_array() with array will always evaluate to true.
6s9 🪪 function.alreadyNarrowedType
6s10 💡 Because the type is coming from a PHPDoc, you can turn off this
6s11 check by setting treatPhpDocTypesAsCertain: false in your
6s12 phpstan.neon.
6s13 46 Unreachable statement - code above always terminates.
6s14 🪪 deadCode.unreachable
6s15 128 Call to function is_array() with *NEVER* will always evaluate to
6s16 true.
6s17 🪪 function.alreadyNarrowedType
6s18 💡 Because the type is coming from a PHPDoc, you can turn off this
6s19 check by setting treatPhpDocTypesAsCertain: false in your
6s20 phpstan.neon.
6s21 128 Call to function is_object() with object will always evaluate to
6s22 true.
6s23 🪪 function.alreadyNarrowedType
6s24 💡 Because the type is coming from a PHPDoc, you can turn off this
6s25 check by setting treatPhpDocTypesAsCertain: false in your
6s26 phpstan.neon.
6s27 128 Result of || is always true.
6s28 🪪 booleanOr.alwaysTrue
6s29 💡 Because the type is coming from a PHPDoc, you can turn off this
6s30 check by setting treatPhpDocTypesAsCertain: false in your
6s31 phpstan.neon.
6s32 132 Unreachable statement - code above always terminates.
6s33 🪪 deadCode.unreachable
6s34 174 Method Joomla\Utilities\ArrayHelper::arrayFromObject() should return
6s35 array but returns mixed.
6s36 🪪 return.type
6s37 💡 Type array<mixed, mixed>|object has already been eliminated from
6s38 mixed.
6s39 210 Variable $colName in isset() always exists and is not nullable.
6s40 🪪 isset.variable
6s41 214 Variable $colName in isset() always exists and is not nullable.
6s42 🪪 isset.variable
6s43 277 Strict comparison using === between string and null will always
6s44 evaluate to false.
6s45 🪪 identical.alwaysFalse
6s46 💡 Because the type is coming from a PHPDoc, you can turn off this
6s47 check by setting treatPhpDocTypesAsCertain: false in your
6s48 phpstan.neon.
6s49 314 Instanceof between ArrayAccess and ArrayAccess will always evaluate
6s50 to true.
6s51 🪪 instanceof.alwaysTrue
6s52 💡 Because the type is coming from a PHPDoc, you can turn off this
6s53 check by setting treatPhpDocTypesAsCertain: false in your
6s54 phpstan.neon.
6s55 314 Result of && is always false.
6s56 🪪 booleanAnd.alwaysFalse
6s57 💡 Because the type is coming from a PHPDoc, you can turn off this
6s58 check by setting treatPhpDocTypesAsCertain: false in your
6s59 phpstan.neon.
6s60 443 Call to function is_array() with array will always evaluate to true.
6s61 🪪 function.alreadyNarrowedType
6s62 💡 Because the type is coming from a PHPDoc, you can turn off this
6s63 check by setting treatPhpDocTypesAsCertain: false in your
6s64 phpstan.neon.
6s65 561 Variable $caseSensitive might not be defined.
6s66 🪪 variable.undefined
6s67 562 Variable $locale might not be defined.
6s68 🪪 variable.undefined
6s69 564 Variable $locale might not be defined.
6s70 🪪 variable.undefined
6s71 568 Variable $direction might not be defined.
6s72 🪪 variable.undefined
6s73 572 Variable $direction might not be defined.
6s74 🪪 variable.undefined
6s75 675 Call to function is_array() with array will always evaluate to true.
6s76 🪪 function.alreadyNarrowedType
6s77 💡 Because the type is coming from a PHPDoc, you can turn off this
6s78 check by setting treatPhpDocTypesAsCertain: false in your
6s79 phpstan.neon.
6s80 ------ ----------------------------------------------------------------------
6s81
6s82 ------ ------------------------------------------------------------------
6s83 Line IpHelper.php
6s84 ------ ------------------------------------------------------------------
6s85 232 Parameter #3 $length of function substr expects int|null,
6s86 float|string given.
6s87 🪪 argument.type
6s88 233 Parameter #3 $length of function substr expects int|null,
6s89 float|string given.
6s90 🪪 argument.type
6s91 295 Variable $netmask might not be defined.
6s92 🪪 variable.undefined
6s93 307 Ternary operator condition is always false.
6s94 🪪 ternary.alwaysFalse
6s95 311 Parameter #3 $length of function substr expects int|null, float
6s96 given.
6s97 🪪 argument.type
6s98 312 Parameter #3 $length of function substr expects int|null, float
6s99 given.
6s100 🪪 argument.type
6s101 419 Variable $_SERVER in isset() always exists and is not nullable.
6s102 🪪 isset.variable
6s103 509 Parameter #3 $length of function substr expects int|null, string
6s104 given.
6s105 🪪 argument.type
6s106 510 Parameter #3 $length of function substr expects int|null, string
6s107 given.
6s108 🪪 argument.type
6s109 ------ ------------------------------------------------------------------
6s110
6s111 [ERROR] Found 28 errors
6s112
6s