XeroAPI / xero-php-oauth2

Xero PHP SDK for oAuth 2 generated from Xero API OpenAPI Spec 3.0
MIT License
91 stars 65 forks source link

SDK is fundamentally broken - syntax errors throughout #359

Closed lioneaglesolutions closed 1 month ago

lioneaglesolutions commented 1 month ago

SDK you're using (please complete the following information):

Describe the bug The SDK has syntax errors through.

https://github.com/XeroAPI/xero-php-oauth2/blob/f46069fe379742394b823866c549b7eda6488901/lib/Models/Accounting/Invoices.php#L290

To Reproduce

use XeroAPI\XeroPHP\Models\Accounting\Invoices;

$invoices = new Invoices(); // ERROR  syntax error, unexpected single-quoted string "invoices", expecting "]" in vendor/xeroapi/xero-php-oauth2/lib/Models/Accounting/Invoices.php on line 277.

Expected behavior The class to be instantiated.

Screenshots screenshot-ppQ5pYcX-000963@2x

github-actions[bot] commented 1 month ago

PETOSS-480

github-actions[bot] commented 1 month ago

Thanks for raising an issue, a ticket has been created to track your request

sangeet-joy-tw commented 1 month ago

Hey @lioneaglesolutions

We have fixed the issue in our new version - v7.0.1.

Please upgrade and let us know if you face any more issues.