-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Add template files to checks #2847
Conversation
# Conflicts: # composer.lock
@tmotyl thanks :) |
@@ -29,8 +29,8 @@ | |||
<span class="field-row"> | |||
<label for="all"><?php echo $this->__('Resource Access') ?></label> | |||
<select id="all" name="all" onchange="$('resources_container').toggle()" class="select"> | |||
<option value="0" <?php echo ($this->getEverythingAllowed()?'':'selected="selected"'); ?>><?php echo $this->__('Custom') ?></option> | |||
<option value="1" <?php echo ($this->getEverythingAllowed()?'selected="selected"':''); ?>><?php echo $this->__('All') ?></option> | |||
<option value="0" <?php echo($this->getEverythingAllowed() ? '' : 'selected="selected"'); ?>><?php echo $this->__('Custom') ?></option> |
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.
Missing space before echo. Is this intentional?
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, its not,
Added spaces. Run php-cs-fixer again. Nothing changed. Dont know why space got removed.
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.
Last commit added spaces to lines that did not changed before .... so it already was inconsistent.
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.
Seems you've found a bug.
running php-cs-fixer ...
- w/o custom path fixes (remove) that spaces
- w/ custom path
app/design/
finds nothing - wrong, BUT ... - w/ custom path
app/
finds issues in code/core/Zend - correct, because directory is ignored in config
This change is super useful, finally to have code completion in templates and phpstan coverage! Thanks a lot. |
Did not check all templates files ... i'm sure there are still some w/o docs (no code completion). |
…ck-frontend-files
756 files with missing docsblock for (need seperate PR) |
# Conflicts: # composer.lock
@addison74 nice try, but does not work. ;) (I'll re-add one or two PRs ... everthing else later) |
Description (*)
Add templates files to ...
Updated
To do
Questions or comments
Contribution checklist (*)