Go to file
Alexander Over 00b3da8f2f
fix return type param
2018-09-27 11:23:43 +02:00
.idea Missing configuration files 2018-09-12 16:00:19 +02:00
Core Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
Ev Move stub into module 2017-04-02 09:30:14 +02:00
PDO Replace http with https in doc links 2018-08-13 16:39:18 +03:00
Parle Replace http with https in doc links 2018-08-13 16:39:18 +03:00
Phar Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
Reflection Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
SPL Replace http with https in doc links 2018-08-13 16:39:18 +03:00
SQLite Replace http with https in doc links 2018-08-13 16:39:18 +03:00
SimpleXML Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
SplType Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
Zend OPcache Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
ZendCache WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
ZendDebugger WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
ZendUtils WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
amqp Make method and class PHPDocs standard compliant 2018-05-30 13:46:20 +02:00
apache Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
apc Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
apcu Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
bcmath Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
bz2 Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
calendar Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
com Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
couchbase couchbase: update to 2.4.7 2018-06-07 23:11:26 +03:00
csprng Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
ctype Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
cubrid Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
curl Replace http with https in doc links 2018-08-13 16:39:18 +03:00
date Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
dba Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
dom Replace http with https in doc links 2018-08-13 16:39:18 +03:00
enchant Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
event Replace http with https in doc links 2018-08-13 16:39:18 +03:00
exif Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
fann moved fann, judy, mqseries to separate directories 2017-07-17 21:50:35 +03:00
ffmpeg WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
fileinfo Replace http with https in doc links 2018-08-13 16:39:18 +03:00
filter Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
fpm Partly implemented 7.3.0 changes WI-42885 2018-07-23 21:23:19 +02:00
ftp Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
gd Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
gearman Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
geoip Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
gettext Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
gmagick Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
gmp Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
gnupg Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
grpc move to grpc 2017-04-26 11:01:21 +03:00
hash Change hash_hmac_algos return type to string[] 2018-08-30 09:16:53 +03:00
http Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
ibm_db2 Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
iconv Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
igbinary Replace http with https in doc links 2018-08-13 16:39:18 +03:00
imagick Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
imap Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
inotify Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
interbase Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
intl Replace http with https in doc links 2018-08-13 16:39:18 +03:00
json Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
judy Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
ldap Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
libevent Replace http with https in doc links 2018-08-13 16:39:18 +03:00
libsodium Make PHPDocs PHPDoc parser compatible 2018-04-19 14:22:18 +02:00
libxml Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
mailparse Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
mapscript add constant values 2017-08-24 16:09:00 +02:00
mbstring Replace http with https in doc links 2018-08-13 16:39:18 +03:00
mcrypt Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
memcache Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
memcached Remove duplicated definitions from Memcached class 2018-08-30 11:27:39 +01:00
meta WI-43503 Type[] lost after array_change_key_case() 2018-09-14 14:31:19 +02:00
ming Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
mongo Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
mongodb Add mongodb monitoring namespace 2018-08-16 12:07:05 +03:00
mqseries moved fann, judy, mqseries to separate directories 2017-07-17 21:50:35 +03:00
mssql Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
mysql Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
mysqli Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
ncurses Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
newrelic WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
oauth @return should be omitted for __construct 2018-05-30 17:53:56 +02:00
oci8 Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
odbc Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
openssl Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
password Added missing password constants 7.2 2017-12-21 18:00:14 +03:00
pcntl Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
pcre Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
pdo_ibm WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
pdo_mysql WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
pdo_pgsql WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
pdo_sqlite WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
pgsql Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
posix Replace http with https in doc links 2018-08-13 16:39:18 +03:00
pspell Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
pthreads Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
radius WI-38483 Remove typehing 2018-04-19 10:17:16 +02:00
rar Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
rdkafka Fixed rdkafka extension folder name to be compatible with "Sync Extensions with Interpreter" action 2018-07-17 19:28:49 +03:00
readline Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
recode Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
redis Replace http with https in doc links 2018-08-13 16:39:18 +03:00
regex Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
rrd Replace http with https in doc links 2018-08-13 16:39:18 +03:00
session Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
shmop Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
snmp Replace http with https in doc links 2018-08-13 16:39:18 +03:00
soap Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
sockets Replace http with https in doc links 2018-08-13 16:39:18 +03:00
sodium Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
solr Replace http with https in doc links 2018-08-13 16:39:18 +03:00
sqlite3 Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
sqlsrv WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
ssh2 fix return type param 2018-09-27 11:23:43 +02:00
standard Merge pull request #399 from ntzm/patch-1 2018-08-13 14:22:42 +03:00
suhosin Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
superglobals WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
svn Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
sybase Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
sync Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
sysvmsg Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
sysvsem Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
sysvshm Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
tests Skip .git and provide better diagnostic 2018-09-12 15:48:22 +02:00
tidy Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
tokenizer Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
uopz Add functions and constants of the uopz extension 2018-08-17 22:33:29 +03:00
v8js Rename V8Js.php to v8js.php 2017-03-09 17:57:33 +02:00
wddx Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
win32service add more constants 2017-08-30 11:49:32 +02:00
wincache WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
xcache WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
xdebug Added missing functions, fixed function desciptions 2017-05-23 21:47:21 +03:00
xhprof Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
xml Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
xmlreader Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
xmlrpc Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
xmlwriter Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
xsl Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
yaf Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
yaml Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
yar Modify annotation; 2018-06-09 15:09:57 +08:00
zend WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
zip Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
zlib Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
zmq WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00
.travis.yml Fix path to stub.json 2018-04-20 14:23:20 +02:00
CONTRIBUTING.md Update requirements for PR requests 2018-04-24 17:46:00 +02:00
README.md Use https for @link annotations (#367) 2018-08-13 14:15:36 +03:00
composer.json Add test 2018-04-19 19:06:08 +02:00

README.md

phpstorm-stubs

official JetBrains project Build Status License Total Downloads

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.

How to run tests

  1. Execute composer install
  2. Execute docker-compose -f tests/docker-compose.yml run php > tests/stub.json
  3. Run the test phpunit tests/TestStubs.php

License

Apache 2