Completed
Push — 1.4-password-hashing-2 ( b79be0 )
by Kamil
16:31
created
src/Sylius/Bundle/CoreBundle/Routing/Matcher/Dumper/PhpMatcherDumper.php 1 patch
Upper-Lower-Casing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 {$this->generateMatchMethod($supportsRedirections)}
80 80
 }
81 81
 
82
-EOF;
82
+eof;
83 83
     }
84 84
 
85 85
     public function addExpressionLanguageProvider(ExpressionFunctionProviderInterface $provider)
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 
122 122
 $code
123 123
 
124
-EOF;
124
+eof;
125 125
 
126 126
         if ($supportsRedirections) {
127 127
             return <<<'EOF'
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
     private function doMatch(string $rawPathinfo, array &$allow = array(), array &$allowSchemes = array()): ?array
164 164
 
165
-EOF
165
+eof
166 166
                 . $code . "\n        return null;\n    }";
167 167
         }
168 168
 
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
             }
296 296
             list(\$ret, \$requiredHost, \$requiredMethods, \$requiredSchemes) = \$routes[\$pathinfo];
297 297
 {$this->compileSwitchDefault(false, $matchHost)}
298
-EOF;
298
+eof;
299 299
         }
300 300
 
301 301
         return sprintf("        switch (\$pathinfo) {\n%s        }\n\n", $this->indent($code));
@@ -431,7 +431,7 @@  discard block
 block discarded – undo
431 431
 
432 432
             list(\$ret, \$vars, \$requiredMethods, \$requiredSchemes) = \$routes[\$m];
433 433
 {$this->compileSwitchDefault(true, $matchHost)}
434
-EOF;
434
+eof;
435 435
         }
436 436
 
437 437
         $matchedPathinfo = $matchHost ? '$host.\'.\'.$pathinfo' : '$pathinfo';
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
             }
456 456
         }
457 457
 
458
-EOF;
458
+eof;
459 459
     }
460 460
 
461 461
     /**
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
 {$combine}{$this->compileRoute($route, $name, false)}
530 530
             break;
531 531
 
532
-EOF;
532
+eof;
533 533
             }
534 534
         }
535 535
 
@@ -550,7 +550,7 @@  discard block
 block discarded – undo
550 550
                 }
551 551
             }
552 552
 
553
-EOF;
553
+eof;
554 554
         } elseif ($matchHost) {
555 555
             $code = <<<EOF
556 556
 
@@ -564,7 +564,7 @@  discard block
 block discarded – undo
564 564
                 }
565 565
             }
566 566
 
567
-EOF;
567
+eof;
568 568
         } else {
569 569
             $code = '';
570 570
         }
@@ -585,7 +585,7 @@  discard block
 block discarded – undo
585 585
 
586 586
             return \$ret;
587 587
 
588
-EOF;
588
+eof;
589 589
 
590 590
         return $code;
591 591
     }
@@ -628,7 +628,7 @@  discard block
 block discarded – undo
628 628
         // $name
629 629
         if ($conditions) {
630 630
 
631
-EOF;
631
+eof;
632 632
         } else {
633 633
             $code .= "            // {$name}\n";
634 634
         }
@@ -687,7 +687,7 @@  discard block
 block discarded – undo
687 687
             }
688 688
 
689 689
 
690
-EOF;
690
+eof;
691 691
             } else {
692 692
                 $code .= <<<EOF
693 693
             \$requiredSchemes = $schemes;
@@ -697,7 +697,7 @@  discard block
 block discarded – undo
697 697
             }
698 698
 
699 699
 
700
-EOF;
700
+eof;
701 701
             }
702 702
         } elseif ($methods) {
703 703
             $code .= <<<EOF
@@ -707,7 +707,7 @@  discard block
 block discarded – undo
707 707
             }
708 708
 
709 709
 
710
-EOF;
710
+eof;
711 711
         }
712 712
 
713 713
         if ($schemes || $methods) {
Please login to merge, or discard this patch.
src/Sylius/Behat/Element/Admin/Channel/ShopBillingDataElementInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -6,10 +6,19 @@
 block discarded – undo
6 6
 
7 7
 interface ShopBillingDataElementInterface
8 8
 {
9
+    /**
10
+     * @return void
11
+     */
9 12
     public function specifyCompany(string $company): void;
10 13
 
14
+    /**
15
+     * @return void
16
+     */
11 17
     public function specifyTaxId(string $taxId): void;
12 18
 
19
+    /**
20
+     * @return void
21
+     */
13 22
     public function specifyBillingAddress(string $street, string $postcode, string $city, string $countryCode): void;
14 23
 
15 24
     public function hasCompany(string $company): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Channel/UpdatePageInterface.php 1 patch
Doc Comments   +22 added lines patch added patch discarded remove patch
@@ -18,23 +18,45 @@
 block discarded – undo
18 18
 
19 19
 interface UpdatePageInterface extends BaseUpdatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function enable(): void;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function disable(): void;
24 30
 
31
+    /**
32
+     * @return void
33
+     */
25 34
     public function setTheme(string $themeName): void;
26 35
 
27 36
     /**
28 37
      * @throws ElementNotFoundException
38
+     * @return void
29 39
      */
30 40
     public function unsetTheme(): void;
31 41
 
42
+    /**
43
+     * @return void
44
+     */
32 45
     public function chooseLocale(string $language): void;
33 46
 
47
+    /**
48
+     * @return void
49
+     */
34 50
     public function chooseCurrency(string $currencyCode): void;
35 51
 
52
+    /**
53
+     * @return void
54
+     */
36 55
     public function chooseDefaultTaxZone(string $taxZone): void;
37 56
 
