Skip to content

Commit

Permalink
readme updates to mention multiple languages (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonPurvis authored Aug 17, 2024
1 parent eda1382 commit ad1d07f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ at tests/Fixtures/HasProfanityInComment.php:10
Duration: 0.06s
```

## Languages
Another benefit of Profanify is that it supports multiple languages, not just English. Each language has its own configuration file but every language is checked whenever a test that uses the package is run.

## Contributing
Contributions to the package are more than welcome as there's bound to be extra words that need adding. Feel free to
submit a Pull Request with any additions. If you have any issues using the package, then please open an Issue.
Expand Down
2 changes: 1 addition & 1 deletion src/Config/profanities/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

// SHOULD ALL WORDS BE lowercase!
// Please ensure all words in this file are lowercase

return [
'69',
Expand Down
2 changes: 1 addition & 1 deletion src/Config/profanities/it.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

// SHOULD ALL WORDS BE lowercase!
// Please ensure all words in this file are lowercase

return [
'cazzo',
Expand Down
2 changes: 1 addition & 1 deletion src/Config/tolerated.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

// SHOULD ALL WORDS BE lowercase!
// Please ensure all words in this file are lowercase

return [
'class',
Expand Down

0 comments on commit ad1d07f

Please sign in to comment.