Test Failed
Push — master ( c6b6d3...528954 )
by Dan Michael O.
03:21
created
spec/Bibs/BibSpec.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -22,6 +22,10 @@
 block discarded – undo
22 22
         $this->beConstructedWith($client, $mms_id);
23 23
     }
24 24
 
25
+    /**
26
+     * @param AlmaClient $client
27
+     * @param UriInterface $url
28
+     */
25 29
     protected function expectRequest($client, $url) {
26 30
         $client->buildUrl('/bibs/999104760474702204', [])
27 31
             ->shouldBeCalled()
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Psr\Http\Message\UriInterface;
8 8
 use Scriptotek\Alma\Bibs\Bib;
9 9
 use Scriptotek\Alma\Bibs\Bibs;
10
-use Scriptotek\Alma\Bibs\Holding;
11 10
 use Scriptotek\Alma\Bibs\Holdings;
12 11
 use Scriptotek\Alma\Client as AlmaClient;
13 12
 use Scriptotek\Alma\Exception\ResourceNotFound;
Please login to merge, or discard this patch.
spec/Bibs/HoldingSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\Scriptotek\Alma\Bibs;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 use Psr\Http\Message\UriInterface;
8 7
 use Scriptotek\Alma\Bibs\Bib;
9 8
 use Scriptotek\Alma\Bibs\Holding;
Please login to merge, or discard this patch.
spec/Conf/LibrarySpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Scriptotek\Alma\Client as AlmaClient;
6 6
 use Scriptotek\Alma\Conf\Library;
7 7
 use PhpSpec\ObjectBehavior;
8
-use Prophecy\Argument;
9 8
 use Scriptotek\Alma\Conf\Locations;
10 9
 
11 10
 class LibrarySpec extends ObjectBehavior
Please login to merge, or discard this patch.
spec/Conf/LocationSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Scriptotek\Alma\Conf\Library;
7 7
 use Scriptotek\Alma\Conf\Location;
8 8
 use PhpSpec\ObjectBehavior;
9
-use Prophecy\Argument;
10 9
 
11 10
 class LocationSpec extends ObjectBehavior
12 11
 {
Please login to merge, or discard this patch.
src/Bibs/Bib.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Scriptotek\Alma\Bibs;
4 4
 
5
-use Danmichaelo\QuiteSimpleXMLElement\QuiteSimpleXMLElement;
6 5
 use Scriptotek\Alma\Client;
7 6
 use Scriptotek\Alma\Exception\NoLinkedNetworkZoneRecordException;
8 7
 use Scriptotek\Alma\GhostModel;
9
-use Scriptotek\Alma\GhostResource;
10 8
 use Scriptotek\Marc\Record as MarcRecord;
11 9
 use Scriptotek\Sru\Record as SruRecord;
12 10
 
Please login to merge, or discard this patch.
src/Client.php 2 patches
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     /**
167 167
      * Set the Alma region code ('na' for North America, 'eu' for Europe, 'ap' for Asia Pacific).
168 168
      *
169
-     * @param $regionCode
169
+     * @param string $regionCode
170 170
      *
171 171
      * @throws \ErrorException
172 172
      *
@@ -183,7 +183,6 @@  discard block
 block discarded – undo
183 183
     }
184 184
 
185 185
     /**
186
-     * @param string $url|UriInterface
187 186
      * @param array  $query
188 187
      *
189 188
      * @return UriInterface
@@ -259,9 +258,9 @@  discard block
 block discarded – undo
259 258
     /**
260 259
      * Make a GET request.
261 260
      *
262
-     * @param string $url|UriInterface
263 261
      * @param array  $query
264 262
      * @param string $contentType
263
+     * @param string $url
265 264
      *
266 265
      * @return string Response body
267 266
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use Scriptotek\Alma\Bibs\Bibs;
22 22
 use Scriptotek\Alma\Bibs\Items;
23 23
 use Scriptotek\Alma\Conf\Conf;
24
-use Scriptotek\Alma\Conf\Libraries;
25 24
 use Scriptotek\Alma\Exception\ClientException as AlmaClientException;
26 25
 use Scriptotek\Alma\Exception\InvalidApiKey;
27 26
 use Scriptotek\Alma\Exception\MaxNumberOfAttemptsExhausted;
Please login to merge, or discard this patch.