pe 28. lokak. 2022 klo 17.04 Lucas Werkmeister (lucas.werkmeister@wikimedia.de) kirjoitti:
In my opinion, MediaWiki’s PHPCS ruleset feels largely rooted in an older version of PHP, where static type declarations (formerly known as “type hints”) did not exist. As we move towards more modern code, I think some rules should be relaxed, and others adjusted. More specifically, I’d like to know if most people agree with the following propositions and conclusion:

I support relaxing the phpcs rules by default. We have already disabled some of these rules for new code in the Translate extension (ref) with the same reasoning you gave.

  -Niklas