msurguy / Honeypot

Simple spam prevention package for Laravel applications
maxoffsky.com/code-blog/implementing-honeypot-spam-prevention-in-laravel-applications/
MIT License
429 stars 44 forks source link

Make truly PHP 5.3 compatible. #3

Closed dalabarge closed 10 years ago

dalabarge commented 10 years ago

Use of PHP 5.4's array shorthand makes the composer.json requirement an issue. Everyone should be using at least 5.4 but there's nothing in here that couldn't work on 5.3 so this makes it work like it should on legacy versions.