[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

Enable stricter phan checks in Translate
Open, MediumPublic

Description

To make phan stricter to catch more issues like T316575, also the Translate extension should disable the following phan config (which make phan stricter)

// These are too spammy for now. TODO enable
$cfg['null_casts_as_any_type'] = true;
$cfg['scalar_implicit_cast'] = true;

Event Timeline

Change 831567 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):

[mediawiki/extensions/Translate@master] Fix a few phan warnings

https://gerrit.wikimedia.org/r/831567

Change 831567 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Fix a few phan warnings

https://gerrit.wikimedia.org/r/831567

Change 908338 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/Translate@master] build: Disable phan option scalar_implicit_cast and make pass

https://gerrit.wikimedia.org/r/908338

Change 908338 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] build: Disable phan option scalar_implicit_cast and make pass

https://gerrit.wikimedia.org/r/908338

Change 914898 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/Translate@master] phan: Disable null_casts_as_any_type setting and make pass

https://gerrit.wikimedia.org/r/914898

Change 914898 abandoned by Umherirrender:

[mediawiki/extensions/Translate@master] phan: Disable null_casts_as_any_type setting and make pass

Reason:

Repo under refactoring, big patch set like this are hard to keep up to date

https://gerrit.wikimedia.org/r/914898

Nikerabbit subscribed.

Removing from sprint board as there is nothing to review currently.