? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
28 Aug 2021

Codereview

avatar PhilETaylor PhilETaylor - open - 28 Aug 2021
avatar PhilETaylor PhilETaylor - change - 28 Aug 2021
Title
remove unused import
[4] remove unused import
avatar PhilETaylor PhilETaylor - edited - 28 Aug 2021
avatar joomla-cms-bot joomla-cms-bot - change - 28 Aug 2021
Category Front End Templates (site)
avatar bembelimen
bembelimen - comment - 28 Aug 2021

Codereview

After the last "codereview" PRs, wouldn't it be better to write test instruction how people can test it?

avatar PhilETaylor
PhilETaylor - comment - 28 Aug 2021

How to test for unused class imports - Test instructions

  1. Learn PHP
  2. Open Eyes
  3. Use a decent IDE that tells you the import is not needed
  4. Have maintainers check code before its merged
  5. USE AUTOMATION
  6. Have Unit Tests
  7. Have Integration Tests
  8. Have psalm code smell checks
  9. Add any one of a huge number of code quality checks as Github Actions

I think its bedtime ...

avatar PhilETaylor
PhilETaylor - comment - 28 Aug 2021

After the last "codereview" PRs, wouldn't it be better to write test instruction how people can test it?

and thanks... the "last code review PR" that screwed up Joomla was TESTED by two other people, and (one assumes) a maintainer who merged it... so.. yeah... if you are going to throw shade at least throw it at the processes and not the person.

avatar PhilETaylor
PhilETaylor - comment - 28 Aug 2021

And for the record, I apologised - a lot - for my own screw up - and took ownership of the problem I caused.

avatar bembelimen
bembelimen - comment - 28 Aug 2021

Test instructions

1. Learn PHP

2. Open Eye

3. Use a decent IDE

4. Have maintainers check code before its merged

5. USE AUTOMATION

6. Have Unit Tests

7. Have Integration Tests.

8... Bedtime.

Translated: Activate the metismenu-dropdown layout in mod_menu and check if it still works.

avatar PhilETaylor
PhilETaylor - comment - 28 Aug 2021

Translated: Activate the metismenu-dropdown layout in mod_menu and check if it still works.

What a complete waste of time. Get real. We are meant to be PHP Developers, if we cannot peer review such a change then this project has ZERO chance of making a future for itself.

avatar joomdonation joomdonation - test_item - 29 Aug 2021 - Tested successfully
avatar joomdonation
joomdonation - comment - 29 Aug 2021

I have tested this item successfully on 3c18c36


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35409.

avatar joomdonation
joomdonation - comment - 29 Aug 2021

After the last "codereview" PRs, wouldn't it be better to write test instruction how people can test it?

@bembelimen That last codereview was really an accident. For that, event if we did real test (I did), we might not see the problem. The reason is because that modified file is only used for next update which not many of us here know.

What a complete waste of time. Get real. We are meant to be PHP Developers, if we cannot peer review such a change then this project has ZERO chance of making a future for itself.

@PhilETaylor Agree. The only thing I want to ask is next time, could you please consider putting all the change like this into a single PR ? Like your 3 last PRs could be merged into single one. That should save time of all of us. Thanks !

avatar alikon alikon - test_item - 29 Aug 2021 - Tested successfully
avatar alikon
alikon - comment - 29 Aug 2021

I have tested this item successfully on 3c18c36


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35409.

avatar alikon alikon - change - 29 Aug 2021
Status New Ready to Commit
avatar alikon
alikon - comment - 29 Aug 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35409.

avatar richard67 richard67 - change - 29 Aug 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-08-29 12:17:54
Closed_By richard67
Labels Added: ? ?
avatar richard67 richard67 - close - 29 Aug 2021
avatar richard67 richard67 - merge - 29 Aug 2021
avatar richard67
richard67 - comment - 29 Aug 2021

Thanks.

Add a Comment

Login with GitHub to post a comment