intelephense 1.17.0-beta → 1.17.2-beta

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 (53) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/lib/intelephense.js +2 -2
  3. package/lib/stub/PDO/PDO.php +19 -19
  4. package/lib/stub/SPL/SPL_f.php +7 -3
  5. package/lib/stub/SimpleXML/SimpleXML.php +1 -1
  6. package/lib/stub/bcmath/bcmath.php +53 -1
  7. package/lib/stub/curl/curl.php +21 -7
  8. package/lib/stub/date/date.php +1 -1
  9. package/lib/stub/date/date_c.php +2 -1
  10. package/lib/stub/ddtrace/ddtrace.stub.php +1020 -0
  11. package/lib/stub/ds/ds.php +9 -9
  12. package/lib/stub/excimer/ExcimerLog.php +152 -0
  13. package/lib/stub/excimer/ExcimerLogEntry.php +42 -0
  14. package/lib/stub/excimer/ExcimerProfiler.php +103 -0
  15. package/lib/stub/excimer/ExcimerTimer.php +79 -0
  16. package/lib/stub/excimer/globals.php +27 -0
  17. package/lib/stub/frankenphp/frankenphp.php +23 -0
  18. package/lib/stub/http/http3.php +5 -5
  19. package/lib/stub/imagick/imagick.php +3 -3
  20. package/lib/stub/intl/intl.php +2 -2
  21. package/lib/stub/json/json.php +13 -18
  22. package/lib/stub/mbstring/mbstring.php +11 -0
  23. package/lib/stub/memcached/memcached.php +10 -20
  24. package/lib/stub/mongodb/BSON/Binary.php +23 -0
  25. package/lib/stub/mongodb/BSON/VectorType.php +14 -0
  26. package/lib/stub/oci8/oci8.php +3 -3
  27. package/lib/stub/odbc/Connection.php +5 -0
  28. package/lib/stub/odbc/Result.php +5 -0
  29. package/lib/stub/odbc/odbc.php +82 -56
  30. package/lib/stub/pcre/pcre.php +1 -1
  31. package/lib/stub/pgsql/pgsql.php +109 -105
  32. package/lib/stub/rdkafka/RdKafka/KafkaConsumer.php +1 -1
  33. package/lib/stub/redis/Redis.php +2892 -943
  34. package/lib/stub/redis/RedisArray.php +504 -0
  35. package/lib/stub/sodium/sodium.php +1 -1
  36. package/lib/stub/solr/Queries/SolrParams.php +13 -15
  37. package/lib/stub/standard/password.php +1 -1
  38. package/lib/stub/standard/standard_1.php +58 -41
  39. package/lib/stub/standard/standard_2.php +6 -1
  40. package/lib/stub/standard/standard_4.php +57 -10
  41. package/lib/stub/standard/standard_7.php +2 -2
  42. package/lib/stub/standard/standard_8.php +2 -2
  43. package/lib/stub/standard/standard_9.php +7 -4
  44. package/lib/stub/swoole/Swoole/Thread/ArrayList.php +33 -0
  45. package/lib/stub/swoole/Swoole/Thread/Atomic/Long.php +18 -0
  46. package/lib/stub/swoole/Swoole/Thread/Atomic.php +22 -0
  47. package/lib/stub/swoole/Swoole/Thread/Barrier.php +10 -0
  48. package/lib/stub/swoole/Swoole/Thread/Lock.php +12 -0
  49. package/lib/stub/swoole/Swoole/Thread/Map.php +41 -0
  50. package/lib/stub/swoole/Swoole/Thread/Queue.php +18 -0
  51. package/lib/stub/swoole/Swoole/Thread.php +44 -0
  52. package/lib/stub/uri/uri.php +31 -2
  53. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # Change Log
2
2
 
3
+ ## [1.17.2 - 2026-02-23] Pre-release
4
+
5
+ #### Added
6
+ - More diagnostics.
7
+ - PHP 8.5 `(void)` cast.
8
+
9
+ #### Changed
10
+ - Updated stubs.
11
+
12
+ #### Fixed
13
+ - False namespace declaration must be first statement when doc block preceedes declaration.
14
+ - False ctor cannot declare return type error for anon function.
15
+ - `class_alias` aliases not recognised if `class` constant used to declare alias name.
16
+ - Templates in `@param-closure-this` not resolved.
17
+ - False possible undefined variable after try-catch-finally block.
18
+
19
+ ## [1.17.1 - 2026-02-18] Pre-release
20
+
21
+ #### Added
22
+ - More diagnostics.
23
+
24
+ #### Fixed
25
+ - Various diagnostic fixes.
26
+ - Implement all abstract methods not working for anonymous classes.
27
+ - Incorrect array creation type inference when one or more elements is a union type.
28
+ - Constant values not being computed when declared using an expression rather than a literal value.
29
+
3
30
  ## [1.17.0 - 2026-02-09] Pre-release
4
31
 
5
32
  #### Added