Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Minor composer improvements #200

Merged
merged 4 commits into from
Feb 4, 2018

Conversation

jordisala1991
Copy link
Member

@jordisala1991 jordisala1991 commented Feb 3, 2018

I am targeting this branch, because this is BC.

Subject

  • Declare missing dependencies
  • Add framework-bundle and console to require-dev (this comes from master mostly)
  • Sort packages
  • phpunit-bridge 4.0 only
  • Removed unused security dependency (it was added here, replacing whole symfony/symfony package, but I do not see any usage here: 7c1f710)

This bundle also needs:

  • Declare console commands on services.xml (compat with SF4)

@@ -36,7 +36,9 @@
"jackalope/jackalope-doctrine-dbal": "^1.0",
"php-mock/php-mock": "^1.0",
"predis/predis": "^0.8 || ^1.0",
"symfony/phpunit-bridge": "^3.3.12 || ^4.0"
"symfony/console": "^2.8 || ^3.2 || ^4.0",
"symfony/framework-bundle": "^2.8 || ^3.2 || ^4.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we need this on the require section?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On master it is on require-dev section already. Added here: #161. This is only used for the commands. Not sure if the intention is to have commands only optionals. With this we do not really change what gets installed, because other dependencies on require-dev already use framework-bundle.

We can maybe think if this should be required o require-dev on the pull request where we add commands as a services.

Copy link
Member

@core23 core23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay for now

@kunicmarko20 kunicmarko20 merged commit 4c95ef1 into sonata-project:2.x Feb 4, 2018
@kunicmarko20
Copy link
Contributor

Thanks @jordisala1991 !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants