wordpress-sdk
wordpress-sdk copied to clipboard
Freemius.com parser not supporting typed properties
I couldn't find the repo for the PHP parser used on freemius.com for deployment so I thought I should report it here.
The parser supports typed methods/functions but it does not support typed properties.
Error when uploading:

Code line:
I had to remove the types for all my properties throughout my plugin to be able to upload to the deployment area.
+1. Same here. I had to downgrade the PHPStorm language level to 7.3 to fix the Class property type errors shown by Freemius parser