Skip to content

Allow to target multiple languages#40

Merged
JonPurvis merged 3 commits intopestphp:masterfrom
faissaloux:check-multiple-languages
Feb 22, 2025
Merged

Allow to target multiple languages#40
JonPurvis merged 3 commits intopestphp:masterfrom
faissaloux:check-multiple-languages

Conversation

@faissaloux
Copy link
Copy Markdown
Contributor

In this PR I allow to specify multiple languages to check.

expect('file')->toHaveNoProfanity(language: ['en', 'ar']);

This will check for english and arabic profanities.

@faissaloux faissaloux changed the title Allow to check multiple languages Allow to target multiple languages Feb 21, 2025
@JonPurvis
Copy link
Copy Markdown
Collaborator

Great change @faissaloux

@JonPurvis JonPurvis merged commit 06b63cb into pestphp:master Feb 22, 2025
@faissaloux faissaloux deleted the check-multiple-languages branch February 22, 2025 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants