Failed Conditions
Push — experimental/sf ( ef9148...a8c20b )
by Ryo
1419:13 queued 1408:28
created
src/Eccube/Service/TaxRuleService.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      * @param  int|null|\Eccube\Entity\Master\Pref    $pref         都道府県
56 56
      * @param  int|null|\Eccube\Entity\Master\Country $country      国
57 57
      *
58
-     * @return int
58
+     * @return double
59 59
      */
60 60
     public function getPriceIncTax($price, $product = null, $productClass = null, $pref = null, $country = null)
61 61
     {
@@ -83,8 +83,8 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * 課税規則に応じて端数処理を行う
85 85
      *
86
-     * @param  float|integer $value    端数処理を行う数値
87
-     * @param  integer       $calcRule 課税規則
86
+     * @param  integer $value    端数処理を行う数値
87
+     * @param integer $RoundingType
88 88
      *
89 89
      * @return double        端数処理後の数値
90 90
      */
Please login to merge, or discard this patch.
src/Eccube/Twig/Extension/EccubeExtension.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     /**
44 44
      * Returns a list of functions to add to the existing list.
45 45
      *
46
-     * @return array An array of functions
46
+     * @return TwigFunction[] An array of functions
47 47
      */
48 48
     public function getFunctions()
49 49
     {
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     /**
68 68
      * Returns a list of filters.
69 69
      *
70
-     * @return array
70
+     * @return TwigFilter[]
71 71
      */
72 72
     public function getFilters()
73 73
     {
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * Name of this extension
95 95
      *
96
-     * @return string
96
+     * @return double
97 97
      */
98 98
     public function getCalcIncTax($price, $tax_rate, $tax_rule)
99 99
     {
Please login to merge, or discard this patch.
src/Eccube/Util/CacheUtil.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
         $this->kernel = $kernel;
42 42
     }
43 43
 
44
+    /**
45
+     * @param string $env
46
+     */
44 47
     public function clearCache($env = null)
45 48
     {
46 49
         $console = new Application($this->kernel);
Please login to merge, or discard this patch.
src/Eccube/Util/StringUtil.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
     /**
122 122
      * 文字コードの判定
123 123
      *
124
-     * @param $value
124
+     * @param string $value
125 125
      *
126 126
      * @return string
127 127
      */
Please login to merge, or discard this patch.
codeception/acceptance/ZZ99PluginUninstallerCest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Codeception\Util\Fixtures;
4 3
 use Page\Admin\OwnersPluginPage;
5 4
 
6 5
 /**
Please login to merge, or discard this patch.
src/Eccube/Service/CartService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -438,6 +438,9 @@
 block discarded – undo
438 438
         return $user;
439 439
     }
440 440
 
441
+    /**
442
+     * @param string $allocatedId
443
+     */
441 444
     protected function createCartKey($allocatedId, Customer $Customer = null)
442 445
     {
443 446
         if ($Customer instanceof Customer) {
Please login to merge, or discard this patch.
src/Eccube/Service/Composer/ComposerProcessService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
     /**
230 230
      * Get mode
231 231
      *
232
-     * @return mixed|string
232
+     * @return string
233 233
      */
234 234
     public function getMode()
235 235
     {
Please login to merge, or discard this patch.
src/Eccube/Command/PluginGenerateCommand.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -147,6 +147,9 @@  discard block
 block discarded – undo
147 147
         return $version;
148 148
     }
149 149
 
150
+    /**
151
+     * @param string $pluginDir
152
+     */
150 153
     protected function createDirectories($pluginDir)
151 154
     {
152 155
         $dirs = [
@@ -165,6 +168,9 @@  discard block
 block discarded – undo
165 168
         }
166 169
     }
167 170
 
171
+    /**
172
+     * @param string $pluginDir
173
+     */
168 174
     protected function createConfig($pluginDir, $name, $code, $version)
169 175
     {
170 176
         $source = <<<EOL
@@ -176,12 +182,18 @@  discard block
 block discarded – undo
176 182
         $this->fs->dumpFile($pluginDir.'/config.yml', $source);
177 183
     }
178 184
 
185
+    /**
186
+     * @param string $pluginDir
187
+     */
179 188
     protected function createMessages($pluginDir)
180 189
     {
181 190
         $this->fs->dumpFile($pluginDir.'/Resource/locale/messages.ja.yaml', '');
182 191
         $this->fs->dumpFile($pluginDir.'/Resource/locale/validators.ja.yaml', '');
183 192
     }
184 193
 
194
+    /**
195
+     * @param string $pluginDir
196
+     */
185 197
     protected function createTwigBlock($pluginDir, $code)
186 198
     {
187 199
         $source = <<<EOL
@@ -206,6 +218,9 @@  discard block
 block discarded – undo
206 218
         $this->fs->dumpFile($pluginDir.'/TwigBlock.php', $source);
207 219
     }
208 220
 
221
+    /**
222
+     * @param string $pluginDir
223
+     */
209 224
     protected function createNav($pluginDir, $code)
210 225
     {
211 226
         $source = <<<EOL
@@ -230,6 +245,9 @@  discard block
 block discarded – undo
230 245
         $this->fs->dumpFile($pluginDir.'/Nav.php', $source);
231 246
     }
232 247
 
248
+    /**
249
+     * @param string $pluginDir
250
+     */
233 251
     protected function createEvent($pluginDir, $code)
234 252
     {
235 253
         $source = <<<EOL
@@ -254,6 +272,9 @@  discard block
 block discarded – undo
254 272
         $this->fs->dumpFile($pluginDir.'/Event.php', $source);
255 273
     }
256 274
 
275
+    /**
276
+     * @param string $pluginDir
277
+     */
257 278
     protected function createConfigController($pluginDir, $code)
258 279
     {
259 280
         $snakecased = Container::underscore($code);
Please login to merge, or discard this patch.
codeception/_support/Page/Admin/ShippingEditPage.php 1 patch
Doc Comments   +42 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@  discard block
 block discarded – undo
19 19
         parent::__construct($I);
20 20
     }
21 21
 
22
+    /**
23
+     * @param \AcceptanceTester $I
24
+     */
22 25
     public static function go($I)
23 26
     {
24 27
         $page = new self($I);
@@ -26,6 +29,9 @@  discard block
 block discarded – undo
26 29
         return $page;
27 30
     }
28 31
 
32
+    /**
33
+     * @param \AcceptanceTester $I
34
+     */
29 35
     public static function at($I)
30 36
     {
31 37
         $page = new self($I);
@@ -46,30 +52,45 @@  discard block
 block discarded – undo
46 52
         return $this;
47 53
     }
48 54
 
55
+    /**
56
+     * @param string $value
57
+     */
49 58
     public function 入力_姓($value)
50 59
     {
51 60
         $this->tester->fillField(['id' => 'shipping_name_name01'], $value);
52 61
         return $this;
53 62
     }
54 63
 
64
+    /**
65
+     * @param string $value
66
+     */
55 67
     public function 入力_名($value)
56 68
     {
57 69
         $this->tester->fillField(['id' => 'shipping_name_name02'], $value);
58 70
         return $this;
59 71
     }
60 72
 
73
+    /**
74
+     * @param string $value
75
+     */
61 76
     public function 入力_セイ($value)
62 77
     {
63 78
         $this->tester->fillField(['id' => 'shipping_kana_kana01'], $value);
64 79
         return $this;
65 80
     }
66 81
 
82
+    /**
83
+     * @param string $value
84
+     */
67 85
     public function 入力_メイ($value)
68 86
     {
69 87
         $this->tester->fillField(['id' => 'shipping_kana_kana02'], $value);
70 88
         return $this;
71 89
     }
72 90
 
91
+    /**
92
+     * @param string $value
93
+     */
73 94
     public function 入力_郵便番号($value)
74 95
     {
75 96
         $this->tester->fillField(['id' => 'shipping_postal_code'], $value);
@@ -83,18 +104,27 @@  discard block
 block discarded – undo
83 104
         return $this;
84 105
     }
85 106
 
107
+    /**
108
+     * @param string $value
109
+     */
86 110
     public function 入力_市区町村名($value)
87 111
     {
88 112
         $this->tester->fillField(['id' => 'shipping_address_addr01'], $value);
89 113
         return $this;
90 114
     }
91 115
 
116
+    /**
117
+     * @param string $value
118
+     */
92 119
     public function 入力_番地_ビル名($value)
93 120
     {
94 121
         $this->tester->fillField(['id' => 'shipping_address_addr02'], $value);
95 122
         return $this;
96 123
     }
97 124
 
125
+    /**
126
+     * @param string $value
127
+     */
98 128
     public function 入力_電話番号($value)
99 129
     {
100 130
         $this->tester->fillField(['id' => 'shipping_phone_number'], $value);
@@ -102,18 +132,27 @@  discard block
 block discarded – undo
102 132
         return $this;
103 133
     }
104 134
 
135
+    /**
136
+     * @param string $value
137
+     */
105 138
     public function 入力_出荷伝票番号($value)
106 139
     {
107 140
         $this->tester->fillField(['id' => 'shipping_tracking_number'], $value);
108 141
         return $this;
109 142
     }
110 143
 
144
+    /**
145
+     * @param string[] $value
146
+     */
111 147
     public function 入力_配送業者($value)
112 148
     {
113 149
         $this->tester->selectOption(['id' => 'shipping_Delivery'], $value);
114 150
         return $this;
115 151
     }
116 152
 
153
+    /**
154
+     * @param string $value
155
+     */
117 156
     public function 入力_配達用メモ($value)
118 157
     {
119 158
         $this->tester->fillField(['id' => 'shipping_note'], $value);
@@ -128,6 +167,9 @@  discard block
 block discarded – undo
128 167
         return $this;
129 168
     }
130 169
 
170
+    /**
171
+     * @param integer $rowNum
172
+     */
131 173
     public function 商品検索結果_選択($rowNum)
132 174
     {
133 175
         $this->tester->click(['xpath' => "//*[@id='searchItemsResult']/table/tbody/tr[${rowNum}]/td[5]/i"]);
Please login to merge, or discard this patch.