[PECL-CVS] [pecl-database-pdo_ibm] pdo-class-8.5: typo
[email protected] (Calvin Buckley)
| Newsgroups | php.pecl.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Calvin Buckley (NattyNarwhal) Date: 2025-09-19T14:52:54-03:00 Commit: https://github.com/php/pecl-database-pdo_ibm/commit/ce26896bd55bc62712ca06b6002791f52dad1b4a Raw diff: https://github.com/php/pecl-database-pdo_ibm/commit/ce26896bd55bc62712ca06b6002791f52dad1b4a.diff typo Changed paths: M tests/fvt.inc Diff: diff --git a/tests/fvt.inc b/tests/fvt.inc index 8b19968..8cd222b 100644 --- a/tests/fvt.inc +++ b/tests/fvt.inc @@ -41,7 +41,7 @@ abstract class FVTTest $options = array(PDO::ATTR_AUTOCOMMIT=>$autoCommit); // Use the driver subclass on PHP 8.4+ $this->db = version_compare(PHP_VERSION, '8.4.0') >= 0 - ? PDO::construct($this->dsn, $this->user, $this->pass, $options) + ? PDO::connect($this->dsn, $this->user, $this->pass, $options) : new PDO($this->dsn, $this->user, $this->pass, $options); $this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $this->db->setAttribute(PDO::ATTR_CASE, PDO::CASE_UPPER);