wordpress-sdk icon indicating copy to clipboard operation
wordpress-sdk copied to clipboard

Freemius.com parser not supporting typed properties

Open UVLabs opened this issue 2 years ago • 1 comments

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:

image

Code line: image

I had to remove the types for all my properties throughout my plugin to be able to upload to the deployment area.

UVLabs avatar Jan 11 '23 02:01 UVLabs

+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

webdj-agency avatar Jan 31 '24 20:01 webdj-agency