diff options
| author | Damien Regad <dregad@mantisbt.org> | 2025-10-25 01:12:07 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2025-10-25 01:12:07 +0200 |
| commit | 481bb5292033af2918bea9a9af4b551781d17f5f (patch) | |
| tree | ae01b368c98ec0061b5937884f8ce696de133551 /drivers/adodb-csv.inc.php | |
| parent | 4cacd51045237191d07f98aa4d85f35647fc92e1 (diff) | |
| download | adodb-481bb5292033af2918bea9a9af4b551781d17f5f.tar.gz adodb-481bb5292033af2918bea9a9af4b551781d17f5f.tar.bz2 adodb-481bb5292033af2918bea9a9af4b551781d17f5f.zip | |
PHP 8.5: fix Non-canonical cast deprecations
Non-canonical cast (integer) is deprecated, use the (int) cast instead
Global search and replace throughout the code base.
Fixes #1143
Diffstat (limited to 'drivers/adodb-csv.inc.php')
| -rw-r--r-- | drivers/adodb-csv.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/adodb-csv.inc.php b/drivers/adodb-csv.inc.php index e6694d9a..8f1a7dd6 100644 --- a/drivers/adodb-csv.inc.php +++ b/drivers/adodb-csv.inc.php @@ -103,7 +103,7 @@ class ADODB_csv extends ADOConnection { $at = strpos($err,'::::'); if ($at === false) { $this->_errorMsg = $err; - $this->_errorNo = (integer)$err; + $this->_errorNo = (int)$err; } else { $this->_errorMsg = substr($err,$at+4,1024); $this->_errorNo = -9999; @@ -159,7 +159,7 @@ class ADODB_csv extends ADOConnection { $at = strpos($err,'::::'); if ($at === false) { $this->_errorMsg = $err; - $this->_errorNo = (integer)$err; + $this->_errorNo = (int)$err; } else { $this->_errorMsg = substr($err,$at+4,1024); $this->_errorNo = -9999; |
