Skip to content

Commit

Permalink
Merge branch 'main' into tv-cleanup-7
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba authored Aug 22, 2023
2 parents d63127d + 1f62455 commit 85839dc
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 199 deletions.
1 change: 0 additions & 1 deletion config/code-complexity-rules.neon
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
rules:
- Symplify\PHPStanRules\Rules\Explicit\NoMixedPropertyFetcherRule
- Symplify\PHPStanRules\Rules\Explicit\NoMixedMethodCallerRule
- Symplify\PHPStanRules\Rules\Complexity\ForbiddenNamedArgumentsRule
- Symplify\PHPStanRules\Rules\PHPUnit\NoRightPHPUnitAssertScalarRule
- Symplify\PHPStanRules\Rules\Complexity\NoAbstractRule
- Symplify\PHPStanRules\Rules\Enum\RequireEnumDocBlockOnConstantListPassRule
Expand Down
24 changes: 1 addition & 23 deletions docs/rules_overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 66 Rules Overview
# 64 Rules Overview

## AnnotateRegexClassConstWithRegexLinkRule

Expand Down Expand Up @@ -494,28 +494,6 @@ interface SomeInterface

<br>

## ForbiddenNamedArgumentsRule

Named arguments do not add any value here. Use normal arguments in the same order

- class: [`Symplify\PHPStanRules\Rules\Complexity\ForbiddenNamedArgumentsRule`](../src/Rules/Complexity/ForbiddenNamedArgumentsRule.php)

```php
return strlen(string: 'name');
```

:x:

<br>

```php
return strlen('name');
```

:+1:

<br>

## ForbiddenNodeRule

"%s" is forbidden to use
Expand Down
67 changes: 0 additions & 67 deletions src/Rules/Complexity/ForbiddenNamedArgumentsRule.php

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 85839dc

Please sign in to comment.