-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Created Parser Plugin for validation errors issue#675 #716
Conversation
system/View/Plugins.php
Outdated
{ | ||
return $validator->listErrors(); | ||
} | ||
else |
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.
no need else as already return early
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.
Agreed. Please remove the else here.
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.
Take care of that one small change and add a test, and some docs in /user_guide_source/general/view_parser.rst and this should be good.
system/View/Plugins.php
Outdated
{ | ||
return $validator->listErrors(); | ||
} | ||
else |
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.
Agreed. Please remove the else here.
Ok. I will make changes. |
@jaynarayan89 Just pointing out that we would like to see contributions GPG-signed ... https://bcit-ci.github.io/CodeIgniter4/contributing/signing.html |
Hi , I accidentally merged another branch with this and messed up commits. I tried to revert but not succeed. what should I do now? @jim-parry ok. I will do it. |
@jaynarayan89 Your last "good" (pre patch2) merge shows a commit hash tag starting with "17fa3d4". Assuming that is the "good" point you want, you should be able to revert to that with "git reset --hard 17fa3d4...", and then "git push -f origin patch-2" to fix your feature branch. |
3134de9
to
17fa3d4
Compare
Thanks a lot @jim-parry PHPUnit 3.7.21 by Sebastian Bergmann. ←[30;43m←[2KNo tests executed! |
@jaynarayan89 I run unit tests with the following command from my project root... ps - I am using phpunit 6.1.3 ... it looks like yours is a bit out-of-date :-/ |
@jim-parry Configuration read from D:\xampp\htdocs\ci4.dev\CodeIgniter4\phpunit.xml ←[30;43m←[2KNo tests executed! |
@jim-parry |
@jaynarayan89 Rather than clutter up this commit history, can you start a thread with me on our slack channel? thanks ... http://codeignitersignup.ciblox.com/ |
@lonnieezell |
I will, but you have to give me more than an hour. :) It's the middle of my work day here, and, unfortunately, I don't make a living developing this so won't be until tonight (hopefully!) before I can check it. Though the way the last couple of weeks have been going, I'll probably be working really late. |
No description provided.