1
0
mirror of https://github.com/ovh/php-ovh.git synced 2023-11-05 03:20:26 +01:00
Commit Graph

17 Commits

Author SHA1 Message Date
Germain Carré
234d0e3e51 Adding headers option and changing OVH Europeean API url
Signed-off-by: Germain Carré <germain@carsso.com>
2016-09-01 11:43:57 +02:00
Stéphane HULARD
c13758720b Use a PHP build tool, Phing instead of Grunt.
As I already mentioned in the #35 issue, I think it's more suitable to use a PHP build tool instead of a JS one. I don't tell that Grunt is not a powerful tool but it's a complicated installation process to be able to run tests.

Phing is required as a composer package and can be run directly after the composer install.

Examples:

```
vendor/bin/phing
vendor/bin/phing test
vendor/bin/phing clean
vendor/bin/phing phplint
vendor/bin/phing phpcs
vendor/bin/phing phpunit
vendor/bin/phing phpunit -Donly.units=true #The travis test process
```

The only difference here is the watch process. Phing doesn't have that kind of feature. It can be emulated with different tasks but require a lot more work. I think that PR is the first step, maybe we can go further if necessary.

Signed-off-by: Stéphane HULARD <s.hulard@chstudio.fr>
2016-04-19 09:59:15 +02:00
Stéphane HULARD
9703ee3cdd Remove a direct client call, use API get method.
Remove the `$this->http_client->get()` call used in the `calculateTimeDelta` method.
This call is too coupled to the HttpClient, using the same method for all the calls is always better.

Signed-off-by: Stéphane HULARD <s.hulard@chstudio.fr>
2016-02-29 11:03:59 +01:00
Stéphane HULARD
940ec307fb Introduce a decodeResponse method.
This new method allow to perform a `rawCall` call and retrieve the full response instance.
It'll help to manipulate response more easily.

Signed-off-by: Stéphane HULARD <s.hulard@chstudio.fr>
2016-02-29 11:03:45 +01:00
Romain Beuque
d3bd44ed68 fix: hook that modify Guzzle parameters serialization when true/false value
Signed-off-by: Romain Beuque <romain.beuque@corp.ovh.com>
2016-02-01 10:50:33 +00:00
Romain Beuque
57ba00310d Added tests for #27 + fix empty comparaison
Signed-off-by: Romain Beuque <romain.beuque@corp.ovh.com>
2016-01-21 18:22:06 +00:00
Romain Beuque
0506a231ec fix: incorrect query when passed from url and not from content
Signed-off-by: Romain Beuque <romain.beuque@corp.ovh.com>
2016-01-21 16:16:20 +00:00
Adrien Bensaibi
727249f738 Add content from QueryString to build valide signature
Signed-off-by: Adrien Bensaibi <adrien.bensaibi@corp.ovh.com>
2016-01-19 14:40:35 +00:00
Vincent Casse
9aa7df73bf Fix timeout and guzzle 6
Fix copyrights

Signed-off-by: Vincent Casse <vincent.casse@corp.ovh.com>
2015-12-17 18:14:35 +01:00
Vincent Casse
cdd9a916f8 Merge branch 'master' of https://github.com/ByScripts/php-ovh
Conflicts:
	.travis.yml
	src/Api.php
2015-12-17 18:03:54 +01:00
Vincent Casse
3f9aec3547 Add default timeout on http client
Issue #18
2015-12-15 17:25:42 +01:00
Thierry Goettelmann
47d3cd2ed7 Update Guzzle to 6.0
Rewrite API for to support new Guzzle 6.0
2015-08-06 15:15:10 +02:00
Benjamin HUBERT
6a00b9b059 fixing post bug
Signed-off-by: Benjamin HUBERT <benjamin@alpixel.fr>
2015-06-23 11:36:10 +02:00
Christophe Coevoet
0126ecc1b0 Fix an invalid phpdoc 2015-04-22 15:01:36 +02:00
Christophe Coevoet
6df59f8382 Update the phpdoc to make it valid
Types were missing everywhere in the phpdoc.

Signed-off-by: Christophe Coevoet <stof@notk.org>
2015-03-19 16:39:23 +01:00
Pavel Macháň
277538ad95 Add SoYouStart and Kimsufi endpoints, Update README
Signed-off-by: Pavel Macháň <machan@hostbox.cz>
2014-12-05 19:29:04 +01:00
Vincent Cassé
67cc54db5b Initial commit
Signed-off-by: Vincent Cassé <vincent.casse@ovh.net>
2014-10-06 12:57:12 +02:00