1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
Commit Graph

12835 Commits

Author SHA1 Message Date
Alies Lapatsin
feb0cb8598 Merge branch 'master' into disableExtensions-hides-warnings
# Conflicts:
#	src/Psalm/Config.php
2023-02-28 22:51:43 +01:00
orklah
381a23bd4e
Merge pull request #9415 from ptomulik/issue-4460
An attempt to fix #4460
2023-02-28 19:48:08 +01:00
Paweł Tomulik
78e6545d7f
fix #4460 2023-02-28 11:38:47 +01:00
Paweł Tomulik
68fc72e139
add unit test for #4460 2023-02-28 11:38:44 +01:00
orklah
e212b06970
Merge pull request #9420 from othercorey/iterator-spl-callmap
Fix remaining spl and iterator callmaps
2023-02-27 22:32:32 +01:00
Corey Taylor
879d9cd788 Fix remaining spl and iterator callmaps 2023-02-27 15:23:48 -06:00
orklah
99b598716d
Merge pull request #9422 from EgorBakulin/#9411/concat-should-never-remove-non-empty-non-falsy-from-string
concat should never remove non empty non falsy from string #9411
2023-02-27 18:49:24 +01:00
ebakulin
67d26d3c51 added case with literal string 2023-02-28 00:22:34 +07:00
ebakulin
cf35b3ce0c reworked one known operand case 2023-02-28 00:12:18 +07:00
ebakulin
31fcbd5f69 added case with one null type 2023-02-27 22:03:01 +07:00
ebakulin
a9b9d386a9 added testcases with undefined constant concatination 2023-02-27 22:00:36 +07:00
orklah
5083e18bd8
Merge pull request #9418 from ptomulik/issue-9401
Fix #9401
2023-02-27 07:54:42 +01:00
Paweł Tomulik
69c5fd69f3
fixed #9401 2023-02-27 00:07:58 +01:00
Paweł Tomulik
ee032d4ca9
add unit tests for #9401 2023-02-27 00:07:00 +01:00
Bruce Weirdan
1a2909e07b
Merge pull request #9399 from weirdan/reorganize-pushes-to-psalm-phar
Reorganize pushes to `psalm/phar`
2023-02-26 15:58:13 -04:00
orklah
8f98539e0a
Merge pull request #9404 from phansys/ibm_db2
[ibm_db2] Update callmaps
2023-02-26 12:50:47 +01:00
Bruce Weirdan
a0ea8eb2fd
Merge pull request #9405 from weirdan/callmap-is-always-non-empty 2023-02-26 05:12:43 -04:00
Bruce Weirdan
e743cd9e8d
Taint map is non-empty as well 2023-02-26 03:17:13 -04:00
Bruce Weirdan
6811547707
Callmap is always non-empty
Fixes several baselined issues
2023-02-26 02:45:46 -04:00
Javier Spagnoletti
d3e74ac6e4 [ibm_db2] Update callmaps 2023-02-26 01:48:04 -03:00
Bruce Weirdan
c0e757cfa9
Merge pull request #9366 from lptn/php83-dic 2023-02-25 06:54:53 -04:00
Alies Lapatsin
c23cb4bdf0
Merge branch 'master' into php83-dic 2023-02-25 11:14:00 +01:00
Alies Lapatsin
02de61eabe Update PHP_MINOR_VERSION 2023-02-25 11:13:04 +01:00
Alies Lapatsin
210f0396b4 Fix optional parameter syntax issues 2023-02-25 11:11:28 +01:00
Bruce Weirdan
6ac2b8d5a8
Merge pull request #9400 from edsrzf/psalter-possibly-undefined 2023-02-25 04:26:56 -04:00
Evan Shaw
f7eaa5daec Preserve PossiblyUndefinedVariable when fixing UnusedVariable 2023-02-25 20:08:01 +13:00
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
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