AndrolGenhald
|
7b1599d783
|
Fix false positive for unused variable in try (fixes #7613).
|
2022-02-13 15:14:59 -06:00 |
|
Bruce Weirdan
|
7f304be4fb
|
Merge pull request #7659 from chloekek/ErrorException-__construct-line-parameter-name
|
2022-02-13 05:41:51 +02:00 |
|
Bruce Weirdan
|
915f80ad5f
|
Merge pull request #7660 from morozov/mysqli-connect-error
|
2022-02-13 05:14:32 +02:00 |
|
Sergei Morozov
|
946268e4fe
|
Update return type for mysqli::connect_error
|
2022-02-12 19:08:09 -08:00 |
|
Chloé Kekoa
|
092f729e46
|
Correct name of ErrorException::__construct $line param
|
2022-02-13 01:19:33 +01:00 |
|
Bruce Weirdan
|
293937fbc2
|
Merge pull request #7657 from weirdan/fix-7610
|
2022-02-13 01:32:21 +02:00 |
|
Bruce Weirdan
|
dc776d3ada
|
Suppress false-positive
|
2022-02-13 00:48:58 +02:00 |
|
Bruce Weirdan
|
45a19b3f3c
|
Honour global function suppressions for UndefinedFunction
Fixes vimeo/psalm#7610
|
2022-02-13 00:22:55 +02:00 |
|
orklah
|
a3852b8a55
|
Merge pull request #7650 from orklah/totallytyped
deprecate totallyTyped
|
2022-02-12 09:56:39 +01:00 |
|
orklah
|
24ae96b373
|
remove usage of totallyTyped internally
|
2022-02-12 09:51:06 +01:00 |
|
orklah
|
dbf47b16c3
|
deprecate totallyTyped
|
2022-02-12 09:30:37 +01:00 |
|
orklah
|
c13a536386
|
Merge pull request #7614 from kkmuffme/add-phpredis-stubs
add phpredis stubs
|
2022-02-11 23:15:48 +01:00 |
|
orklah
|
6e2efffa0e
|
Merge pull request #7633 from M1ke/4x/config-threads
Allow config to define thread count (4.x)
|
2022-02-11 13:46:38 +01:00 |
|
m1ke
|
92aedd6f7f
|
Fix cherry pick issues
|
2022-02-11 11:27:01 +00:00 |
|
m1ke
|
fc694d7a98
|
Allow psalm to load threads from the config
|
2022-02-11 11:23:17 +00:00 |
|
m1ke
|
a688bd6da3
|
Use config threads if lower than detected threads
|
2022-02-11 11:23:09 +00:00 |
|
m1ke
|
810880c71b
|
Alter order of precedence and upated docs to match
|
2022-02-11 11:12:36 +00:00 |
|
orklah
|
fb1fd8429f
|
Merge pull request #7621 from orklah/reflectionstubs
add ReflectionIntersectionType stub
|
2022-02-09 22:53:57 +01:00 |
|
orklah
|
0702a0b3e7
|
add ReflectionIntersectionType stub
|
2022-02-09 19:32:17 +01:00 |
|
Office
|
432d0be658
|
load phpredis stubs
|
2022-02-09 15:56:51 +01:00 |
|
Bruce Weirdan
|
ba99e77687
|
Merge pull request #7620 from weirdan/strip-colors-from-success-message
|
2022-02-09 16:50:51 +02:00 |
|
Bruce Weirdan
|
21e6371ce2
|
Strip colours from success message
Fixes vimeo/psalm#7619
|
2022-02-09 15:35:40 +02:00 |
|
Office
|
9d120896d5
|
add phpredis stubs
|
2022-02-09 08:14:58 +01:00 |
|
Bruce Weirdan
|
b06fb932d4
|
Merge pull request #7585 from tomasz-kusy/magic-const-fix
|
2022-02-04 21:36:20 +02:00 |
|
Tomasz Kusy
|
124aa22fe9
|
Resolve __DIR__ / __FILE__ when const/variable is used for include CS fix fix fix :)
|
2022-02-04 20:27:45 +01:00 |
|
Tomasz Kusy
|
8da45aa7d8
|
Resolve __DIR__ / __FILE__ when const/variable is used for include CS fix fix
|
2022-02-04 20:26:06 +01:00 |
|
Tomasz Kusy
|
b73f2c96d8
|
Resolve __DIR__ / __FILE__ when const/variable is used for include CS fix
|
2022-02-04 19:43:55 +01:00 |
|
Tomasz Kusy
|
bcbfbed072
|
Resolve __DIR__ / __FILE__ when const/variable is used for include
|
2022-02-04 19:39:39 +01:00 |
|
orklah
|
f82a70e7ed
|
Merge pull request #7573 from phptest2/4.x
improving error message for Could not resolve config path
|
2022-02-03 18:03:47 +01:00 |
|
phptest2
|
582624a932
|
improving error message for Could not resolve config path
$directory_path is false, so better use $prospective_directory_path in the error message.
|
2022-02-03 17:58:12 +01:00 |
|
Bruce Weirdan
|
2128ab1d71
|
Merge pull request #7561 from b2pweb/clear-context-on-static-call
|
2022-02-02 17:30:14 +02:00 |
|
Vincent
|
3c3e692e7e
|
AtomicStaticCallAnalyzer: clear tmp var from context (fix #7556)
|
2022-02-02 13:51:54 +01:00 |
|
orklah
|
ff2636eed8
|
Merge pull request #7558 from orklah/tweaksToArrays
sealed keyed arrays
|
2022-02-01 22:56:59 +01:00 |
|
orklah
|
1c2ffc81c2
|
tweaks
|
2022-02-01 22:49:20 +01:00 |
|
orklah
|
bd14653da5
|
Merge pull request #7554 from Ocramius/fix/#7478-trait_exists-always-returns-boolean
Ensure `trait_exists()` always returns `bool`
|
2022-02-01 17:48:27 +01:00 |
|
Marco Pivetta
|
fabcda16b4
|
Ensure trait_exists() always returns bool
Fixes #7478
As discussed in the upstream issue, `trait_exists()` always returns `bool`: while
it can return `null` when the arguments passed to it do not match (either no arguments, or
3 or more arguments), we do not support that scenario, as that already doesn't respect the
type signature of this function.
We cut to the point: always make it `bool`, which is the scenario that works under healthy
operational conditions.
Ref: https://github.com/Roave/BetterReflection/pull/983#discussion_r790908170
Ref: https://psalm.dev/r/c41a43805d
Ref: https://github.com/vimeo/psalm/issues/7478#issuecomment-1020330351
Ref: https://github.com/vimeo/psalm/issues/7478#issuecomment-1020337712
Ref: https://3v4l.org/XpHmh
|
2022-02-01 16:51:09 +01:00 |
|
Bruce Weirdan
|
dadb1f2167
|
Merge pull request #7539 from vimeo/revert-7363-81_returntypewillchange
|
2022-02-01 01:03:09 +02:00 |
|
Bruce Weirdan
|
49d256601f
|
Suppress UnusedClass
|
2022-02-01 00:06:25 +02:00 |
|
Bruce Weirdan
|
f61193b798
|
Reinstate MethodSignatureMustProvideReturnType
It's never emitted, but is there for BC.
|
2022-01-31 23:38:15 +02:00 |
|
orklah
|
68e67aeb10
|
Merge pull request #7546 from orklah/impure-callable
Handle first class callable on unknown functions
|
2022-01-31 22:02:35 +01:00 |
|
orklah
|
5a19d42dab
|
fix test
|
2022-01-31 21:51:31 +01:00 |
|
orklah
|
a598efb4ab
|
Handle first class callable on unknown functions
|
2022-01-31 21:36:01 +01:00 |
|
orklah
|
041145dd9d
|
Merge pull request #7542 from klimick/fix-object-const-inference
Fix object constant inference
|
2022-01-31 21:11:28 +01:00 |
|
adrew
|
e284b91b82
|
Remove redundant flag from SimpleTypeInferer
|
2022-01-31 23:03:34 +03:00 |
|
adrew
|
121a801616
|
Fix object constant inference
|
2022-01-31 23:03:34 +03:00 |
|
orklah
|
69e8815b18
|
Merge pull request #7545 from orklah/impure-call-detection-for-psalter
fix wrong detection of purity
|
2022-01-31 21:00:18 +01:00 |
|
orklah
|
48e09ab308
|
fix
|
2022-01-31 20:55:53 +01:00 |
|
orklah
|
fc281672ea
|
fix wrong detection of purity
|
2022-01-31 20:52:25 +01:00 |
|
Bruce Weirdan
|
3ae067795d
|
Update baseline
|
2022-01-31 15:11:06 +02:00 |
|
Bruce Weirdan
|
603714518b
|
Revert "PHP 8.1: Report missing typehints in overridden native methods"
|
2022-01-31 14:37:42 +02:00 |
|