intelephense 1.17.7-beta → 1.18.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.
Files changed (105) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/lib/intelephense.js +2 -2
  3. package/lib/stub/Core/Core.php +3 -3
  4. package/lib/stub/Ev/Ev.php +3 -3
  5. package/lib/stub/FFI/FFI.php +275 -161
  6. package/lib/stub/PDO/PDO.php +82 -0
  7. package/lib/stub/Phar/Phar.php +1 -1
  8. package/lib/stub/Reflection/ReflectionClass.php +2 -2
  9. package/lib/stub/Reflection/ReflectionMethod.php +1 -1
  10. package/lib/stub/Reflection/ReflectionParameter.php +1 -0
  11. package/lib/stub/Reflection/ReflectionProperty.php +1 -1
  12. package/lib/stub/SPL/SPL.php +1 -1
  13. package/lib/stub/SPL/SPL_c1.php +4 -4
  14. package/lib/stub/SPL/SPL_f.php +4 -4
  15. package/lib/stub/SQLite/SQLite.php +11 -11
  16. package/lib/stub/amqp/amqp.php +3 -3
  17. package/lib/stub/bcmath/bcmath.php +1 -1
  18. package/lib/stub/bz2/bz2.php +1 -1
  19. package/lib/stub/calendar/calendar.php +2 -2
  20. package/lib/stub/cassandra/cassandra.php +5 -5
  21. package/lib/stub/couchbase/couchbase.php +3 -3
  22. package/lib/stub/cubrid/cubrid.php +1 -1
  23. package/lib/stub/curl/curl.php +3 -3
  24. package/lib/stub/date/date.php +13 -13
  25. package/lib/stub/date/date_c.php +4 -2
  26. package/lib/stub/date/date_d.php +3 -0
  27. package/lib/stub/dba/dba.php +2 -2
  28. package/lib/stub/ds/ds.php +3 -3
  29. package/lib/stub/exif/exif.php +2 -2
  30. package/lib/stub/fileinfo/fileinfo.php +4 -4
  31. package/lib/stub/filter/filter.php +1 -0
  32. package/lib/stub/ftp/ftp.php +1 -1
  33. package/lib/stub/gd/gd.php +5 -5
  34. package/lib/stub/gearman/gearman.php +1 -1
  35. package/lib/stub/geos/geos.php +1 -1
  36. package/lib/stub/gmp/gmp.php +19 -17
  37. package/lib/stub/grpc/grpc.php +3 -3
  38. package/lib/stub/hash/hash.php +2 -2
  39. package/lib/stub/http/http3.php +39 -39
  40. package/lib/stub/ibm_db2/ibm_db2.php +6 -6
  41. package/lib/stub/iconv/iconv.php +1 -1
  42. package/lib/stub/imagick/imagick.php +560 -484
  43. package/lib/stub/ldap/ldap.php +14 -14
  44. package/lib/stub/mailparse/mailparse.php +3 -3
  45. package/lib/stub/mbstring/mbstring.php +118 -39
  46. package/lib/stub/memcache/memcache.php +4 -4
  47. package/lib/stub/memcached/memcached.php +5 -5
  48. package/lib/stub/meta/.phpstorm.meta.php +3 -3
  49. package/lib/stub/mongo/mongo.php +5 -5
  50. package/lib/stub/mysql/mysql.php +1 -1
  51. package/lib/stub/mysql_xdevapi/mysql_xdevapi.php +2 -2
  52. package/lib/stub/mysqli/mysqli.php +10 -10
  53. package/lib/stub/newrelic/newrelic.php +6 -6
  54. package/lib/stub/odbc/odbc.php +16 -2
  55. package/lib/stub/openssl/openssl.php +24 -24
  56. package/lib/stub/parallel/parallel/Sync.php +1 -1
  57. package/lib/stub/parallel/parallel.php +1 -1
  58. package/lib/stub/pcntl/pcntl.php +4 -4
  59. package/lib/stub/pcre/pcre.php +12 -12
  60. package/lib/stub/pgsql/pgsql.php +32 -35
  61. package/lib/stub/pq/pq.php +17 -17
  62. package/lib/stub/readline/readline.php +4 -4
  63. package/lib/stub/redis/Redis.php +3 -1
  64. package/lib/stub/redis/RedisSentinel.php +1 -1
  65. package/lib/stub/relay/Cluster.php +4 -4
  66. package/lib/stub/relay/Relay.php +7 -7
  67. package/lib/stub/session/session.php +6 -6
  68. package/lib/stub/snmp/snmp.php +1 -1
  69. package/lib/stub/soap/soap.php +3 -3
  70. package/lib/stub/sockets/sockets.php +3 -3
  71. package/lib/stub/solr/Documents/SolrInputDocument.php +66 -0
  72. package/lib/stub/sqlite3/sqlite3.php +6 -6
  73. package/lib/stub/ssh2/ssh2.php +27 -0
  74. package/lib/stub/standard/standard_0.php +7 -7
  75. package/lib/stub/standard/standard_1.php +10 -10
  76. package/lib/stub/standard/standard_2.php +6 -6
  77. package/lib/stub/standard/standard_3.php +3 -3
  78. package/lib/stub/standard/standard_4.php +6 -6
  79. package/lib/stub/standard/standard_5.php +14 -14
  80. package/lib/stub/standard/standard_6.php +13 -13
  81. package/lib/stub/standard/standard_7.php +19 -19
  82. package/lib/stub/standard/standard_8.php +5 -5
  83. package/lib/stub/standard/standard_9.php +2 -2
  84. package/lib/stub/superglobals/_superglobals.php +1 -0
  85. package/lib/stub/svm/SVM.php +1 -1
  86. package/lib/stub/swoole/Swoole/Coroutine/MySQL.php +1 -1
  87. package/lib/stub/swoole/Swoole/Coroutine/Redis.php +3 -3
  88. package/lib/stub/swoole/Swoole/Coroutine.php +1 -1
  89. package/lib/stub/swoole/Swoole/Table.php +1 -1
  90. package/lib/stub/sync/sync.php +4 -4
  91. package/lib/stub/sysvmsg/sysvmsg.php +2 -2
  92. package/lib/stub/sysvshm/sysvshm.php +1 -1
  93. package/lib/stub/uv/uv_functions.php +2 -2
  94. package/lib/stub/v8js/v8js.php +1 -1
  95. package/lib/stub/wincache/wincache.php +4 -4
  96. package/lib/stub/xdiff/xdiff.php +2 -2
  97. package/lib/stub/xlswriter/xlswriter.php +4 -4
  98. package/lib/stub/xml/xml.php +4 -4
  99. package/lib/stub/xmlwriter/xmlwriter.php +5 -5
  100. package/lib/stub/yaf/yaf.php +2 -2
  101. package/lib/stub/yaf/yaf_namespace.php +21 -21
  102. package/lib/stub/yar/yar.php +1 -1
  103. package/lib/stub/zip/zip.php +1 -1
  104. package/lib/stub/zlib/zlib.php +2 -2
  105. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Change Log
2
2
 
3
+ ## [1.18.0 - 2026-04-28]
4
+
5
+ #### Added
6
+ - 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.
7
+
8
+ #### Changed
9
+ - Updated stubs.
10
+
11
+ #### Fixed
12
+ - Diagnostics not refreshing when `diagnostics.exclude` edited.
13
+ - Some `*.exclude` properties not working on basename when non-path glob provided.
14
+ - 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.
15
+
3
16
  ## [1.17.7 - 2026-04-20]
4
17
 
5
18
  #### Fixed