Skip to content

Commit

Permalink
Fixes Typo in how_to_add_test_for_rector_rule.md (#2788)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvhirsch committed Aug 19, 2022
1 parent 7a609a6 commit 67b0d0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This rule's job is to add `final` to every class that has no children and is not

Usually, the Rector diff output is long and contains many other errors related to other rules. It's a mess; we can't use that for a test fixture. We need to find **1 responsible line**.

The best way is to copy the file to local code, e.g. `app/SomeFile.php` a put only the broken line there.
The best way is to copy the file to local code, e.g. `app/SomeFile.php` and put only the broken line there.

In our case, all we need is:

Expand Down

0 comments on commit 67b0d0b

Please sign in to comment.