1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-04 18:48:03 +01:00
Commit Graph

9996 Commits

Author SHA1 Message Date
Bruce Weirdan
28c4f86993
Merge pull request #7027 from rarila/issue-6914 2021-11-30 23:34:00 +02:00
ralila
9389f98997 Add lint to the tests 2021-11-30 22:31:16 +01:00
orklah
295d5d91f9
Merge pull request #7032 from orklah/getdate
refine getdate array structure
2021-11-30 21:33:10 +01:00
Gabriel Ostrolucký
7b78a7e64c
Fix RedisCluster::getOption() and RedisCluster::setOption argument types
See aac42cd335/redis_cluster.stub.php (L122)

Related https://github.com/vimeo/psalm/pull/6853
2021-11-30 21:22:48 +01:00
orklah
ea03410645 refine getdate array structure 2021-11-30 21:18:10 +01:00
orklah
b70466ce0c
Merge pull request #7033 from orklah/phpparser4132
ignore irrelevant errors for php-parser 4.13.2
2021-11-30 21:17:43 +01:00
orklah
15bc0fac1f ignore irrelevant errors 2021-11-30 21:17:27 +01:00
Bruce Weirdan
812d62d1ce
Merge pull request #7031 from weirdan/suppress-void-progress-output 2021-11-30 21:39:24 +02:00
Bruce Weirdan
2706645126
Prevent VoidProgress from outputting anything
Fixes vimeo/psalm#7028
2021-11-30 21:21:38 +02:00
orklah
2c6ea7c551
Merge pull request #7022 from orklah/7007
remove the remaining dynamic property assignment
2021-11-30 19:41:42 +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
98b0b052ce Remove some now superfluous casts 2021-11-30 05:08:56 +01:00
ralila
9a7d0809d2 Restrict tests with PREG_UNMATCHED_AS_NULL to PHP >= 7.2 2021-11-30 03:29:41 +01:00
ralila
fef41461ed Allow skipping tests for PHP <= 7.2 2021-11-30 03:25:39 +01:00
ralila
c29e943244 Add some tests 2021-11-30 03:19:27 +01:00
orklah
466137a4c4
Merge pull request #7025 from orklah/6256
flag DeprecatedProperty on static fetch
2021-11-29 23:46:25 +01:00
orklah
328dcb093b fix variable name 2021-11-29 23:41:47 +01:00
orklah
9de9c12851 flag DeprecatedProperty on static fetch 2021-11-29 23:32:27 +01:00
orklah
978a0449cf
Merge pull request #7024 from DaveLiddament/patch-6
Add --php-version to CLI help
2021-11-29 21:29:00 +01:00
Dave Liddament
1879713dbb
Add --php-version to CLI help
As documented here: https://psalm.dev/docs/running_psalm/configuration/#phpversion
2021-11-29 20:21:33 +00:00
orklah
02b35ccada
Merge pull request #7023 from orklah/abs
refine abs return type
2021-11-29 21:20:26 +01:00
orklah
9f918a8314 refine abs return type 2021-11-29 21:16:51 +01:00
Matthew Brown
175ba83332
Migrate most IssueBuffer::accepts calls to IssueBuffer::maybeAdd (#7020) 2021-11-29 14:54:17 -05:00
orklah
8ca0fc209a remove the remaining dynamic property assignment 2021-11-29 20:12:59 +01:00
orklah
e29571dd2c
Merge pull request #7021 from pawel-slowik/unresolvable-include-tests
Add tests for UnresolvableInclude
2021-11-29 19:55:10 +01:00
Paweł Słowik
18b6fbc907 Add tests for UnresolvableInclude 2021-11-29 18:37:14 +01:00
ralila
e5c1a35e31 Adjust tests 2021-11-29 14:24:15 +01:00
ralila
2c94ce0185 Adjust callmaps 2021-11-29 14:23:57 +01:00
ralila
15eb8127ee Reverse parameter list vor preg_match 2021-11-29 14:23:33 +01:00
ralila
d57c246c93 Add stub for preg_match 2021-11-29 14:21:58 +01:00
Bruce Weirdan
ad23ab3405
Merge pull request #7017 from weirdan/disable-xdebug 2021-11-29 08:19:54 +02:00
Bruce Weirdan
5197a68192
Merge pull request #6987 from pilif/fix-openssl-open-callmap 2021-11-29 08:13:23 +02:00
Bruce Weirdan
d99485671b
Disable coverage (and xdebug) on CI
I'd expect to see some performance gains here.
2021-11-29 08:07:14 +02:00
Philip Hofstetter
323b74b8d8
fix all openssl_* signatures for PHP >= 8.0
while some signatures were already updated in the past, many others were
not.

This commits fixes all signatures to match what the PHP manual
specifies.
2021-11-29 06:21:42 +01:00
Bruce Weirdan
b606087bda
Merge pull request #7016 from weirdan/escape-gh-actions-output 2021-11-29 05:46:05 +02:00
Bruce Weirdan
99d3d5e811
Escape GHA output
Refs Roave/BackwardCompatibilityCheck#342

Thanks @staabm for highlighting this issue.
2021-11-29 04:47:47 +02:00
Bruce Weirdan
f1d47cc662
Merge pull request #7014 from kamil-tekiela/Fix-mysqli_fetch_-stubs 2021-11-29 02:28:34 +02:00
Bruce Weirdan
28a75652ac
Merge pull request #6997 from zoonru/list_values_paradox 2021-11-29 00:47:12 +02:00
Kamil Tekiela
020c5f0d15 Fix mysqli_fetch_fields stub 2021-11-28 22:43:34 +00:00
Kamil Tekiela
84079d1833 More specific array return types 2021-11-28 22:43:34 +00:00
925df22052
Use simplified, proper logic 2021-11-28 13:42:30 +01:00
Kamil Tekiela
d64539faa1 Fix indentation 2021-11-28 12:22:41 +00:00
Kamil Tekiela
f7aa5ea4b9 Expand mysqli_fetch_array 2021-11-28 11:15:34 +00:00
Kamil Tekiela
0f22bc4c18 mysqli_fetch_* functions return mixed values 2021-11-28 10:54:07 +00:00
orklah
8bc71fcf85
Merge pull request #7013 from orklah/6951
Allow overriding the signature type by a param docblock for promoted properties
2021-11-28 11:50:43 +01:00
orklah
a6e4230d2d Allow overriding the signature type by a param docblock for promoted properties 2021-11-28 11:10:55 +01:00