Last modified: 2014-02-24 11:20:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53908, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51908 - Jenkins should flag usage of deprecated features
Jenkins should flag usage of deprecated features
Status: NEW
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-23 20:09 UTC by Ori Livneh
Modified: 2014-02-24 11:20 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ori Livneh 2013-07-23 20:09:29 UTC
Jenkins should set $wgDevelopmentWarnings = true, and keep a count of E_USER_DEPRECATED errors in the PHP error log that are generated by the test suite. If a patch causes that number to go up, Jenkins should -1 it.
Comment 1 Antoine "hashar" Musso (WMF) 2014-02-24 11:20:47 UTC
Adding $wgDevelopmentWarnings = true was bug bug 38882, it was no more applied until I refactor the way we inject MediaWiki settings in build ( https://gerrit.wikimedia.org/r/#/c/89837/ ).

Long story short, the setting is enabled since roughly Oct 15 2013.

I am not sure whether a E_USER_DEPRECATED warning would throw an exception though.  Might want to write a test case and see what happens.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links