Oliver Davies
d763af36e0
Create a new release when a tag is pushed
2020-07-15 00:21:54 +01: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
Oliver Davies
7db076efdb
Add run-tests workflow
2020-03-03 09:44:50 +00:00
Oliver Davies
37c48b07e6
Remove .travis.yml
2020-03-03 09:44:50 +00:00
Oliver Davies
b9dfa9bd7e
Use command default name
2020-01-12 20:01:31 +00:00
Oliver Davies
4083ef802b
Add enums for action and condition names
2019-12-29 00:37:33 +00:00
Oliver Davies
778374b2c9
Split properties into conditions and actions
2019-12-29 00:20:06 +00:00
Oliver Davies
560ede60db
Merge pull request #25 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
Oliver Davies
22b696d47c
Remove blank lines
2019-05-03 23:47:57 +01:00
Oliver Davies
0e7b770382
Combine commands
2019-05-03 23:47:24 +01:00
Oliver Davies
b359d02f4f
Run phpunit and php-cs-fixer
2019-05-03 23:47:20 +01:00
Oliver Davies
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
Oliver Davies
caa3767246
Use addOption() instead of setDefinition()
2019-05-01 19:18:44 +01:00
Oliver Davies
10831b4239
Tag 2.3.0
2019-05-01 19:03:00 +01:00
Oliver Davies
052629ff7d
Generated output filenames should match the input filename
2019-05-01 19:02:49 +01:00
Oliver Davies
2e8e58abd0
Add 2.2.0 in CHANGELOG
2019-04-19 08:02:31 +01:00
Oliver Davies
4825b2ffc2
Merge pull request #23 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
Oliver Davies
db55e76c31
Update CHANGELOG
2019-04-19 07:32:37 +01:00
Oliver Davies
de9db84d6d
Update test names
...
Fixes #19
2019-04-19 07:32:09 +01:00
Oliver Davies
d6f63dcc57
Merge pull request #22 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
Oliver Davies
640719256b
Don't ignore XML files within fixtures
2019-04-19 00:39:31 +01:00
Oliver Davies
739b86290b
Add output.xml
2019-04-19 00:38:41 +01:00
Oliver Davies
fb5b492228
Add return type
2019-04-19 00:36:36 +01:00
Oliver Davies
4c00155956
Generated filters can be expanded
2019-04-18 23:48:04 +01:00
Oliver Davies
875d67ae74
Add output.xml
2019-04-18 21:33:56 +01:00
Oliver Davies
b123dcf079
Update test, add expanded option
2019-04-18 21:32:48 +01:00
Oliver Davies
685fbe5188
Use class names for service names
2019-04-18 21:27:51 +01:00
Oliver Davies
0779825f80
Move services.yml
2019-04-18 21:20:24 +01:00
Oliver Davies
e863de7133
Add lint script
2019-04-18 21:12:34 +01:00
Oliver Davies
0346f25f96
Add GenerateFiltersTest
2019-04-18 21:08:19 +01:00
Oliver Davies
a4c913ab38
Add more type hints and return types
...
Fixes #20
2019-04-11 01:01:19 +01:00
Oliver Davies
72ed0d6f24
Update file loading methods
2019-04-11 00:27:34 +01:00
Oliver Davies
e7d8f37800
Add shortcuts to generate command
2019-04-11 00:14:54 +01:00
Oliver Davies
77b83edfae
Update import
2019-04-11 00:09:42 +01:00
Oliver Davies
1b99194e35
Merge pull request #18 from opdavies/multiple-lists-17
...
Allow for filtering multiple lists in one filter
Fixes #17
2019-04-10 23:42:21 +01:00
Oliver Davies
ec3ecb685c
Update email address
2019-04-10 23:38:43 +01:00
Oliver Davies
0b225663e0
Allow for passing multiple lists
2019-04-10 23:34:16 +01:00
Oliver Davies
035f4fb6c7
Fix spaces
2019-04-01 13:22:36 +01:00
Oliver Davies
95924a3ccd
Update expected Exception
2019-04-01 13:21:04 +01:00
Oliver Davies
3995d4ffd6
Update test method name
2019-04-01 13:20:09 +01:00
Oliver Davies
fbe1edf8f0
Throw Exception if there is no addresses file
...
Fixes #14
2019-04-01 13:19:39 +01:00
Oliver Davies
db97fb8d60
Merge pull request #15 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
Oliver Davies
6529b3d042
Add Composer flags
2019-04-01 12:43:14 +01:00
Oliver Davies
0a584f0169
Add PHP 7.3
2019-04-01 12:42:26 +01:00
Oliver Davies
3ac4cc0918
Remove 7.3 for now
2018-12-27 22:27:30 +00:00
Oliver Davies
eb26a1a5a4
Update PHP versions
2018-12-27 22:14:22 +00:00