Phil Young
e7cc9e067f
Fix A PHP 7.0 Backwards Incompatibility
...
Too new, that was
2021-06-22 11:39:12 +01:00
Phil Young
bfb24200d5
Merge branch 'master' into 179-missing-support-for-custom-hostname-update-properties
2021-06-22 11:32:02 +01:00
Phil Young
3b167bab04
Add PHPMD Suppressions
...
I'm unsure as to how best to refactor this in the way that the SDK is
written. I'm going to commit this and ask on the PR how the maintainers
want it
2021-06-22 11:28:46 +01:00
Phil Young
c66022e7bf
Add A Default Variable Value
...
This is always set now
2021-06-22 11:27:41 +01:00
Phil Young
aa43a1ea36
Move To Shorthand False Checks
...
This seems to be the preferred way to do them
2021-06-22 11:16:25 +01:00
Phil Young
63b11374f2
Move SSL Setting To An Array
...
This will match the add function and help with PHPMD errors
2021-06-22 11:13:53 +01:00
Phil Young
410b8bebff
Merge remote-tracking branch 'origin' into 179-missing-support-for-custom-hostname-update-properties
2021-06-22 11:06:10 +01:00
Phil Young
3e605dfa53
Merge branch 'master' into 177-missing-support=for=custom-hostname-properties
2021-06-22 10:44:00 +01:00
Phil Young
fd34eaf813
Move The Custom SSL To An Array
...
This kinda kicks the can down the road, but allows me to appease PHPMD
(for now)
2021-06-22 10:34:28 +01:00
Phil Young
1a2d2ae708
Loosen Empty Check Strictness
...
This was asked for in a CR
2021-06-22 09:29:08 +01:00
Phil Young
5394ec3cc8
Add Cuystom Hostname Fallback Origin Retrieval
...
I would like to surface this endpoint via the SDK
2021-06-15 13:55:41 +01:00
Phil Young
aea57e4994
Update A Docblock
...
I missed adding the new properties in earlier
2021-06-15 11:12:57 +01:00
Phil Young
f8124e76cb
Shorten Longer Lines
...
The properties I've added have made these some pretty long lines
2021-06-15 11:12:37 +01:00
Phil Young
da3d10c4ee
Add More Properties To Custom Hostname Updating
...
These are documented but not provided by the SDK
2021-06-15 11:10:23 +01:00
Phil Young
135b9a6813
Update A Docblock
...
PHPStorm pointed out that this was missing
2021-06-15 11:02:17 +01:00
Phil Young
f473e5f73c
Correct A Request Parameter Namespace
...
This wasn't taking affect before as it wasn't in the object the API was
expecting it to be in
2021-06-15 10:52:44 +01:00
Phil Young
9955166ae8
Tidy Up Longer Method/Function Signatures/Calls
...
I've added a few new parameters which has made these lines rather long
2021-06-15 00:56:23 +01:00
Phil Young
c639f20cea
Add More Custom Hostname Creation Parameters
...
This now matches what is available as per the documentation
2021-06-15 00:49:14 +01:00
bubbleupdotnet
06de5b0c04
Add custom hostname options ( #131 )
...
* Add ability to set additional SSL settings
* Add ability to specify a custom origin server
* Add ability to set wildcard
* Fix json parsing error with empty 'ssl' key
Co-authored-by: Craig Menning <craig@bubbleup.net >
2020-07-07 11:16:24 +01:00
Levi Durfee
2639331c2b
Add BodyAccessorTrait to most classes
2018-10-19 10:48:25 -04:00
Darin Randal
cca073c809
Code cleanup / Quality of Life updates
...
Adapter::get, post, put, patch and delete all had non-optional parameters for $headers and $query or $body. These have been made optional. I also re-ordered the parameters as $headers was never used while $query/$body were heavily used. I also condensed and removed some duplicate calls so that every call to Adapter::get/post sends that call to Adapter::request. It could use a magic method to do this but it might make it more difficult to test.
2018-04-12 23:11:04 -04:00
Junade Ali
d95573976e
SOPS-161 :: Lint changes
2018-03-18 23:45:06 -07:00
Junade Ali
3bfd5e17f1
SOPS-161 :: Add Custom Hostname endpoints to cloudflare-php
2018-03-18 23:40:09 -07:00