Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/linter/src/rule/consistency/class_name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub struct ClassNameConfig {

impl Default for ClassNameConfig {
fn default() -> Self {
Self { level: Level::Help, psr: true }
Self { level: Level::Help, psr: false }
}
}

Expand Down
2 changes: 1 addition & 1 deletion crates/linter/src/rule/consistency/interface_name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub struct InterfaceNameConfig {

impl Default for InterfaceNameConfig {
fn default() -> Self {
Self { level: Level::Help, psr: true }
Self { level: Level::Help, psr: false }
}
}

Expand Down
2 changes: 1 addition & 1 deletion crates/linter/src/rule/consistency/trait_name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub struct TraitNameConfig {

impl Default for TraitNameConfig {
fn default() -> Self {
Self { level: Level::Help, psr: true }
Self { level: Level::Help, psr: false }
}
}

Expand Down
7 changes: 3 additions & 4 deletions docs/tools/linter/rules/consistency.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ Class names should be in class case, also known as PascalCase.
| :--- | :--- | :--- |
| `enabled` | `boolean` | `true` |
| `level` | `string` | `"help"` |
| `psr` | `boolean` | `true` |
| `psr` | `boolean` | `false` |

### Examples

Expand Down Expand Up @@ -433,7 +433,7 @@ Interface names should be in class case and suffixed with `Interface`, depending
| :--- | :--- | :--- |
| `enabled` | `boolean` | `true` |
| `level` | `string` | `"help"` |
| `psr` | `boolean` | `true` |
| `psr` | `boolean` | `false` |

### Examples

Expand Down Expand Up @@ -731,7 +731,7 @@ Trait names should be in class case and suffixed with `Trait`, depending on the
| :--- | :--- | :--- |
| `enabled` | `boolean` | `true` |
| `level` | `string` | `"help"` |
| `psr` | `boolean` | `true` |
| `psr` | `boolean` | `false` |

### Examples

Expand Down Expand Up @@ -795,4 +795,3 @@ $My_Variable = 2;

function foo($MyParam) {}
```

Loading