#92405Sync phpstan rulesets of master and v10
Description
Since #91635 we have different rulesets for master and v10, which is bad.
Both branches should have the same rulesets as long as we backport phpstan patches.
At the very least v10 must not have rules that master does not have (which is currently the case)