Completed
Push — unused-compiler-pass ( 93ebf5 )
by Kamil
31:23 queued 11:08
created
src/Sylius/Bundle/ThemeBundle/Tests/Functional/AssetTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -101,6 +101,9 @@
 block discarded – undo
101 101
         return $webDirectory;
102 102
     }
103 103
 
104
+    /**
105
+     * @param string $webDirectory
106
+     */
104 107
     private function assertFileContent($lines, $webDirectory)
105 108
     {
106 109
         foreach ($lines as $line) {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     {
23 23
         parent::tearDown();
24 24
 
25
-        file_put_contents(__DIR__.'/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset'.PHP_EOL);
25
+        file_put_contents(__DIR__ . '/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset' . PHP_EOL);
26 26
     }
27 27
 
28 28
     /**
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
         $client->getContainer()->get('sylius.theme.asset.assets_installer')->installAssets($webDirectory, $symlinkMask);
59 59
 
60 60
         sleep(1);
61
-        file_put_contents(__DIR__.'/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset modified');
61
+        file_put_contents(__DIR__ . '/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset modified');
62 62
         clearstatcache();
63 63
 
64 64
         $client->getContainer()->get('sylius.theme.asset.assets_installer')->installAssets($webDirectory, $symlinkMask);
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
     private function createWebDirectory()
93 93
     {
94
-        $webDirectory = $this->getTmpDirPath(self::TEST_CASE).'/web';
94
+        $webDirectory = $this->getTmpDirPath(self::TEST_CASE) . '/web';
95 95
         if (!is_dir($webDirectory)) {
96 96
             mkdir($webDirectory, 0777, true);
97 97
         }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
             list($expectedText, $assetFile) = explode(': ', $line);
112 112
 
113
-            $contents = file_get_contents($webDirectory.$assetFile);
113
+            $contents = file_get_contents($webDirectory . $assetFile);
114 114
 
115 115
             $this->assertEquals($expectedText, trim($contents));
116 116
         }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Twig/ThemeFilesystemLoader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
     }
105 105
 
106 106
     /**
107
-     * @param TemplateReferenceInterface|string $template
107
+     * @param string $template
108 108
      *
109 109
      * @return string
110 110
      */
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/AddressInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -30,6 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * @param string $name
33
+     * @return void
33 34
      */
34 35
     public function setName($name);
35 36
 
@@ -40,6 +41,7 @@  discard block
 block discarded – undo
40 41
 
41 42
     /**
42 43
      * @param string $description
44
+     * @return void
43 45
      */
44 46
     public function setDescription($description);
45 47
 
@@ -50,11 +52,13 @@  discard block
 block discarded – undo
50 52
 
51 53
     /**
52 54
      * @param PermissionInterface $permission
55
+     * @return void
53 56
      */
54 57
     public function addPermission(PermissionInterface $permission);
55 58
 
56 59
     /**
57 60
      * @param PermissionInterface $permission
61
+     * @return void
58 62
      */
59 63
     public function removePermission(PermissionInterface $permission);
60 64
 
@@ -72,6 +76,7 @@  discard block
 block discarded – undo
72 76
 
73 77
     /**
74 78
      * @param RoleInterface $role
79
+     * @return void
75 80
      */
76 81
     public function setParent(RoleInterface $role);
77 82
 
@@ -87,11 +92,13 @@  discard block
 block discarded – undo
87 92
 
88 93
     /**
89 94
      * @param RoleInterface $role
95
+     * @return void
90 96
      */
91 97
     public function addChild(RoleInterface $role);
92 98
 
93 99
     /**
94 100
      * @param RoleInterface $role
101
+     * @return void
95 102
      */
96 103
     public function removeChild(RoleInterface $role);
97 104
 
@@ -109,6 +116,7 @@  discard block
 block discarded – undo
109 116
 
110 117
     /**
111 118
      * @param int $left
119
+     * @return void
112 120
      */
113 121
     public function setLeft($left);
114 122
 
@@ -119,6 +127,7 @@  discard block
 block discarded – undo
119 127
 
120 128
     /**
121 129
      * @param int $right
130
+     * @return void
122 131
      */
123 132
     public function setRight($right);
124 133
 
@@ -129,6 +138,7 @@  discard block
 block discarded – undo
129 138
 
130 139
     /**
131 140
      * @param int $level
141
+     * @return void
132 142
      */
133 143
     public function setLevel($level);
134 144
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/CountryInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param OptionInterface $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(OptionInterface $option = null);
32 33
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
      * Set internal value.
42 43
      *
43 44
      * @param string $value
45
+     * @return void
44 46
      */
45 47
     public function setValue($value);
46 48
 
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/ZoneInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -31,6 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * @param string $name
34
+     * @return void
34 35
      */
35 36
     public function setName($name);
36 37
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
 
42 43
     /**
43 44
      * @param VariableInterface|null $object
45
+     * @return void
44 46
      */
45 47
     public function setObject(VariableInterface $object = null);
46 48
 
@@ -51,16 +53,19 @@  discard block
 block discarded – undo
51 53
 
52 54
     /**
53 55
      * @param Collection $options
56
+     * @return void
54 57
      */
55 58
     public function setOptions(Collection $options);
56 59
 
57 60
     /**
58 61
      * @param OptionValueInterface $option
62
+     * @return void
59 63
      */
60 64
     public function addOption(OptionValueInterface $option);
61 65
 
62 66
     /**
63 67
      * @param OptionValueInterface $option
68
+     * @return void
64 69
      */
65 70
     public function removeOption(OptionValueInterface $option);
66 71
 
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeSubjectInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param OptionInterface $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(OptionInterface $option = null);
32 33
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
      * Set internal value.
42 43
      *
43 44
      * @param string $value
45
+     * @return void
44 46
      */
45 47
     public function setValue($value);
46 48
 
Please login to merge, or discard this patch.
src/Sylius/Component/Channel/Model/ChannelsAwareInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param OptionInterface $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(OptionInterface $option = null);
32 33
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
      * Set internal value.
42 43
      *
43 44
      * @param string $value
45
+     * @return void
44 46
      */
45 47
     public function setValue($value);
46 48
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Currency/CurrencyStorageInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.
Sylius/Component/Core/Currency/Handler/CurrencyChangeHandlerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.