Completed
Push — master ( 7888fa...8e3a44 )
by Ivannis Suárez
04:39
created
Tests/Units/Factory/DriverFactoryTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         $this
44 44
             ->given($factory = $this->createFactory())
45 45
             ->then()
46
-                ->exception(function () {
46
+                ->exception(function() {
47 47
                     DriverFactory::registerAnnotationDriver(User::class);
48 48
                 })->isInstanceOf(\InvalidArgumentException::class)
49 49
         ;
Please login to merge, or discard this patch.
Tests/Units/Cache/FileCacheTests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,10 +37,10 @@
 block discarded – undo
37 37
             ->given($invalidCacheDir = __DIR__.'/Invalid')
38 38
             ->given($nonWritableCacheDir = '/root')
39 39
             ->then()
40
-                ->exception(function () use ($invalidCacheDir) {
40
+                ->exception(function() use ($invalidCacheDir) {
41 41
                     new FileCache($invalidCacheDir);
42 42
                 })->isInstanceOf(\InvalidArgumentException::class)
43
-                ->exception(function () use ($nonWritableCacheDir) {
43
+                ->exception(function() use ($nonWritableCacheDir) {
44 44
                     new FileCache($nonWritableCacheDir);
45 45
                 })->isInstanceOf(\InvalidArgumentException::class)
46 46
         ;
Please login to merge, or discard this patch.
Tests/Units/Driver/ChainDriverTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
         $this
104 104
             ->given($driver = $this->createEmptyDriver())
105 105
             ->then()
106
-                ->exception(function () use ($driver) {
106
+                ->exception(function() use ($driver) {
107 107
                     $driver->loadMetadataForClass(User::class);
108 108
                 })->isInstanceOf(MappingException::class)
109 109
         ;
Please login to merge, or discard this patch.
Tests/Units/Driver/AbstractAnnotationDriverTests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,14 +172,14 @@
 block discarded – undo
172 172
         $this
173 173
             ->given($driver = $this->createEmptyDriver())
174 174
             ->then()
175
-                ->exception(function () use ($driver) {
175
+                ->exception(function() use ($driver) {
176 176
                     $driver->getAllClassNames();
177 177
                 })->isInstanceOf(MappingException::class);
178 178
 
179 179
         $this
180 180
             ->given($driver = $this->createDriverWithInvalidPaths())
181 181
             ->then()
182
-                ->exception(function () use ($driver) {
182
+                ->exception(function() use ($driver) {
183 183
                     $driver->getAllClassNames();
184 184
                 })->isInstanceOf(MappingException::class);
185 185
     }
Please login to merge, or discard this patch.
Tests/Units/Driver/DriverTestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,10 +38,10 @@
 block discarded – undo
38 38
         $this
39 39
             ->given($driver = $this->createDriver())
40 40
             ->then()
41
-                ->exception(function () use ($driver) {
41
+                ->exception(function() use ($driver) {
42 42
                     $driver->loadMetadataForClass('Cubiche\Core\Metadata\Tests\Fixtures\Post');
43 43
                 })->isInstanceOf(MappingException::class)
44
-                ->exception(function () use ($driver) {
44
+                ->exception(function() use ($driver) {
45 45
                     $driver->loadMetadataForClass('Cubiche\Core\Metadata\Tests\Fixtures\Blog');
46 46
                 })->isInstanceOf(MappingException::class)
47 47
         ;
Please login to merge, or discard this patch.
Tests/Units/Driver/AbstractYamlDriverTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $this
47 47
             ->given($driver = $this->createDriver())
48 48
             ->then()
49
-                ->exception(function () use ($driver) {
49
+                ->exception(function() use ($driver) {
50 50
                     $driver->loadMetadataForClass('Cubiche\Core\Metadata\Tests\Fixtures\Venue');
51 51
                 })->isInstanceOf(MappingException::class)
52 52
         ;
Please login to merge, or discard this patch.
Tests/Units/Locator/DefaultFileLocatorTests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         $this
42 42
             ->given($separator = '')
43 43
             ->then()
44
-                ->exception(function () use ($separator) {
44
+                ->exception(function() use ($separator) {
45 45
                     new DefaultFileLocator([], $separator);
46 46
                 })->isInstanceOf(\InvalidArgumentException::class)
47 47
         ;
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
                 ])
86 86
             )
87 87
             ->then()
88
-                ->exception(function () use ($locator) {
88
+                ->exception(function() use ($locator) {
89 89
                     $locator->getAllClassNames('.xml');
90 90
                 })->isInstanceOf(MappingException::class)
91 91
         ;
Please login to merge, or discard this patch.