User tests: Successful: Unsuccessful:
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_users |
Working on it
Labels |
Added:
?
|
Please go through the new commit @brianteeman @drmenzelit
@saumyasarkar11 At the bottom of your PR you can see that CI checks by drone are failing:
If you follow the "Details" link you come to a page where you can see the tests at the left hand side. The one called PHPCS failed (red colour). If you then click on that PHPCS you will see the log file:
https://ci.joomla.org/joomla/joomla-cms/41089/1/6
This one then report code style errors:
FILE: /********/src/components/com_users/tmpl/login/default_login.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
65 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
66 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
67 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
68 | ERROR | [x] Tabs must be used to indent lines; spaces are not
| | allowed
| | (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
If you fix these code style errors and push the changes, the CI checks will start again, and then they should pass.
Code style is important for a project's maintainability.
The PHPCS is important because if that fails, the automated system tests are not run, which would show other possible errors.
I think I need to go a bit deeper. Working on it
Maybe 2 helpful links regarding code style:
@richard67 Seems fine this time
Please check the comment from Brian: #32821 (comment)
Please check the comment from Brian: #32821 (comment)
I've removed that additional div. He had commented on the outdated version
I've removed that additional div. He had commented on the outdated version
@saumyasarkar11 I'm not sure. I thin Brian meant this one: <div class="com-users-login__remember control-group">
And as far as I understood he was not sure about if it can be removed or not, but it could be.
@brianteeman Please correct me if I understood you wrong.
If possible, could you check that?
@saumyasarkar11 it is a simple check: look into the scss/css files from Cassiopeia template and check if the control-group class is still defined.
@saumyasarkar11 it is a simple check: look into the scss/css files from Cassiopeia template and check if the control-group class is still defined.
It is still defined but it is as follows:
.control-group {
margin: 1em 0;
}
May be we can remove it
Not necessary, your PR looks good now.
I have tested this item
I have tested this item
extra space removed. Please review
I have tested this item successfully on dd33b42
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32821.
Extra space removed. Please review
Status | Pending | ⇒ | Ready to Commit |
RTC
RTC
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32821.
It says Failure: Number of issues exceeds sum threshold (1/0). What does it mean? @Quy
Title |
|
RTC
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32821.
"RTC" means "ready to commit" and is the status which a PR gets here when it has 2 successful human tests by someone else than the author.
It says Failure: Number of issues exceeds sum threshold (1/0). What does it mean? @Quy
The failure in the "analysis4x" step drone CI isn't related to this PR. It's a security check (using RIPS) which sometimes might produce false alarms until adjusted, clarification is already ongoing.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-03-24 16:14:08 |
Closed_By | ⇒ | rdeutz | |
Labels |
Added:
?
|
dont we have a class form-check-inline for this?