ralila
da3a691c36
Import PhpParser\Node\Expr\Closure as ClosureNode
2021-12-05 00:32:38 +01:00
ralila
81c94f12c1
Revert \Composer\Autoload\ClassLoader in other Cli\*.php
2021-12-05 00:30:13 +01:00
ralila
2d199d1f13
Revert \Composer\Autoload\ClassLoader in Cli\Psalm.php
2021-12-04 23:07:54 +01:00
Bruce Weirdan
b359847b74
Merge pull request #7059 from kamil-tekiela/count_chars
2021-12-04 23:12:03 +02:00
Kamil Tekiela
b854f436ff
Improve count_chars stub
2021-12-04 20:56:17 +00:00
ralila
8fb2e0f885
Handle some partials
2021-12-04 21:55:53 +01:00
Bruce Weirdan
14dcbc908a
Don't output console links in CI env ( #7049 )
2021-12-04 19:49:24 +02:00
Matthew Brown
1956b85c41
Remove always-false args ( #7056 )
2021-12-04 10:40:52 -05:00
ralila
f833085a15
Fix fqn usage in php-doc
2021-12-04 03:37:19 +01:00
orklah
2612f5a5f1
fix missing case for displaying varId
2021-12-03 23:46:12 +01:00
ralila
d5d277f579
Set further phpcs fqn options
2021-12-03 22:44:41 +01:00
ralila
30a65685a2
Import instead of using fqn classes
2021-12-03 21:40:18 +01:00
ralila
7c32325e03
Import instead of using fqn constants
2021-12-03 21:25:22 +01:00
ralila
2a956498bf
Import instead of using fqn functions
2021-12-03 21:07:25 +01:00
ralila
711be643c6
Import instead of using fqn exceptions
2021-12-03 20:29:06 +01:00
ralila
245920e53c
Import instead of using fqn
2021-12-03 20:11:20 +01:00
ralila
3f7fbdfefb
Update phpcs config
2021-12-02 17:42:50 +01:00
Bruce Weirdan
16a61a758e
Merge pull request #7045 from weirdan/array-count-values-emptiness
2021-12-02 14:57:39 +02:00
orklah
396ff967e0
Merge pull request #7042 from kamil-tekiela/get_class
...
get_class does not return false
2021-12-02 13:12:36 +01:00
orklah
90d421635d
Merge pull request #7030 from ostrolucky/rediscluster-getoption
...
Fix RedisCluster::getOption() and RedisCluster::setOption() argument types
2021-12-02 07:45:36 +01:00
Bruce Weirdan
dc271fe25c
Consider emptiness for array_count_values()
...
Fixes vimeo/psalm#7044
2021-12-02 04:51:06 +02:00
orklah
826b26bf6b
fix phpdoc. The previous message was incorrect
2021-12-01 23:42:30 +01:00
orklah
a7e9eea0ca
flag usage of get_class outside class without args ( #7043 )
2021-12-02 00:38:45 +02:00
rarila
bc11b10d9b
Beautified phpcs.xml ( #7041 )
...
Co-authored-by: ralila <>
2021-12-01 23:46:10 +02:00
Kamil Tekiela
19062e56a3
get_class does not return false
...
Technically all functions could return false or null when a wrong parameter is provided, but that was undefined behavour in PHP <8 and should not be relied upon.
2021-12-01 21:36:13 +00:00
orklah
e90a4b4468
Merge pull request #7040 from orklah/docs-issuebuffer
...
document the behavior of methods in IssueBuffer
2021-12-01 21:10:08 +01:00
orklah
fab3c94ef6
document the behavior of methods in IssueBuffer
2021-12-01 21:04:49 +01:00
Bruce Weirdan
7e7b595d22
Merge pull request #7036 from kamil-tekiela/Add-exception
2021-12-01 21:44:44 +02:00
orklah
d7d4b37ac1
year in getdate can be before 1970 for negative timestamps
2021-12-01 20:18:25 +01:00
Kamil Tekiela
5d99109ba9
Throw exception when baseline file is empty
2021-12-01 18:09:30 +00:00
Bruce Weirdan
b8e34edd0d
Merge pull request #7029 from rarila/composer-scripts
2021-12-01 01:02:03 +02: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
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