Profanify is in Pest V4

Share
Profanify is in Pest V4
Photo by Meriç Dağlı / Unsplash

I'm super proud to announce that Profanify, my Profanity checker for PestPHP, has been added to the core of PestPHP for V4!

This isn't something I ever planned on happening, but back in April I got a DM fron Nuno Maduro on Twitter, which then turned into a discord conversation where he asked what I thought about adding my plugin into Pest v4, so it was included by default.

I jumped at the opportunity and it actually prompted me to rewrite the plugin how I always wanted it to work, in that it wasn't an Expectation test, it was a CLI flag, so it now works like this:

./vendor/bin/pest --profanity

Of course, you can still include certain words or exclude certain words etc. but it definitely works a lot nicer now and it's consistent with other plugins for PestPHP.

I have marked jonpurvis/profanify as abandoned, so if you were using that, you should swap it to pestphp/pest-plugin-profanity. Much like before, contributions are still open and I'll still be maintaining it, but it now lives under the PestPHP umbrella.