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