-
Notifications
You must be signed in to change notification settings - Fork 0
Separate smiley parser into separate class. #7
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
base: master
Are you sure you want to change the base?
Separate smiley parser into separate class. #7
Conversation
|
So smiley parsing is now slightly better. I'm going to look at improving the Regular Expressions to ignore URLs and such, as I'm sure they're missing a few edge cases. |
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.
Weird extra ; ?
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.
Oops.
Abstracting rendering of smileys to an interface. Signed-off-by: Euan Torano <[email protected]>
|
All sorted, ready for merge. Not sure why the test failed, unit tests run fine on my local machine and vagrant instance. Seems to be dependency issues, which can be resolved at a later date. I'd like to get this emerged sooner rather than later - been a bit slow on development recently. |
|
@euantorano it's because something is requiring PHPUnit 4.7 which requires PHP 5.6. Probably best to fix by adding a |
|
Ah yes, that would be me requiring 4.7. It was building fine, but obviously the latest versions require PHP 5.6. |
Signed-off-by: Euan Torano <[email protected]>
|
Can you merge the latest commit and fix the issues? |
|
Sure.
|
Also fixing code style slightly. We'll see what Circle thinks though... Signed-off-by: Euan Torano <[email protected]>
|
Ok, hopefully when Circle's done processing I'll be able to merge this. |
|
Ok, these are the errors I've noticed:
|
|
Cheers, I'll fix them up tonight.
|
Signed-off-by: Euan Torano <[email protected]>
Signed-off-by: Euan Torano <[email protected]>
|
Yeah, need to work out why.
|
|
It's because the packages want 5.6, but the CI runner is configured to test with 5.5.21. We either have to pick specific package versions or upgrade the PHP version that we test with (which we don't really want to do). |
… fixed but the wrong version was already in our composer.lock)
|
The issue was within phpunit and that we require the dev versions. They've fixed it on their side so a simple |
|
@euantorano ;) |
No description provided.