57
+    /**
58
+     * @return void
59
+     */
38 60
     public function chooseTaxCalculationStrategy(string $taxCalculationStrategy): void;
39 61
 
40 62
     public function isCodeDisabled(): bool;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ChannelInterface.php 1 patch
Doc Comments   +48 added lines patch added patch discarded remove patch
@@ -25,43 +25,91 @@
 block discarded – undo
25 25
     CurrenciesAwareInterface,
26 26
     LocalesAwareInterface
27 27
 {
28
+    /**
29
+     * @return CurrencyInterface
30
+     */
28 31
     public function getBaseCurrency(): ?CurrencyInterface;
29 32
 
33
+    /**
34
+     * @return void
35
+     */
30 36
     public function setBaseCurrency(?CurrencyInterface $currency): void;
31 37
 
38
+    /**
39
+     * @return LocaleInterface
40
+     */
32 41
     public function getDefaultLocale(): ?LocaleInterface;
33 42
 
43
+    /**
44
+     * @return void
45
+     */
34 46
     public function setDefaultLocale(?LocaleInterface $locale): void;
35 47
 
48
+    /**
49
+     * @return ZoneInterface
50
+     */
36 51
     public function getDefaultTaxZone(): ?ZoneInterface;
37 52
 
53
+    /**
54
+     * @return void
55
+     */
38 56
     public function setDefaultTaxZone(?ZoneInterface $defaultTaxZone): void;
39 57
 
58
+    /**
59
+     * @return string
60
+     */
40 61
     public function getTaxCalculationStrategy(): ?string;
41 62
 
63
+    /**
64
+     * @return void
65
+     */
42 66
     public function setTaxCalculationStrategy(?string $taxCalculationStrategy): void;
43 67
 
68
+    /**
69
+     * @return string
70
+     */
44 71
     public function getThemeName(): ?string;
45 72
 
73
+    /**
74
+     * @return void
75
+     */
46 76
     public function setThemeName(?string $themeName): void;
47 77
 
78
+    /**
79
+     * @return string
80
+     */
48 81
     public function getContactEmail(): ?string;
49 82
 
83
+    /**
84
+     * @return void
85
+     */
50 86
     public function setContactEmail(?string $contactEmail): void;
51 87
 
52 88
     public function isSkippingShippingStepAllowed(): bool;
53 89
 
90
+    /**
91
+     * @return void
92
+     */
54 93
     public function setSkippingShippingStepAllowed(bool $skippingShippingStepAllowed): void;
55 94
 
56 95
     public function isSkippingPaymentStepAllowed(): bool;
57 96
 
97
+    /**
98
+     * @return void
99
+     */
58 100
     public function setSkippingPaymentStepAllowed(bool $skippingPaymentStepAllowed): void;
59 101
 
60 102
     public function isAccountVerificationRequired(): bool;
61 103
 
104
+    /**
105
+     * @return void
106
+     */
62 107
     public function setAccountVerificationRequired(bool $accountVerificationRequired): void;
63 108
 
64 109
     public function getShopBillingData(): ShopBillingDataInterface;
65 110
 
111
+    /**
112
+     * @return void
113
+     */
66 114
     public function setShopBillingData(ShopBillingDataInterface $shopBillingData): void;
67 115
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ShopBillingDataInterface.php 1 patch
Doc Comments   +36 added lines patch added patch discarded remove patch
@@ -15,27 +15,63 @@
 block discarded – undo
15 15
 
16 16
 interface ShopBillingDataInterface
17 17
 {
18
+    /**
19
+     * @return string|null
20
+     */
18 21
     public function getTaxId(): ?string;
19 22
 
23
+    /**
24
+     * @return void
25
+     */
20 26
     public function setTaxId(?string $taxId): void;
21 27
 
28
+    /**
29
+     * @return string|null
30
+     */
22 31
     public function getCompany(): ?string;
23 32
 
33
+    /**
34
+     * @return void
35
+     */
24 36
     public function setCompany(?string $company): void;
25 37
 
38
+    /**
39
+     * @return string|null
40
+     */
26 41
     public function getCountryCode(): ?string;
27 42
 
43
+    /**
44
+     * @return void
45
+     */
28 46
     public function setCountryCode(?string $countryCode): void;
29 47
 
48
+    /**
49
+     * @return string|null
50
+     */
30 51
     public function getStreet(): ?string;
31 52
 
53
+    /**
54
+     * @return void
55
+     */
32 56
     public function setStreet(?string $street): void;
33 57
 
58
+    /**
59
+     * @return string|null
60
+     */
34 61
     public function getCity(): ?string;
35 62
 
63
+    /**
64
+     * @return void
65
+     */
36 66
     public function setCity(?string $city): void;
37 67
 
68
+    /**
69
+     * @return string|null
70
+     */
38 71
     public function getPostcode(): ?string;
39 72
 
73
+    /**
74
+     * @return void
75
+     */
40 76
     public function setPostcode(?string $postcode): void;
41 77
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/User.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -496,6 +496,7 @@  discard block
 block discarded – undo
496 496
 
497 497
     /**
498 498
      * {@inheritdoc}
499
+     * @param string|null $encoderName
499 500
      */
500 501
     public function setEncoderName(?string $encoderName): void
501 502
     {
@@ -541,6 +542,9 @@  discard block
 block discarded – undo
541 542
         ] = $data;
542 543
     }
543 544
 
545
+    /**
546
+     * @param \DateTimeInterface|null $date
547
+     */
544 548
     protected function hasExpired(?\DateTimeInterface $date): bool
545 549
     {
546 550
         return null !== $date && new \DateTime() >= $date;
Please login to merge, or discard this patch.