Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidanio committed Dec 11, 2024
1 parent 98d109d commit 8ddd6cf
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
23 changes: 22 additions & 1 deletion docs/checkers_doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

| Total checks | Checks enabled by default | Disabled checks by default | Autofixable checks |
| ------------ | ------------------------- | -------------------------- | ------------------ |
| 105 | 87 | 18 | 14 |
| 106 | 88 | 18 | 15 |

## Table of contents
- Enabled by default
Expand Down Expand Up @@ -64,6 +64,7 @@
- [`oldStyleConstructor` checker](#oldstyleconstructor-checker)
- [`paramClobber` checker](#paramclobber-checker)
- [`parentConstructor` checker](#parentconstructor-checker)
- [`phpAliases` checker (autofixable)](#phpaliases-checker)
- [`precedence` checker](#precedence-checker)
- [`printf` checker](#printf-checker)
- [`redundantGlobal` checker](#redundantglobal-checker)
Expand Down Expand Up @@ -1294,6 +1295,26 @@ class Foo extends Bar {
<p><br></p>


### `phpAliases` checker

> Auto fix available
#### Description

Report php aliases functions.

#### Non-compliant code:
```php
join("", []);
```

#### Compliant code:
```php
implode("", []);
```
<p><br></p>


### `precedence` checker

#### Description
Expand Down
9 changes: 0 additions & 9 deletions src/tests/golden/testdata/quickfix/phpAliases.php.fix

This file was deleted.

0 comments on commit 8ddd6cf

Please sign in to comment.