? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
13 Jul 2020

Summary of Changes

Change all <?= to <?php echo in line with the Joomla Code Standards

Testing Instructions

Just look at the code.

Actual result BEFORE applying this Pull Request

Everything works but some views use <?=

Expected result AFTER applying this Pull Request

Everything works and all code uses <?php echo

Documentation Changes Required

none

avatar PhilETaylor PhilETaylor - open - 13 Jul 2020
avatar PhilETaylor PhilETaylor - change - 13 Jul 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Jul 2020
Category Administration com_installer com_modules Modules Front End com_users
avatar PhilETaylor PhilETaylor - change - 13 Jul 2020
Title
[4.0] Change all `<?=` to `<?php echo`
[4.0] Change all
avatar PhilETaylor PhilETaylor - edited - 13 Jul 2020
avatar brianteeman
brianteeman - comment - 13 Jul 2020

Good luck changing Niks code

avatar Quy Quy - test_item - 13 Jul 2020 - Tested successfully
avatar Quy
Quy - comment - 13 Jul 2020

I have tested this item successfully on 788487f


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

avatar PhilETaylor
PhilETaylor - comment - 13 Jul 2020

The 6 files in this PR are all headed as copyright OSM under GPL - I dont see any of Niks copyright at the top of these files.

I deliberately excluded vendors from my fixes and I'm fully away of the stupidity of the Joomla Code Standard refusing php short tags <? and <?= tags when its included vendor code (including symfony code) contains them.

avatar brianteeman
brianteeman - comment - 13 Jul 2020
avatar PhilETaylor
PhilETaylor - comment - 13 Jul 2020

Well that's an argument for those above my pay grade and unrelated to this PR.

The current published Joomla Code Standards state to not use shorthand tags, therefore all I have done is bring code in line with those, regardless of the stupidity of the Joomla Code Standards which are ancient and do not take modern PHP into account (PHP 7+ stuff)

Always use the full <?php ... ?> to delimit PHP code, not the <? ... ?> shorthand

avatar infograf768 infograf768 - test_item - 13 Jul 2020 - Tested successfully
avatar infograf768
infograf768 - comment - 13 Jul 2020

I have tested this item successfully on 788487f


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

avatar infograf768 infograf768 - change - 13 Jul 2020
The description was changed
Status Pending Ready to Commit
avatar infograf768 infograf768 - edited - 13 Jul 2020
avatar infograf768 infograf768 - edited - 13 Jul 2020
avatar infograf768
infograf768 - comment - 13 Jul 2020

rtc


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

avatar ChristineWk ChristineWk - test_item - 13 Jul 2020 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 13 Jul 2020

I have tested this item successfully on 788487f


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

avatar Quy Quy - close - 13 Jul 2020
avatar Quy Quy - merge - 13 Jul 2020
avatar Quy Quy - change - 13 Jul 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-07-13 15:19:54
Closed_By Quy
Labels Added: ? ?

Add a Comment

Login with GitHub to post a comment