Bruce Weirdan
|
f5dc2ee964
|
Merge branch '4.x' into upstream-master
|
2022-01-04 19:42:08 +02:00 |
|
Fabien Villepinte
|
1fa6b612b1
|
Fix parse_url() return type
|
2022-01-04 16:09:18 +01:00 |
|
Bruce Weirdan
|
cf962eebc2
|
Promote conditional tests to always-running
|
2022-01-04 11:40:55 +02:00 |
|
Bruce Weirdan
|
30013cb81a
|
Drop orphaned token
Refs vimeo/psalm#7285
|
2022-01-04 10:13:44 +02:00 |
|
Bruce Weirdan
|
ff9b214f65
|
Merge branch '4.x' into upstream-master
|
2022-01-04 10:07:18 +02:00 |
|
orklah
|
6f9cbc698b
|
resolve type alias and class const on UnionTypeComparator
|
2022-01-04 00:14:08 +01:00 |
|
Bruce Weirdan
|
afa6497051
|
Dropped THtmlEscapedString
|
2022-01-03 22:48:59 +02:00 |
|
Bruce Weirdan
|
2e24a16cbb
|
Dropped legacy plugin API
|
2022-01-03 18:18:44 +02:00 |
|
Bruce Weirdan
|
ab60d311c2
|
Merge pull request #7188 from vimeo/muglug-use-invalidscalarargument-less
|
2022-01-03 06:04:42 +02:00 |
|
Bruce Weirdan
|
966b6ae2b2
|
Merge pull request #6808 from orklah/exitFunctions3
|
2022-01-03 06:04:01 +02:00 |
|
Bruce Weirdan
|
f19e4cedc1
|
Merge pull request #6705 from orklah/phpstorm-generics-removal
|
2022-01-03 06:03:36 +02:00 |
|
orklah
|
d912663da4
|
remove isEmpty
|
2022-01-03 04:10:41 +02:00 |
|
Matthew Brown
|
83911c7408
|
Remove unnecessary references to empty in TypeCombiner
|
2022-01-03 04:10:41 +02:00 |
|
Matthew Brown
|
2358b96f54
|
Fix merge errors
|
2022-01-03 04:10:39 +02:00 |
|
orklah
|
0747b48d06
|
remove TEmpty
|
2022-01-03 04:09:59 +02:00 |
|
orklah
|
b658b2738f
|
remove exitFunctions
|
2022-01-02 15:20:01 +02:00 |
|
orklah
|
4f7c1d05c1
|
remove support for allowPhpstormGenerics
|
2022-01-02 15:06:04 +02:00 |
|
Matthew Brown
|
b419c299e3
|
Use InvalidScalarArgument only when we can be sure PHP attempts coercion
|
2022-01-02 14:56:18 +02:00 |
|
orklah
|
8d6b781b3e
|
use consistent way to compare php version
|
2022-01-02 13:35:43 +02:00 |
|
Bruce Weirdan
|
36d5a2a83c
|
Merge pull request #7019 from zoonru/no_ksort_list
|
2022-01-02 07:37:21 +02:00 |
|
Bruce Weirdan
|
697db76dc1
|
Merge pull request #7252 from AndrolGenhald/feature/allow-assertions-on-mutable-object-properties
|
2022-01-02 07:29:02 +02:00 |
|
Bruce Weirdan
|
094a0651d7
|
Increase composer timeout
This should prevent random failures we've been observing lately.
|
2022-01-02 07:06:16 +02:00 |
|
Bruce Weirdan
|
376d2a389e
|
Merge pull request #7259 from klimick/infer-this-context-for-psalm-if-this-is
|
2022-01-02 05:31:24 +02:00 |
|
orklah
|
2a6f12296e
|
Merge pull request #7260 from orklah/6691
forbid calling impure callable in immutable context
|
2022-01-01 12:08:07 +01:00 |
|
orklah
|
8e5c9f02bb
|
fix test
|
2022-01-01 11:21:43 +01:00 |
|
orklah
|
8049438408
|
forbid calling impure callable in immutable context
|
2022-01-01 11:13:45 +01:00 |
|
adrew
|
29af83bf61
|
Add tests for psalm-if-this-is variables and template inference
|
2022-01-01 13:03:17 +03:00 |
|
adrew
|
878dfa2250
|
Variable types inference in method context when method marked with psalm-if-this-is
|
2022-01-01 13:03:17 +03:00 |
|
orklah
|
51ba96c09d
|
Merge pull request #7253 from orklah/5874
allow calling mutation_free function inside a mutation_free context
|
2021-12-31 00:24:29 +01:00 |
|
AndrolGenhald
|
1b9f57f214
|
Fix directory separator cross-platform issue.
|
2021-12-30 16:29:40 -06:00 |
|
AndrolGenhald
|
dd631c0c85
|
Skip reference tests, allow assertions on magic properties (fixes #6770).
|
2021-12-30 16:23:59 -06:00 |
|
orklah
|
6c6eac9f2f
|
fix test
|
2021-12-30 22:39:30 +01:00 |
|
orklah
|
392402cf6d
|
allow calling mutation_free function inside a mutation_free context
|
2021-12-30 22:29:36 +01:00 |
|
AndrolGenhald
|
cb9231b62f
|
Add failing tests for reference property mutation.
|
2021-12-30 14:44:03 -06:00 |
|
AndrolGenhald
|
3ac497c811
|
Allow assertions on mutable object properties.
All of the functionality is already there, we just have to not prevent it.
|
2021-12-30 14:07:55 -06:00 |
|
adrew
|
4a903c71a1
|
Checking psalm-if-this-is before applying psalm-this-out
|
2021-12-30 21:48:25 +03:00 |
|
|
546438bec1
|
Another small fix
|
2021-12-30 12:05:03 +01:00 |
|
|
ff7abec2bd
|
Fix tests
|
2021-12-30 12:01:25 +01:00 |
|
Bruce Weirdan
|
03b7e94748
|
Merge pull request #7232 from trowski/issue-7196
|
2021-12-30 10:03:17 +02:00 |
|
orklah
|
f047d5bc53
|
allow suppressing unevaluatedCode
|
2021-12-29 00:44:48 +01:00 |
|
orklah
|
3828db52b9
|
Merge pull request #7229 from orklah/cleanup5
remove always true/false conditions
|
2021-12-27 22:08:06 +01:00 |
|
Aaron Piotrowski
|
e23a915bb1
|
Fix first-class callables when used with magic method, built-in, or undefined methods
Closes #7196.
|
2021-12-27 14:29:33 -06:00 |
|
orklah
|
3ae80983cc
|
fix unused and CS
|
2021-12-27 20:10:39 +01:00 |
|
orklah
|
9029e1d613
|
remove always true/false conditions
|
2021-12-27 19:59:11 +01:00 |
|
adrew
|
87deb19a87
|
Remove dead code from test
|
2021-12-27 19:43:06 +03:00 |
|
adrew
|
c0ca383020
|
Contextual inference for closure param types
|
2021-12-27 19:35:37 +03:00 |
|
sji
|
a90456ed8b
|
trim whitespaces in namespaces specified at @psalm-internal
|
2021-12-27 02:31:11 +02:00 |
|
adrew
|
3d212c642c
|
Add test for mismatch param type from docblock
|
2021-12-27 00:45:26 +02:00 |
|
adrew
|
d6d0fc6704
|
Remove undefined variables
|
2021-12-27 00:45:25 +02:00 |
|
adrew
|
2e4d75d6bd
|
Fix closure param type inference in generic context
|
2021-12-27 00:45:22 +02:00 |
|