Brian Dunne
1d6b0e479c
Merge branch 'master' into addIntlExtensionStubs
2023-10-05 22:36:06 -05:00
Bruce Weirdan
983e4b82dd
Merge branch 'master' into 5.x
2023-08-31 16:32:27 +02:00
cgocast
c16216bc42
Xpath injection #10162
2023-08-30 18:56:10 +02:00
Bruce Weirdan
d3463e30f3
Merge branch '5.x' into upstream-master
2023-08-27 05:28:10 +02:00
Bruce Weirdan
23ad49cbe4
Update mysqli
stub
...
Refs vimeo/psalm#9851
2023-08-27 04:17:23 +02:00
Bruce Weirdan
76a62db2ea
Merge branch '5.x' into upstream-master
2023-08-13 19:46:13 +02:00
Yannick Gottschalk
a4de6d9dc0
Fix #9997
...
- make SimpleXmlElement and SimpleXmlIterator not a universal object crate
- added typed magic __get method to SimpleXmlElement
- adjusted tests to reflect new behaviour of SimpleXmlElement
- added tests
2023-08-05 17:07:08 +02:00
Bruce Weirdan
c83b0c96a9
Fixed DOMDocument::load*
signatures
...
Prior to 8.0 those methods could be called statically, returning a
`DOMDocument` instance. In 8.0 and above they no longer can be.
2023-08-01 11:56:46 +02:00
cgocast
165df42e00
Apply code review remarks
2023-07-25 10:33:25 +02:00
cgocast
c754a0ea08
Remove TaintedSql sink for PDOStatement related methods
2023-07-25 09:22:49 +02:00
cgocast
719496b46e
#10030 Add PDOStatement::bindValuebindValue() and PDOStatement::bindParam() as sources for TaintedSql
2023-07-21 15:27:47 +02:00
Andreas Braun
bea3090aff
Add generic stubs for MongoDB BSON classes
2023-07-13 08:42:06 +02:00
Brian Dunne
4929bfb049
Add stubs for Intl ext constants, NumberFormatter
2023-05-31 17:07:43 -05:00
Grégoire Paris
a6016e3072
Ignore nullable return form SimpleXMLElement::addChild()
...
It seems unrealistic to require users to perform a null check every time
they call this method.
2023-05-04 21:07:44 +02:00
Javier Spagnoletti
b65a038553
[mysql] Add stubs for mysqli
, mysqli_stmt
and mysqli_result
classes
2023-03-21 06:10:02 -03:00
Javier Spagnoletti
ab13ddf286
[ibm_db2] Improve return type inference for db2_autocommit()
2023-02-24 19:53:42 -03:00
Ulrich Eckhardt
4da0bede35
FFI Stubs: Extend FFI and FFI\CData definitions.
...
Both of these define "fuzzy" datatypes, which are mostly evaluated at runtime.
Currently, much of regular use of these will cause useless errors, so define
the stubs so that they simply support any kind of use that could happen.
2023-02-21 23:08:49 +01:00
Ulrich Eckhardt
056e1288eb
FFI Stubs: Adjust FFI::new() stub.
2023-02-21 23:01:56 +01:00
Jack Worman
787b9ae687
Fix dom_import_simplexml()
2023-01-18 18:31:54 -05:00
Alies Lapatsin
63f328cb4c
Unify syntax for redis.phpstub
2023-01-09 14:12:39 +01:00
Rudolph Gottesheim
18e8dd9da1
Narrow down the return type of DOMXPath::query()
2023-01-06 16:19:48 +01:00
Alies Lapatsin
16ab9f786b
Unify a way how to load stubs for extentions
2022-12-10 17:02:47 +01:00
Alies Lapatsin
d9a08ec047
Add stubs for ext-random (PHP 8.2)
2022-11-02 15:59:56 +03:00
Thomas Gerbet
62e92fb0cf
Add stubs for ext-ffi
...
See #8612
2022-10-25 19:59:44 +02:00
AndrolGenhald
79603820d8
Fix SimpleXMLIterator::current() return type.
2022-06-22 01:38:58 -05:00
AndrolGenhald
c0de59c943
Add simplexml stub.
2022-06-22 01:15:43 -05:00
AndrolGenhald
ea987697dc
Update DOM stub.
2022-06-22 00:44:19 -05:00
AndrolGenhald
653d17ff81
Add stub for PDOException.
2022-01-27 17:05:48 -06:00
AndrolGenhald
02cd7bbbba
Add SoapHeader stub.
2022-01-27 16:30:14 -06:00
AndrolGenhald
63cd3f3b95
Add SoapFault stub.
2022-01-27 16:30:14 -06:00
AndrolGenhald
2fe4fc397c
Enable extensions based on composer.json instead of those loaded at runtime ( fixes #5482 ).
2022-01-27 16:30:14 -06:00