I have version 3.6 installed via composer for Magento 2.4.6-p2 open source. I am getting these type of errors:
[16-May-2024 18:54:36 UTC] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in vendor/consolibyte/quickbooks/QuickBooks/Utilities.php on line 90
It's all to with using {$i} or {0} instead of [$i] and [0] notation. So I forked the repo wanting to fix everything. However, the cloned version has only a couple of occurances that need fixing, whereas the composer version has a ton of them.
I would expect both versions to be identical. Is there an explanation for the differences?
Thanks,
Michael.
Screenshots of the composer version
[root@test1-twkmj htdocs]# php81 composer.phar show consolibyte/quickbooks
name : consolibyte/quickbooks
descrip. : QuickBooks DevKit with support for Intuit Anywhere, Intuit Partner Platform, Web Connector, QuickBooks Merchant Services, and more.
keywords : intuit, intuit anywhere, intuit data services, intuit merchant services, intuit partner platform, qbxml, quickbooks, quickbooks merchant services, quickbooks web connector, web connector
versions : * v3.6
type : library
license : Eclipse Public License 1.0 (EPL-1.0) (OSI approved) https://spdx.org/licenses/EPL-1.0.html#licenseText
homepage : http://www.consolibyte.com/
source : [git] https://github.com/consolibyte/quickbooks-php.git 0834bf1fe2abfefcb0bf45be7712c708a13b0d0a
dist : [zip] https://api.github.com/repos/consolibyte/quickbooks-php/zipball/0834bf1fe2abfefcb0bf45be7712c708a13b0d0a 0834bf1fe2abfefcb0bf45be7712c708a13b0d0a
path : /xxx/xxx/xxx/htdocs/vendor/consolibyte/quickbooks
names : consolibyte/quickbooks
Hi,
I have version 3.6 installed via composer for Magento 2.4.6-p2 open source. I am getting these type of errors:
[16-May-2024 18:54:36 UTC] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in vendor/consolibyte/quickbooks/QuickBooks/Utilities.php on line 90
It's all to with using {$i} or {0} instead of [$i] and [0] notation. So I forked the repo wanting to fix everything. However, the cloned version has only a couple of occurances that need fixing, whereas the composer version has a ton of them.
I would expect both versions to be identical. Is there an explanation for the differences?
Thanks, Michael.
Screenshots of the composer version
[root@test1-twkmj htdocs]# php81 composer.phar show consolibyte/quickbooks name : consolibyte/quickbooks descrip. : QuickBooks DevKit with support for Intuit Anywhere, Intuit Partner Platform, Web Connector, QuickBooks Merchant Services, and more. keywords : intuit, intuit anywhere, intuit data services, intuit merchant services, intuit partner platform, qbxml, quickbooks, quickbooks merchant services, quickbooks web connector, web connector versions : * v3.6 type : library license : Eclipse Public License 1.0 (EPL-1.0) (OSI approved) https://spdx.org/licenses/EPL-1.0.html#licenseText homepage : http://www.consolibyte.com/ source : [git] https://github.com/consolibyte/quickbooks-php.git 0834bf1fe2abfefcb0bf45be7712c708a13b0d0a dist : [zip] https://api.github.com/repos/consolibyte/quickbooks-php/zipball/0834bf1fe2abfefcb0bf45be7712c708a13b0d0a 0834bf1fe2abfefcb0bf45be7712c708a13b0d0a path : /xxx/xxx/xxx/htdocs/vendor/consolibyte/quickbooks names : consolibyte/quickbooks
support issues : https://github.com/consolibyte/quickbooks-php/issues source : https://github.com/consolibyte/quickbooks-php/tree/v3.6
autoload files
requires php >=5.0.0