https://github.com/jdgrimes/wp-deprecated-code-scanner
Scans for all deprecated functions in a codebase; scans for the functions themselves, *not* usages
https://github.com/jdgrimes/wp-deprecated-code-scanner
code-scanning codesniffer wordpress
Last synced: 12 days ago
JSON representation
Scans for all deprecated functions in a codebase; scans for the functions themselves, *not* usages
- Host: GitHub
- URL: https://github.com/jdgrimes/wp-deprecated-code-scanner
- Owner: JDGrimes
- License: mit
- Created: 2017-06-17T19:54:23.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-12-17T17:55:32.000Z (over 7 years ago)
- Last Synced: 2025-02-28T13:23:13.609Z (about 1 year ago)
- Topics: code-scanning, codesniffer, wordpress
- Language: PHP
- Size: 21.5 KB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WP Deprecated Code Scanner [](https://travis-ci.org/JDGrimes/wp-deprecated-code-scanner)
Scans for all deprecated functions in a WordPress plugin, theme, or WordPress core.
Note that it scans for the functions themselves, *not* usages.
## Requirements
- PHP 5.5+
## Usage
```bash
wpdcs run /path/to/scan
```
Example output:
```markdown
## 1.2.3
- `A::b()`
## 4.5
- `c()` (use `d()` instead)
## 4.8.0
- `a()`
```