Passed
Pull Request — master (#123)
by
unknown
05:44 queued 01:27
created
Classes/Task/SuggestBuildTask.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,10 +23,8 @@
 block discarded – undo
23 23
  *
24 24
  * @access public
25 25
  */
26
-class SuggestBuildTask extends BaseTask
27
-{
28
-    public function execute()
29
-    {
26
+class SuggestBuildTask extends BaseTask {
27
+    public function execute() {
30 28
         $inputArray = [];
31 29
         $inputArray['-s'] = $this->solr;
32 30
 
Please login to merge, or discard this patch.
Classes/Command/SuggestBuildCommand.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,12 +74,12 @@
 block discarded – undo
74 74
         $solr = Solr::getInstance($input->getOption('solr'));
75 75
         // Connect to Solr server.
76 76
         if (!$solr->ready) {
77
-            $io->error('ERROR: Connection to Solr core ("' . $input->getOption('solr') . '") not possible \n');
77
+            $io->error('ERROR: Connection to Solr core ("'.$input->getOption('solr').'") not possible \n');
78 78
             return BaseCommand::FAILURE;
79 79
         }
80 80
 
81 81
         if (!$solr->suggestBuild()) {
82
-            $io->error('ERROR: Sending the command suggest.build=true to Solr core ("' . $input->getOption('solr') . '") not possible \n');
82
+            $io->error('ERROR: Sending the command suggest.build=true to Solr core ("'.$input->getOption('solr').'") not possible \n');
83 83
             return BaseCommand::FAILURE;
84 84
         }
85 85
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,7 @@
 block discarded – undo
27 27
  *
28 28
  * @access public
29 29
  */
30
-class SuggestBuildCommand extends Command
31
-{
30
+class SuggestBuildCommand extends Command {
32 31
 
33 32
     /**
34 33
      * Configure the command by defining the name, options and arguments
Please login to merge, or discard this patch.