-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Refactoring: PHP 7.1, Bootstrap3/4 Renderers #8
Conversation
Thank you @mabar. Could you also update ruleset.xml to force tabs (https://github.com/contributte/console/blob/master/ruleset.xml#L16-L22). Thanks. |
CI is failing: https://travis-ci.org/contributte/forms/jobs/367030945 |
Hi @mabar |
@f3l1x I am not sure why error log cannot be fetched, it worked at least before last commit (ruleset.xml) @aleswita I am not big fan of form renderers at all as they don't fit well in MVC architecture, but we can add addons support too. |
@mabar Please use latest ninjify/qa (you know) and finish this PR to be merged ;-) Thanks. |
ruleset.xml
Outdated
<?xml version="1.0"?> | ||
<ruleset name="Contributte"> | ||
<!-- Extending rulesets --> | ||
<rule ref="vendor/ninjify/coding-standard/ruleset.xml"/> |
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.
Use contributte.xml
instead of ruleset.xml ;-) It force tabs.
use Nette\Forms\Controls; | ||
use Nette\Forms\Form; | ||
use Nette\Forms\Rendering\DefaultFormRenderer; | ||
use function mb_strpos; |
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.
Please, drop use functions. We've discussed it on Slack. You know.
Awesome, thanks. |
@f3l1x Code is ready for review.
Note to self: Documentation is needed.