Skip to content

Files

Latest commit

 

History

History
23 lines (14 loc) · 832 Bytes

PHPCompatibility.Extensions.RemovedExtensions.md

File metadata and controls

23 lines (14 loc) · 832 Bytes

Pattern: Use of deprecated extension

Issue: -

Description

Detects the use of deprecated and/or removed PHP extensions.

This sniff examines function calls made and flags function calls to functions prefixed with the dedicated prefix from a deprecated/removed native PHP extension.

Suggests alternative extensions if available.

As userland functions may be prefixed with a prefix also used by a native PHP extension, the sniff offers the ability to whitelist specific functions from being flagged by this sniff via a property in a custom ruleset (since PHPCompatibility 7.0.2).

PHP version All.

Further Reading