[GH-ISSUE #857] Monolog require-dev on elastica? #334

Closed
opened 2026-03-04 02:14:13 +03:00 by kerem · 4 comments
Owner

Originally created by @laszlof on GitHub (Sep 27, 2016).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/857

Hello,

Is there a particular reason there is a require-dev on elastica? My understanding is that require-dev is used for development tools. Elastica perhaps belongs as a "suggest" as you have it, but I do not believe it should be a require-dev. This is causing issues with one of our packages currently. (See composer issue: https://github.com/composer/composer/issues/5727)

Thanks.

Originally created by @laszlof on GitHub (Sep 27, 2016). Original GitHub issue: https://github.com/Seldaek/monolog/issues/857 Hello, Is there a particular reason there is a require-dev on elastica? My understanding is that require-dev is used for development tools. Elastica perhaps belongs as a "suggest" as you have it, but I do not believe it should be a require-dev. This is causing issues with one of our packages currently. (See composer issue: https://github.com/composer/composer/issues/5727) Thanks.
kerem closed this issue 2026-03-04 02:14:13 +03:00
Author
Owner

@stof commented on GitHub (Sep 27, 2016):

well, it is necessary to have elastica during development to run the testsuite fully. It probably also belongs to suggestions.

require-dev is a root-only property. So it cannot cause any issue in your package. It is totally ignored anywhere else than when working on monolog itself.

<!-- gh-comment-id:249908907 --> @stof commented on GitHub (Sep 27, 2016): well, it is necessary to have elastica during development to run the testsuite fully. It probably _also_ belongs to suggestions. `require-dev` is a root-only property. So it cannot cause any issue in your package. It is totally ignored anywhere else than when working on monolog itself.
Author
Owner

@laszlof commented on GitHub (Sep 27, 2016):

We commit our lock file, and the require-dev for elastica is ending up in our root level composer.lock file.

<!-- gh-comment-id:249909878 --> @laszlof commented on GitHub (Sep 27, 2016): We commit our lock file, and the require-dev for elastica is ending up in our root level composer.lock file.
Author
Owner

@laszlof commented on GitHub (Sep 27, 2016):

This appears to be an unrelated issue. Closing.

<!-- gh-comment-id:249913691 --> @laszlof commented on GitHub (Sep 27, 2016): This appears to be an unrelated issue. Closing.
Author
Owner

@nicolashohm commented on GitHub (Nov 14, 2016):

@laszlof try composer update --no-dev

<!-- gh-comment-id:260291556 --> @nicolashohm commented on GitHub (Nov 14, 2016): @laszlof try `composer update --no-dev`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/monolog#334
No description provided.