Skip to content

Commit

Permalink
Merge pull request #71 from worksome/JIRA-13744_standardize-not-equals
Browse files Browse the repository at this point in the history
feat(ecs): JIRA-13744 Add `standardize_not_equals`
  • Loading branch information
owenvoke authored Oct 14, 2024
2 parents e99db47 + 82c9d66 commit 074e62e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ The Worksome code style extends the [PSR-12 base rule set](https://php-fig.org/p
- [`SingleQuoteFixer`](https://cs.symfony.com/doc/rules/string_notation/single_quote.html)
- [`SingleTraitInsertPerStatementFixer`](https://cs.symfony.com/doc/rules/class_notation/single_trait_insert_per_statement.html)
- [`ShortScalarCastFixer`](https://cs.symfony.com/doc/rules/cast_notation/short_scalar_cast.html)
- [`StandardizeNotEqualsFixer`](https://cs.symfony.com/doc/rules/operator/standardize_not_equals.html)
- [`NoEmptyStatementFixer`](https://cs.symfony.com/doc/rules/semicolon/no_empty_statement.html)
- [`NoUnneededImportAliasFixer`](https://cs.symfony.com/doc/rules/import/no_unneeded_import_alias.html)
- [`NoUnusedImportsFixer`](https://cs.symfony.com/doc/rules/import/no_unused_imports.html)
Expand Down
2 changes: 2 additions & 0 deletions src/WorksomeEcsConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
use PhpCsFixer\Fixer\ListNotation\ListSyntaxFixer;
use PhpCsFixer\Fixer\Operator\BinaryOperatorSpacesFixer;
use PhpCsFixer\Fixer\Operator\OperatorLinebreakFixer;
use PhpCsFixer\Fixer\Operator\StandardizeNotEqualsFixer;
use PhpCsFixer\Fixer\Operator\UnaryOperatorSpacesFixer;
use PhpCsFixer\Fixer\Phpdoc\NoEmptyPhpdocFixer;
use PhpCsFixer\Fixer\Phpdoc\PhpdocAlignFixer;
Expand Down Expand Up @@ -211,6 +212,7 @@ public static function setup(ECSConfig $ecsConfig): void
ClassAttributesSeparationFixer::class,
PhpdocNoUselessInheritdocFixer::class,
PhpdocTrimFixer::class,
StandardizeNotEqualsFixer::class,
]);
}

Expand Down

0 comments on commit 074e62e

Please sign in to comment.