Completed
Push — fixtures/enhancements ( 4ca292 )
by Kamil
58:26 queued 22:32
created
SettingsBundle/spec/Transformer/ResourceToIdentifierTransformerSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Bundle\SettingsBundle\Transformer;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Sylius\Bundle\SettingsBundle\spec\Fixture\ParameterFixture;
16 15
 use Sylius\Bundle\SettingsBundle\Transformer\ParameterTransformerInterface;
16
+use Sylius\Bundle\SettingsBundle\spec\Fixture\ParameterFixture;
17 17
 use Sylius\Component\Resource\Repository\RepositoryInterface;
18 18
 
19 19
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShopBundle/Controller/HomepageController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * @param Request $request
37 37
      *
38
-     * @return Response
38
+     * @return \Symfony\Component\HttpFoundation\Response
39 39
      */
40 40
     public function indexAction(Request $request)
41 41
     {
Please login to merge, or discard this patch.
Bundle/TaxonomyBundle/Form/EventListener/BuildTaxonFormSubscriber.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      *
79 79
      * @param TaxonInterface $taxon
80 80
      *
81
-     * @return callable|null
81
+     * @return \Closure|null
82 82
      */
83 83
     private function getFilterTaxonOption(TaxonInterface $taxon)
84 84
     {
Please login to merge, or discard this patch.
Bundle/ThemeBundle/Configuration/ConfigurationSourceFactoryInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@  discard block
 block discarded – undo
23 23
 {
24 24
     /**
25 25
      * @param ArrayNodeDefinition $node
26
+     * @return void
26 27
      */
27 28
     public function buildConfiguration(ArrayNodeDefinition $node);
28 29
 
@@ -32,7 +33,7 @@  discard block
 block discarded – undo
32 33
      * @param ContainerBuilder $container
33 34
      * @param array $config
34 35
      *
35
-     * @return Reference|Definition Configuration provider service
36
+     * @return Definition Configuration provider service
36 37
      */
37 38
     public function initializeSource(ContainerBuilder $container, array $config);
38 39
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Filesystem/FilesystemInterface.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
33 33
      *
34 34
      * @throws FileNotFoundException When originFile doesn't exist
35 35
      * @throws IOException           When copy fails
36
+     * @return void
36 37
      */
37 38
     public function copy($originFile, $targetFile, $override = false);
38 39
 
@@ -43,13 +44,14 @@  discard block
 block discarded – undo
43 44
      * @param int                       $mode The directory mode
44 45
      *
45 46
      * @throws IOException On any directory creation failure
47
+     * @return void
46 48
      */
47 49
     public function mkdir($dirs, $mode = 0777);
48 50
 
49 51
     /**
50 52
      * Checks the existence of files or directories.
51 53
      *
52
-     * @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to check
54
+     * @param string $files A filename, an array of files, or a \Traversable instance to check
53 55
      *
54 56
      * @return bool true if the file exists, false otherwise
55 57
      */
@@ -63,6 +65,7 @@  discard block
 block discarded – undo
63 65
      * @param int                       $atime The access time as a Unix timestamp
64 66
      *
65 67
      * @throws IOException When touch fails
68
+     * @return void
66 69
      */
67 70
     public function touch($files, $time = null, $atime = null);
68 71
 
@@ -72,6 +75,7 @@  discard block
 block discarded – undo
72 75
      * @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to remove
73 76
      *
74 77
      * @throws IOException When removal fails
78
+     * @return void
75 79
      */
76 80
     public function remove($files);
77 81
 
@@ -84,6 +88,7 @@  discard block
 block discarded – undo
84 88
      * @param bool                      $recursive Whether change the mod recursively or not
85 89
      *
86 90
      * @throws IOException When the change fail
91
+     * @return void
87 92
      */
88 93
     public function chmod($files, $mode, $umask = 0000, $recursive = false);
89 94
 
@@ -95,6 +100,7 @@  discard block
 block discarded – undo
95 100
      * @param bool                      $recursive Whether change the owner recursively or not
96 101
      *
97 102
      * @throws IOException When the change fail
103
+     * @return void
98 104
      */
99 105
     public function chown($files, $user, $recursive = false);
100 106
 
@@ -106,6 +112,7 @@  discard block
 block discarded – undo
106 112
      * @param bool                      $recursive Whether change the group recursively or not
107 113
      *
108 114
      * @throws IOException When the change fail
115
+     * @return void
109 116
      */
110 117
     public function chgrp($files, $group, $recursive = false);
111 118
 
@@ -118,6 +125,7 @@  discard block
 block discarded – undo
118 125
      *
119 126
      * @throws IOException When target file or directory already exists
120 127
      * @throws IOException When origin cannot be renamed
128
+     * @return void
121 129
      */
122 130
     public function rename($origin, $target, $overwrite = false);
123 131
 
@@ -129,6 +137,7 @@  discard block
 block discarded – undo
129 137
      * @param bool   $copyOnWindows Whether to copy files if on Windows
130 138
      *
131 139
      * @throws IOException When symlink fails
140
+     * @return void
132 141
      */
133 142
     public function symlink($originDir, $targetDir, $copyOnWindows = false);
134 143
 
@@ -145,6 +154,7 @@  discard block
 block discarded – undo
145 154
      *                                - $options['delete'] Whether to delete files that are not in the source directory (defaults to false)
146 155
      *
147 156
      * @throws IOException When file type is unknown
157
+     * @return void
148 158
      */
149 159
     public function mirror($originDir, $targetDir, \Traversable $iterator = null, $options = []);
150 160
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Loader/CircularDependencyFoundException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     }
38 38
 
39 39
     /**
40
-     * @param array $themes
40
+     * @param ThemeInterface[] $themes
41 41
      *
42 42
      * @return array
43 43
      */
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Locator/RecursiveFileLocator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\ThemeBundle\Locator;
13 13
 
14 14
 use Sylius\Bundle\ThemeBundle\Factory\FinderFactoryInterface;
15
-use Symfony\Component\Finder\Finder;
16 15
 use Symfony\Component\Finder\SplFileInfo;
17 16
 
18 17
 /**
Please login to merge, or discard this patch.
spec/Configuration/Filesystem/FilesystemConfigurationProviderSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Sylius\Bundle\ThemeBundle\Configuration\ConfigurationProviderInterface;
16 16
 use Sylius\Bundle\ThemeBundle\Configuration\Filesystem\ConfigurationLoaderInterface;
17 17
 use Sylius\Bundle\ThemeBundle\Locator\FileLocatorInterface;
18
-use Symfony\Component\Config\Resource\ResourceInterface;
19 18
 
20 19
 /**
21 20
  * @mixin FilesystemConfigurationProvider
Please login to merge, or discard this patch.
ThemeBundle/spec/Configuration/Test/TestConfigurationProviderSpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,9 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Bundle\ThemeBundle\Configuration\Test;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Bundle\ThemeBundle\Configuration\ConfigurationProviderInterface;
17
-use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManagerInterface;
18 16
 use Sylius\Bundle\ThemeBundle\Configuration\Test\TestConfigurationProvider;
17
+use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManagerInterface;
19 18
 
20 19
 /**
21 20
  * @mixin TestConfigurationProvider
Please login to merge, or discard this patch.