- use the standard Wikibase rules (see .phpcs.xml at wikibase root)
- add a sniff to require setting strict_types=1 in the new rest-api directory
- add a sniff to require type hints on all methods
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
REST: extend Wikibase PHPCS config in rest-api dir | mediawiki/extensions/Wikibase | master | +19 -1 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | WMDE-leszek | T302268 🟦 Initial set up of the boiler plate Wikibase REST API | |||
Resolved | Jakob_WMDE | T302303 🟦 Enable linting for php code |
Event Timeline
Comment Actions
Change 765251 had a related patch set uploaded (by Jakob; author: Jakob):
[mediawiki/extensions/Wikibase@master] REST: extend Wikibase PHPCS config in rest-api dir
Comment Actions
Change 765251 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: extend Wikibase PHPCS config in rest-api dir