Commit graph

173 commits

Author SHA1 Message Date
05055ef918 Update to PHP 8.1 2023-12-13 07:05:08 +00:00
9202b6a044 Update to PHP 8.1 2023-12-13 07:02:16 +00:00
5d16b3a232 Add a Nix Flake for local development 2023-12-13 07:02:02 +00:00
d763af36e0
Create a new release when a tag is pushed 2020-07-15 00:21:54 +01:00
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
7db076efdb Add run-tests workflow 2020-03-03 09:44:50 +00:00
37c48b07e6 Remove .travis.yml 2020-03-03 09:44:50 +00:00
b9dfa9bd7e Use command default name 2020-01-12 20:01:31 +00:00
4083ef802b Add enums for action and condition names 2019-12-29 00:37:33 +00:00
778374b2c9 Split properties into conditions and actions 2019-12-29 00:20:06 +00:00
560ede60db
Merge pull request from opdavies/dependabot/composer/phpunit/phpunit-tw-5.7or-tw-7.0
Update phpunit/phpunit requirement from ^5.7 to ^5.7 || ^7.0
2019-08-06 20:07:51 +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
22b696d47c Remove blank lines 2019-05-03 23:47:57 +01:00
0e7b770382 Combine commands 2019-05-03 23:47:24 +01:00
b359d02f4f Run phpunit and php-cs-fixer 2019-05-03 23:47:20 +01:00
6815cd4f26 Put all generated files in one directory
This means that there's no need to delete generated files per test
2019-05-03 20:46:25 +01:00
caa3767246 Use addOption() instead of setDefinition() 2019-05-01 19:18:44 +01:00
10831b4239 Tag 2.3.0 2019-05-01 19:03:00 +01:00
052629ff7d Generated output filenames should match the input filename 2019-05-01 19:02:49 +01:00
2e8e58abd0 Add 2.2.0 in CHANGELOG 2019-04-19 08:02:31 +01:00
Oliver Davies
4825b2ffc2
Merge pull request from opdavies/update-test-names-19
Updates test method names to use the lowercase format so that they are all consistent.
2019-04-19 07:41:32 +01:00
db55e76c31 Update CHANGELOG 2019-04-19 07:32:37 +01:00
de9db84d6d Update test names
Fixes 
2019-04-19 07:32:09 +01:00
Oliver Davies
d6f63dcc57
Merge pull request from opdavies/minified-xml-21
Minify the generated XML by default
2019-04-19 01:34:19 +01:00
Oliver Davies
6a9562aa70
Create CHANGELOG.md 2019-04-19 01:30:13 +01:00
Oliver Davies
37d70c7cc6
Merge branch 'master' into minified-xml-21 2019-04-19 01:21:19 +01:00
640719256b Don't ignore XML files within fixtures 2019-04-19 00:39:31 +01:00
739b86290b Add output.xml 2019-04-19 00:38:41 +01:00
fb5b492228 Add return type 2019-04-19 00:36:36 +01:00
4c00155956 Generated filters can be expanded 2019-04-18 23:48:04 +01:00
875d67ae74 Add output.xml 2019-04-18 21:33:56 +01:00
b123dcf079 Update test, add expanded option 2019-04-18 21:32:48 +01:00
685fbe5188 Use class names for service names 2019-04-18 21:27:51 +01:00
0779825f80 Move services.yml 2019-04-18 21:20:24 +01:00
e863de7133 Add lint script 2019-04-18 21:12:34 +01:00
0346f25f96 Add GenerateFiltersTest 2019-04-18 21:08:19 +01:00
a4c913ab38 Add more type hints and return types
Fixes 
2019-04-11 01:01:19 +01:00
72ed0d6f24 Update file loading methods 2019-04-11 00:27:34 +01:00
e7d8f37800 Add shortcuts to generate command 2019-04-11 00:14:54 +01:00
77b83edfae Update import 2019-04-11 00:09:42 +01:00
Oliver Davies
1b99194e35
Merge pull request from opdavies/multiple-lists-17
Allow for filtering multiple lists in one filter

Fixes 
2019-04-10 23:42:21 +01:00
ec3ecb685c
Update email address 2019-04-10 23:38:43 +01:00
0b225663e0 Allow for passing multiple lists 2019-04-10 23:34:16 +01:00
035f4fb6c7 Fix spaces 2019-04-01 13:22:36 +01:00
95924a3ccd Update expected Exception 2019-04-01 13:21:04 +01:00
3995d4ffd6 Update test method name 2019-04-01 13:20:09 +01:00
fbe1edf8f0 Throw Exception if there is no addresses file
Fixes 
2019-04-01 13:19:39 +01:00
Oliver Davies
db97fb8d60
Merge pull request from opdavies/update-travis
Add PHP 7.3
2019-04-01 13:02:42 +01:00
Oliver Davies
20aad9349b Fix spaces 2019-04-01 12:55:13 +01:00
6529b3d042
Add Composer flags 2019-04-01 12:43:14 +01:00