Closed MichelleBlanchette closed 4 months ago
~This has good information on how to generate and apply patches via Composer itself: https://tomasvotruba.com/blog/2020/07/02/how-to-patch-package-in-vendor-yet-allow-its-updates~
That didn't work. It said the patch files were invalid when trying to apply them on composer install. Also, that was still tedious and not ideal.
Should probably just fork https://github.com/Asana/php-asana and include it in the build pipeline with our own branch of fixes. Aye yi yi... So it'd be added as a git submodule that needs to be built rather than a simple composer dependency. Sigh...
Apply patch file in the build script after composer dependencies are installed.
See https://github.com/Asana/php-asana/pull/119#issuecomment-2081032886 for a start on this.
There are
#[\ReturnTypeWillChange]
deprecation notices coming fromvendor/nategood/httpful/src/Httpful/Response/Headers.php
and#[\AllowDynamicProperties]
coming from Asana's PHP SDK.Eventually, we may need to switch to our own custom class implementation for working with the Asana API due to the lack of activity in the official PHP SDK.