Completed
Push — 7.0_deprecation_removal ( e8d685...a29025 )
by André
11:11
created
eZ/Publish/API/Repository/Tests/FieldType/TimeIntegrationTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     /**
110 110
      * Get initial field data for valid object creation.
111 111
      *
112
-     * @return mixed
112
+     * @return TimeValue
113 113
      */
114 114
     public function getValidCreationFieldData()
115 115
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/Tests/RichText/InternalLinkValidatorTest.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -268,6 +268,9 @@  discard block
 block discarded – undo
268 268
         $this->assertContainsEzRemoteInvalidLinkError($contentRemoteId, $errors);
269 269
     }
270 270
 
271
+    /**
272
+     * @param integer $locationId
273
+     */
271 274
     private function assertContainsEzLocationInvalidLinkError($locationId, array $errors)
272 275
     {
273 276
         $format = 'Invalid link "ezlocation://%d": target location cannot be found';
@@ -275,6 +278,9 @@  discard block
 block discarded – undo
275 278
         $this->assertContains(sprintf($format, $locationId), $errors);
276 279
     }
277 280
 
281
+    /**
282
+     * @param integer $contentId
283
+     */
278 284
     private function assertContainsEzContentInvalidLinkError($contentId, array $errors)
279 285
     {
280 286
         $format = 'Invalid link "ezcontent://%d": target content cannot be found';
@@ -282,6 +288,9 @@  discard block
 block discarded – undo
282 288
         $this->assertContains(sprintf($format, $contentId), $errors);
283 289
     }
284 290
 
291
+    /**
292
+     * @param string $contentId
293
+     */
285 294
     private function assertContainsEzRemoteInvalidLinkError($contentId, array $errors)
286 295
     {
287 296
         $format = 'Invalid link "ezremote://%s": target content cannot be found';
@@ -303,6 +312,9 @@  discard block
 block discarded – undo
303 312
             ->getMock();
304 313
     }
305 314
 
315
+    /**
316
+     * @param string $scheme
317
+     */
306 318
     private function createInputDocument($scheme, $id)
307 319
     {
308 320
         $url = $scheme . '://' . $id;
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/ContentServiceTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct;
15 15
 use eZ\Publish\API\Repository\Values\Content\Field;
16 16
 use eZ\Publish\API\Repository\Values\Content\Location;
17
-use eZ\Publish\API\Repository\Values\Content\TranslationInfo;
18 17
 use eZ\Publish\API\Repository\Values\Content\URLAlias;
19 18
 use eZ\Publish\API\Repository\Values\Content\Relation;
20 19
 use eZ\Publish\API\Repository\Values\Content\VersionInfo;
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/ContentService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@
 block discarded – undo
40 40
 use eZ\Publish\SPI\Persistence\Content\Field as SPIField;
41 41
 use eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct as SPIRelationCreateStruct;
42 42
 use Exception;
43
-use eZ\Publish\API\Repository\Exceptions\NotImplementedException;
44 43
 
45 44
 /**
46 45
  * This class provides service methods for managing content.
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Client/ContentService.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,6 @@
 block discarded – undo
14 14
 use eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct;
15 15
 use eZ\Publish\API\Repository\Values\Content\ContentMetadataUpdateStruct;
16 16
 use eZ\Publish\API\Repository\Values\Content\LocationCreateStruct;
17
-use eZ\Publish\API\Repository\Values\Content\TranslationInfo;
18
-use eZ\Publish\API\Repository\Values\Content\TranslationValues;
19 17
 use eZ\Publish\API\Repository\Values\Content\VersionInfo;
20 18
 use eZ\Publish\API\Repository\Values\ContentType\ContentType;
21 19
 use eZ\Publish\API\Repository\Values\Content\Query;
Please login to merge, or discard this patch.
eZ/Publish/Core/SignalSlot/Tests/ContentServiceTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
13 13
 use eZ\Publish\API\Repository\Values\Content\LocationCreateStruct;
14 14
 use eZ\Publish\API\Repository\Values\Content\ContentMetadataUpdateStruct;
15 15
 use eZ\Publish\Core\Repository\Values\Content\ContentUpdateStruct;
16
-use eZ\Publish\API\Repository\Values\Content\TranslationInfo;
17
-use eZ\Publish\Core\Repository\Values\Content\TranslationValues;
18 16
 use eZ\Publish\Core\Repository\Values\Content\Relation;
19 17
 use eZ\Publish\Core\Repository\Values\ContentType\ContentType;
20 18
 use eZ\Publish\Core\SignalSlot\Signal\ContentService\DeleteTranslationSignal;
Please login to merge, or discard this patch.