Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Fix Zend/Barcode composer.json to require zendframework/zend-validator. #6310

Closed
wants to merge 1 commit into from

Conversation

oscherler
Copy link
Contributor

As per #6293, make zendframework/zend-barcode require zendframework/zend-validator, since barcodes are validated at draw time. We also mention why zendframework/zend-servicemanager is suggested.

I have not been able to test this yet (outside of validating the composer file), because I would first need to split Zend/Barcode into a subtree to feed it to Composer, and set-up a VM to get a recent enough version of PHP. Feel free to take it as-is or to wait until I test it.

We also explain why zendframework/zend-servicemanager is suggested.

zendframework/zend-validator is needed because all barcodes are validated using
Zend\Validator\Barcode prior to drawing.

zendframework/zend-servicemanager is suggested because it’s needed when using
the factory methods to create or render a barcode.
@Ocramius Ocramius self-assigned this May 23, 2014
@Ocramius Ocramius added this to the 2.3.2 milestone May 23, 2014
Ocramius added a commit that referenced this pull request Jul 27, 2014
@Ocramius Ocramius closed this in 3502002 Jul 27, 2014
@Ocramius
Copy link
Member

Merged, thanks!

weierophinney pushed a commit to zendframework/zend-barcode that referenced this pull request May 14, 2015
weierophinney pushed a commit to zendframework/zend-barcode that referenced this pull request May 14, 2015
…rk/zf2#6293-zend-barcode-dependencies' into develop

Forward port zendframework/zendframework#6310
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants