Issue Task Resolved

#111465Raise phpstan/phpstan to ^2.3.6 on 13.4

Oliver Bartsch 11/16/26, 10:36 updated 11/16/26, 13:05

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

  1. Oliver Bartsch commented and changed status Under Review Resolved done 0 % 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.