-
Notifications
You must be signed in to change notification settings - Fork 2.5k
bugfix : options can't be passed to SeparatorToSeparator #7169
bugfix : options can't be passed to SeparatorToSeparator #7169
Conversation
); | ||
} | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EOL EOF
* | ||
* @param array $options | ||
*/ | ||
public function __construct(array $options = array()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if I try to get multiple instances of a wordseparatortoseparator
, each with different options?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hint: factory must implement the MutableCreationOptionsInterface
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for helping me to make this PR :-)
This was corrected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This constructor is also not needed anymore ;-)
@@ -39,4 +39,38 @@ public function testLoadingInvalidFilterRaisesException() | |||
$this->setExpectedException('Zend\Filter\Exception\RuntimeException'); | |||
$this->filters->get('test'); | |||
} | |||
|
|||
public function testFilterSuccessfullyConstructed() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding @group
annotations here:
/**
* @group 7169
*/
…ry from plugin manager
…emoving duplicate filter entry from plugin manager
…emoving redundant factory constructor
…endframework#6666-options-cannot-be-passed-to-separator-to-separator-filter' Close zendframework/zendframework#7169
…endframework#6666-options-cannot-be-passed-to-separator-to-separator-filter' into develop Close zendframework/zendframework#7169 Forward port zendframework/zendframework#7169
Hi,
This PR fixes #6666 .
Patrick