Completed
Push — support-coverage ( b5dae6...9a8e61 )
by Kentaro
55:48
created
codeception/acceptance/AA0PluginInstallerCest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Codeception\Util\Fixtures;
4 3
 use Page\Admin\OwnersPluginPage;
5 4
 
6 5
 /**
Please login to merge, or discard this patch.
codeception/acceptance/EA01TopCest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use Codeception\Util\Fixtures;
4
-use Page\Admin\CustomerManagePage;
5 4
 use Page\Admin\OrderManagePage;
6 5
 use Page\Admin\TopPage;
7 6
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         // 購入された商品が受注管理画面のページにて反映されていることを確認
45 45
         $config = Fixtures::get('config');
46 46
         $findOrders = Fixtures::get('findOrders');
47
-        $NewOrders = array_filter($findOrders(), function ($Order) use ($config) {
47
+        $NewOrders = array_filter($findOrders(), function($Order) use ($config) {
48 48
             return $Order->getOrderStatus()->getId() == \Eccube\Entity\Master\OrderStatus::NEW;
49 49
         });
50 50
         $I->see(count($NewOrders), TopPage::$受付状況_新規受付数);
Please login to merge, or discard this patch.
codeception/acceptance/EA02AuthenticationCest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Codeception\Util\Fixtures;
4
-
5 3
 /**
6 4
  * @group admin
7 5
  * @group admin01
Please login to merge, or discard this patch.
codeception/acceptance/EA07BasicinfoCest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Codeception\Util\Fixtures;
4 3
 use Page\Admin\CsvSettingsPage;
5
-use Page\Admin\CustomerAgreementSettingPage;
6 4
 use Page\Admin\DeliveryEditPage;
7 5
 use Page\Admin\DeliveryManagePage;
8 6
 use Page\Admin\MailSettingsPage;
@@ -10,7 +8,6 @@  discard block
 block discarded – undo
10 8
 use Page\Admin\PaymentManagePage;
11 9
 use Page\Admin\ShopSettingPage;
12 10
 use Page\Admin\TaxManagePage;
13
-use Page\Admin\TradelawSettingPage;
14 11
 
15 12
 /**
16 13
  * @group admin
Please login to merge, or discard this patch.
codeception/acceptance/EA09ShippingCest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Page\Admin\ShippingManagePage;
6 6
 use Page\Admin\ShippingEditPage;
7 7
 use Page\Admin\OrderEditPage;
8
-use Eccube\Entity\Master\ShippingStatus;
9 8
 
10 9
 /**
11 10
  * @group admin
Please login to merge, or discard this patch.
codeception/acceptance/EF06OtherCest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use Codeception\Util\Fixtures;
4
-use Eccube\Entity\Master\CustomerStatus;
5 4
 
6 5
 /**
7 6
  * @group front
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         $createCustomer = Fixtures::get('createCustomer');
82 82
         $customer = $createCustomer();
83 83
         $I->resetEmails();
84
-        $I->submitForm('#form1',[
84
+        $I->submitForm('#form1', [
85 85
             'login_email' => $customer->getEmail()
86 86
         ]);
87 87
         $I->see('パスワード発行メールの送信 完了', 'div.ec-pageHeader h1');
Please login to merge, or discard this patch.
src/Eccube/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,6 @@
 block discarded – undo
22 22
 use Doctrine\ORM\Query\AST\PartialObjectExpression;
23 23
 use Doctrine\ORM\Query\AST\SelectExpression;
24 24
 use Doctrine\ORM\Query\AST\SelectStatement;
25
-use Doctrine\ORM\Query\Expr\OrderBy;
26
-use Doctrine\ORM\Query\Expr\Select;
27 25
 use Doctrine\ORM\Query\SqlWalker;
28 26
 
29 27
 /**
Please login to merge, or discard this patch.
src/Eccube/Service/PluginService.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,6 @@
 block discarded – undo
33 33
 use Eccube\Entity\Plugin;
34 34
 use Eccube\Entity\PluginEventHandler;
35 35
 use Eccube\Exception\PluginException;
36
-use Eccube\Plugin\ConfigManager;
37 36
 use Eccube\Plugin\ConfigManager as PluginConfigManager;
38 37
 use Eccube\Repository\PluginEventHandlerRepository;
39 38
 use Eccube\Repository\PluginRepository;
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -504,7 +504,7 @@  discard block
 block discarded – undo
504 504
         @mkdir($outputDir);
505 505
 
506 506
         $enabledPluginCodes = array_map(
507
-            function ($p) { return $p->getCode(); },
507
+            function($p) { return $p->getCode(); },
508 508
             $this->pluginRepository->findAllEnabled()
509 509
         );
510 510
 
@@ -519,7 +519,7 @@  discard block
 block discarded – undo
519 519
             }
520 520
         }
521 521
 
522
-        $enabledPluginEntityDirs = array_map(function ($code) {
522
+        $enabledPluginEntityDirs = array_map(function($code) {
523 523
             return $this->projectRoot."/app/Plugin/${code}/Entity";
524 524
         }, $enabledPluginCodes);
525 525
 
@@ -948,7 +948,7 @@  discard block
 block discarded – undo
948 948
     {
949 949
         $result = array_keys($packages);
950 950
         if ($getVersion) {
951
-            $result = array_map(function ($package, $version) {
951
+            $result = array_map(function($package, $version) {
952 952
                 return $package.':'.$version;
953 953
             }, array_keys($packages), array_values($packages));
954 954
         }
Please login to merge, or discard this patch.
codeception/acceptance/EA08SysteminfoCest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@
 block discarded – undo
377 377
 
378 378
         $findPlugins = Fixtures::get('findPlugins');
379 379
         $Plugins = $findPlugins();
380
-        if (is_array($Plugins) && count($Plugins) > 0 ) {
380
+        if (is_array($Plugins) && count($Plugins) > 0) {
381 381
             $I->getScenario()->skip('プラグインのアンインストールが必要なため、テストをスキップします');
382 382
         }
383 383
 
Please login to merge, or discard this patch.