Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

lint/style/no-alias-function

In the coding-style set. Unsafe fix: it can change behaviour.

What it does

Master functions shall be used instead of aliases.

Configuration

[lint.rules]
"style/no-alias-function" = "error"

To skip it in some files, add an override or a @pun-ignore-file comment.

Options

Name Type Allowed values Default Upstream name
sets list @all, @exif, @ftp, @IMAP, @internal, @ldap, @mbreg, @mysqli, @oci, @odbc, @openssl, @pcntl, @pg, @posix, @snmp, @sodium, @time ["@internal", "@IMAP", "@pg"] sets

Replaces

More lint/style rules · Edit this page

Last updated on

Was this page helpful?