Completed
Push — devel ( 139113...e404ea )
by Miguel
08:34 queued 03:05
created
app/code/community/Nexcessnet/Turpentine/Block/Poll/ActivePoll.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public function setTemplate($template)
25 25
     {
26 26
         if ((Mage::getConfig()->getModuleConfig('Mage_Poll')->is('active', 'true')) &&
27
-        (!Mage::getStoreConfig('advanced/modules_disable_output/Mage_Poll')))
27
+        ( ! Mage::getStoreConfig('advanced/modules_disable_output/Mage_Poll')))
28 28
         {
29 29
             $this->_template = $template;
30 30
             $this->setPollTemplate('turpentine/ajax.phtml', 'poll');
Please login to merge, or discard this patch.
app/code/community/Nexcessnet/Turpentine/Model/Observer/Esi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $cookie = Mage::getSingleton('core/cookie');
34 34
         $customerGroups = explode(",", Mage::getStoreConfig('turpentine_vcl/customers/customer_group'));
35 35
 
36
-        if(!in_array($customer->getGroupId(), $customerGroups) && strlen($customerGroups[0]) > 0) {
36
+        if ( ! in_array($customer->getGroupId(), $customerGroups) && strlen($customerGroups[0]) > 0) {
37 37
             return;
38 38
         }
39 39
 
Please login to merge, or discard this patch.
app/code/community/Nexcessnet/Turpentine/Model/Varnish/Admin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
                 $result[$socketName] = 'Failed to load configurator';
105 105
             } else {
106 106
                 $vcl = $cfgr->generate($helper->shouldStripVclWhitespace('apply'));
107
-                $vclName = 'vcl_' . Mage::helper('turpentine/data')
107
+                $vclName = 'vcl_'.Mage::helper('turpentine/data')
108 108
                     ->secureHash(microtime());
109 109
                 try {
110 110
                     $this->_testEsiSyntaxParam($socket);
Please login to merge, or discard this patch.
community/Nexcessnet/Turpentine/Model/Varnish/Configurator/Abstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -981,7 +981,7 @@  discard block
 block discarded – undo
981 981
         return $hosts;
982 982
     }
983 983
 
984
-    protected function _stripHost ($baseUrl){
984
+    protected function _stripHost($baseUrl) {
985 985
         return  rtrim(str_replace(array('http://', 'https://'), '', $baseUrl), '/');
986 986
     }
987 987
 
@@ -1045,7 +1045,7 @@  discard block
 block discarded – undo
1045 1045
     }
1046 1046
 }
1047 1047
 EOS;
1048
-        } else{
1048
+        } else {
1049 1049
             $tpl_750 = '
1050 1050
 sub vcl_synth {
1051 1051
     if (resp.status == 750) {
Please login to merge, or discard this patch.
app/code/community/Nexcessnet/Turpentine/Block/Adminhtml/Cache/Grid.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,10 +25,10 @@
 block discarded – undo
25 25
                 $fullPageEnabled = true;
26 26
             }
27 27
         }
28
-        if ($turpentineEnabled  && !$fullPageEnabled) {
28
+        if ($turpentineEnabled && ! $fullPageEnabled) {
29 29
             $collection->removeItemByKey('full_page');
30 30
         }
31
-        if ($fullPageEnabled && !$turpentineEnabled) {
31
+        if ($fullPageEnabled && ! $turpentineEnabled) {
32 32
             $collection->removeItemByKey('turpentine_pages');
33 33
             $collection->removeItemByKey('turpentine_esi_blocks');
34 34
         }
Please login to merge, or discard this patch.