Rather then maintain our own stubs this PR switches to a common source. For this I have picked JetBrains/phpstorm-stubs, they ware well maintained by multiple parties and used by numerous projects (like PHPStan and others).
This takes the stubs from PHP 5.6 to PHP 8.3. It also adds more extensions, additional context (some of this is not yet picked up by our parser) and corrections.
codelitephp/resources/cc/superglobals.php is kept for now since CodeLite does not yet understand the @xglobal hint used in phpstorm-stubs/superglobals/_superglobals.php.
Rather then maintain our own stubs this PR switches to a common source. For this I have picked JetBrains/phpstorm-stubs, they ware well maintained by multiple parties and used by numerous projects (like PHPStan and others).
This takes the stubs from PHP 5.6 to PHP 8.3. It also adds more extensions, additional context (some of this is not yet picked up by our parser) and corrections.
codelitephp/resources/cc/superglobals.php
is kept for now since CodeLite does not yet understand the@xglobal
hint used inphpstorm-stubs/superglobals/_superglobals.php
.