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

Commit

Permalink
Merge pull request #292 from symfony-cmf/fix_installation
Browse files Browse the repository at this point in the history
moving phpcr-odm and phpcr-bundle into require-dev section
  • Loading branch information
ElectricMaxxx committed Oct 19, 2017
2 parents e44c783 + d05d325 commit dc6ff9e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
13 changes: 9 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
"require": {
"php": "^5.6|^7.0",
"symfony/framework-bundle": "^2.8|^3.0",
"symfony-cmf/core-bundle": "^2.0",
"doctrine/phpcr-bundle": "^1.1",
"doctrine/phpcr-odm": "^1.4.2",
"knplabs/knp-menu-bundle": "^2.0.0",
"knplabs/knp-menu": "^2.0.0"
},
Expand All @@ -25,7 +22,15 @@
"symfony/phpunit-bridge": "^3.2",
"symfony-cmf/routing-bundle": "^1.4|^2.0",
"symfony-cmf/testing": "^2.0",
"twig/twig": "^1.18|^2.0"
"twig/twig": "^1.18|^2.0",
"symfony-cmf/core-bundle": "^2.0",
"doctrine/phpcr-bundle": "^1.1",
"doctrine/phpcr-odm": "^1.4.2"
},
"suggest": {
"doctrine/phpcr-odm": "To enable support for the PHPCR ODM documents (^1.4)",
"doctrine/phpcr-bundle": "To enable support for the PHPCR ODM documents",
"symfony-cmf/core-bundle": "To enable support for publishing workflow"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 1 addition & 0 deletions src/PublishWorkflow/Voter/MenuContentVoter.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public function vote(TokenInterface $token, $object, array $attributes)
// now we only abstain or deny if we find a supported attribute
// and the content is not publishable
$decision = self::ACCESS_ABSTAIN;

continue;
}

Expand Down

0 comments on commit dc6ff9e

Please sign in to comment.