Last modified: 2013-05-08 21:41:06 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 T46633, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44633 - PHP CodeSniffer sniff for php_sapi_name()
PHP CodeSniffer sniff for php_sapi_name()
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Krinkle
:
Depends on: 48233
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-04 08:17 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-05-08 21:41 UTC (History)
4 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2013-02-04 08:17:44 UTC
bug 37957 is about replacing php_sapi_name() calls by PHP_SAPI. We could use a Sniff in PHP CodeSniffer that would detect such call and propose a replacement.
Comment 1 Antoine "hashar" Musso (WMF) 2013-03-20 12:09:36 UTC
Upstream bug report to PHP_CodeSniffer is https://pear.php.net/bugs/bug.php?id=19863
Comment 2 Krinkle 2013-05-07 22:10:53 UTC
> Change-Id: I371612b39ab3c8663bcf0071d1e09d9a69180ff2
>
> ...
> + 	<rule ref="Generic.PHP.SAPIUsage" />

Merged.

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


Navigation
Links