intelephense 1.17.7-beta → 1.18.1
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 +32 -0
- package/lib/intelephense.js +2 -2
- package/lib/stub/Core/Core.php +3 -3
- package/lib/stub/Core/Core_c.php +1 -0
- package/lib/stub/Ev/Ev.php +3 -3
- package/lib/stub/FFI/FFI.php +275 -161
- package/lib/stub/PDO/PDO.php +82 -0
- package/lib/stub/Phar/Phar.php +1 -1
- package/lib/stub/Reflection/ReflectionClass.php +2 -2
- package/lib/stub/Reflection/ReflectionMethod.php +1 -1
- package/lib/stub/Reflection/ReflectionParameter.php +1 -0
- package/lib/stub/Reflection/ReflectionProperty.php +1 -1
- package/lib/stub/SPL/SPL.php +1 -1
- package/lib/stub/SPL/SPL_c1.php +4 -4
- package/lib/stub/SPL/SPL_f.php +4 -4
- package/lib/stub/SQLite/SQLite.php +11 -11
- package/lib/stub/amqp/amqp.php +3 -3
- package/lib/stub/bcmath/bcmath.php +1 -1
- package/lib/stub/bz2/bz2.php +1 -1
- package/lib/stub/calendar/calendar.php +2 -2
- package/lib/stub/cassandra/cassandra.php +5 -5
- package/lib/stub/couchbase/couchbase.php +3 -3
- package/lib/stub/cubrid/cubrid.php +1 -1
- package/lib/stub/curl/curl.php +3 -3
- package/lib/stub/date/date.php +13 -13
- package/lib/stub/date/date_c.php +4 -2
- package/lib/stub/date/date_d.php +3 -0
- package/lib/stub/dba/dba.php +2 -2
- package/lib/stub/ds/ds.php +3 -3
- package/lib/stub/exif/exif.php +2 -2
- package/lib/stub/fileinfo/fileinfo.php +4 -4
- package/lib/stub/filter/filter.php +1 -0
- package/lib/stub/ftp/ftp.php +1 -1
- package/lib/stub/gd/gd.php +5 -5
- package/lib/stub/gearman/gearman.php +1 -1
- package/lib/stub/geos/geos.php +1 -1
- package/lib/stub/gmp/gmp.php +19 -17
- package/lib/stub/grpc/grpc.php +3 -3
- package/lib/stub/hash/hash.php +2 -2
- package/lib/stub/http/http3.php +39 -39
- package/lib/stub/ibm_db2/ibm_db2.php +6 -6
- package/lib/stub/iconv/iconv.php +1 -1
- package/lib/stub/imagick/imagick.php +560 -484
- package/lib/stub/ldap/ldap.php +14 -14
- package/lib/stub/mailparse/mailparse.php +3 -3
- package/lib/stub/mbstring/mbstring.php +118 -39
- package/lib/stub/memcache/memcache.php +4 -4
- package/lib/stub/memcached/memcached.php +5 -5
- package/lib/stub/meta/.phpstorm.meta.php +3 -3
- package/lib/stub/mongo/mongo.php +5 -5
- package/lib/stub/mysql/mysql.php +1 -1
- package/lib/stub/mysql_xdevapi/mysql_xdevapi.php +2 -2
- package/lib/stub/mysqli/mysqli.php +10 -10
- package/lib/stub/newrelic/newrelic.php +6 -6
- package/lib/stub/odbc/odbc.php +16 -2
- package/lib/stub/openssl/openssl.php +24 -24
- package/lib/stub/parallel/parallel/Sync.php +1 -1
- package/lib/stub/parallel/parallel.php +1 -1
- package/lib/stub/pcntl/pcntl.php +4 -4
- package/lib/stub/pcre/pcre.php +12 -12
- package/lib/stub/pgsql/pgsql.php +32 -35
- package/lib/stub/pq/pq.php +17 -17
- package/lib/stub/readline/readline.php +4 -4
- package/lib/stub/redis/Redis.php +3 -1
- package/lib/stub/redis/RedisSentinel.php +1 -1
- package/lib/stub/relay/Cluster.php +4 -4
- package/lib/stub/relay/Relay.php +7 -7
- package/lib/stub/session/session.php +6 -6
- package/lib/stub/snmp/snmp.php +1 -1
- package/lib/stub/soap/soap.php +3 -3
- package/lib/stub/sockets/sockets.php +3 -3
- package/lib/stub/solr/Documents/SolrInputDocument.php +66 -0
- package/lib/stub/sqlite3/sqlite3.php +6 -6
- package/lib/stub/ssh2/ssh2.php +27 -0
- package/lib/stub/standard/standard_0.php +7 -7
- package/lib/stub/standard/standard_1.php +10 -10
- package/lib/stub/standard/standard_2.php +6 -6
- package/lib/stub/standard/standard_3.php +3 -3
- package/lib/stub/standard/standard_4.php +6 -6
- package/lib/stub/standard/standard_5.php +14 -14
- package/lib/stub/standard/standard_6.php +13 -13
- package/lib/stub/standard/standard_7.php +19 -19
- package/lib/stub/standard/standard_8.php +5 -5
- package/lib/stub/standard/standard_9.php +2 -2
- package/lib/stub/superglobals/_superglobals.php +1 -0
- package/lib/stub/svm/SVM.php +1 -1
- package/lib/stub/swoole/Swoole/Coroutine/MySQL.php +1 -1
- package/lib/stub/swoole/Swoole/Coroutine/Redis.php +3 -3
- package/lib/stub/swoole/Swoole/Coroutine.php +1 -1
- package/lib/stub/swoole/Swoole/Table.php +1 -1
- package/lib/stub/sync/sync.php +4 -4
- package/lib/stub/sysvmsg/sysvmsg.php +2 -2
- package/lib/stub/sysvshm/sysvshm.php +1 -1
- package/lib/stub/uv/uv_functions.php +2 -2
- package/lib/stub/v8js/v8js.php +1 -1
- package/lib/stub/wincache/wincache.php +4 -4
- package/lib/stub/xdiff/xdiff.php +2 -2
- package/lib/stub/xlswriter/xlswriter.php +4 -4
- package/lib/stub/xml/xml.php +4 -4
- package/lib/stub/xmlwriter/xmlwriter.php +5 -5
- package/lib/stub/yaf/yaf.php +2 -2
- package/lib/stub/yaf/yaf_namespace.php +21 -21
- package/lib/stub/yar/yar.php +1 -1
- package/lib/stub/zip/zip.php +1 -1
- package/lib/stub/zlib/zlib.php +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [1.18.1 - 2026-05-01]
|
|
4
|
+
|
|
5
|
+
#### Changed
|
|
6
|
+
- Suppress undefined member diagnostics in traits when scope is `$this` and every type that uses the trait implements the member.
|
|
7
|
+
- The `intelephense.diagnostics.undefinedVariables` setting has changed from a boolean to an enum of `'on'|'local'|'off'`. Defaults to `'on'`. When set to `'local'` only local scope undefined variables diagnostics will be emitted. **BREAKING**
|
|
8
|
+
- The `intelephense.diagnostics.argumentCount` setting has changed from a boolean to an enum of `'on'|'declared'|'off'`. Defaults to `'on'`. When set to `'declared'` only declared functions/method argument count diagnostics will be emitted. That is, annotated `@method` methods will be ignored. **BREAKING**
|
|
9
|
+
- `P1132 No type information available` diagnostics will no longer show for properties with an initialiser or for parameters with a default argument.
|
|
10
|
+
- `P1119 Too many argument` errors will no longer show for functions that call `func_get_args`.
|
|
11
|
+
|
|
12
|
+
#### Fixed
|
|
13
|
+
|
|
14
|
+
- Document symbols broken when using a namespace definition with a body.
|
|
15
|
+
- `#[Override]` inserted in wrong spot for method override completion if method modifiers and or `function` keyword already present.
|
|
16
|
+
- False key type errors when using array access notation on `ArrayAccess` implementations.
|
|
17
|
+
- PHPDoc parse error on `list{a, b}`.
|
|
18
|
+
- Variable type narrowed to never if RHS of `instanceof` is a variable of type `class-string`.
|
|
19
|
+
- False dead code diagnostic when switch case expression is `false` constant.
|
|
20
|
+
- Template types not resolving inside methods that inherit template documentation from ancestors in type hierarchy.
|
|
21
|
+
|
|
22
|
+
## [1.18.0 - 2026-04-28]
|
|
23
|
+
|
|
24
|
+
#### Added
|
|
25
|
+
- Ability to provide configuration via a JSON file named `intelephense.config.json` when client does not support LSP `workspace.configuration`. Top level `intelephense` property is unnecessary. File must be a direct child of workspace folder. JSON `configuration` schema can be found at https://github.com/bmewburn/vscode-intelephense/blob/master/package.json.
|
|
26
|
+
|
|
27
|
+
#### Changed
|
|
28
|
+
- Updated stubs.
|
|
29
|
+
|
|
30
|
+
#### Fixed
|
|
31
|
+
- Diagnostics not refreshing when `diagnostics.exclude` edited.
|
|
32
|
+
- Some `*.exclude` properties not working on basename when non-path glob provided.
|
|
33
|
+
- Race condition between getting configuration and opening documents causing settings to be ignored. Documents will now be opened regardless, and then closed if they should not have been opened due to `files.maxSize`, `files.associations` or `files.exclude` settings once they are fetched.
|
|
34
|
+
|
|
3
35
|
## [1.17.7 - 2026-04-20]
|
|
4
36
|
|
|
5
37
|
#### Fixed
|