Skip to content

Commit

Permalink
Release 4.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Dec 3, 2023
1 parent a6a9c50 commit fc035f2
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 16 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ CHANGE LOG
==========


## 4.9.0 (03/12/2023)

* Add support for `symfony/options-resolver:^7.0`


## 4.8.0 (08/10/2023)

* Added support for PHP 8.3
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This version supports [PHP](https://php.net) 7.4-8.3. To get started, simply req
### Standard Installation

```bash
$ composer require "toin0u/digitalocean-v2:^4.8" \
$ composer require "toin0u/digitalocean-v2:^4.9" \
"guzzlehttp/guzzle:^7.8" "http-interop/http-factory-guzzle:^1.2"
```

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

```bash
$ composer require "graham-campbell/digitalocean:^10.2"
$ composer require "graham-campbell/digitalocean:^10.3"
```

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).
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"require": {
"php": "^7.4.15 || ^8.0.2",
"ext-json": "*",
"php-http/client-common": "^2.7",
"php-http/discovery": "^1.19",
"php-http/client-common": "^2.7.1",
"php-http/discovery": "^1.19.2",
"php-http/httplug": "^2.4",
"psr/http-client-implementation": "^1.0",
"psr/http-factory-implementation": "^1.0",
Expand Down
1 change: 0 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ includes:
rules:
- Ergebnis\PHPStan\Rules\Closures\NoNullableReturnTypeDeclarationRule
- Ergebnis\PHPStan\Rules\Expressions\NoCompactRule
- Ergebnis\PHPStan\Rules\Expressions\NoEmptyRule
- Ergebnis\PHPStan\Rules\Expressions\NoEvalRule
- Ergebnis\PHPStan\Rules\Files\DeclareStrictTypesRule
- Ergebnis\PHPStan\Rules\Methods\PrivateInFinalClassRule
Expand Down
6 changes: 3 additions & 3 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<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">
<testsuites>
<testsuite name="Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<coverage>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>
</source>
</phpunit>
8 changes: 7 additions & 1 deletion psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.7.6@ae4ec68e00e4880e3f00b1edd2da891236d749ab">
<files psalm-version="5.16.0@2897ba636551a8cb61601cc26f6ccfbba6c36591">
<file src="src/Entity/AbstractEntity.php">
<PossiblyUndefinedArrayOffset>
<code><![CDATA[$trace[0]['file']]]></code>
<code><![CDATA[$trace[0]['line']]]></code>
</PossiblyUndefinedArrayOffset>
</file>
<file src="src/ResultPager.php">
<InaccessibleProperty>
<code><![CDATA[$clone->page]]></code>
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class Client
*
* @var string
*/
private const USER_AGENT = 'digitalocean-php-api-client/4.8';
private const USER_AGENT = 'digitalocean-php-api-client/4.9';

/**
* @var Builder
Expand Down
8 changes: 4 additions & 4 deletions vendor-bin/phpstan/composer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"require": {
"php": "^8.1",
"phpstan/phpstan": "1.10.3",
"phpstan/phpstan-deprecation-rules": "1.1.2",
"phpstan/phpstan-strict-rules": "1.5.0",
"phpstan/phpstan": "1.10.47",
"phpstan/phpstan-deprecation-rules": "1.1.4",
"phpstan/phpstan-strict-rules": "1.5.2",
"thecodingmachine/phpstan-strict-rules": "1.0.0",
"ergebnis/phpstan-rules": "1.0.0"
"ergebnis/phpstan-rules": "2.1.0"
},
"config": {
"preferred-install": "dist"
Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/phpunit/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"require": {
"php": "^7.4.15 || ^8.0.2",
"phpunit/phpunit": "^9.6.3 || ^10.0.12"
"phpunit/phpunit": "^9.6.15 || ^10.5.1"
},
"config": {
"preferred-install": "dist"
Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/psalm/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"require": {
"php": "^8.1",
"psalm/phar": "5.7.6"
"psalm/phar": "5.16.0"
},
"config": {
"preferred-install": "dist"
Expand Down

0 comments on commit fc035f2

Please sign in to comment.