Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291783

[meta] Resolve issues exposed by PHPStan Strict with all rules off (misc and core configuration changes)

$
0
0

Problem/Motivation

Including PHPStan Strict as an evaluation dependency has exposed a few issues with code that deserve fixes.

Rather than go through the process of including strict, lets resolve these obvious problems.

Solving these issues before strict is added also allows us to not add items to the baseline.

--

The child issues: fix a bunch of errors reported by PHPStan Strict with all rules disabled, i.e, the "miscellaneous" errors before we can consider introducing strict. Most of the things identified will be easy/sane DX things.


Viewing all articles
Browse latest Browse all 291783

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>