Junade Ali
6a76e1cc3c
Updated DNSTest style.
2017-10-03 18:08:32 +01:00
Junade
a5384b7466
Correct input types for (Bypass) Cache on Cookie
2017-10-03 17:59:59 +01:00
Junade
8ffd3e3541
Merge pull request #18 from anthonysterling/feature/page-rules-config
...
Consolidated some of the config/option creation
2017-10-03 17:57:57 +01:00
Junade
3ce5e1911f
Merge pull request #21 from anthonysterling/fix/issue-19
...
Added test coverage for DNS Update
2017-10-03 17:42:26 +01:00
Junade
1226d35472
Merge pull request #22 from anthonysterling/fix/inconsistent-array-declaration
...
Inconsistent Array Declaration
2017-10-03 17:42:16 +01:00
Anthony Sterling
cebeae15a3
Inconsistent Array Declaration
...
This PR normalises the declaration of arrays throughout the project, and adds
this to the php-cs-fixer rules.
I've chosen "short" by default, but happy to change the PR to use "long" if
preferred.
2017-10-02 09:05:05 +01:00
Anthony Sterling
db62f1db8a
Added test coverage for DNS Update
...
I've added a test to cover the updating of a DNS record to help debug Issue #19
2017-10-02 08:48:43 +01:00
Anthony Sterling
b7e70655ce
Consolidated some of the config/option creation
...
I've just added some internal methods to handle the casting and formatting of the
configuration/option creation.
2017-09-28 21:16:27 +01:00
Junade
49ed1c9e8f
Merge pull request #17 from cloudflare/issue-16
...
Move friendsofphp/php-cs-fixer to dev requirement
2017-09-25 16:41:28 +01:00
Junade
68a26e7e77
Comma correction
2017-09-25 15:49:49 +01:00
Junade
b4a13d8e2b
Move friendsofphp/php-cs-fixer to dev requirement
2017-09-25 15:48:07 +01:00
Junade
a80747ee06
Merge pull request #15 from anthonysterling/feature/fixtures
...
Moved JSON API Responses to test fixtures
2017-09-24 18:41:15 +01:00
Anthony Sterling
fbb5aac074
Moved JSON API Responses to test fixtures
...
This PR moves the JSON API responses used in the tests to fixture files
within the tests folder. This allows reuse and the ability to lint/validate
these fixtures if required - although not covered in this PR.
I've added TestCase::getPsr7StreamForFixture and TestCase::getPsr7JsonResponseForFixture
to reduce code duplication and enable some assertions around the expected fixures/responses.
Thanks,
2017-09-24 15:24:33 +01:00
Junade
471227b96f
Merge pull request #14 from anthonysterling/feature/coding-standard
...
feature/coding standard
2017-09-24 14:07:03 +01:00
Junade
4d17609641
Merge pull request #13 from kelunik/readme-improvements
...
Remove leading namespace slashes in README
2017-09-24 14:04:09 +01:00
Anthony Sterling
feecc9fcbb
Added lint target as php-cs-fixer only returns a non-zero exit code during dry run now
2017-09-23 22:04:26 +01:00
Anthony Sterling
589766e008
Removed the before_script section for Travis CI as this functionality is default now
2017-09-23 19:02:17 +01:00
Anthony Sterling
2faff272df
Applied PSR2 formatting to existing files
2017-09-23 18:50:51 +01:00
Anthony Sterling
90196ea836
Added, and configured, php-cs-fixer with a Makefile to invoke fix and test
2017-09-23 18:49:58 +01:00
Anthony Sterling
80c611691b
Removed out-of-date composer.lock file - libraries usually do not contain one anyway
2017-09-23 18:39:45 +01:00
Niklas Keller
85385dedf5
Remove leading namespace slashes in README
...
This makes it consistent with the middle line and is nicer to read.
2017-09-23 11:52:05 +02:00
Junade
b91dd5e684
Merge pull request #5 from typhonius/add-query-to-get
...
Adds the query parameter to the guzzle call for GET requests.
1.0.3
2017-09-21 23:16:50 +01:00
Junade
77df7ead1e
Merge pull request #11 from typhonius/fix-zone-id-verification
...
Changes sizeof check to throw an error if no zone id is found.
2017-09-21 18:07:55 +01:00
Adam Malone
9939afd0b6
Changes sizeof check to throw an error if no zone id is found.
2017-09-22 02:53:25 +10:00
Adam Malone
7d838d7f5f
Adds the query parameter to the guzzle call for GET requests.
2017-09-21 11:45:21 +10:00
Junade
ebe2a9803a
Added link to Packagist and the Cloudflare KB
2017-09-20 16:17:49 +01:00
Junade
f38b1c61f7
Merge pull request #10 from cloudflare/COM-45
...
COM-45 :: Bugfix active status in Page Rules
1.0.2
2017-09-20 15:00:53 +01:00
Junade Ali
635a299b43
COM-45 :: Update PageRule tests.
2017-09-20 14:55:44 +01:00
Junade Ali
85d64f8afc
COM-45 :: Bugfix active status in Page Rules
2017-09-20 14:50:55 +01:00
Junade
48db6337c5
Merge pull request #9 from cloudflare/COM-45
...
COM-45 :: Bugfix Page Rules class
2017-09-20 14:35:25 +01:00
Junade Ali
4699270f51
COM-45 :: Bugfix Page Rules class
2017-09-20 14:32:46 +01:00
Junade
2a3929824e
Merge pull request #8 from cloudflare/COM-45
...
COM-45 :: Change API submission type to JSON and adjust function names
1.0.1
2017-09-20 13:36:44 +01:00
Junade Ali
121209e4ca
COM-45 :: Adjust Guzzle Tests
2017-09-20 13:25:00 +01:00
Junade Ali
1baeeee882
COM-40 :: Change API submission type to JSON and adjust function names
2017-09-20 13:15:34 +01:00
Junade
a4ddb61d2a
Merge pull request #7 from cloudflare/COM-40
...
COM-40 :: Added Page Rules endpoint.
1.0.0
2017-09-20 11:54:57 +01:00
Junade Ali
3166645a0c
COM-40 :: Added Page Rules endpoint.
2017-09-20 11:52:33 +01:00
Junade
1658f4abcc
Merge pull request #6 from cloudflare/COM-40
...
COM-40 :: Add ZoneLockdown and UA Rules
2017-09-19 16:10:19 +01:00
Junade Ali
1e8c8d6019
COM-40 :: Add ZoneLockdown and UA Rules
2017-09-19 16:04:35 +01:00
Junade
1b5d0273ed
Merge pull request #4 from cloudflare/COM-40
...
COM-40 :: Added None Auth class, IPs endpoint and associated tests
2017-09-05 13:13:03 +01:00
Junade Ali
7d0c0c86dc
COM-40 :: General refactoring/fixes.
2017-09-04 21:14:34 +01:00
Junade Ali
53cbd9d578
Finalised IPs endpoint
2017-09-04 20:33:22 +01:00
Junade Ali
4876787118
COM-40 :: Added None Auth class, IPs endpoint and associated tests
2017-09-04 20:22:23 +01:00
Junade
938172c17b
Merge pull request #3 from cloudflare/COM-40
...
COM-40 :: Add Travis preview button and remove nightly from build
2017-09-04 19:41:16 +01:00
Junade Ali
7a60774ec2
COM-40 :: Add Travis preview button and remove nightly from build
2017-09-04 19:37:01 +01:00
Junade
5266b2c2af
Merge pull request #2 from hans00/master
...
Use correct format to post data.
2017-08-30 18:48:07 +01:00
Hans
696a36d682
Change post unit test to json.
2017-08-30 17:02:09 +08:00
Junade Ali
ef0e5f1375
Updated composer.json
0.9.1
2017-08-29 16:04:27 +01:00
Junade Ali
74f85ac5d9
Added CI support.
2017-08-29 15:59:50 +01:00
Hans
91dbd38824
Use correct format to post data.
2017-08-27 00:28:21 -05:00
Junade
0fcc47a1e5
Merge pull request #1 from thellimist/patch-1
...
Update composer.json
2017-08-25 17:32:33 +01:00