Commit a638170
committed
PHPCS: silence deprecation notice for CS run
For the code in this repo, various rulesets from the WordPressCS project are used.
One of those ruleset includes a sniff - `Generic.Functions.CallTimePassByReference` - which is (hard) deprecated since PHPCS 3.13.0 and which is kind of redundant anyhow as:
1. The sniff is looking for a syntax which was removed from PHP in PHP 5.4.
2. The PHPCompatibility standard safeguards against re-introduction of the removed PHP syntax anyhow.
This will at some point need addressing in WordPressCS upstream, but for now, we can silence the deprecation notice by excluding the redundant sniff.1 parent ac9c5fc commit a638170
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments