1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

282 Commits

Author SHA1 Message Date
748a74bb2c Merge remote-tracking branch 'origin/4.x' into HEAD 2022-10-16 13:41:27 +02:00
Matthew Brown
d957ff2015
Fix mixed type hole when sending Foo<string> to Foo<mixed> (#8481)
* Fix mixed type hole when sending Foo<string> to Foo<mixed>

* Fix ifThisIs test

* Suppress bugs highlighted with fix

* Fix PHPDoc parsing
2022-09-13 13:13:06 -04:00
Matt Brown
95bb71f8a2 Support PHP 7.1 in require-dev restriction 2022-09-13 12:39:15 -04:00
Matthew Brown
4b2841580e
Pin version of PHPStan phpdoc parser for slevomat rules 2022-09-13 09:50:21 -04:00
Andrew Nagy
4109e4bd53 Merge branch '4.x' of https://github.com/vimeo/psalm into feature/upgrade-lsp 2022-07-21 21:04:50 +00:00
AndrolGenhald
285740a753 Merge branch '4.x' 2022-07-07 15:01:38 -05:00
Sam Mousa
37549ee03c
add test for ignore list cleanup 2022-06-22 12:59:47 +02:00
Bruce Weirdan
e0acf22e40
Merge branch '4.x' into update-master 2022-05-28 14:49:12 -04:00
Matt Brown
4bc5da88dd Improve scoping a bit more 2022-04-27 01:37:26 -04:00
Andrew Nagy
0944ca52d7 use latest language server 2022-03-31 18:01:25 +00:00
Andrew Nagy
26434c525f Merge branch '4.x' of https://github.com/vimeo/psalm into feature/upgrade-lsp 2022-03-25 17:01:05 +00:00
Matthew Brown
a0739b1716 Abandon humbug/box update attempt 2022-03-07 16:57:18 -05:00
Matthew Brown
510456c7c4 Improve scoping a bit more 2022-03-07 16:50:20 -05:00
Matthew Brown
9b69c7a089 Remove references to unused SqlStringProvider plugin 2022-03-07 14:54:35 -05:00
Andrew Nagy
045bbe23a9 basic testing, disable log filtering 2022-02-18 17:29:09 +00:00
sasezaki
b2ee5f6bbc Bump up phpunit,prophecy, and introduced phpspec/prophecy-phpunit 2022-02-09 21:15:56 +09:00
sasezaki
eb518680a8 No longer require declare phpdocumentor/reflection-docblock:^5 as dependency
see https://github.com/vimeo/psalm/pull/3967
prophecy upper version always phpdocumentor/reflection-docblock:^5.0
2022-02-09 09:06:31 +09:00
Andrew Nagy
867a4862f3 bump 2022-02-07 17:50:55 +00:00
Andrew Nagy
8855bedab6 bump 2022-02-07 17:12:56 +00:00
Bruce Weirdan
a83c717d43
Merge pull request #7594 from sasezaki/branch-alias-5 2022-02-05 23:50:06 +02:00
sasezaki
67bd9627b4 Fixed composer branch-alias 2022-02-05 21:07:41 +09:00
Bruce Weirdan
788de797eb
Allow mocking final classes 2022-02-05 06:40:20 +02:00
Andrew Nagy
e259d56627 bump again 2022-02-03 23:22:56 +00:00
Andrew Nagy
a7146b4e37 bump 2022-02-03 23:21:28 +00:00
Andrew Nagy
20e7316dfa remove need for defining lsp elsewhere 2022-02-03 23:19:39 +00:00
Andrew Nagy
870e1ba959 additional work to caching engine 2022-02-01 12:10:22 -08:00
Andrew Nagy
427ff3a018 Upgrade LSP to support additional features 2022-01-31 22:15:29 +00:00
Bruce Weirdan
1a1b5a9e6a
Merge branch '4.x' into upstream-master 2022-01-08 23:38:29 +02:00
Bruce Weirdan
a4878ac2b5
Revert "Merge pull request #7239 from DeyV/master"
This reverts commit 33628cad51d40ae84a9ebfcd385cd23b661ce7c5, reversing
changes made to 216cf6c5348722247375a47179cf44b60c53419e.
2022-01-08 22:26:24 +02:00
Bruce Weirdan
02b91cc54e
Replaced deprecated webmozart/path-util 2022-01-04 15:15:34 +02:00
Bruce Weirdan
d227cb5fe2
Tighten dependency ranges 2022-01-04 12:43:12 +02:00
Bruce Weirdan
20567ff720
Remove the polyfill we no longer need 2022-01-04 11:29:00 +02:00
Bruce Weirdan
fa33632958
Bump PHP version to 7.4
Also exclude 8.2+ for now - we don't know if current Psalm version would
be compatible with that.
2022-01-04 10:25:00 +02:00
Bruce Weirdan
706f2a7761
Drop legacy procedural files 2022-01-03 12:04:35 +02:00
Dawid 'DeyV' Polak
19c26f7263 Move from deprecated Composer 1 to Composer 2 runtime api 2021-12-29 16:20:14 +01:00
John Stevenson
1cb58ad689
Keep XdebugHandler version 1 2021-12-26 23:00:53 +02:00
John Stevenson
015cc22fa7
Add XdebugHandler version 3 2021-12-26 23:00:50 +02:00
orklah
f2da7f18e1 allow phpcodesniffer-composer-installer plugin 2021-12-23 09:40:38 +01:00
Fabien Villepinte
19fd6532fd
Add composer/package-versions-deprecated 2021-12-13 17:59:32 +01:00
Fabien Villepinte
e96ab8d923
Set allow-plugins for Composer 2.2
This new configuration has been introduced with Composer 2.2: https://github.com/composer/composer/releases/tag/2.2.0-RC1
2021-12-13 17:45:32 +01:00
ralila
2ff739be4f Replace all-tests with tests 2021-11-30 22:43:54 +01:00
ralila
4c6f913d38 Make parallel unit tests standard 2021-11-30 22:41:39 +01:00
ralila
9389f98997 Add lint to the tests 2021-11-30 22:31:16 +01:00
ralila
ec02cf18a8 Use references in combined tests 2021-11-30 18:01:22 +01:00
ralila
87f1eadcd0 Sort scripts alphabetically 2021-11-30 17:53:23 +01:00
ralila
89c8ce7c94 Add parallel phpunit run to scripts 2021-11-30 17:50:48 +01:00
ralila
b946f2235f Add scripts descriptions 2021-11-30 17:17:53 +01:00
ralila
b4bdb69012 Add phpunit to composer scripts 2021-11-30 17:07:09 +01:00
ralila
ac230dac5c Make test runnable on plain windows 2021-11-26 23:02:22 +01:00
sasezaki
6423d8e777 Added ext-curl to composer.json suggest property 2021-11-07 12:03:25 +09:00