Skip to content

Commit fc035f2

Browse files
Release 4.9.0
1 parent a6a9c50 commit fc035f2

File tree

10 files changed

+26
-16
lines changed

10 files changed

+26
-16
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ CHANGE LOG
22
==========
33

44

5+
## 4.9.0 (03/12/2023)
6+
7+
* Add support for `symfony/options-resolver:^7.0`
8+
9+
510
## 4.8.0 (08/10/2023)
611

712
* Added support for PHP 8.3

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This version supports [PHP](https://php.net) 7.4-8.3. To get started, simply req
2222
### Standard Installation
2323

2424
```bash
25-
$ composer require "toin0u/digitalocean-v2:^4.8" \
25+
$ composer require "toin0u/digitalocean-v2:^4.9" \
2626
"guzzlehttp/guzzle:^7.8" "http-interop/http-factory-guzzle:^1.2"
2727
```
2828

@@ -31,7 +31,7 @@ $ composer require "toin0u/digitalocean-v2:^4.8" \
3131
#### Laravel:
3232

3333
```bash
34-
$ composer require "graham-campbell/digitalocean:^10.2"
34+
$ composer require "graham-campbell/digitalocean:^10.3"
3535
```
3636

3737
We are decoupled from any HTTP messaging client by using [PSR-7](https://www.php-fig.org/psr/psr-7/), [PSR-17](https://www.php-fig.org/psr/psr-17/), [PSR-18](https://www.php-fig.org/psr/psr-18/), and [HTTPlug](https://httplug.io/). You can visit [HTTPlug for library users](https://docs.php-http.org/en/latest/httplug/users.html) to get more information about installing HTTPlug related packages. The framework integration [graham-campbell/gitlab](https://github.com/GrahamCampbell/Laravel-GitLab) is by [Graham Campbell](https://github.com/GrahamCampbell) and [dunglas/digital-ocean-bundle](https://github.com/dunglas/DunglasDigitalOceanBundle) is by [Kévin Dunglas](https://github.com/dunglas).

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"require": {
2424
"php": "^7.4.15 || ^8.0.2",
2525
"ext-json": "*",
26-
"php-http/client-common": "^2.7",
27-
"php-http/discovery": "^1.19",
26+
"php-http/client-common": "^2.7.1",
27+
"php-http/discovery": "^1.19.2",
2828
"php-http/httplug": "^2.4",
2929
"psr/http-client-implementation": "^1.0",
3030
"psr/http-factory-implementation": "^1.0",

phpstan.neon.dist

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ includes:
77
rules:
88
- Ergebnis\PHPStan\Rules\Closures\NoNullableReturnTypeDeclarationRule
99
- Ergebnis\PHPStan\Rules\Expressions\NoCompactRule
10-
- Ergebnis\PHPStan\Rules\Expressions\NoEmptyRule
1110
- Ergebnis\PHPStan\Rules\Expressions\NoEvalRule
1211
- Ergebnis\PHPStan\Rules\Files\DeclareStrictTypesRule
1312
- Ergebnis\PHPStan\Rules\Methods\PrivateInFinalClassRule

phpunit.xml.dist

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutOutputDuringTests="true" bootstrap="vendor/autoload.php" colors="true" failOnRisky="true" failOnWarning="true" processIsolation="false" stopOnError="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutOutputDuringTests="true" bootstrap="vendor/autoload.php" colors="true" failOnRisky="true" failOnWarning="true" processIsolation="false" stopOnError="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd">
33
<testsuites>
44
<testsuite name="Test Suite">
55
<directory suffix="Test.php">./tests</directory>
66
</testsuite>
77
</testsuites>
8-
<coverage>
8+
<source>
99
<include>
1010
<directory suffix=".php">./src</directory>
1111
</include>
12-
</coverage>
12+
</source>
1313
</phpunit>

psalm-baseline.xml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="5.7.6@ae4ec68e00e4880e3f00b1edd2da891236d749ab">
2+
<files psalm-version="5.16.0@2897ba636551a8cb61601cc26f6ccfbba6c36591">
3+
<file src="src/Entity/AbstractEntity.php">
4+
<PossiblyUndefinedArrayOffset>
5+
<code><![CDATA[$trace[0]['file']]]></code>
6+
<code><![CDATA[$trace[0]['line']]]></code>
7+
</PossiblyUndefinedArrayOffset>
8+
</file>
39
<file src="src/ResultPager.php">
410
<InaccessibleProperty>
511
<code><![CDATA[$clone->page]]></code>

src/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class Client
6969
*
7070
* @var string
7171
*/
72-
private const USER_AGENT = 'digitalocean-php-api-client/4.8';
72+
private const USER_AGENT = 'digitalocean-php-api-client/4.9';
7373

7474
/**
7575
* @var Builder

vendor-bin/phpstan/composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"require": {
33
"php": "^8.1",
4-
"phpstan/phpstan": "1.10.3",
5-
"phpstan/phpstan-deprecation-rules": "1.1.2",
6-
"phpstan/phpstan-strict-rules": "1.5.0",
4+
"phpstan/phpstan": "1.10.47",
5+
"phpstan/phpstan-deprecation-rules": "1.1.4",
6+
"phpstan/phpstan-strict-rules": "1.5.2",
77
"thecodingmachine/phpstan-strict-rules": "1.0.0",
8-
"ergebnis/phpstan-rules": "1.0.0"
8+
"ergebnis/phpstan-rules": "2.1.0"
99
},
1010
"config": {
1111
"preferred-install": "dist"

vendor-bin/phpunit/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"php": "^7.4.15 || ^8.0.2",
4-
"phpunit/phpunit": "^9.6.3 || ^10.0.12"
4+
"phpunit/phpunit": "^9.6.15 || ^10.5.1"
55
},
66
"config": {
77
"preferred-install": "dist"

vendor-bin/psalm/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"php": "^8.1",
4-
"psalm/phar": "5.7.6"
4+
"psalm/phar": "5.16.0"
55
},
66
"config": {
77
"preferred-install": "dist"

0 commit comments

Comments
 (0)