When I dio this in php7:
self::$factory::getProducts()::$stock_id
following highlighting is broken:
FIXED by copying the PHP package to my package folder with the packages from https://github.com/sublimehq/Packages.git
yes it was fixed by https://github.com/sublimehq/Packages/pull/1588 but seemingly not included in any ST releases yet