@@ -115,22 +115,21 @@ You can run test suite to make sure the library will work properly on your syste
115115
116116```
117117$ vendor/bin/phpunit
118- PHPUnit 9.5.3 by Sebastian Bergmann and contributors.
118+ PHPUnit 9.5.4 by Sebastian Bergmann and contributors.
119119
120120Warning: No code coverage driver available
121121
122- ............................................................... 63 / 445 ( 14%)
123- ............................................................... 126 / 445 ( 28%)
124- ............................................................... 189 / 445 ( 42%)
125- ............................................................... 252 / 445 ( 56%)
126- ............................................................... 315 / 445 ( 70%)
127- ............................................................... 378 / 445 ( 84%)
128- ............................................................... 441 / 445 ( 99%)
129- .... 445 / 445 (100%)
122+ ............................................................... 63 / 432 ( 14%)
123+ ............................................................... 126 / 432 ( 29%)
124+ ............................................................... 189 / 432 ( 43%)
125+ ............................................................... 252 / 432 ( 58%)
126+ ............................................................... 315 / 432 ( 72%)
127+ ............................................................... 378 / 432 ( 87%)
128+ ...................................................... 432 / 432 (100%)
130129
131- Time: 00:00.102 , Memory: 12 .00 MB
130+ Time: 00:00.149 , Memory: 14 .00 MB
132131
133- OK (445 tests, 993 assertions)
132+ OK (432 tests, 1098 assertions)
134133```
135134
136135## Basic usage of ` php-redmine-api ` client
@@ -171,7 +170,6 @@ require_once 'vendor/autoload.php';
171170
172171... or valid username/password.
173172
174-
175173``` diff
176174<?php
177175
@@ -282,9 +280,14 @@ $psr17Factory = new \Nyholm\Psr7\Factory\Psr17Factory();
282280+ };
283281+
284282// Instantiate with ApiKey
285- - $client = new \Redmine\Client\Prs18Client($guzzle, $psr17Factory, $psr17Factory, 'https://redmine.example.com', '1234567890abcdfgh');
286- + $client = new \Redmine\Client\Prs18Client($guzzleWrapper, $psr17Factory, $psr17Factory, 'https://redmine.example.com', '1234567890abcdfgh');
287-
283+ $client = new \Redmine\Client\Prs18Client(
284+ - $guzzle,
285+ + $guzzleWrapper,
286+ $psr17Factory,
287+ $psr17Factory,
288+ 'https://redmine.example.com',
289+ '1234567890abcdfgh'
290+ );
288291```
289292
290293## Built-in Redmine features
0 commit comments