HomePhabricator

Use MediaWiki\SuppressWarnings around trigger_error('') instead @

Description

Use MediaWiki\SuppressWarnings around trigger_error('') instead @

The @ sign requires @codingStandardsIgnoreLine Generic.PHP.NoSilencedErrors.Discouraged

\MediaWiki\suppressWarnings() doesn't need a @codingStandardsIgnoreLine.

Bug: T191247
Change-Id: I8ce2a49c9327a452cf5fa64f96c7cde55702bf28

Details

Provenance
MarkAHershbergerAuthored on Apr 2 2018, 10:35 PM
Parents
rELUAdabecf25df2a: SECURITY: Reduce precision on os.clock() to mitigate timing attacks
Branches
Unknown
Tags
Unknown
References
REL1_27
ChangeId
I8ce2a49c9327a452cf5fa64f96c7cde55702bf28