intelephense 1.6.2 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +89 -0
- package/LICENSE.txt +12 -7
- package/lib/LICENSE.txt +12 -7
- package/lib/intelephense.js +1 -1
- package/lib/stub/Core/Core.php +190 -131
- package/lib/stub/Core/Core_c.php +332 -208
- package/lib/stub/Core/Core_d.php +92 -93
- package/lib/stub/Ev/Ev.php +256 -138
- package/lib/stub/FFI/.phpstorm.meta.php +113 -0
- package/lib/stub/FFI/FFI.php +492 -53
- package/lib/stub/LuaSandbox/LuaSandbox.php +298 -192
- package/lib/stub/PDO/PDO.php +1863 -1541
- package/lib/stub/Parle/ErrorInfo.php +0 -2
- package/lib/stub/Parle/Lexer.php +27 -23
- package/lib/stub/Parle/LexerException.php +1 -6
- package/lib/stub/Parle/Parser.php +31 -27
- package/lib/stub/Parle/ParserException.php +1 -5
- package/lib/stub/Parle/RLexer.php +26 -25
- package/lib/stub/Parle/RParser.php +28 -30
- package/lib/stub/Parle/Stack.php +4 -4
- package/lib/stub/Parle/Token.php +5 -4
- package/lib/stub/Phar/Phar.php +1223 -1116
- package/lib/stub/Reflection/Reflection.php +8 -7
- package/lib/stub/Reflection/ReflectionAttribute.php +20 -24
- package/lib/stub/Reflection/ReflectionClass.php +183 -182
- package/lib/stub/Reflection/ReflectionClassConstant.php +77 -47
- package/lib/stub/Reflection/ReflectionEnum.php +37 -0
- package/lib/stub/Reflection/ReflectionEnumBackedCase.php +12 -0
- package/lib/stub/Reflection/ReflectionEnumPureCase.php +7 -0
- package/lib/stub/Reflection/ReflectionEnumUnitCase.php +17 -0
- package/lib/stub/Reflection/ReflectionException.php +1 -3
- package/lib/stub/Reflection/ReflectionExtension.php +53 -50
- package/lib/stub/Reflection/ReflectionFiber.php +19 -0
- package/lib/stub/Reflection/ReflectionFunction.php +31 -29
- package/lib/stub/Reflection/ReflectionFunctionAbstract.php +115 -85
- package/lib/stub/Reflection/ReflectionGenerator.php +22 -24
- package/lib/stub/Reflection/ReflectionIntersectionType.php +13 -0
- package/lib/stub/Reflection/ReflectionMethod.php +91 -67
- package/lib/stub/Reflection/ReflectionNamedType.php +9 -7
- package/lib/stub/Reflection/ReflectionObject.php +7 -8
- package/lib/stub/Reflection/ReflectionParameter.php +92 -82
- package/lib/stub/Reflection/ReflectionProperty.php +130 -74
- package/lib/stub/Reflection/ReflectionReference.php +11 -12
- package/lib/stub/Reflection/ReflectionType.php +13 -14
- package/lib/stub/Reflection/ReflectionUnionType.php +4 -3
- package/lib/stub/Reflection/ReflectionZendExtension.php +33 -31
- package/lib/stub/Reflection/Reflector.php +2 -3
- package/lib/stub/SPL/SPL.php +540 -370
- package/lib/stub/SPL/SPL_c1.php +2303 -2042
- package/lib/stub/SPL/SPL_f.php +40 -34
- package/lib/stub/SQLite/SQLite.php +616 -610
- package/lib/stub/SaxonC/SaxonC.php +28 -29
- package/lib/stub/SimpleXML/SimpleXML.php +352 -285
- package/lib/stub/SplType/SplType.php +22 -16
- package/lib/stub/Zend OPcache/OPcache.php +12 -12
- package/lib/stub/ZendCache/ZendCache.php +14 -0
- package/lib/stub/ZendDebugger/ZendDebugger.php +6 -7
- package/lib/stub/ZendUtils/ZendUtils.php +6 -7
- package/lib/stub/aerospike/Bytes.php +2 -2
- package/lib/stub/aerospike/aerospike.php +280 -286
- package/lib/stub/amqp/amqp.php +223 -233
- package/lib/stub/apache/apache.php +15 -10
- package/lib/stub/apcu/apcu.php +120 -120
- package/lib/stub/ast/ast.php +482 -0
- package/lib/stub/bcmath/bcmath.php +101 -38
- package/lib/stub/blackfire/blackfire.php +16 -0
- package/lib/stub/bz2/bz2.php +29 -21
- package/lib/stub/calendar/calendar.php +56 -55
- package/lib/stub/cassandra/cassandra.php +641 -1883
- package/lib/stub/com_dotnet/com_dotnet.php +108 -112
- package/lib/stub/couchbase/couchbase.php +3288 -3367
- package/lib/stub/couchbase/toplevel.php +0 -13
- package/lib/stub/couchbase_v2/couchbase.php +3611 -0
- package/lib/stub/couchbase_v2/toplevel.php +139 -0
- package/lib/stub/couchbase_v3/couchbase.php +3526 -0
- package/lib/stub/crypto/crypto.php +95 -105
- package/lib/stub/ctype/ctype.php +25 -11
- package/lib/stub/cubrid/cubrid.php +124 -125
- package/lib/stub/curl/CURLStringFile.php +13 -0
- package/lib/stub/curl/curl.php +170 -118
- package/lib/stub/curl/curl_d.php +443 -408
- package/lib/stub/date/date.php +259 -159
- package/lib/stub/date/date_c.php +410 -187
- package/lib/stub/date/date_d.php +16 -16
- package/lib/stub/dba/dba.php +33 -33
- package/lib/stub/decimal/decimal.php +16 -15
- package/lib/stub/dio/dio.php +145 -0
- package/lib/stub/dom/dom.php +49 -50
- package/lib/stub/dom/dom_c.php +685 -391
- package/lib/stub/ds/ds.php +281 -618
- package/lib/stub/enchant/enchant.php +107 -65
- package/lib/stub/event/event.php +446 -592
- package/lib/stub/exif/exif.php +15 -15
- package/lib/stub/expect/expect.php +5 -5
- package/lib/stub/fann/fann.php +159 -440
- package/lib/stub/ffmpeg/ffmpeg.php +204 -245
- package/lib/stub/fileinfo/fileinfo.php +106 -88
- package/lib/stub/filter/filter.php +87 -77
- package/lib/stub/fpm/fpm.php +1 -1
- package/lib/stub/ftp/Connection.php +8 -0
- package/lib/stub/ftp/ftp.php +249 -149
- package/lib/stub/gd/GdFont.php +6 -0
- package/lib/stub/gd/gd.php +512 -397
- package/lib/stub/gearman/gearman.php +20 -43
- package/lib/stub/geoip/geoip.php +50 -34
- package/lib/stub/geos/geos.php +0 -11
- package/lib/stub/gettext/gettext.php +33 -27
- package/lib/stub/gmagick/gmagick.php +558 -869
- package/lib/stub/gmp/gmp.php +239 -190
- package/lib/stub/gnupg/gnupg.php +490 -257
- package/lib/stub/grpc/grpc.php +15 -14
- package/lib/stub/hash/hash.php +162 -101
- package/lib/stub/http/http.php +2314 -2285
- package/lib/stub/http/http3.php +2906 -2873
- package/lib/stub/ibm_db2/ibm_db2.php +106 -96
- package/lib/stub/iconv/iconv.php +50 -40
- package/lib/stub/igbinary/igbinary.php +2 -3
- package/lib/stub/imagick/imagick.php +7292 -6705
- package/lib/stub/imap/Connection.php +8 -0
- package/lib/stub/imap/imap.php +442 -393
- package/lib/stub/inotify/inotify.php +9 -19
- package/lib/stub/interbase/interbase.php +167 -168
- package/lib/stub/intl/IntlChar.php +854 -739
- package/lib/stub/intl/IntlDatePatternGenerator.php +13 -0
- package/lib/stub/intl/intl.php +2184 -1402
- package/lib/stub/json/json.php +167 -79
- package/lib/stub/judy/judy.php +10 -11
- package/lib/stub/ldap/Connection.php +8 -0
- package/lib/stub/ldap/Result.php +8 -0
- package/lib/stub/ldap/ResultEntry.php +8 -0
- package/lib/stub/ldap/ldap.php +429 -261
- package/lib/stub/leveldb/LevelDB.php +125 -129
- package/lib/stub/libevent/libevent.php +9 -19
- package/lib/stub/libsodium/libsodium.php +781 -959
- package/lib/stub/libvirt-php/libvirt-php.php +2054 -0
- package/lib/stub/libxml/libxml.php +94 -92
- package/lib/stub/lua/lua.php +4 -4
- package/lib/stub/lzf/lzf.php +3 -3
- package/lib/stub/mailparse/mailparse.php +34 -35
- package/lib/stub/mapscript/mapscript.php +35 -76
- package/lib/stub/mbstring/mbstring.php +289 -197
- package/lib/stub/mcrypt/mcrypt.php +131 -131
- package/lib/stub/memcache/memcache.php +79 -88
- package/lib/stub/memcached/memcached.php +1512 -1513
- package/lib/stub/meminfo/meminfo.php +1 -1
- package/lib/stub/meta/.phpstorm.meta.php +39 -15
- package/lib/stub/meta/attributes/ArrayShape.php +22 -0
- package/lib/stub/meta/attributes/Deprecated.php +46 -0
- package/lib/stub/meta/attributes/ExpectedValues.php +42 -0
- package/lib/stub/meta/attributes/Immutable.php +27 -0
- package/lib/stub/meta/attributes/Language.php +20 -0
- package/lib/stub/meta/attributes/NoReturn.php +23 -0
- package/lib/stub/meta/attributes/Pure.php +20 -0
- package/lib/stub/meta/attributes/internal/LanguageLevelTypeAware.php +16 -0
- package/lib/stub/meta/attributes/internal/PhpStormStubsElementAvailable.php +21 -0
- package/lib/stub/meta/attributes/internal/ReturnTypeContract.php +21 -0
- package/lib/stub/meta/attributes/internal/TentativeType.php +13 -0
- package/lib/stub/meta/encodings/.phpstorm.meta.php +257 -0
- package/lib/stub/ming/ming.php +238 -256
- package/lib/stub/mongo/mongo.php +942 -941
- package/lib/stub/mongodb/ServerApi.php +18 -0
- package/lib/stub/mongodb/mongodb.php +487 -830
- package/lib/stub/mosquitto-php/mosquitto-php.php +40 -94
- package/lib/stub/mqseries/mqseries.php +13 -39
- package/lib/stub/msgpack/msgpack.php +32 -44
- package/lib/stub/mssql/mssql.php +43 -48
- package/lib/stub/mysql/mysql.php +144 -141
- package/lib/stub/mysql_xdevapi/mysql_xdevapi.php +281 -294
- package/lib/stub/mysqli/mysqli.php +2006 -1836
- package/lib/stub/ncurses/ncurses.php +308 -346
- package/lib/stub/newrelic/newrelic.php +473 -279
- package/lib/stub/oauth/oauth.php +51 -57
- package/lib/stub/oci8/oci8.php +606 -555
- package/lib/stub/oci8/oci8v3.php +394 -0
- package/lib/stub/odbc/odbc.php +146 -141
- package/lib/stub/openssl/openssl.php +450 -269
- package/lib/stub/parallel/parallel/Channel/Error/Closed.php +1 -2
- package/lib/stub/parallel/parallel/Channel/Error/Existence.php +1 -2
- package/lib/stub/parallel/parallel/Channel/Error/IllegalValue.php +1 -2
- package/lib/stub/parallel/parallel/Channel/Error.php +1 -2
- package/lib/stub/parallel/parallel/Channel.php +63 -62
- package/lib/stub/parallel/parallel/Error.php +1 -2
- package/lib/stub/parallel/parallel/Events/Error/Existence.php +1 -2
- package/lib/stub/parallel/parallel/Events/Error/Timeout.php +1 -2
- package/lib/stub/parallel/parallel/Events/Error.php +1 -2
- package/lib/stub/parallel/parallel/Events/Event/Error.php +1 -2
- package/lib/stub/parallel/parallel/Events/Event/Type.php +14 -13
- package/lib/stub/parallel/parallel/Events/Event.php +22 -21
- package/lib/stub/parallel/parallel/Events/Input/Error/Existence.php +1 -2
- package/lib/stub/parallel/parallel/Events/Input/Error/IllegalValue.php +1 -2
- package/lib/stub/parallel/parallel/Events/Input/Error.php +1 -2
- package/lib/stub/parallel/parallel/Events/Input.php +22 -22
- package/lib/stub/parallel/parallel/Events.php +98 -97
- package/lib/stub/parallel/parallel/Future/Error/Cancelled.php +1 -2
- package/lib/stub/parallel/parallel/Future/Error/Foreign.php +1 -2
- package/lib/stub/parallel/parallel/Future/Error/Killed.php +1 -2
- package/lib/stub/parallel/parallel/Future/Error.php +1 -2
- package/lib/stub/parallel/parallel/Future.php +44 -44
- package/lib/stub/parallel/parallel/Runtime/Error/Bootstrap.php +1 -2
- package/lib/stub/parallel/parallel/Runtime/Error/Closed.php +1 -2
- package/lib/stub/parallel/parallel/Runtime/Error/IllegalFunction.php +1 -2
- package/lib/stub/parallel/parallel/Runtime/Error/IllegalInstruction.php +1 -2
- package/lib/stub/parallel/parallel/Runtime/Error/IllegalParameter.php +1 -2
- package/lib/stub/parallel/parallel/Runtime/Error/IllegalReturn.php +1 -2
- package/lib/stub/parallel/parallel/Runtime/Error/IllegalVariable.php +1 -2
- package/lib/stub/parallel/parallel/Runtime/Error/Killed.php +1 -2
- package/lib/stub/parallel/parallel/Runtime/Error.php +1 -2
- package/lib/stub/parallel/parallel/Runtime/Object/Unavailable.php +1 -2
- package/lib/stub/parallel/parallel/Runtime/Type/Unavailable.php +1 -2
- package/lib/stub/parallel/parallel/Runtime.php +88 -88
- package/lib/stub/parallel/parallel/Sync/Error/IllegalValue.php +1 -2
- package/lib/stub/parallel/parallel/Sync/Error.php +1 -2
- package/lib/stub/parallel/parallel/Sync.php +51 -51
- package/lib/stub/parallel/parallel.php +4 -4
- package/lib/stub/pcntl/pcntl.php +203 -184
- package/lib/stub/pcov/pcov.php +54 -55
- package/lib/stub/pcre/pcre.php +57 -38
- package/lib/stub/pdflib/PDFlib.php +1836 -1883
- package/lib/stub/pdo_ibm/pdo_ibm.php +1 -2
- package/lib/stub/pdo_mysql/pdo_mysql.php +0 -1
- package/lib/stub/pdo_pgsql/pdo_pgsql.php +0 -1
- package/lib/stub/pdo_sqlite/pdo_sqlite.php +0 -1
- package/lib/stub/pgsql/pgsql.php +211 -162
- package/lib/stub/posix/posix.php +122 -99
- package/lib/stub/pq/pq.php +2319 -2302
- package/lib/stub/pspell/pspell.php +26 -27
- package/lib/stub/pthreads/pthreads.php +33 -33
- package/lib/stub/radius/radius.php +9 -9
- package/lib/stub/rar/rar.php +68 -118
- package/lib/stub/rdkafka/RdKafka/Conf.php +19 -27
- package/lib/stub/rdkafka/RdKafka/Consumer.php +5 -11
- package/lib/stub/rdkafka/RdKafka/ConsumerTopic.php +10 -18
- package/lib/stub/rdkafka/RdKafka/Exception.php +1 -3
- package/lib/stub/rdkafka/RdKafka/KafkaConsumer.php +35 -43
- package/lib/stub/rdkafka/RdKafka/KafkaConsumerTopic.php +3 -3
- package/lib/stub/rdkafka/RdKafka/KafkaErrorException.php +36 -0
- package/lib/stub/rdkafka/RdKafka/Message.php +3 -3
- package/lib/stub/rdkafka/RdKafka/Metadata/Broker.php +12 -0
- package/lib/stub/rdkafka/RdKafka/Metadata/Collection.php +6 -18
- package/lib/stub/rdkafka/RdKafka/Metadata/Partition.php +5 -15
- package/lib/stub/rdkafka/RdKafka/Metadata/Topic.php +3 -9
- package/lib/stub/rdkafka/RdKafka/Metadata.php +4 -12
- package/lib/stub/rdkafka/RdKafka/Producer.php +30 -8
- package/lib/stub/rdkafka/RdKafka/ProducerTopic.php +5 -9
- package/lib/stub/rdkafka/RdKafka/Queue.php +3 -7
- package/lib/stub/rdkafka/RdKafka/Topic.php +1 -3
- package/lib/stub/rdkafka/RdKafka/TopicConf.php +5 -9
- package/lib/stub/rdkafka/RdKafka/TopicPartition.php +9 -23
- package/lib/stub/rdkafka/RdKafka.php +18 -32
- package/lib/stub/rdkafka/constants.php +68 -2
- package/lib/stub/rdkafka/functions.php +10 -14
- package/lib/stub/readline/readline.php +21 -22
- package/lib/stub/recode/recode.php +3 -4
- package/lib/stub/redis/Redis.php +333 -801
- package/lib/stub/redis/RedisCluster.php +209 -200
- package/lib/stub/redis/RedisSentinel.php +152 -152
- package/lib/stub/regex/ereg.php +23 -17
- package/lib/stub/rpminfo/rpminfo.php +5 -6
- package/lib/stub/rrd/rrd.php +25 -28
- package/lib/stub/session/SessionHandler.php +207 -174
- package/lib/stub/session/session.php +79 -62
- package/lib/stub/shmop/shmop.php +23 -20
- package/lib/stub/snmp/snmp.php +167 -160
- package/lib/stub/soap/soap.php +967 -675
- package/lib/stub/sockets/sockets.php +345 -296
- package/lib/stub/sodium/sodium.php +264 -515
- package/lib/stub/solr/Documents/SolrDocument.php +389 -390
- package/lib/stub/solr/Documents/SolrDocumentField.php +20 -21
- package/lib/stub/solr/Documents/SolrInputDocument.php +261 -262
- package/lib/stub/solr/Exceptions/SolrClientException.php +12 -13
- package/lib/stub/solr/Exceptions/SolrException.php +18 -19
- package/lib/stub/solr/Exceptions/SolrIllegalArgumentException.php +12 -13
- package/lib/stub/solr/Exceptions/SolrIllegalOperationException.php +12 -13
- package/lib/stub/solr/Exceptions/SolrMissingMandatoryParameterException.php +1 -3
- package/lib/stub/solr/Exceptions/SolrServerException.php +12 -13
- package/lib/stub/solr/Queries/SolrCollapseFunction.php +136 -137
- package/lib/stub/solr/Queries/SolrDisMaxQuery.php +308 -309
- package/lib/stub/solr/Queries/SolrModifiableParams.php +14 -15
- package/lib/stub/solr/Queries/SolrParams.php +134 -135
- package/lib/stub/solr/Queries/SolrQuery.php +2410 -2411
- package/lib/stub/solr/Responses/SolrGenericResponse.php +14 -15
- package/lib/stub/solr/Responses/SolrPingResponse.php +24 -25
- package/lib/stub/solr/Responses/SolrQueryResponse.php +14 -15
- package/lib/stub/solr/Responses/SolrResponse.php +151 -152
- package/lib/stub/solr/Responses/SolrUpdateResponse.php +14 -15
- package/lib/stub/solr/SolrClient.php +481 -482
- package/lib/stub/solr/Utils/SolrObject.php +69 -70
- package/lib/stub/solr/Utils/SolrUtils.php +57 -58
- package/lib/stub/sqlite3/sqlite3.php +590 -507
- package/lib/stub/sqlsrv/sqlsrv.php +58 -54
- package/lib/stub/ssh2/ssh2.php +68 -68
- package/lib/stub/standard/CSPRNG.php +4 -4
- package/lib/stub/standard/_standard_manual.php +7 -8
- package/lib/stub/standard/_types.php +28 -16
- package/lib/stub/standard/basic.php +42 -30
- package/lib/stub/standard/password.php +21 -22
- package/lib/stub/standard/standard_0.php +173 -133
- package/lib/stub/standard/standard_1.php +191 -131
- package/lib/stub/standard/standard_2.php +177 -129
- package/lib/stub/standard/standard_3.php +235 -161
- package/lib/stub/standard/standard_4.php +186 -144
- package/lib/stub/standard/standard_5.php +180 -130
- package/lib/stub/standard/standard_6.php +176 -141
- package/lib/stub/standard/standard_7.php +141 -81
- package/lib/stub/standard/standard_8.php +189 -150
- package/lib/stub/standard/standard_9.php +305 -184
- package/lib/stub/standard/standard_defines.php +333 -333
- package/lib/stub/stats/stats.php +68 -136
- package/lib/stub/stomp/stomp.php +39 -44
- package/lib/stub/suhosin/suhosin.php +2 -2
- package/lib/stub/superglobals/_superglobals.php +17 -18
- package/lib/stub/svm/SVM.php +31 -30
- package/lib/stub/svm/SVMModel.php +70 -69
- package/lib/stub/svn/svn.php +187 -218
- package/lib/stub/sybase/sybase_ct.php +24 -24
- package/lib/stub/sync/sync.php +30 -25
- package/lib/stub/sysvmsg/sysvmsg.php +38 -30
- package/lib/stub/sysvsem/sysvsem.php +20 -12
- package/lib/stub/sysvshm/sysvshm.php +31 -24
- package/lib/stub/tidy/tidy.php +626 -630
- package/lib/stub/tokenizer/PhpToken.php +77 -0
- package/lib/stub/tokenizer/tokenizer.php +168 -148
- package/lib/stub/uopz/uopz.php +40 -37
- package/lib/stub/uuid/uuid_c.php +12 -12
- package/lib/stub/uv/UV.php +198 -198
- package/lib/stub/uv/uv_functions.php +2 -2
- package/lib/stub/v8js/v8js.php +27 -45
- package/lib/stub/wddx/wddx.php +6 -7
- package/lib/stub/win32service/win32service.php +72 -76
- package/lib/stub/winbinder/winbinder.php +109 -432
- package/lib/stub/wincache/wincache.php +10 -11
- package/lib/stub/xcache/xcache.php +4 -4
- package/lib/stub/xdebug/xdebug.php +93 -70
- package/lib/stub/xdiff/xdiff.php +202 -0
- package/lib/stub/xhprof/xhprof.php +5 -13
- package/lib/stub/xlswriter/xlswriter.php +101 -117
- package/lib/stub/xml/xml.php +110 -94
- package/lib/stub/xmlreader/xmlreader.php +381 -341
- package/lib/stub/xmlrpc/xmlrpc.php +17 -17
- package/lib/stub/xmlwriter/xmlwriter.php +848 -737
- package/lib/stub/xsl/xsl.php +165 -154
- package/lib/stub/xxtea/xxtea.php +4 -4
- package/lib/stub/yaf/yaf.php +508 -456
- package/lib/stub/yaf/yaf_namespace.php +288 -863
- package/lib/stub/yaml/yaml.php +5 -5
- package/lib/stub/yar/yar.php +56 -35
- package/lib/stub/zend/zend.php +133 -153
- package/lib/stub/zend/zend_d.php +0 -2
- package/lib/stub/zend/zend_f.php +2 -8
- package/lib/stub/zip/zip.php +1151 -1002
- package/lib/stub/zlib/zlib.php +140 -106
- package/lib/stub/zmq/zmq.php +100 -180
- package/lib/stub/zookeeper/zookeeper.php +91 -138
- package/lib/stub/zstd/zstd.php +159 -0
- package/package.json +8 -9
- package/lib/stub/meta/phpunit/.phpstorm.meta.php +0 -68
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,94 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [1.8.0 - 2021-12-05]
|
|
4
|
+
|
|
5
|
+
#### Added
|
|
6
|
+
- PHP 8.1 support
|
|
7
|
+
|
|
8
|
+
#### Changed
|
|
9
|
+
- Redundant unions are not reduced to minimal type as eagerly.
|
|
10
|
+
- Added additional logging when indexing.
|
|
11
|
+
- Diagnostics limited to parse errors only for non-file URIs.
|
|
12
|
+
- PHP 8.1 is now the default version.
|
|
13
|
+
- Updated stubs.
|
|
14
|
+
|
|
15
|
+
#### Fixed
|
|
16
|
+
- Iterator|Foo[] not corrected to Iterator<mixed, Foo> in some instances.
|
|
17
|
+
- Auto import not working in namespace body when class imported in previous namespace.
|
|
18
|
+
- Auto import indent in namespace body.
|
|
19
|
+
- False parse error on null-safe object operator and keyword member name.
|
|
20
|
+
- File rename incorrect when renaming namespace.
|
|
21
|
+
- False undefined variable diagnostic when using named arg and param is by ref.
|
|
22
|
+
- Encapsulated expr closing parenthesis format.
|
|
23
|
+
- False method not compatible diagnostic when override has an addition parameter that is variadic.
|
|
24
|
+
- False undefined variable on LHS of null coalesce compound assignment expr.
|
|
25
|
+
- Expected type 'object|array'. Found 'iterable'.
|
|
26
|
+
- Anonymous function parameter renaming.
|
|
27
|
+
- False method not implement diagnostic when trait provides implementation required by another trait.
|
|
28
|
+
- `implements` not suggested when extends class name contains backslash.
|
|
29
|
+
- Parsing of nested generic array phpdoc syntax.
|
|
30
|
+
|
|
31
|
+
## [1.7.1 - 2021-05-02]
|
|
32
|
+
|
|
33
|
+
#### Changed
|
|
34
|
+
- Updated stubs
|
|
35
|
+
|
|
36
|
+
#### Fixed
|
|
37
|
+
- phpdoc `double` normalised to `float`.
|
|
38
|
+
- Crash on fetching embedded language folding ranges.
|
|
39
|
+
- False duplicate function name.
|
|
40
|
+
- Concrete class method is allowed to have different signature to trait abstract method.
|
|
41
|
+
- Doc block formatting.
|
|
42
|
+
- Excluded files getting indexed on `workspace/didChangeWatchedFiles` notifications.
|
|
43
|
+
- False type diagnostics for some built-in symbols.
|
|
44
|
+
|
|
45
|
+
## [1.7.0 - 2021-04-26]
|
|
46
|
+
|
|
47
|
+
#### Added
|
|
48
|
+
- `@mixin` support. **[Premium](https://intelephense.com)**
|
|
49
|
+
- Signature help offset label support.
|
|
50
|
+
- `SymbolTag.Deprecated` support for workspace and document symbol requests.
|
|
51
|
+
- Added new setting `intelephense.rename.namespaceMode` that can be either `single` (default) or `all`. When set to `single` a rename of a namespace will only affect the symbols defined in that single file. This is the equivalent of a single 'move class' operation. Previously renaming a namespace would affect all symbols that shared that namespace across multiple files. Setting to the value to `all` will produce the old behaviour. **[Premium](https://intelephense.com)**
|
|
52
|
+
|
|
53
|
+
#### Changed
|
|
54
|
+
- Updated stubs.
|
|
55
|
+
- Upgraded vscode-languageserver to 7.1 beta.
|
|
56
|
+
- `intelephense.files.exclude` globs without path separators are no longer prefixed with `**/`. **BREAKING**
|
|
57
|
+
- URIs are now normalised to vscode-uri format.
|
|
58
|
+
- Rename requests that fail now return `ResponseError` with appropriate code and message rather than returning null and sending a separate notification.
|
|
59
|
+
- `intelephense.environment.shortOpenTag` now defaults to true. **BREAKING**
|
|
60
|
+
- Tolerate property annotations with missing `$` in property name.
|
|
61
|
+
|
|
62
|
+
#### Fixed
|
|
63
|
+
- Parser failing on alternate switch syntax.
|
|
64
|
+
- False `parent` static call warning in anon class.
|
|
65
|
+
- Division returning `int` instead of `int|float`.
|
|
66
|
+
- Refs not found when inside encapsulated expression used as member name.
|
|
67
|
+
- Formatting of immediately invoked function expr following phpdoc.
|
|
68
|
+
- Completion item detail showing `namespace ...` instead of `use ...` for existing imports.
|
|
69
|
+
- Completion item not including additional import edit when symbol shares current namespace but symbol short name is already used.
|
|
70
|
+
- Nested regions not folding.
|
|
71
|
+
- Property doc inheritance.
|
|
72
|
+
- Inline `{@inheritdoc}`.
|
|
73
|
+
- Files that are excluded but have textDocument/didOpen sent are now ignored.
|
|
74
|
+
- protected visibility when accessing subtype method from supertype.
|
|
75
|
+
- `intelephense.phpdoc.useFullyQualifiedNames` not overriding `intelephense.completion.insertUseDeclaration`.
|
|
76
|
+
- False not in object context error in arrow function.
|
|
77
|
+
|
|
78
|
+
## [1.6.3 - 2021-01-31]
|
|
79
|
+
|
|
80
|
+
#### Fixed
|
|
81
|
+
- Multiline `unset` formatting.
|
|
82
|
+
- Goto definition from callable arrays using `MyClass::class` expression.
|
|
83
|
+
- Wrong `json_encode` parameter name.
|
|
84
|
+
- PHPUnit metadata causing `createMock` to return `string`.
|
|
85
|
+
- Indexing not working on Apple M1.
|
|
86
|
+
- False diagnostics for some built in functions that have multiple signatures.
|
|
87
|
+
- Format bug with shebang and `__halt_compiler`.
|
|
88
|
+
- Intellisense breaks with doc blocked class inside namespace body.
|
|
89
|
+
- `$/cancelRequest` not working.
|
|
90
|
+
- Wrong range reported for duplicate symbol diagnostics with attributes.
|
|
91
|
+
|
|
3
92
|
## [1.6.2 - 2021-01-12]
|
|
4
93
|
|
|
5
94
|
#### Fixed
|
package/LICENSE.txt
CHANGED
|
@@ -20,35 +20,40 @@ The Licensor grants you a personal, non-transferable, non-exclusive licence
|
|
|
20
20
|
to use the Software on your devices in accordance with the terms of this
|
|
21
21
|
agreement.
|
|
22
22
|
|
|
23
|
-
3.
|
|
23
|
+
3. INTENDED USE
|
|
24
|
+
An individual end user may use the Software paired with a
|
|
25
|
+
Language Server Protocol compatible Integrated Development Environment or text editor
|
|
26
|
+
to provide PHP code intelligence for said user.
|
|
27
|
+
|
|
28
|
+
4. LICENCE KEYS
|
|
24
29
|
a) Purchase of a Licence Key grants a single end user access and use of all
|
|
25
30
|
current and future Premium Features in perpetuity.
|
|
26
31
|
b) A Licence Key may be revoked if it is suspected that a user has breached
|
|
27
|
-
restrictions detailed in item
|
|
32
|
+
restrictions detailed in item 5 Restrictions.
|
|
28
33
|
|
|
29
|
-
|
|
34
|
+
5. RESTRICTIONS
|
|
30
35
|
You are NOT permitted to:
|
|
31
36
|
a) Edit, alter, modify, adapt, translate or otherwise change the whole or any
|
|
32
37
|
part of the Software.
|
|
33
38
|
b) Decompile, disassemble or reverse engineer the Software or attempt to do
|
|
34
39
|
any such things.
|
|
35
40
|
c) Reproduce, copy, distribute, resell or otherwise use the whole or any part
|
|
36
|
-
of the Software for any
|
|
41
|
+
of the Software for any purpose except where permitted by item 3 Intended Use.
|
|
37
42
|
d) Disable, modify or hide notifications sent by the Software.
|
|
38
43
|
e) Distribute, resell, or share Licence Keys.
|
|
39
44
|
f) Access or use Premium Features without a valid Licence Key.
|
|
40
45
|
|
|
41
|
-
|
|
46
|
+
6. OWNERSHIP
|
|
42
47
|
The Software, copyright, and other intellectual property rights of whatever
|
|
43
48
|
nature in the Software, including any modifications made thereto are and shall
|
|
44
49
|
remain the property of the Licensor.
|
|
45
50
|
|
|
46
|
-
|
|
51
|
+
7. WARRANTY DISCLAIMER
|
|
47
52
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
48
53
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
49
54
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
50
55
|
|
|
51
|
-
|
|
56
|
+
8. LIMITATION OF LIABILITY
|
|
52
57
|
IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
58
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
54
59
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
package/lib/LICENSE.txt
CHANGED
|
@@ -20,35 +20,40 @@ The Licensor grants you a personal, non-transferable, non-exclusive licence
|
|
|
20
20
|
to use the Software on your devices in accordance with the terms of this
|
|
21
21
|
agreement.
|
|
22
22
|
|
|
23
|
-
3.
|
|
23
|
+
3. INTENDED USE
|
|
24
|
+
An individual end user may use the Software paired with a
|
|
25
|
+
Language Server Protocol compatible Integrated Development Environment or text editor
|
|
26
|
+
to provide PHP code intelligence for said user.
|
|
27
|
+
|
|
28
|
+
4. LICENCE KEYS
|
|
24
29
|
a) Purchase of a Licence Key grants a single end user access and use of all
|
|
25
30
|
current and future Premium Features in perpetuity.
|
|
26
31
|
b) A Licence Key may be revoked if it is suspected that a user has breached
|
|
27
|
-
restrictions detailed in item
|
|
32
|
+
restrictions detailed in item 5 Restrictions.
|
|
28
33
|
|
|
29
|
-
|
|
34
|
+
5. RESTRICTIONS
|
|
30
35
|
You are NOT permitted to:
|
|
31
36
|
a) Edit, alter, modify, adapt, translate or otherwise change the whole or any
|
|
32
37
|
part of the Software.
|
|
33
38
|
b) Decompile, disassemble or reverse engineer the Software or attempt to do
|
|
34
39
|
any such things.
|
|
35
40
|
c) Reproduce, copy, distribute, resell or otherwise use the whole or any part
|
|
36
|
-
of the Software for any
|
|
41
|
+
of the Software for any purpose except where permitted by item 3 Intended Use.
|
|
37
42
|
d) Disable, modify or hide notifications sent by the Software.
|
|
38
43
|
e) Distribute, resell, or share Licence Keys.
|
|
39
44
|
f) Access or use Premium Features without a valid Licence Key.
|
|
40
45
|
|
|
41
|
-
|
|
46
|
+
6. OWNERSHIP
|
|
42
47
|
The Software, copyright, and other intellectual property rights of whatever
|
|
43
48
|
nature in the Software, including any modifications made thereto are and shall
|
|
44
49
|
remain the property of the Licensor.
|
|
45
50
|
|
|
46
|
-
|
|
51
|
+
7. WARRANTY DISCLAIMER
|
|
47
52
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
48
53
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
49
54
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
50
55
|
|
|
51
|
-
|
|
56
|
+
8. LIMITATION OF LIABILITY
|
|
52
57
|
IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
58
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
54
59
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|