Open WongRichard1020 opened 6 months ago
PETOSS-380
Thanks for raising an issue, a ticket has been created to track your request
Found this problem while looking into why PHP memory usage jumps to 32mb when we instantiate this class.
Couldn't find a solution to my problem, but for your problem the issue is actually IDE can't load the file as it's ~3mb. This was discussed in #158. They were using PHPStorm, but I observed the same behaviour in VSCode.
EDIT: #292 discusses it in VSCode.
SDK you're using (please complete the following information): This is the package that I installed https://github.com/XeroAPI/xero-php-oauth2 Version 2.23.2
Describe the bug I can't use AccountingApi() even though I manually imported this above XeroAPI\XeroPHP\Api\AccountingApi. I'm using php Laravel.
To Reproduce Just type the AccountingApi class name for any IDE which provides an auto-complete feature. I'm using Visual Studio Code as my code editor.
Expected behavior Undefined type 'XeroAPI\XeroPHP\Api\AccountingApi'
Screenshots
![image](https://github.com/XeroAPI/xero-php-oauth2/assets/99307012/1a122472-6c4f-439b-a2d1-303d5b006fd4)