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