Skip to content

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
JonPurvis committed Oct 18, 2024
1 parent 4c8c6a2 commit 2f5e5b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Config/tolerated.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@
'assign',
'pass',
'analytics',
'password'
];
2 changes: 2 additions & 0 deletions src/Expectations/Profanity.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ function (ObjectDescription $object) use (&$foundWords, $excluding, $including,

$words = array_diff($words, $excluding);

dd($words);

$fileContents = (string) file_get_contents($object->path);

foreach ($toleratedWords as $toleratedWord) {
Expand Down

0 comments on commit 2f5e5b8

Please sign in to comment.