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.
Version: unspecified
Severity: enhancement
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.
Version: unspecified
Severity: enhancement
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Krinkle | T46633 PHP CodeSniffer sniff for php_sapi_name() | |||
Resolved | Dzahn | T50233 Upgrade PHP_CodeSniffer to 1.4.5 on gallium |
Change-Id: I371612b39ab3c8663bcf0071d1e09d9a69180ff2
...
+ <rule ref="Generic.PHP.SAPIUsage" />
Merged.