Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix tests on earlier versions of PHP/PHPUnitorigin/old-php-support | Davey Shafik | 2017-01-08 | 3 | -788/+364 |
| | |||||
* | Add comments | Davey Shafik | 2017-01-08 | 1 | -3/+17 |
| | |||||
* | Add/update file header comments | Davey Shafik | 2017-01-08 | 3 | -6/+26 |
| | |||||
* | require requires 5.3+, require-dev requies 5.6+ due to all the dependencies. ↵ | philip | 2017-01-04 | 1 | -0/+1 |
| | | | | Not sure if this is possible, but will try. | ||||
* | The pull request offers 5.3+ support, so also add it here. | philip | 2017-01-04 | 1 | -1/+1 |
| | |||||
* | Added 5.3+ test support, as requested for pull request #22 | philip | 2017-01-04 | 1 | -0/+3 |
| | |||||
* | Replaced array operator with explicit array() to lower required PHP version. ↵ | philip | 2017-01-04 | 1 | -9/+9 |
| | | | | Should be 5.4 or 5.3 now, we'll see | ||||
* | Replaced variadics/splat references to lower the required PHP version; splat ↵ | philip | 2017-01-04 | 1 | -28/+28 |
| | | | | was added in PHP 5.6 | ||||
* | Add PHP 5.6 minimum dependency. Refs #17, #18 | Davey Shafik | 2016-11-07 | 2 | -117/+232 |
| | |||||
* | Add PHP 7.1 and nightly to travis0.2.0 | Davey Shafik | 2016-10-03 | 1 | -0/+3 |
| | |||||
* | Don't trigger weird behavior in PHP 5.6 with extraneous args | Davey Shafik | 2016-10-03 | 1 | -4/+11 |
| | |||||
* | Added the result type to the mysql_fetch_array function (#16) | Swen van Zanten | 2016-10-03 | 2 | -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()` fails | Davey Shafik | 2016-10-03 | 1 | -1/+7 |
| | | | | Refs #15 | ||||
* | Add comments | Davey Shafik | 2016-10-03 | 1 | -0/+3 |
| | |||||
* | mysql_connect should return FALSE when mysqli_connect fails. (#15) | Михаил Красильников | 2016-10-03 | 1 | -2/+6 |
| | |||||
* | Add SensioLabsInsight badge to README0.1.0 | Davey Shafik | 2016-07-04 | 1 | -0/+1 |
| | |||||
* | Fix issues found by <insight.sensiolabs.com> | Davey Shafik | 2016-07-04 | 3 | -141/+396 |
| | |||||
* | Add tests for #13 | Davey Shafik | 2016-07-03 | 1 | -29/+111 |
| | |||||
* | Make sure to reflect MIT licence in composer.json | Davey Shafik | 2016-07-03 | 1 | -1/+1 |
| | | | | Fixes #12 | ||||
* | Specify compatiblity with PHP 5.6 | Davey Shafik | 2016-07-03 | 1 | -1/+1 |
| | | | | Fixes #10 | ||||
* | Support database names with hyphens | Stefan Schramm | 2016-07-03 | 1 | -7/+13 |
| | | | | | * Support database names with hyphens * Fix mysql_list_tables and mysql_list_fields | ||||
* | Merge pull request #9 from staabm/patch-1 | Davey Shafik | 2016-07-03 | 1 | -0/+3 |
|\ | | | | | Declare mysqli dependency as requirement | ||||
| * | Declare mysqli dependency as requirement | Markus Staab | 2016-04-18 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #8 from gharlan/patch-1 | Davey Shafik | 2016-07-03 | 1 | -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 null | Gregor Harlan | 2016-04-18 | 1 | -1/+1 |
|/ | |||||
* | Userland functions fallback too. | Davey Shafik | 2016-03-30 | 1 | -2/+1 |
| | |||||
* | Add LICENSE/CONTRIBUTING, update README | Davey Shafik | 2016-03-29 | 3 | -3/+79 |
| | |||||
* | Reset field pointer before iterating | Davey Shafik | 2016-03-10 | 2 | -0/+51 |
| | | | | Fixes #7 | ||||
* | Refactor `Dshafik\MySQL::escapeString()` | Davey Shafik | 2016-02-05 | 1 | -26/+30 |
| | |||||
* | Simplify `\Dshafik\MySQL::getFieldType()` | Davey Shafik | 2016-02-05 | 1 | -43/+36 |
| | |||||
* | Simplify `\Dshafik\MySQL::getFieldFlags()` | Davey Shafik | 2016-02-05 | 1 | -50/+21 |
| | |||||
* | Call local phpunit | Davey Shafik | 2016-02-05 | 1 | -1/+1 |
| | |||||
* | Fix tests, better HHVM skipping exception handling | Davey Shafik | 2016-02-05 | 3 | -81/+79 |
| | |||||
* | Use `\SebastianBergmann\Environment\Runtime->isHHVM()` | Davey Shafik | 2016-02-03 | 1 | -1/+11 |
| | |||||
* | Merge pull request #5 from gimler/mysql_defaults | Davey Shafik | 2016-02-03 | 3 | -1/+25 |
|\ | | | | | Use INI defaults | ||||
| * | add unit test for mysqli defaults | Gordon Franke | 2016-02-03 | 3 | -7/+19 |
| | | |||||
| * | added info to README.md | D060938 | 2016-02-03 | 1 | -1/+4 |
| | | |||||
| * | added default values from php.ini file if none provided | D060938 | 2016-02-03 | 1 | -0/+9 |
|/ | |||||
* | Fixup tests for HHVM | Davey Shafik | 2016-02-02 | 4 | -99/+129 |
| | |||||
* | Fixup tests for HHVM | Davey Shafik | 2016-02-02 | 1 | -34/+30 |
| | |||||
* | Fix escaping not copying non-escapeable chars to the escaped string | Davey Shafik | 2016-02-02 | 2 | -7/+11 |
| | |||||
* | Allow for different MySQL forks (e.g. MariaDB) | Davey Shafik | 2016-02-02 | 1 | -5/+3 |
| | |||||
* | Add forward-compatible annotation | Davey Shafik | 2016-02-02 | 1 | -1/+4 |
| | |||||
* | Add/Fix all constants | Davey Shafik | 2016-02-02 | 2 | -4/+25 |
| | |||||
* | Fix return values for `mysql_fetch_*` functions | Davey Shafik | 2016-02-02 | 2 | -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 cleanup | Gordon Franke | 2016-02-02 | 1 | -1/+0 |
| | |||||
* | Merge pull request #3 from muhammedalialat/patch_mysql_fetch_object | Davey Shafik | 2016-01-28 | 1 | -2/+9 |
|\ | | | | | Fix mysql_fetch_object return value | ||||
| * | Update mysql.php | Muhammed Ali Alat | 2016-01-26 | 1 | -2/+9 |
|/ | |||||
* | Skip some tests on HHVM where behavior differs from PHP | Davey Shafik | 2015-12-07 | 1 | -3/+14 |
| | |||||
* | Handle weirdness with `mysql_table_name()`, especially on HHVM | Davey Shafik | 2015-12-07 | 2 | -5/+5 |
| | |||||
* | More tests, more fixes | Davey Shafik | 2015-12-07 | 2 | -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 fixes | Davey Shafik | 2015-12-06 | 2 | -166/+377 |
| | |||||
* | Remove namespace prefix | Davey Shafik | 2015-12-06 | 2 | -141/+140 |
| | |||||
* | Test SET columns | Davey Shafik | 2015-12-06 | 1 | -1/+7 |
| | |||||
* | Fix args for aliases | Davey Shafik | 2015-12-06 | 1 | -37/+22 |
| | |||||
* | Add scruitinizer config, fix CS issues | Davey Shafik | 2015-12-06 | 3 | -1/+50 |
| | |||||
* | Update README | Davey Shafik | 2015-12-06 | 4 | -21/+529 |
| | |||||
* | Add travis integration | Davey Shafik | 2015-12-06 | 4 | -70/+94 |
| | |||||
* | Upto 20% functions/59% lines coverage, more issues revealed | Davey Shafik | 2015-12-06 | 2 | -86/+470 |
| | |||||
* | Add more tests, and fixed many issues revealed by them | Davey Shafik | 2015-12-05 | 2 | -52/+353 |
| | |||||
* | Initial commit of ext/mysql shim for PHP 7 | Davey Shafik | 2015-12-04 | 9 | -0/+1766 |