intelephense 1.17.1-beta → 1.17.3-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 +28 -0
  2. package/lib/intelephense.js +3 -3
  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,33 @@
1
1
  # Change Log
2
2
 
3
+ ## [1.17.3 - 2026-03-04]
4
+
5
+ #### Added
6
+ - Setting `intelephense.diagnostics.suppressUndefinedMembersWhenMagicMethodDeclared` to configure if undefined method and property diagnostics should be suppressed if magic methods are declared. Defaults to `true`.
7
+ - Setting `intelephense.diagnostics.severity` to configure the severity of each diagnostic.
8
+ - Setting `intelephense.diagnostics.strictTypes` to configure type checks to be performed as if `declare(strict_types=1)` has been declared in every file. Defaults to `false`.
9
+ - Setting `intelephense.diagnostics.exclude` to disable some or all diagnostics on a per file basis.
10
+
11
+ #### Fixed
12
+ - Various control flow analysis and type inference issues.
13
+ - PHPDoc completion missing `@throws` or showing `@throws mixed`.
14
+
15
+ ## [1.17.2 - 2026-02-23] Pre-release
16
+
17
+ #### Added
18
+ - More diagnostics.
19
+ - PHP 8.5 `(void)` cast.
20
+
21
+ #### Changed
22
+ - Updated stubs.
23
+
24
+ #### Fixed
25
+ - False namespace declaration must be first statement when doc block preceedes declaration.
26
+ - False ctor cannot declare return type error for anon function.
27
+ - `class_alias` aliases not recognised if `class` constant used to declare alias name.
28
+ - Templates in `@param-closure-this` not resolved.
29
+ - False possible undefined variable after try-catch-finally block.
30
+
3
31
  ## [1.17.1 - 2026-02-18] Pre-release
4
32
 
5
33
  #### Added