Skip to content

Commit

Permalink
fix php 7.3 deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechsTech committed Mar 31, 2019
1 parent 7d86a75 commit 08d4867
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ script:
matrix:
allow_failures:
- php: 7.0
- php: 7.3
16 changes: 8 additions & 8 deletions lib/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@
'sqlsrv' => 'ezsql\Database\ez_sqlsrv'
]);

\define('MYSQL', 'mysqli', true);
\define('MYSQLI', 'mysqli', true);
\define('MYSQL', 'mysqli');
\define('MYSQLI', 'mysqli');
\define('Pdo', 'pdo');
\define('PGSQL', 'pgsql', true);
\define('POSTGRESQL', 'pgsql', true);
\define('SQLITE', 'sqlite3', true);
\define('SQLITE3', 'sqlite3', true);
\define('PGSQL', 'pgsql');
\define('POSTGRESQL', 'pgsql');
\define('SQLITE', 'sqlite3');
\define('SQLITE3', 'sqlite3');
\define('SQLSRV', 'sqlsrv');
\define('SQLSERVER', 'sqlsrv', true);
\define('MSSQL', 'sqlsrv', true);
\define('SQLSERVER', 'sqlsrv');
\define('MSSQL', 'sqlsrv');

\define('ALLOWED_KEYS', [
'host',
Expand Down

0 comments on commit 08d4867

Please sign in to comment.