diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2021-09-12 17:59:39 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2021-09-12 17:59:39 +0300 |
commit | f61d3183fbd68b84b265b4e787554760673ebe70 (patch) | |
tree | bcb0fca49971186a81b791631de29de7e4026429 /libraries/classes/VersionInformation.php | |
parent | 59ca83150585ca1dc81b5d23019582a4182782a7 (diff) |
Inline some phpcs ignores and remove deprecated annotations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'libraries/classes/VersionInformation.php')
-rw-r--r-- | libraries/classes/VersionInformation.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/classes/VersionInformation.php b/libraries/classes/VersionInformation.php index 0b5792ab7b..c13e5d73b8 100644 --- a/libraries/classes/VersionInformation.php +++ b/libraries/classes/VersionInformation.php @@ -160,6 +160,7 @@ class VersionInformation // Maintains the latest compatible version $latestRelease = null; foreach ($releases as $release) { + // phpcs:ignore Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps $phpVersions = $release->php_versions; $phpConditions = explode(',', $phpVersions); foreach ($phpConditions as $phpCondition) { @@ -171,6 +172,7 @@ class VersionInformation // We evaluate MySQL version constraint if there are only // one server configured. if (count($GLOBALS['cfg']['Servers']) === 1) { + // phpcs:ignore Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps $mysqlVersions = $release->mysql_versions; $mysqlConditions = explode(',', $mysqlVersions); foreach ($mysqlConditions as $mysqlCondition) { |