Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidanio committed Aug 27, 2024
1 parent 03918eb commit cad6e52
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 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 |
| ------------ | ------------------------- | -------------------------- | ------------------ |
| 103 | 85 | 18 | 13 |
| 104 | 86 | 18 | 14 |

## Table of contents
- Enabled by default
Expand Down Expand Up @@ -58,6 +58,7 @@
- [`nameMismatch` checker](#namemismatch-checker)
- [`nestedTernary` checker](#nestedternary-checker)
- [`newAbstract` checker](#newabstract-checker)
- [`notExplicitNullableParam` checker (autofixable)](#notExplicitNullableParam-checker)
- [`nonPublicInterfaceMember` checker](#nonpublicinterfacemember-checker)
- [`offBy1` checker (autofixable)](#offby1-checker)
- [`oldStyleConstructor` checker](#oldstyleconstructor-checker)
Expand Down Expand Up @@ -114,6 +115,7 @@
- [`voidResultUsed` checker](#voidresultused-checker)
## Enabled


### `accessLevel` checker

#### Description
Expand Down Expand Up @@ -1148,6 +1150,26 @@ return new NonAbstractFactory();
<p><br></p>


### `notExplicitNullableParam` checker

> Auto fix available
#### Description

Report not nullable param can be null.

#### Non-compliant code:
```php
function f(string $str = null);
```

#### Compliant code:
```php
function f(?string $str = null);
```
<p><br></p>


### `nonPublicInterfaceMember` checker

#### Description
Expand Down

0 comments on commit cad6e52

Please sign in to comment.