Passed
Push — master ( c4519d...a8a876 )
by
unknown
39:37 queued 17:26
created
SprykerTest/Client/OauthCryptography/Client/OauthCryptographyClientTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
             ->getMock();
101 101
         $leagueBearerTokenValidator->expects($this->once())->method('setPublicKey');
102 102
         $leagueBearerTokenValidator->expects($this->once())->method('validateAuthorization')->willReturnCallback(
103
-            function (ServerRequestInterface $request) {
103
+            function(ServerRequestInterface $request) {
104 104
                 return $request
105 105
                     ->withAttribute('oauth_access_token_id', '')
106 106
                     ->withAttribute('oauth_client_id', '')
Please login to merge, or discard this patch.
SearchElasticsearch/Business/Installer/Index/Update/IndexUpdaterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
         $indexMock->method('getName')->willReturn($indexName);
79 79
         $clientMock = $this->createClientMock($indexMock);
80 80
         $mappingMock = $this->tester->createMappingMock([
81
-            'toArray' => function () use ($mappings) {
81
+            'toArray' => function() use ($mappings) {
82 82
                 return $mappings;
83 83
             },
84 84
         ]);
Please login to merge, or discard this patch.
Zed/SearchElasticsearch/Business/Installer/Index/AbstractIndexTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     protected function createMappingBuilderMock(array $mappings = []): MappingBuilderInterface
41 41
     {
42 42
         $mappingMock = $this->tester->createMappingMock([
43
-            'toArray' => function () use ($mappings) {
43
+            'toArray' => function() use ($mappings) {
44 44
                 return $mappings;
45 45
             },
46 46
         ]);
Please login to merge, or discard this patch.
ProductReview/Plugin/Elasticsearch/Query/BulkProductReviewsQueryPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
     {
129 129
         $this->bulkProductReviewSearchRequestTransfer->requireProductAbstractIds();
130 130
 
131
-        return array_map(function (int $productAbstractId) {
131
+        return array_map(function(int $productAbstractId) {
132 132
             return (string)$productAbstractId;
133 133
         }, $this->bulkProductReviewSearchRequestTransfer->getProductAbstractIds());
134 134
     }
Please login to merge, or discard this patch.
Bundles/Translator/src/Spryker/Zed/Translator/TranslatorConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
             return $this->get(TranslatorConstants::TRANSLATION_ZED_FILE_PATH_PATTERNS);
63 63
         }
64 64
 
65
-        return array_map(function (string $projectNamespace) {
65
+        return array_map(function(string $projectNamespace) {
66 66
             return sprintf('%s/src/%s/Zed/Translator/data/*/[a-z][a-z]_[A-Z][A-Z].csv', APPLICATION_ROOT_DIR, $projectNamespace);
67 67
         }, $this->getSharedConfig()->getProjectNamespaces());
68 68
     }
Please login to merge, or discard this patch.
Zed/SalesMerchantPortalGui/Communication/Controller/ItemListController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
             return [];
80 80
         }
81 81
 
82
-        return array_map(function ($value) {
82
+        return array_map(function($value) {
83 83
             return (int)$value;
84 84
         }, explode(',', $merchantOrderItemIds));
85 85
     }
Please login to merge, or discard this patch.
Zed/GuiTable/Communication/Plugin/Application/GuiTableApplicationPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     protected function addGuiTableFactoryService(ContainerInterface $container): ContainerInterface
48 48
     {
49
-        $container->set(static::SERVICE_GUI_TABLE_FACTORY, function (): GuiTableFactoryInterface {
49
+        $container->set(static::SERVICE_GUI_TABLE_FACTORY, function(): GuiTableFactoryInterface {
50 50
             return $this->getFactory()->createGuiTableFactory();
51 51
         });
52 52
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     protected function addGuiTableHttpDataRequestExecutorService(ContainerInterface $container): ContainerInterface
62 62
     {
63
-        $container->set(static::SERVICE_GUI_TABLE_HTTP_DATA_REQUEST_EXECUTOR, function (): GuiTableDataRequestExecutorInterface {
63
+        $container->set(static::SERVICE_GUI_TABLE_HTTP_DATA_REQUEST_EXECUTOR, function(): GuiTableDataRequestExecutorInterface {
64 64
             return $this->getFactory()->createGuiTableDataRequestExecutor();
65 65
         });
66 66
 
Please login to merge, or discard this patch.
Testify/tests/SprykerTest/Shared/Testify/_support/Helper/ZedBootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     {
97 97
         Request::setTrustedHosts(['localhost']);
98 98
 
99
-        $requestFactory = function (array $query = [], array $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], $content = null) {
99
+        $requestFactory = function(array $query = [], array $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], $content = null) {
100 100
             $request = new Request($query, $request, $attributes, $cookies, $files, $server, $content);
101 101
             $request->server->set('SERVER_NAME', 'localhost');
102 102
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         $twigConfig = new TwigConfig();
128 128
         /** @var \Spryker\Shared\Kernel\AbstractBundleConfig $twigBundleConfigMock */
129 129
         $twigBundleConfigMock = Stub::make(TwigConfig::class, [
130
-            'getTemplatePaths' => function () use ($twigConfig) {
130
+            'getTemplatePaths' => function() use ($twigConfig) {
131 131
                 $paths = $twigConfig->getTemplatePaths();
132 132
                 $paths[] = APPLICATION_VENDOR_DIR . '/spryker/spryker/Bundles/%2$s/src/*/Zed/%1$s/Presentation';
133 133
 
Please login to merge, or discard this patch.
Publisher/ProductBundle/ProductBundlePublishWritePublisherPluginTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     {
41 41
         parent::setUp();
42 42
 
43
-        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) {
43
+        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) {
44 44
             return [
45 45
                 $container->getLocator()->rabbitMq()->client()->createQueueAdapter(),
46 46
             ];
Please login to merge, or discard this patch.