Completed
Push — master ( a3cb56...dad9bd )
by Simonas
05:32
created
Tests/Unit/DependencyInjection/Compiler/SettingsModifierPassTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
             ->with(
67 67
                 'extractSettings',
68 68
                 $this->callback(
69
-                    function ($value) use ($expectedMethod) {
69
+                    function($value) use ($expectedMethod) {
70 70
                         return $value[1] == $expectedMethod;
71 71
                     }
72 72
                 )
Please login to merge, or discard this patch.
Settings/Personal/UnderscoreEscaper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
         $string = preg_replace_callback(
37 37
             '/[^a-zA-Z0-9_]/u',
38
-            function ($matches) {
38
+            function($matches) {
39 39
                 return '-' . bin2hex($matches[0]) . '-';
40 40
             },
41 41
             $string
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
         $string = preg_replace_callback(
61 61
             '/-([0-9a-f]+)-/u',
62
-            function ($matches) {
62
+            function($matches) {
63 63
                 return hex2bin($matches[1]);
64 64
             },
65 65
             $string
Please login to merge, or discard this patch.
DependencyInjection/Compiler/ProviderPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         // elements comes out reversed compared to original.
61 61
         uasort(
62 62
             $providers,
63
-            function ($a, $b) {
63
+            function($a, $b) {
64 64
                 if ($a['priority'] == $b['priority']) {
65 65
                     return 0;
66 66
                 }
Please login to merge, or discard this patch.
Settings/General/Provider/ManagerAwareSettingProvider.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 ONGR\SettingsBundle\Settings\General\Provider;
13 13
 
14 14
 use ONGR\SettingsBundle\Document\Setting;
15
-use ONGR\FilterManagerBundle\Filters\ViewData;
16 15
 use ONGR\ElasticsearchBundle\Service\Manager;
17 16
 use ONGR\ElasticsearchBundle\Service\Repository;
18 17
 use ONGR\ElasticsearchDSL\Query\MatchQuery;
Please login to merge, or discard this patch.