Releases: developerdino/ProfanityFilter
v1.3.0
v1.2.4
Minor Release
Removed mick from the list of profanities as it causes the nick name of Mick short for Michael to be seen as a profanity.
v1.2.3
Minor release
Removed ho from profanities list as it is too aggressive - i.e. Anthony would be a profanity.
Removed ard from profanities as it is too aggressive - i.e. Millard would be a profanity.
v1.2.2
Added PHP version 5.6 to travis test suite.
Removed hell from list of profanities as it is not a swear word.
Added tests for clean and dirty words with spaces between letters.
v1.2.1
Fixed issue with short array syntax and PHP 5.3.
v1.2.0
Fixed: Issue where regular expression was returning false positive on profanities ending in 2 letters of the same e.g. ass would see as as a profanity.
Updated regular expression to be lazy so it checks as many characters as possible.
Refactored Check class to make it easier to follow flow.
Renamed config file from badwords.php to profanities.php.
Added spec methods to test ass, as strings.
Note: This release is broken in PHP 5.3 due to short array syntax being used. Fixed in v1.2.1
v1.1.0
Minor package update which adds:
- Simple obfuscation if a string is checked as having profanity.
- Added close to 400 extra profanities to check against.
v1.0.0
Package to add profanity checking to your projects.