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