[ARCHIVED] See instead https://packagist.org/packages/jetbrains/phpstorm-stubs

Clone this repo:
  1. 4a07d74 Publish under 'wikimedia/' packagist namespace by Antoine Musso · 7 years ago master
  2. e06a024 wmf: add composer.json to fork JetBrains/phpstorm-stubs by Antoine Musso · 7 years ago
  3. ff0d59e Merge pull request #151 from janedbal/patch-3 by Alexey Gopachenko · 7 years ago upstream
  4. 20a630e Merge pull request #152 from twify93/patch-3 by Alexey Gopachenko · 7 years ago
  5. 872749c Merge pull request #154 from mbarany/exception-constructor by Alexey Gopachenko · 7 years ago

phpstorm-stubs

STUBS are normal, syntactically correct PHP files that contain function & class signatures, constant definitions, etc. for all built in PHP stuff and most standard extensions. Stubs need to include complete PHPDOC, especially proper @return annotations

IDE needs them for completion, code inspection, type inference, doc popups, etc. Quality of most of this services depend on quality of the stubs (basically their PHPDOC @annotations).

Relevant open issues

Contribution process

Contribution process

Updating the IDE

TBD: Have a full copy of .git repo within IDE and add it as an external library "PHP Runtime" to the project. It should then be easilly updatable both way via normal git methods.

License

Apache 2