Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix transliteration. #253

Merged
merged 5 commits into from Jan 30, 2012
Merged

Fix transliteration. #253

merged 5 commits into from Jan 30, 2012

Conversation

khepin
Copy link
Contributor

@khepin khepin commented Jan 30, 2012

Add handlesUrlization to handler interface for handlers that handle Urlization so that we don't re-urlize and remove special characters needed by that specific handler.

Tests are now all passing (except one that was previously getting an error already) with transliteration separated from urlization.

Add `handlesUrlization` to handler interface for handlers that handle Urlization so that we don't re-urlize and remove special characters needed by that specific handler.
/**
* {@inheritDoc}
*/
public function handlesUrlization(){
Copy link
Contributor

Choose a reason for hiding this comment

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

the curly brace should be on its own line

@@ -387,4 +388,5 @@ private function filterSimilarSlugs(array &$slugs, array &$config, $prefered)
Copy link
Contributor

Choose a reason for hiding this comment

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

am I seeing tabs? etc \t

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No I don't think those are tabs, but didn't realize my IDE messed up the code this much and changed all the indentations. Will correct these. Sorry about that.

@@ -21,8 +21,9 @@
* @link http://www.gediminasm.org
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
class SluggableListener extends MappedEventSubscriber
class SluggableListener extends MappedEventSubscriber
Copy link
Contributor

Choose a reason for hiding this comment

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

you should also remove the trailing whitespaces added here

l3pp4rd added a commit that referenced this pull request Jan 30, 2012
@l3pp4rd l3pp4rd merged commit 6ce3cbb into doctrine-extensions:master Jan 30, 2012
@l3pp4rd
Copy link
Contributor

l3pp4rd commented Jan 30, 2012

thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants