Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit d05d325

Browse files
committed
moving phpcr-odm and phpcr-bundle into require-dev section
the persistence in phpcr should be disabled by default also move core-bundle to require-dev the publishing workflow is disabled by default, so the core-bundle could be seen as optional Apply fixes from StyleCI [ci skip] [skip ci]
1 parent e44c783 commit d05d325

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

composer.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
"require": {
1515
"php": "^5.6|^7.0",
1616
"symfony/framework-bundle": "^2.8|^3.0",
17-
"symfony-cmf/core-bundle": "^2.0",
18-
"doctrine/phpcr-bundle": "^1.1",
19-
"doctrine/phpcr-odm": "^1.4.2",
2017
"knplabs/knp-menu-bundle": "^2.0.0",
2118
"knplabs/knp-menu": "^2.0.0"
2219
},
@@ -25,7 +22,15 @@
2522
"symfony/phpunit-bridge": "^3.2",
2623
"symfony-cmf/routing-bundle": "^1.4|^2.0",
2724
"symfony-cmf/testing": "^2.0",
28-
"twig/twig": "^1.18|^2.0"
25+
"twig/twig": "^1.18|^2.0",
26+
"symfony-cmf/core-bundle": "^2.0",
27+
"doctrine/phpcr-bundle": "^1.1",
28+
"doctrine/phpcr-odm": "^1.4.2"
29+
},
30+
"suggest": {
31+
"doctrine/phpcr-odm": "To enable support for the PHPCR ODM documents (^1.4)",
32+
"doctrine/phpcr-bundle": "To enable support for the PHPCR ODM documents",
33+
"symfony-cmf/core-bundle": "To enable support for publishing workflow"
2934
},
3035
"autoload": {
3136
"psr-4": {

src/PublishWorkflow/Voter/MenuContentVoter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public function vote(TokenInterface $token, $object, array $attributes)
7474
// now we only abstain or deny if we find a supported attribute
7575
// and the content is not publishable
7676
$decision = self::ACCESS_ABSTAIN;
77+
7778
continue;
7879
}
7980

0 commit comments

Comments
 (0)