@@ -37,7 +37,7 @@ |
||
37 | 37 | */ |
38 | 38 | public function parse() |
39 | 39 | { |
40 | - return Yaml::parse($this->getFixturesLocation() . $this->_filename); |
|
40 | + return Yaml::parse($this->getFixturesLocation().$this->_filename); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
@@ -21,7 +21,7 @@ |
||
21 | 21 | public static function instance($fixtureType, array $instanceData, $hook) |
22 | 22 | { |
23 | 23 | $mageModel = Mage::getModel($instanceData['fixture']['model']); |
24 | - $class = new \ReflectionClass(static::BUILDER_NAMESPACE_PREFIX . $fixtureType); |
|
24 | + $class = new \ReflectionClass(static::BUILDER_NAMESPACE_PREFIX.$fixtureType); |
|
25 | 25 | $fixture = $class->newInstanceArgs([$instanceData, $mageModel, $hook]); |
26 | 26 | |
27 | 27 | return $fixture; |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | public static function isEnabled($carrier) |
80 | 80 | { |
81 | - return Mage::getStoreConfig('carriers/' . $carrier . '/active'); |
|
81 | + return Mage::getStoreConfig('carriers/'.$carrier.'/active'); |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | $carriers = Mage::getSingleton('shipping/config')->getActiveCarriers(); |
91 | 91 | |
92 | 92 | if (array_key_exists($carrier, $carriers)) { |
93 | - Mage::app()->getStore()->setConfig('carriers/' . $carrier . '/active', $enable); |
|
93 | + Mage::app()->getStore()->setConfig('carriers/'.$carrier.'/active', $enable); |
|
94 | 94 | } |
95 | 95 | } |
96 | 96 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | if (!@file_exists($gallery['image'])) { |
25 | 25 | throw new ProductMediaGalleryImageNotFound( |
26 | - 'Specified product fixture gallery image does not exists -> ' . $gallery['image'] |
|
26 | + 'Specified product fixture gallery image does not exists -> '.$gallery['image'] |
|
27 | 27 | ); |
28 | 28 | } |
29 | 29 |
@@ -55,7 +55,7 @@ |
||
55 | 55 | protected function _throwMethodNotFoundExceptionForProvider(Provider $provider, $method) |
56 | 56 | { |
57 | 57 | throw new ProviderMethodNotFound( |
58 | - "Given provider does not have the method " . $method . ' -> ' . get_class($provider) |
|
58 | + "Given provider does not have the method ".$method.' -> '.get_class($provider) |
|
59 | 59 | ); |
60 | 60 | } |
61 | 61 |
@@ -120,7 +120,7 @@ |
||
120 | 120 | protected static function _registerFixture($type, $fixtureId, $hook) |
121 | 121 | { |
122 | 122 | self::_throwNullFixtureIdException($fixtureId); |
123 | - self::register($type . "_{$hook}_" . $fixtureId, $fixtureId); |
|
123 | + self::register($type."_{$hook}_".$fixtureId, $fixtureId); |
|
124 | 124 | } |
125 | 125 | |
126 | 126 | /** |
@@ -97,8 +97,8 @@ |
||
97 | 97 | $backtrace = debug_backtrace(); |
98 | 98 | |
99 | 99 | throw new \Exception( |
100 | - "Timeout thrown by " . $backtrace[1]['class'] . "::" . $backtrace[1]['function'] . "()\n" . |
|
101 | - $backtrace[1]['file'] . ", line " . $backtrace[1]['line'] |
|
100 | + "Timeout thrown by ".$backtrace[1]['class']."::".$backtrace[1]['function']."()\n". |
|
101 | + $backtrace[1]['file'].", line ".$backtrace[1]['line'] |
|
102 | 102 | ); |
103 | 103 | } |
104 | 104 | } |