Skip to content

Commit

Permalink
[4] correct single line comment style (joomla#31946)
Browse files Browse the repository at this point in the history
* correct single line comment style

* convert multiline comment to single line comments

Signed-off-by: Phil E. Taylor <phil@phil-taylor.com>
  • Loading branch information
PhilETaylor committed Jan 12, 2021
1 parent 06d66aa commit ae1a795
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 21 deletions.
8 changes: 2 additions & 6 deletions administrator/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/**
* NOTE: This file should remain compatible with PHP 5.2 to allow us to run our PHP minimum check and show a friendly error message
*/
// NOTE: This file should remain compatible with PHP 5.2 to allow us to run our PHP minimum check and show a friendly error message

/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
// Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
define('JOOMLA_MINIMUM_PHP', '7.2.5');

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
Expand Down
8 changes: 2 additions & 6 deletions api/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/**
* NOTE: This file should remain compatible with PHP 5.2 to allow us to run our PHP minimum check and show a friendly error message
*/
// NOTE: This file should remain compatible with PHP 5.2 to allow us to run our PHP minimum check and show a friendly error message

/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
// Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
define('JOOMLA_MINIMUM_PHP', '7.2.5');

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
Expand Down
4 changes: 1 addition & 3 deletions cli/joomla.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
// We are a valid entry point.
const _JEXEC = 1;

/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
// Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
const JOOMLA_MINIMUM_PHP = '7.2.5';

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
Expand Down
8 changes: 2 additions & 6 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/**
* NOTE: This file should remain compatible with PHP 5.2 to allow us to run our PHP minimum check and show a friendly error message
*/
// NOTE: This file should remain compatible with PHP 5.2 to allow us to run our PHP minimum check and show a friendly error message

/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
// Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
define('JOOMLA_MINIMUM_PHP', '7.2.5');

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
Expand Down

0 comments on commit ae1a795

Please sign in to comment.