Test Setup Failed
Push — master ( f7d5f4...1c10a6 )
by
unknown
11:44 queued 07:40
created
src/Oro/Bundle/LocaleBundle/Tests/Unit/Formatter/NumberFormatterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -392,7 +392,7 @@
 block discarded – undo
392 392
             array(\NumberFormatter::DECIMAL_ALWAYS_SHOWN, \NumberFormatter::DECIMAL, 'en_US', 0),
393 393
             array(\NumberFormatter::MAX_INTEGER_DIGITS, \NumberFormatter::DECIMAL, 'en_US', $maxIntegerDigits),
394 394
             array(\NumberFormatter::MIN_INTEGER_DIGITS, \NumberFormatter::DECIMAL, 'en_US', 1),
395
-            array(\NumberFormatter::INTEGER_DIGITS,\NumberFormatter::DECIMAL, 'en_US', 1),
395
+            array(\NumberFormatter::INTEGER_DIGITS, \NumberFormatter::DECIMAL, 'en_US', 1),
396 396
             array(\NumberFormatter::MAX_FRACTION_DIGITS, \NumberFormatter::DECIMAL, 'en_US', 3),
397 397
             array(\NumberFormatter::MIN_FRACTION_DIGITS, \NumberFormatter::DECIMAL, 'en_US', 0),
398 398
             array(\NumberFormatter::MAX_FRACTION_DIGITS, \NumberFormatter::CURRENCY, 'en_US', 2),
Please login to merge, or discard this patch.
src/Oro/Bundle/LocaleBundle/Tests/Unit/Model/CalendarTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
             null,
161 161
             'UTC',
162 162
             \IntlDateFormatter::GREGORIAN,
163
-            $widthToPatternMap[$width ? : Calendar::WIDTH_WIDE]
163
+            $widthToPatternMap[$width ?: Calendar::WIDTH_WIDE]
164 164
         );
165 165
         foreach ($actual as $dayNum => $dayName) {
166 166
             $checkDate = new \DateTime('2013/09/0' . $dayNum, new \DateTimeZone('UTC'));
Please login to merge, or discard this patch.
src/Oro/Bundle/LocaleBundle/Formatter/NameFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
     {
114 114
         $name = preg_replace_callback(
115 115
             '/%(\w+)%/',
116
-            function ($data) use ($nameParts) {
116
+            function($data) use ($nameParts) {
117 117
                 $key = $data[1];
118 118
                 $lowerCaseKey = strtolower($key);
119 119
                 if (isset($nameParts[$lowerCaseKey])) {
Please login to merge, or discard this patch.
src/Oro/Bundle/LocaleBundle/Formatter/AddressFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
         $countryLocale = $this->localeSettings->getLocaleByCountry($country);
76 76
         $formatted = preg_replace_callback(
77 77
             '/%(\w+)%/',
78
-            function ($data) use ($address, $countryLocale, $newLineSeparator) {
78
+            function($data) use ($address, $countryLocale, $newLineSeparator) {
79 79
                 $key = $data[1];
80 80
                 $lowerCaseKey = strtolower($key);
81 81
                 if ('name' === $lowerCaseKey) {
Please login to merge, or discard this patch.
src/Oro/Bundle/LocaleBundle/Formatter/NumberFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -370,7 +370,7 @@
 block discarded – undo
370 370
         array $textAttributes = array(),
371 371
         array $symbols = array()
372 372
     ) {
373
-        $locale = $locale ? : $this->localeSettings->getLocale();
373
+        $locale = $locale ?: $this->localeSettings->getLocale();
374 374
         $style = $this->parseStyle($style);
375 375
         $attributes = $this->parseAttributes($attributes);
376 376
         $textAttributes = $this->parseAttributes($textAttributes);
Please login to merge, or discard this patch.
src/Oro/Bundle/ReportBundle/Grid/ReportDatagridConfigurationProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      */
121 121
     protected function prepareConfiguration($gridName)
122 122
     {
123
-        $id     = (int) (substr($gridName, strlen(Report::GRID_PREFIX)));
123
+        $id     = (int)(substr($gridName, strlen(Report::GRID_PREFIX)));
124 124
         $repo   = $this->doctrine->getRepository('OroReportBundle:Report');
125 125
         $report = $repo->find($id);
126 126
 
@@ -139,6 +139,6 @@  discard block
 block discarded – undo
139 139
      */
140 140
     private function getCacheKey($gridName)
141 141
     {
142
-        return $this->prefixCacheKey.'.'.$gridName;
142
+        return $this->prefixCacheKey . '.' . $gridName;
143 143
     }
144 144
 }
Please login to merge, or discard this patch.
src/Oro/Bundle/ReportBundle/Form/Type/ReportChartType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     {
36 36
         $resolver->setDefaults(
37 37
             array(
38
-                'chart_filter' => function ($chartConfig) {
38
+                'chart_filter' => function($chartConfig) {
39 39
                     return !empty($chartConfig['default_settings']['available_in_reports']);
40 40
                 }
41 41
             )
Please login to merge, or discard this patch.
src/Oro/Bundle/ReportBundle/EventListener/ReportCacheCleanerListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      */
51 51
     protected function clearCache(Report $entity)
52 52
     {
53
-        $key = $this->prefixCacheKey.'.'.$entity->getGridPrefix().$entity->getId();
53
+        $key = $this->prefixCacheKey . '.' . $entity->getGridPrefix() . $entity->getId();
54 54
 
55 55
         if ($this->reportCacheManager->contains($key)) {
56 56
             $this->reportCacheManager->delete($key);
Please login to merge, or discard this patch.
Bundle/LocaleBundle/Tests/Unit/Formatter/FormattingCodeFormatterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     {
29 29
         IntlTestHelper::requireIntl($this);
30 30
 
31
-        $this->translator   = $this->createMock('Symfony\Component\Translation\TranslatorInterface');
31
+        $this->translator = $this->createMock('Symfony\Component\Translation\TranslatorInterface');
32 32
         $this->configManager = $this->getMockBuilder('Oro\Bundle\ConfigBundle\Config\ConfigManager')
33 33
             ->disableOriginalConstructor()->getMock();
34 34
 
Please login to merge, or discard this patch.