Completed
Push — security-checker-symfony-cli ( 5cc469 )
by Kamil
18:08
created
src/Sylius/Behat/Context/Transform/TaxonContext.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
      * @Transform /^taxon with "([^"]+)" name/
38 38
      * @Transform /^taxon "([^"]+)"$/
39 39
      * @Transform :taxon
40
+     * @param string $name
40 41
      */
41 42
     public function getTaxonByName($name)
42 43
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Promotion/UpdatePageInterface.php 1 patch
Doc Comments   +27 added lines patch added patch discarded remove patch
@@ -17,26 +17,50 @@  discard block
 block discarded – undo
17 17
 
18 18
 interface UpdatePageInterface extends BaseUpdatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function setPriority(?int $priority): void;
21 24
 
22 25
     public function getPriority(): int;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function nameIt(string $name): void;
25 31
 
26 32
     public function checkChannelsState(string $channelName): bool;
27 33
 
28 34
     public function isCodeDisabled(): bool;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function fillUsageLimit(string $limit): void;
31 40
 
41
+    /**
42
+     * @return void
43
+     */
32 44
     public function makeExclusive(): void;
33 45
 
46
+    /**
47
+     * @return void
48
+     */
34 49
     public function checkCouponBased(): void;
35 50
 
51
+    /**
52
+     * @return void
53
+     */
36 54
     public function checkChannel(string $name): void;
37 55
 
56
+    /**
57
+     * @return void
58
+     */
38 59
     public function setStartsAt(\DateTimeInterface $dateTime): void;
39 60
 
61
+    /**
62
+     * @return void
63
+     */
40 64
     public function setEndsAt(\DateTimeInterface $dateTime): void;
41 65
 
42 66
     public function hasStartsAt(\DateTimeInterface $dateTime): bool;
@@ -45,6 +69,9 @@  discard block
 block discarded – undo
45 69
 
46 70
     public function isCouponManagementAvailable(): bool;
47 71
 
72
+    /**
73
+     * @return void
74
+     */
48 75
     public function manageCoupons(): void;
49 76
 
50 77
     public function hasAnyRule(): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/IndexPageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,9 +17,15 @@
 block discarded – undo
17 17
 
18 18
 interface IndexPageInterface extends CrudIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function filterByTaxon(string $taxonName): void;
21 24
 
22 25
     public function hasProductAccessibleImage(string $productCode): bool;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function showProductPage(string $productName): void;
25 31
 }
Please login to merge, or discard this patch.
Sylius/Behat/Page/Admin/Product/UpdateConfigurableProductPageInterface.php 1 patch
Doc Comments   +31 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@  discard block
 block discarded – undo
20 20
 {
21 21
     public function isCodeDisabled(): bool;
22 22
 
23
+    /**
24
+     * @return void
25
+     */
23 26
     public function nameItIn(string $name, string $localeCode): void;
24 27
 
25 28
     public function isProductOptionChosen(string $option): bool;
@@ -28,31 +31,59 @@  discard block
 block discarded – undo
28 31
 
29 32
     public function isMainTaxonChosen(string $taxonName): bool;
30 33
 
34
+    /**
35
+     * @return void
36
+     */
31 37
     public function selectMainTaxon(TaxonInterface $taxon): void;
32 38
 
39
+    /**
40
+     * @return void
41
+     */
33 42
     public function checkChannel(string $channelName): void;
34 43
 
35 44
     public function isImageWithTypeDisplayed(string $type): bool;
36 45
 
37 46
     /**
38 47
      * @param string $type
48
+     * @return void
39 49
      */
40 50
     public function attachImage(string $path, string $type = null): void;
41 51
 
52
+    /**
53
+     * @return void
54
+     */
42 55
     public function changeImageWithType(string $type, string $path): void;
43 56
 
57
+    /**
58
+     * @return void
59
+     */
44 60
     public function removeImageWithType(string $type): void;
45 61
 
62
+    /**
63
+     * @return void
64
+     */
46 65
     public function removeFirstImage(): void;
47 66
 
67
+    /**
68
+     * @return void
69
+     */
48 70
     public function modifyFirstImageType(string $type): void;
49 71
 
50 72
     public function countImages(): int;
51 73
 
74
+    /**
75
+     * @return void
76
+     */
52 77
     public function goToVariantsList(): void;
53 78
 
79
+    /**
80
+     * @return void
81
+     */
54 82
     public function goToVariantCreation(): void;
55 83
 
84
+    /**
85
+     * @return void
86
+     */
56 87
     public function goToVariantGeneration(): void;
57 88
 
58 89
     public function hasInventoryTab(): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/IndexPerTaxonPageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -19,7 +19,13 @@
 block discarded – undo
19 19
 {
20 20
     public function hasProductsInOrder(array $productNames): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function setPositionOfProduct(string $productName, string $position): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function savePositions(): void;
25 31
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/AdminUserInterface.php 1 patch
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -19,19 +19,45 @@
 block discarded – undo
19 19
 {
20 20
     public const DEFAULT_ADMIN_ROLE = 'ROLE_ADMINISTRATION_ACCESS';
21 21
 
22
+    /**
23
+     * @return string
24
+     */
22 25
     public function getFirstName(): ?string;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function setFirstName(?string $firstName): void;
25 31
 
32
+    /**
33
+     * @return string
34
+     */
26 35
     public function getLastName(): ?string;
27 36
 
37
+    /**
38
+     * @return void
39
+     */
28 40
     public function setLastName(?string $lastName): void;
29 41
 
42
+    /**
43
+     * @return string
44
+     */
30 45
     public function getLocaleCode(): ?string;
31 46
 
47
+    /**
48
+     * @return void
49
+     */
32 50
     public function setLocaleCode(?string $code): void;
33 51
 
52
+    /**
53
+     * @return ImageInterface
54
+     */
34 55
     public function getAvatar(): ?ImageInterface;
35 56
 
57
+    /**
58
+     * @param AvatarImage $avatar
59
+     *
60
+     * @return void
61
+     */
36 62
     public function setAvatar(?ImageInterface $avatar);
37 63
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/Image.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -64,6 +64,7 @@
 block discarded – undo
64 64
 
65 65
     /**
66 66
      * {@inheritdoc}
67
+     * @param \Symfony\Component\HttpFoundation\File\UploadedFile $file
67 68
      */
68 69
     public function setFile(?\SplFileInfo $file): void
69 70
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ImageAwareInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,7 +15,13 @@
 block discarded – undo
15 15
 
16 16
 interface ImageAwareInterface
17 17
 {
18
+    /**
19
+     * @return ImageInterface
20
+     */
18 21
     public function getImage(): ?ImageInterface;
19 22
 
23
+    /**
24
+     * @return void
25
+     */
20 26
     public function setImage(?ImageInterface $image): void;
21 27
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeSubjectInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -31,13 +31,25 @@
 block discarded – undo
31 31
         ?string $baseLocaleCode = null
32 32
     ): Collection;
33 33
 
34
+    /**
35
+     * @return void
36
+     */
34 37
     public function addAttribute(AttributeValueInterface $attribute): void;
35 38
 
39
+    /**
40
+     * @return void
41
+     */
36 42
     public function removeAttribute(AttributeValueInterface $attribute): void;
37 43
 
38 44
     public function hasAttribute(AttributeValueInterface $attribute): bool;
39 45
 
46
+    /**
47
+     * @param string $localeCode
48
+     */
40 49
     public function hasAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): bool;
41 50
 
51
+    /**
52
+     * @param string $localeCode
53
+     */
42 54
     public function getAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): ?AttributeValueInterface;
43 55
 }
Please login to merge, or discard this patch.