Commit graph

28 commits

Author SHA1 Message Date
Oliver Davies 9202b6a044 Update to PHP 8.1 2023-12-13 07:02:16 +00:00
Oliver Davies 8b38214205 Add a filter() helper method
Add a namespaced `filter()` method that can be imported via `use
function` and use it as an alternative for `new Filter` or
`Filter::create()`.

This provides a cleaner, easier to read syntax - particularly if you
have a lot of filters in the same file.

(cherry picked from commit 330d6f9393)
2020-07-11 01:26:38 +01:00
dependabot-preview[bot] 8038cf5f63
Update phpunit/phpunit requirement from ^5.7 to ^5.7 || ^7.0
Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-7.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/5.7.0...7.5.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 09:27:00 +00:00
Oliver Davies b359d02f4f Run phpunit and php-cs-fixer 2019-05-03 23:47:20 +01:00
Oliver Davies e863de7133 Add lint script 2019-04-18 21:12:34 +01:00
Oliver Davies ec3ecb685c
Update email address 2019-04-10 23:38:43 +01:00
Oliver Davies 5c9abeb3b9 PHP 7 only 2018-12-27 22:10:44 +00:00
Oliver Davies 5fb73bd449 Simplify test command 2018-08-01 00:13:25 +01:00
Oliver Davies 5eedcbb99e Use travis 2018-03-20 20:29:21 +00:00
Oliver Davies 7adc3bd18d Add composer test script 2018-03-20 20:27:22 +00:00
Oliver Davies 215dd5525e Include generate-filters.php 2018-02-13 02:34:55 +00:00
Oliver Davies bc3dae9c48 Start using Symfony Components 2018-01-10 23:59:58 +00:00
Oliver Davies 0c8e9835f2 Update branch alias 2018-01-04 22:35:57 +00:00
Oliver Davies 3fe899f3a3 Add generate-filters 2018-01-04 13:03:21 +00:00
Oliver Davies 91b9374160
Fix branch alias 2017-12-30 11:11:18 +00:00
Oliver Davies d699bfe7f0 Add branch alias 2017-12-30 11:00:59 +00:00
Oliver Davies d5ab91d5cb Update email address 2017-12-30 10:59:10 +00:00
Oliver Davies 0594f9f0de Refactor, allow chaining methods 2017-11-03 23:48:34 +00:00
Oliver Davies 792bfda017 Add basic methods 2017-11-03 23:48:19 +00:00
Oliver Davies c5b260f298 Initial setup 2017-11-03 11:18:08 +00:00
Oliver Davies e0751b7ed6 Rename and re-organise classes, add namespaces 2016-12-05 01:10:21 +00:00
Oliver Davies adb25de859 Require phpunit 2016-10-12 21:44:39 +01:00
Oliver Davies 768852d027 Update branch alias 2016-09-30 13:08:10 +01:00
Oliver Davies 2b410128c1 Add dev-master alias 2016-09-16 00:40:09 +01:00
Oliver Davies 408c765691 Update opdavies/twig-extensions 2016-09-16 00:39:08 +01:00
Oliver Davies bfc4d44751 Add twig-extensions and use TwigBooleanStringExtension
Fixes #3
2016-07-15 02:52:31 +01:00
Oliver Davies c97775c5ad Add license 2016-07-15 01:37:24 +01:00
Oliver Davies d56e7c6620 Initial commit 2016-07-12 20:54:44 +01:00