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