Lukas Bestle
eb3c014106
Stubs: Don't explicitly depend on \Stringable ( #5037 )
...
Fixes #5007 .
2021-01-29 11:47:32 +01:00
orklah
31be6212b7
add stubs for standard iterators ( #4725 )
...
* add stubs for standard iterators
* Apply suggestions from code review cc @weirdan
Co-authored-by: Bruce Weirdan <weirdan@gmail.com>
* complete stub + delete code made redundant by stubs + fix some syntax in stubs
* fix parse error
Co-authored-by: Bruce Weirdan <weirdan@gmail.com>
2021-01-29 11:47:28 +01:00
orklah
c2c25ada84
add ArrayAccess to SimpleXmlElement ( #4934 )
...
* add ArrayAccess to SimpleXmlElement
* add test
2021-01-29 11:47:27 +01:00
Matt Brown
91115d651f
Use better stubs for Serializable and SoapClient
2021-01-29 11:47:18 +01:00
Matt Brown
9f4c697109
Add more to SimpleXMLElement stub
2021-01-29 11:47:17 +01:00
Matt Brown
551a5d84ab
Add PHP8-compat stub for SimpleXMLElement::current
2021-01-29 11:47:16 +01:00
Matt Brown
e7a46452f5
Fix #4481 - ReflectionProperty implements Reflector
2021-01-29 11:46:03 +01:00
Matt Brown
b217916f37
Use better inference for getAttributes return type
...
Fixes #4367
2021-01-29 11:45:00 +01:00
orklah
c15fabbdcc
changing the templates order to match existing stub in PHPStan ( #4332 )
2021-01-29 11:39:55 +01:00
Pol Dellaiera
9aaf61d220
CachingIterator - Add forgotten constructor parameter. ( #4322 )
...
Signed-off-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2021-01-29 11:39:54 +01:00
Pol Dellaiera
2b437ad672
Add more standard iterators ( #4320 )
...
* Add CachingIterator, LimitIterator, InfiniteIterator, CallbackFilterIterator, NoRewindIterator.
Signed-off-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
* Add related Iterator tests.
Signed-off-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2021-01-29 11:39:54 +01:00
Matt Brown
a531c2e450
Move static code out of src
2021-01-29 11:39:51 +01:00