summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add warning to the class commentDavey Shafik2017-01-081-2/+8
|
* Use extension_loadedDavey Shafik2017-01-081-1/+1
|
* Use composer update instead of installDavey Shafik2017-01-083-181/+687
|
* Code cleanupDavey Shafik2017-01-082-272/+267
|
* Add third argument to `mysql_db_name()`Davey Shafik2017-01-082-10/+17
| | | | Fixes #23
* Fix tests on earlier versions of PHP/PHPUnitDavey Shafik2017-01-083-788/+364
|
* Add commentsDavey Shafik2017-01-081-3/+17
|
* Add/update file header commentsDavey Shafik2017-01-083-6/+26
|
* require requires 5.3+, require-dev requies 5.6+ due to all the dependencies. ↵philip2017-01-081-0/+1
| | | | Not sure if this is possible, but will try.
* The pull request offers 5.3+ support, so also add it here.philip2017-01-081-1/+1
|
* Added 5.3+ test support, as requested for pull request #22philip2017-01-081-0/+3
|
* Replaced array operator with explicit array() to lower required PHP version. ↵philip2017-01-081-9/+9
| | | | Should be 5.4 or 5.3 now, we'll see
* Replaced variadics/splat references to lower the required PHP version; splat ↵philip2017-01-081-28/+28
| | | | was added in PHP 5.6
* Add PHP 5.6 minimum dependency. Refs #17, #18Davey Shafik2016-11-072-117/+232
|
* Add PHP 7.1 and nightly to travis0.2.0Davey Shafik2016-10-031-0/+3
|
* Don't trigger weird behavior in PHP 5.6 with extraneous argsDavey Shafik2016-10-031-4/+11
|
* Added the result type to the mysql_fetch_array function (#16)Swen van Zanten2016-10-032-5/+16
| | | | | | * Added the result type to the mysql_fetch_array function * Changed the 'resultType' variable to camelCase, added extra tests * Fixed the mysql_fetch tests
* Test for false when `mysql_connect()` failsDavey Shafik2016-10-031-1/+7
| | | | Refs #15
* Add commentsDavey Shafik2016-10-031-0/+3
|
* mysql_connect should return FALSE when mysqli_connect fails. (#15)Михаил Красильников2016-10-031-2/+6
|
* Add SensioLabsInsight badge to README0.1.0Davey Shafik2016-07-041-0/+1
|
* Fix issues found by <insight.sensiolabs.com>Davey Shafik2016-07-043-141/+396
|
* Add tests for #13Davey Shafik2016-07-031-29/+111
|
* Make sure to reflect MIT licence in composer.jsonDavey Shafik2016-07-031-1/+1
| | | | Fixes #12
* Specify compatiblity with PHP 5.6Davey Shafik2016-07-031-1/+1
| | | | Fixes #10
* Support database names with hyphensStefan Schramm2016-07-031-7/+13
| | | | | * Support database names with hyphens * Fix mysql_list_tables and mysql_list_fields
* Merge pull request #9 from staabm/patch-1Davey Shafik2016-07-031-0/+3
|\ | | | | Declare mysqli dependency as requirement
| * Declare mysqli dependency as requirementMarkus Staab2016-04-181-0/+3
| |
* | Merge pull request #8 from gharlan/patch-1Davey Shafik2016-07-031-1/+1
|\ \ | |/ |/| use array_key_exists() instead of isset() because value can be null
| * use array_key_exists() instead of isset() because value can be nullGregor Harlan2016-04-181-1/+1
|/
* Userland functions fallback too.Davey Shafik2016-03-301-2/+1
|
* Add LICENSE/CONTRIBUTING, update READMEDavey Shafik2016-03-293-3/+79
|
* Reset field pointer before iteratingDavey Shafik2016-03-102-0/+51
| | | | Fixes #7
* Refactor `Dshafik\MySQL::escapeString()`Davey Shafik2016-02-051-26/+30
|
* Simplify `\Dshafik\MySQL::getFieldType()`Davey Shafik2016-02-051-43/+36
|
* Simplify `\Dshafik\MySQL::getFieldFlags()`Davey Shafik2016-02-051-50/+21
|
* Call local phpunitDavey Shafik2016-02-051-1/+1
|
* Fix tests, better HHVM skipping exception handlingDavey Shafik2016-02-053-81/+79
|
* Use `\SebastianBergmann\Environment\Runtime->isHHVM()`Davey Shafik2016-02-031-1/+11
|
* Merge pull request #5 from gimler/mysql_defaultsDavey Shafik2016-02-033-1/+25
|\ | | | | Use INI defaults
| * add unit test for mysqli defaultsGordon Franke2016-02-033-7/+19
| |
| * added info to README.mdD0609382016-02-031-1/+4
| |
| * added default values from php.ini file if none providedD0609382016-02-031-0/+9
|/
* Fixup tests for HHVMDavey Shafik2016-02-024-99/+129
|
* Fixup tests for HHVMDavey Shafik2016-02-021-34/+30
|
* Fix escaping not copying non-escapeable chars to the escaped stringDavey Shafik2016-02-022-7/+11
|
* Allow for different MySQL forks (e.g. MariaDB)Davey Shafik2016-02-021-5/+3
|
* Add forward-compatible annotationDavey Shafik2016-02-021-1/+4
|
* Add/Fix all constantsDavey Shafik2016-02-022-4/+25
|
* Fix return values for `mysql_fetch_*` functionsDavey Shafik2016-02-022-10/+39
| | | | | | The methods `mysql_fetch_* and `mysqli_fetch_*` have different return values, if there is no [more] results to fetch. Therefore the **null** return value of `mysqli` needs to be matched to the **false** return value of `mysql`. Thanks to @muhammedalialat
* code cleanupGordon Franke2016-02-021-1/+0
|
* Merge pull request #3 from muhammedalialat/patch_mysql_fetch_objectDavey Shafik2016-01-281-2/+9
|\ | | | | Fix mysql_fetch_object return value
| * Update mysql.phpMuhammed Ali Alat2016-01-261-2/+9
|/
* Skip some tests on HHVM where behavior differs from PHPDavey Shafik2015-12-071-3/+14
|
* Handle weirdness with `mysql_table_name()`, especially on HHVMDavey Shafik2015-12-072-5/+5
|
* More tests, more fixesDavey Shafik2015-12-072-12/+246
| | | | - Reimplement original `mysql_escape_string()` based on C-code as close as possible - For some reason `mysql_fetch_object()` has a different error than all the other `mysql_fetch_*()` functions when passed an invalid result. ಠ_ಠ
* Add more tests and fixesDavey Shafik2015-12-062-166/+377
|
* Remove namespace prefixDavey Shafik2015-12-062-141/+140
|
* Test SET columnsDavey Shafik2015-12-061-1/+7
|
* Fix args for aliasesDavey Shafik2015-12-061-37/+22
|
* Add scruitinizer config, fix CS issuesDavey Shafik2015-12-063-1/+50
|
* Update READMEDavey Shafik2015-12-064-21/+529
|
* Add travis integrationDavey Shafik2015-12-064-70/+94
|
* Upto 20% functions/59% lines coverage, more issues revealedDavey Shafik2015-12-062-86/+470
|
* Add more tests, and fixed many issues revealed by themDavey Shafik2015-12-052-52/+353
|
* Initial commit of ext/mysql shim for PHP 7Davey Shafik2015-12-049-0/+1766