? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
4 Aug 2022

Small change to fix codestyle indent

code review

avatar brianteeman brianteeman - open - 4 Aug 2022
avatar brianteeman brianteeman - change - 4 Aug 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Aug 2022
Category Administration com_banners
avatar richard67
richard67 - comment - 4 Aug 2022

It seems that the PHPCS check in drone doesn’t like your changes.

avatar brianteeman
brianteeman - comment - 4 Aug 2022

The failure is what caused the problem in the first place - /me confused

avatar richard67
richard67 - comment - 4 Aug 2022

Me also confused because your code style looks right to me and the other not.

@HLeithner Do you have any idea why PHPCS currently accepts wrong code style in files in the drone checks but complains about this PR here?

avatar brianteeman
brianteeman - comment - 4 Aug 2022

fyi the current lack of indent comes from the psr12 work

avatar HLeithner
HLeithner - comment - 4 Aug 2022

the reason is that phpcs starts to count after <?php so the if is a position 0, I would move the if into the next line.

avatar HLeithner
HLeithner - comment - 4 Aug 2022

fyi the current lack of indent comes from the psr12 work

for phpcs it's correct for us it's bad...

avatar brianteeman
brianteeman - comment - 4 Aug 2022

thanks for the explanation. Suprised that the same situation doesnt arise with the echo directly afterwards

avatar brianteeman
brianteeman - comment - 4 Aug 2022

I can see there about 15 instances of this. If the new updated change with your recommendation passes then I will make the same change for them all

avatar brianteeman brianteeman - change - 4 Aug 2022
Labels Added: ?
8cd6df6 4 Aug 2022 avatar brianteeman more
avatar joomla-cms-bot joomla-cms-bot - change - 4 Aug 2022
Category Administration com_banners Administration com_banners com_categories com_contact com_content com_fields com_modules com_newsfeeds com_redirect com_tags com_users Front End Layout Modules
avatar Quy
Quy - comment - 8 Aug 2022

I have tested this item successfully on 8cd6df6


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

avatar Quy Quy - test_item - 8 Aug 2022 - Tested successfully
avatar viocassel
viocassel - comment - 14 Aug 2022

I have tested this item successfully on 8cd6df6


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

avatar viocassel viocassel - test_item - 14 Aug 2022 - Tested successfully
avatar richard67 richard67 - change - 14 Aug 2022
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 14 Aug 2022

RTC


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

avatar wilsonge wilsonge - change - 5 Sep 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-09-05 11:15:39
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 5 Sep 2022
avatar wilsonge wilsonge - merge - 5 Sep 2022
avatar wilsonge
wilsonge - comment - 5 Sep 2022

Thanks!

avatar brianteeman
brianteeman - comment - 5 Sep 2022

thanks

Add a Comment

Login with GitHub to post a comment