Commit Graph

12 Commits

Author SHA1 Message Date
Steve Boyd
f194344efe MNT Explicitly test with default_spam_protector set to null 2023-01-18 15:52:48 +13:00
Sabina Talipova
2a55708ae8 FIX Check value is not NULL 2023-01-17 08:30:17 +13:00
Steve Boyd
46169f71a0 API phpunit 9 support 2021-10-27 18:14:42 +13:00
Robbie Averill
c5f0827c2e Add namespaces, separate test classes, add PSR-4 autoloader, update PSR-2 compliance 2017-08-28 13:19:03 +12:00
Robbie Averill
5f8d2af0d1 Merge branch '2' 2017-08-28 11:20:58 +12:00
James Ellis
ef3e6d45b6 Configurable fieldname (#56)
* Allow for a configurable field name

* Add a test for configurable field name

* Remove extra conditional by storing the field name in a private static

* No need for field_name config removal as it's now specified as a class property
2017-08-24 11:16:19 +01:00
Robbie Averill
5cc9312a8d Move stub classes to their own files, run PSR-2 linter 2017-07-07 14:23:01 +12:00
helpfulrobot
7ee2dcea0f Converted to PSR-2 2015-11-21 19:15:15 +13:00
Damian Mooyman
c7b211e585 BUG Fix travis / unit tests 2015-03-25 08:53:17 +13:00
Damian Mooyman
007a52eb0c API Re-introduced ability to insert spam field before another existing field 2014-03-07 17:03:08 +13:00
Damian Mooyman
c050dcc05a API Refactor field mapping from FormSpamProtectionExtension into SpamProtector
API EditableSpamProtectionField may now be configured for spam on an individual field basis
Translations added
2014-02-19 08:40:07 +13:00
Will Rossiter
03ebf8e19a Add basic tests 2014-02-10 20:54:13 +13:00