summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of https://github.com/bridgebase/php7-mysql-shim into ↵origin/pr/bpolaszek/49Davey Shafik2020-08-110-0/+0
|\ | | | | | | pr/bpolaszek/49
| * Fix mysqli_fetch_field consistencyBeno!t POLASZEK2020-01-131-1/+10
| |
* | Add tests for mysql_fetch_field()Davey Shafik2020-08-111-21/+141
| |
* | Don't try to assign fields if the fetch failedDavey Shafik2020-08-111-8/+10
| |
* | Fix mysqli_fetch_field consistencyBeno!t POLASZEK2020-08-111-1/+10
| |
* | Merge branch 'master' of https://github.com/dshafik/php7-mysql-shimDavey Shafik2020-08-1110-1034/+2330
|\ \
| * \ Merge pull request #52 from dshafik/fixup-testsDavey Shafik2020-08-1110-1034/+2330
| |\ \ | | | | | | | | Add Codespaces support & Fixup Tests
| | * | Fixup phpunit configorigin/fixup-testsDavey Shafik2020-08-111-22/+20
| | | |
| | * | Remove appveyorDavey Shafik2020-08-112-76/+0
| | | |
| | * | Try to fixup TravisCI configDavey Shafik2020-08-113-4/+2
| | | |
| | * | Update TravisCI config to only test on 7.1+Davey Shafik2020-08-111-23/+8
| | | |
| | * | $new is **NOT** supported by mysqli, reverting #45Davey Shafik2020-08-111-1/+5
| | | |
| | * | Update to PHPUnit 8.xDavey Shafik2020-08-114-860/+2311
| | | |
| | * | Add MYSQL_HOST env varDavey Shafik2020-08-111-11/+14
| | | |
| | * | Try to fix testsDavey Shafik2020-08-112-83/+16
| |/ /
* | | Remove SensioLabs InsightDavey Shafik2020-08-111-1/+0
|/ /
* | Allow empty MySQL passwordDavey Shafik2020-08-111-1/+1
| |
* | Merge branch 'master' of https://github.com/dshafik/php7-mysql-shimDavey Shafik2020-08-111-1/+1
|\ \
| * | Use links instead of depends_onDavey Shafik2020-08-111-1/+1
| | |
* | | Add extensionsDavey Shafik2020-08-111-1/+5
|/ /
* | Copy in the composer install scriptDavey Shafik2020-08-111-1/+2
| |
* | Add git auto-complete to bashDavey Shafik2020-08-111-0/+3
| |
* | Update to include ext/mysqli and composerDavey Shafik2020-08-113-0/+26
| |
* | Some minor updates to tests to enable it to work inside CodeSpacesDavey Shafik2020-08-112-16/+28
| |
* | Add CodeSpaces .devcontainer configDavey Shafik2020-08-113-0/+96
| |
* | Merge pull request #51 from staabm/patch-1Davey Shafik2020-05-041-1/+1
|\ \ | |/ |/| Fixed dead url in readme
| * Fixed dead url in readmeMarkus Staab2020-05-041-1/+1
|/
* Merge pull request #48 from staabm/patch-11.0.0beta3Davey Shafik2020-01-021-1/+5
|\ | | | | Added note about alternative approaches
| * Update README.mdMarkus Staab2019-12-241-1/+1
| |
| * Added note about alternative approachesMarkus Staab2019-12-241-1/+5
|/
* Avoid deprecated array access syntax (#47)Michele Locati2019-12-031-2/+2
|
* Handle custom ports defined in the hostname (#44)Mike Gilfillan2019-08-061-2/+10
| | | | | | | | | | | | | | | | | | * Handle custom ports defined in the hostname * Improve detection of custom ports when connecting Perstitent connections are defined by prepending the hostname with "p:". This would have been detected as the start of a custom port and broken the connection. A better solution is to detect the port at the end of host name using regex. * Never detect a prefix of "p:" as a hostname This improves edge cases when using a persistent connection with a numeric hostname. For example: "p:253"
* Use the parameter in a way compatible with the parameter in mysql_connect ↵Jonathan Hawkes2019-07-241-4/+2
| | | | (#45)
* Update dependenciesDavey Shafik2018-01-182-753/+824
|
* Update Travis config to re-enable PHP 5.3Davey Shafik2018-01-181-9/+13
|
* Run phpcbf (#35)Webysther Nunes2017-09-291-3/+3
|
* Fix call to `mysqli_ping` (#28)Edward Savage2017-03-271-1/+1
| | | All of the other `mysqli_` functions with the `$link` as an argument used `\Dshafik\MySQL::getConnection($link)`. The call to `mysqli_ping` did not.
* Remove deprecation notice1.0.0beta2Davey Shafik2017-01-121-6/+0
|
* Remove dev builds, add allowed failures to AppVeyorDavey Shafik2017-01-102-54/+29
|
* Add a single deprecation notice on loadDavey Shafik2017-01-101-0/+6
|
* Fix tests on WindowsDavey Shafik2017-01-101-6/+6
|
* Clarify install/usage docsDavey Shafik2017-01-101-2/+4
|
* Fix CSDavey Shafik2017-01-102-13/+16
|
* Add composer scripts, test and fix-csDavey Shafik2017-01-102-24/+8
|
* Check ext/mysqli is available (for non-composer installs)Davey Shafik2017-01-101-7/+11
|
* Add initial support for AppVeyorDavey Shafik2017-01-103-13/+91
|
* Fix typo, remove outdated caveatDavey Shafik2017-01-101-2/+1
|
* Test for UTF-8 supportDavey Shafik2017-01-101-7/+93
|
* Refactor \Dshafik\MySQL::mysqlFieldInfo() to simplifyDavey Shafik2017-01-101-10/+6
|
* Expand Travis config to account for many different configsorigin/travis-matrixDavey Shafik2017-01-101-1/+76
|
* Update to state it will work from 5.3.6+1.0.0beta1Davey Shafik2017-01-081-1/+1
|
* 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
|