Skip to content

Commit 4b5fcee

Browse files
authored
Merge pull request #234 from symfony-cmf/analysis-Xpy9KV
Apply fixes from StyleCI
2 parents f58c276 + ee268e8 commit 4b5fcee

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

src/DependencyInjection/CmfCoreExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ public function prepend(ContainerBuilder $container)
221221
if (isset($bundles['CmfContentBundle'])) {
222222
$prependConfig['dynamic']['generic_controller'] = 'cmf_content.controller:indexAction';
223223
}
224+
224225
break;
225226

226227
case 'cmf_seo':
@@ -231,6 +232,7 @@ public function prepend(ContainerBuilder $container)
231232
],
232233
],
233234
];
235+
234236
break;
235237
}
236238

src/PublishWorkflow/Voter/PublishTimePeriodVoter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public function vote(TokenInterface $token, $subject, array $attributes)
8888
// now we only abstain or deny if we find a supported attribute
8989
// and the content is not publishable
9090
$decision = self::ACCESS_ABSTAIN;
91+
9192
continue;
9293
}
9394

src/PublishWorkflow/Voter/PublishableVoter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public function vote(TokenInterface $token, $subject, array $attributes)
6363
// now we only abstain or deny if we find a supported attribute
6464
// and the content is not publishable
6565
$decision = self::ACCESS_ABSTAIN;
66+
6667
continue;
6768
}
6869

src/Templating/Helper/CmfHelper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ public function getChildren($parent, $limit = false, $offset = false, $filter =
347347
// filter before fetching data already to save some traffic
348348
if (strpos($child, 'phpcr_locale:') === 0) {
349349
unset($children[$key]);
350+
350351
continue;
351352
}
352353
$children[$key] = "$parent/$child";

tests/Functional/Form/CheckboxUrlLabelFormTypeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public function testFormTwigTemplate()
5757
protected function assertMatchesXpath($html, $expression, $count = 1)
5858
{
5959
$dom = new \DomDocument('UTF-8');
60+
6061
try {
6162
// Wrap in <root> node so we can load HTML with multiple tags at
6263
// the top level

0 commit comments

Comments
 (0)