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

bugfix : options can't be passed to SeparatorToSeparator #7169

Conversation

Tauop
Copy link
Contributor

@Tauop Tauop commented Jan 30, 2015

Hi,

This PR fixes #6666 .

Patrick

);
}

}
Copy link
Member

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())
Copy link
Member

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?

Copy link
Member

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

Copy link
Contributor Author

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.

Copy link
Member

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 ;-)

@Ocramius Ocramius added this to the 2.3.5 milestone Feb 1, 2015
@Ocramius Ocramius self-assigned this Feb 1, 2015
@@ -39,4 +39,38 @@ public function testLoadingInvalidFilterRaisesException()
$this->setExpectedException('Zend\Filter\Exception\RuntimeException');
$this->filters->get('test');
}

public function testFilterSuccessfullyConstructed()
Copy link
Member

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
 */

Ocramius added a commit that referenced this pull request Feb 2, 2015
@Ocramius Ocramius closed this in 9ee2075 Feb 2, 2015
Ocramius added a commit that referenced this pull request Feb 2, 2015
…r-to-separator-filter' into develop

Close #7169
Forward port #7169
@Ocramius
Copy link
Member

Ocramius commented Feb 2, 2015

@Tauop merged, thanks!

master: 9ee2075
develop: 2515b0d

TomHAnderson pushed a commit to TomHAnderson/zf2 that referenced this pull request Feb 24, 2015
TomHAnderson pushed a commit to TomHAnderson/zf2 that referenced this pull request Feb 24, 2015
gianarb pushed a commit to zendframework/zend-filter that referenced this pull request May 15, 2015
…emoving duplicate filter entry from plugin manager
gianarb pushed a commit to zendframework/zend-filter that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-filter that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-filter that referenced this pull request May 15, 2015
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.

3 participants