#111465Raise phpstan/phpstan to ^2.3.6 on 13.4
Description
The 13.4 nightly fails in the phpstan job after composerInstallMax installs phpstan/phpstan 2.3.6. It reports two errors in EXT:reports ConfigurationStatus (lines 168 and 175, identifiers notEqual.alwaysTrue and empty.variable).
phpstan now takes the return type of memcache_connect from the phpstorm-stubs, which declare it as Memcache only, although the function returns false when the connection fails. The code is correct; the second error follows from the first.
main and 14.3 are not affected because they disable treatPhpDocTypesAsCertain globally. 13.4 only disables it for one custom rule.
Raise phpstan/phpstan to 2.3.6 on 13.4 and add both findings to the baseline.
Reviews 1
History 12
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 97691 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-16T11:52:04+00:00" > 11/16/26, 11:52 </span> -
Oliver Bartsch commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-16T13:05:16+00:00" > 11/16/26, 13:05 </span>
Applied in changeset commit:deb4b98eed42e890ce4e1b870e72de14df267270.