Bruce Weirdan
2e90cb6c6a
Process @psalm-api
tags on methods
2023-02-23 03:52:10 -04:00
Bruce Weirdan
d0a14005a8
Merge pull request #9380 from weirdan/array-in-foreach-is-not-empty
2023-02-23 02:20:46 -04:00
Bruce Weirdan
2cf3db6ae3
Merge pull request #9375 from jsanahuja/support_sizeof_alias
2023-02-22 22:04:17 -04:00
Bruce Weirdan
5ccbc23cb8
Remove fixed issue from baseline
2023-02-22 21:22:49 -04:00
Bruce Weirdan
a26d3edb73
Fix newly found issue
2023-02-22 21:16:33 -04:00
Bruce Weirdan
3589b32092
Always emit traces
2023-02-22 21:16:16 -04:00
Bruce Weirdan
1769f8b9a4
Refine arrays in foreach
loops to non-empty-array
...
Fixes vimeo/psalm#9378
2023-02-22 20:44:50 -04:00
Javier Sanahuja
bf56db7623
Fixes
2023-02-23 01:40:30 +01:00
Bruce Weirdan
bf7e5a3f9b
Fixed count
/sizeof
mismatches in callmaps
...
`sizeof` is an alias for `count`, so their signatures must always match.
2023-02-22 19:54:27 -04:00
Javier Sanahuja
aee3665014
Fixes
2023-02-22 23:55:27 +01:00
Javier Sanahuja
fa39366cb4
Code style fix
2023-02-22 23:19:47 +01:00
Javier Sanahuja
4f83324a91
Support sizeof alias of count
2023-02-22 23:11:10 +01:00
orklah
b0e19045d8
Merge pull request #9296 from lptn/simplify-shepherd
...
[READY] Simplify and fix Shepherd to support custom endpoints for reporting
2023-02-22 18:38:01 +01:00
Alies Lapatsin
e6bcd054b1
Merge branch 'master' into simplify-shepherd
2023-02-22 02:55:40 +01:00
Bruce Weirdan
c8f7b7e2cf
Merge pull request #9369 from phansys/db2_objects
2023-02-21 21:18:15 -04:00
Javier Spagnoletti
1cd64fe6b8
Instances of object
returned by db2_*()
functions are always instances of stdClass
2023-02-21 20:24:06 -03:00
orklah
fc01b5ddb8
Merge pull request #9368 from UlrichEckhardt/feature/ffi-stubs-improvement
...
FFI stubs improvement
2023-02-21 23:35:58 +01:00
Ulrich Eckhardt
4596301290
FFI Stubs: Define a set of tests.
...
Mostly, those are derived from examples from the documentation.
2023-02-21 23:08:58 +01: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
Bruce Weirdan
5390c212ba
Merge pull request #9364 from Nicelocal/fix_9363
2023-02-21 12:02:51 -04:00
f665e719fb
Describe changes
2023-02-21 15:44:18 +01:00
Alies Lapatsin
f2c7ea6e4a
Add json_validate to the main callmap
2023-02-21 13:49:29 +01:00
Alies Lapatsin
b7f8ea9d83
Update gc_status shape
2023-02-21 13:42:08 +01:00
Alies Lapatsin
2ca83dea5a
Merge branch 'master' into php83-dic
2023-02-21 13:30:37 +01:00
Alies Lapatsin
df00fd17fc
Fix coding style issues
2023-02-21 12:49:19 +01:00
Alies Lapatsin
609c426133
Add DeprecatedMethod suppression
2023-02-21 12:40:23 +01:00
Alies Lapatsin
46c486b271
Fix output formatting
2023-02-21 12:16:11 +01:00
Alies Lapatsin
124569c8ef
Display debug info for all error responses
2023-02-21 12:13:52 +01:00
Alies Lapatsin
cabeb5b983
Bypass output overlap
...
like:
Shepherd error: https://custom-host.shepherd/hooks/psalm endpoint responded with 0 HTTP status code.
array (
Shepherd response: n/a
'url' => 'https://custom-host.shepherd/hooks/psalm ',
Please check shepherd endpoint — it should be a valid URL. cURL Debug info:
'content_type' => NULL,
'http_code' => 0,
'header_size' => 0,
'request_size' => 0,
'filetime' => -1,
'ssl_verify_result' => 0,
'redirect_count' => 0,
'total_time' => 0.025202,
'namelookup_time' => 0.0,
'connect_time' => 0.0,
'pretransfer_time' => 0.0,
'size_upload' => 0.0,
'size_download' => 0.0,
'speed_download' => 0.0,
'speed_upload' => 0.0,
'download_content_length' => -1.0,
'upload_content_length' => -1.0,
'starttransfer_time' => 0.0,
'redirect_time' => 0.0,
'redirect_url' => '',
'primary_ip' => '',
'certinfo' =>
array (
),
'primary_port' => 0,
'local_ip' => '',
'local_port' => 0,
'http_version' => 0,
'protocol' => 0,
'ssl_verifyresult' => 0,
'scheme' => '',
'appconnect_time_us' => 0,
'connect_time_us' => 0,
'namelookup_time_us' => 0,
'pretransfer_time_us' => 0,
'redirect_time_us' => 0,
'starttransfer_time_us' => 0,
'total_time_us' => 25202,
'effective_method' => 'POST',
)
2023-02-21 12:04:18 +01:00
Alies Lapatsin
6603d84dfb
Display debuging info for a 0 cURL HTTP status response
2023-02-21 11:56:57 +01:00
Alies Lapatsin
66ce363431
Prepend URL scheme for th legacy host
2023-02-21 11:13:20 +01:00
Alies Lapatsin
b78472c752
Display $endpoint on error message (simplify debugging)
2023-02-21 10:59:31 +01:00
575da79801
Fix #9363
2023-02-21 10:09:58 +01:00
Alies Lapatsin
6ba9b1bb17
Merge branch 'master' into simplify-shepherd
2023-02-21 09:30:21 +01:00
Corey Taylor
4e46706800
Convert callmap associative-array types into proper array types
2023-02-21 01:28:16 -06:00
Bruce Weirdan
c46eccda76
Merge pull request #9358 from weirdan/revert-8761
2023-02-21 02:57:53 -04:00
Bruce Weirdan
a24aa96cc1
Merge pull request #9360 from othercorey/fix-spl-callmap
2023-02-21 01:10:12 -04:00
Corey Taylor
c62465ceef
Fix several spl callmap methods
2023-02-20 22:30:21 -06:00
Bruce Weirdan
01c19d94ba
Added a bunch of tests from referenced issues
2023-02-20 23:45:01 -04:00
Bruce Weirdan
8f4ceda8ce
Update baseline
2023-02-20 23:13:03 -04:00
Bruce Weirdan
ac86981a79
Revert " #7387 Add asserting non-empty-string by strlen"
...
This reverts commit 0ef7ec100a
.
2023-02-20 23:07:22 -04:00
Bruce Weirdan
28db105f73
Merge pull request #9356 from edsrzf/setrawcookie-impure
2023-02-20 21:38:26 -04:00
Evan Shaw
a03299f3d0
Include setrawcookie as an impure function
2023-02-21 14:24:05 +13:00
Bruce Weirdan
471a8c6a1d
Merge pull request #9354 from othercorey/fix-php74
2023-02-20 18:34:36 -04:00
Bruce Weirdan
9e0dd5ab59
Merge pull request #9351 from Nicelocal/fix_9350
2023-02-20 18:10:09 -04:00
Corey Taylor
c23de496cf
Replace use of DOMParentNode::append() with appendChild()
2023-02-20 14:45:04 -06:00
484043a5a1
Enable JIT
2023-02-20 13:55:06 +01:00
a01c634878
Run tests with opcache
2023-02-20 13:50:12 +01:00
88a3d288de
Workaround arm64 opcache bug ( fixes #9350 )
2023-02-20 12:49:59 +01:00