Completed
Push — master ( 52c5e3...8008ee )
by
unknown
15s queued 12s
created
Configuration/TCA/tx_dlf_solrcores.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
                 'max' => 255,
50 50
                 'eval' => 'alphanum,nospace,required,unique',
51 51
                 'default' => '',
52
-                'readOnly' => true,
52
+                'readOnly' => TRUE,
53 53
                 'fieldInformation' => [
54 54
                     'solrCoreStatus' => [
55 55
                         'renderType' => 'solrCoreStatus',
Please login to merge, or discard this patch.
Classes/Hooks/Form/FieldInformation/SolrCoreStatus.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
                     $uptimeInSeconds = floor($response->getUptime() / 1000);
56 56
                     $dateTimeFrom = new \DateTime('@0');
57 57
                     $dateTimeTo = new \DateTime("@$uptimeInSeconds");
58
-                    $uptime = $dateTimeFrom->diff($dateTimeTo)->format('%a ' . $GLOBALS['LANG']->getLL('flash.days') . ', %H:%I:%S');
58
+                    $uptime = $dateTimeFrom->diff($dateTimeTo)->format('%a '.$GLOBALS['LANG']->getLL('flash.days').', %H:%I:%S');
59 59
                     $numDocuments = $response->getNumberOfDocuments();
60 60
                     $startTime = $response->getStartTime() ? strftime('%c', $response->getStartTime()->getTimestamp()) : 'N/A';
61 61
                     $lastModified = $response->getLastModified() ? strftime('%c', $response->getLastModified()->getTimestamp()) : 'N/A';
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,7 @@
 block discarded – undo
24 24
  * @subpackage dlf
25 25
  * @access public
26 26
  */
27
-class SolrCoreStatus extends AbstractNode
28
-{
27
+class SolrCoreStatus extends AbstractNode {
29 28
     /**
30 29
      * Shows Solr core status for given 'index_name'
31 30
      *
Please login to merge, or discard this patch.