Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #9 from baschny/issue_8

Fixes: mysql_ extension still supported until PHP 5.4
  • Loading branch information...
commit 4ced95ab034f8ef85b6ff6eda7a7e3c945c18935 2 parents 28d9db3 + acab657
Wim Godden authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 Sniffs/PHP/RemovedExtensionsSniff.php
10 Sniffs/PHP/RemovedExtensionsSniff.php
View
@@ -184,11 +184,11 @@ class PHPCompatibility_Sniffs_PHP_RemovedExtensionsSniff implements PHP_CodeSnif
'alternative' => null
),
'mysql_' => array(
- '5.0' => 0,
- '5.1' => 0,
- '5.2' => 0,
- '5.3' => 0,
- '5.4' => 0,
+ '5.0' => 1,
+ '5.1' => 1,
+ '5.2' => 1,
+ '5.3' => 1,
+ '5.4' => 1,
'5.5' => -1,
'alternative' => 'mysqli',
),
Please sign in to comment.
Something went wrong with that request. Please try again.