Bruce Weirdan
99a69b463c
Merge pull request #9398 from gndk/grpc-extension
2023-02-24 22:21:28 -04:00
Bruce Weirdan
62e7e7f470
Reorganize pushes to psalm/phar
...
Previously we built phar and pushed it:
1. To `psalm/phar:master` (always)
2. To `psalm/phar:$tag` (for tagged releases)
However it's entirely possible to tag branches that diverged from master
(like when we do a patch release for a legacy version). In this case our
push to `psalm/phar:master` was rejected and script failed. As a result,
`psalm/phar` was missing the tag (release).
Now we will either:
* push to `psalm/phar:master` (if the build was for `vimeo/psalm:master`)
* or push to `psalm/phar:$tag` (if it's a tagged release)
2023-02-24 21:47:11 -04:00
gndk
fd2b439e6f
Only disable grpc extension if it is not properly configured
2023-02-25 02:46:56 +01:00
Bruce Weirdan
59e549d2e8
Merge branch '5.7.x' into master
2023-02-24 21:19:43 -04:00
Bruce Weirdan
1f77fc660d
Merge pull request #9310 from phansys/db2_autocommit
2023-02-24 21:15:16 -04:00
Bruce Weirdan
e028ba46ba
Merge pull request #9397 from weirdan/dont-crash-on-empty-jit_buffer_size
2023-02-24 21:05:07 -04:00
Bruce Weirdan
38d1abc13a
Don't crash on empty jit_buffer_size
...
Fixes vimeo/psalm#9396
2023-02-24 20:38:15 -04:00
Javier Spagnoletti
ab13ddf286
[ibm_db2] Improve return type inference for db2_autocommit()
2023-02-24 19:53:42 -03:00
orklah
12ddd03137
Merge pull request #9387 from phansys/db2_last_insert_id
...
[ibm_db2] Update some return types in callmaps
2023-02-24 23:44:33 +01:00
Bruce Weirdan
682943423e
Merge branch '5.7.x' into master
2023-02-24 15:54:48 -04:00
Bruce Weirdan
ae4ec68e00
Merge pull request #9388 from weirdan/disable-preload
2023-02-24 15:45:16 -04:00
Yannick Gottschalk
0a0f900d4c
Fixed codestyle and psalm errors
2023-02-24 15:27:17 +01:00
Yannick Gottschalk
ad5bf62094
Fixes #9373
2023-02-24 13:32:04 +01:00
Yannick Gottschalk
98d3514197
Refs #9373 , partial fix
2023-02-24 10:17:27 +01:00
Bruce Weirdan
1b2598c33a
Merge pull request #9392 from weirdan/report-docblock-issues-on-traits-and-interfaces
2023-02-24 03:40:00 -04:00
Bruce Weirdan
caac14c4a4
Consistently report docblock issues on all classlikes
...
Fixes vimeo/psalm#9365
2023-02-24 03:31:00 -04:00
Bruce Weirdan
5f765a96b1
Merge pull request #9391 from weirdan/allow-array-as-magic-method-name
2023-02-24 02:39:56 -04:00
Bruce Weirdan
5f59f07163
Allow array
as magic method name
...
Fixes vimeo/psalm#9321
2023-02-24 02:23:09 -04:00
Bruce Weirdan
c0d5d2157b
Merge pull request #9390 from weirdan/proper-fqcn-resolution-for-psalm-scope-this
2023-02-24 01:05:45 -04:00
Bruce Weirdan
3f52ded9c3
Correctly process use aliases in @psalm-scope-this
...
Fixes vimeo/psalm#9386
2023-02-24 00:53:36 -04:00
Bruce Weirdan
f4c14a4750
Merge pull request #9389 from othercorey/phar-callmaps
2023-02-24 00:07:45 -04:00
Corey Taylor
74a67a0416
Update Phar callmaps
2023-02-23 21:02:24 -06:00
Bruce Weirdan
ea32d203b6
Disable opcache.preload
if it's enabled
...
Fixes vimeo/psalm#9382
Also reorganized the opcache settings check a bit and enforced
`opcache.jit_buffer_size`
2023-02-23 22:17:23 -04:00
Javier Spagnoletti
abc48b5077
[ibm_db2] Update some return types in callmaps
2023-02-23 21:52:18 -03:00
Bruce Weirdan
2315c98a73
Merge pull request #9381 from weirdan/enforce-literal-string-length-limit
2023-02-23 16:47:53 -04:00
orklah
40622148ca
Merge pull request #9362 from othercorey/drop-associative-array
...
Convert callmap associative-array types into proper array types
2023-02-23 21:17:48 +01:00
Bruce Weirdan
b7646d9706
Merge pull request #9385 from ygottschalk/fix/9384-wrong-type-from-is-long
2023-02-23 12:32:41 -04:00
Yannick Gottschalk
f026226aa3
Fixes #9384
2023-02-23 17:23:46 +01:00
Bruce Weirdan
f4e66a0fbf
Add test
2023-02-23 04:01:29 -04:00
Bruce Weirdan
5dec7f3dc3
Enforce literal string length limit
...
Fixes vimeo/psalm#9376
Ensures:
* that we never have a literal string exceeding the length limit
* that we call string interpreter for all literal strings
2023-02-23 04:01:29 -04:00
Bruce Weirdan
e96a929451
Merge pull request #9383 from weirdan/process-psalm-api-on-methods
2023-02-23 04:00:42 -04:00
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