Skip to content

Commit

Permalink
add assign to tolerated words
Browse files Browse the repository at this point in the history
  • Loading branch information
JonPurvis committed Aug 7, 2024
1 parent 4fd06c9 commit 94347bd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Expectations/Profanity.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ function (ObjectDescription $object) use (&$foundWords, $excluding, $including):

$foundWords = array_filter($words, fn ($word): bool => preg_match('/'.preg_quote($word, '/').'/i', $fileContents) === 1);

dd($foundWords);

return $foundWords === [];
},
'to not use profanity',
Expand Down

0 comments on commit 94347bd

Please sign in to comment.