Brown
|
08594cf712
|
Always be cloning
|
2020-04-03 13:56:03 -04:00 |
|
orklah
|
b340f2b0ce
|
allow psalter to be run without cache (#3063)
|
2020-04-03 12:52:18 -04:00 |
|
Matthew Brown
|
ecac9d56c0
|
Fix #3061 - prevent array_key_exists from completely changing type
|
2020-04-03 08:05:21 -04:00 |
|
Brown
|
af4a7cabe9
|
Fix #3057 and add support for @psalm-yield annotation
|
2020-04-02 22:38:10 -04:00 |
|
Brown
|
63b35fc889
|
Fix #3058 - use value for generator inference
|
2020-04-02 20:37:09 -04:00 |
|
Brown
|
72104a52ad
|
Improve file invalidation when using --diff mode
|
2020-04-02 17:18:04 -04:00 |
|
Matthew Brown
|
476b248a1e
|
Delete docblock_type_syntax.md
|
2020-04-02 09:41:12 -04:00 |
|
Matthew Brown
|
500b4eb13b
|
Add content from redundant page
|
2020-04-02 09:40:17 -04:00 |
|
LeSuisse
|
3ecd6bbd00
|
Fix return type of \zip_open() (#3046)
This function can return an int [0] or false [1] in case of error.
The return value of ZipArchive has also been fixed, it returns either a
boolean or an int [2][3].
Close vimeo/psalm#3209.
[0] https://github.com/php/php-src/blob/php-7.4.4/ext/zip/php_zip.c#L1176
[1] https://github.com/php/php-src/blob/php-7.4.4/ext/zip/php_zip.c#L1160
[3] https://github.com/php/php-src/blob/php-7.4.4/ext/zip/php_zip.c#L1483
[4] https://github.com/php/php-src/blob/php-7.4.4/ext/zip/php_zip.c#L1478
|
2020-04-01 17:12:45 -04:00 |
|
Brown
|
fa43d3a8ff
|
Don’t check stub files for non-unused-code checks
|
2020-04-01 16:31:28 -04:00 |
|
Brown
|
ba8e5e8209
|
Fix diff file load order
|
2020-04-01 15:57:25 -04:00 |
|
Brown
|
943d10854d
|
Clear existing issues before re-adding
|
2020-04-01 15:30:35 -04:00 |
|
Brown
|
04a49102ec
|
Small test improvements
|
2020-04-01 12:56:32 -04:00 |
|
Brown
|
fa28d767fc
|
Prevent a templated type from hitting covariance checks
|
2020-04-01 10:53:40 -04:00 |
|
Brown
|
5876635d6d
|
Always be clonin
|
2020-04-01 00:45:29 -04:00 |
|
Brown
|
001f064bd4
|
Don’t modify contents of IssueBuffer in baseline before caching
|
2020-03-31 23:38:58 -04:00 |
|
Brown
|
1a678068b7
|
Consolidate conditionals
|
2020-03-31 23:05:20 -04:00 |
|
Brown
|
fc06250678
|
Add number_format slash
|
2020-03-31 22:52:39 -04:00 |
|
Brown
|
8328c1d3aa
|
Fix build
|
2020-03-31 22:32:48 -04:00 |
|
Matthew Brown
|
66dd794101
|
Add return function
|
2020-03-31 22:26:48 -04:00 |
|
Brown
|
4ef7cb50a5
|
Make Psalm faster when there aren’t any changes whatsoever
|
2020-03-31 22:22:34 -04:00 |
|
Brown
|
d5f43e52e7
|
Fix coercion
|
2020-03-31 16:57:08 -04:00 |
|
Brown
|
191a3febac
|
Return all cached errors not in analyzed files
|
2020-03-31 16:56:22 -04:00 |
|
Brown
|
cc38f25ed7
|
Don’t remove non-method issues
|
2020-03-31 16:33:05 -04:00 |
|
Brown
|
da729cfbc6
|
Don’t check params when mutations are being collected
|
2020-03-31 15:49:43 -04:00 |
|
Brown
|
ddc8c50d2a
|
Prevent some inheritance issues
|
2020-03-31 11:28:36 -04:00 |
|
Brown
|
687ce87995
|
Ensure issues from unused classes & params is always saved to cache
|
2020-03-31 09:56:27 -04:00 |
|
Matthew Brown
|
b46e147735
|
Add some limits on switch case assertion calculation
Ref #2728
|
2020-03-30 00:20:00 -04:00 |
|
Matthew Brown
|
717d588683
|
Fix a test thing
|
2020-03-29 19:51:13 -04:00 |
|
Matthew Brown
|
4fe36a21a4
|
Use array_pop, not array_shift, because it’s a bit faster
|
2020-03-29 19:47:40 -04:00 |
|
Matthew Brown
|
1b88316c51
|
Convert method from recursive to inline
|
2020-03-29 19:42:22 -04:00 |
|
Matthew Brown
|
15c6778223
|
Add test that passes
|
2020-03-29 18:59:48 -04:00 |
|
Matthew Brown
|
32d5c92428
|
Split up test
|
2020-03-29 18:28:49 -04:00 |
|
Matthew Brown
|
d84c5db7ae
|
Prevent complexity explosion a little earlier
|
2020-03-29 17:12:10 -04:00 |
|
Matthew Brown
|
82197f1761
|
Add many slashes
|
2020-03-29 15:56:45 -04:00 |
|
Matthew Brown
|
ce3532490c
|
Add profiling for analysing slow methods
|
2020-03-29 15:42:00 -04:00 |
|
Matthew Brown
|
194f02507d
|
Allow conditional types to reference class constants
|
2020-03-29 13:37:37 -04:00 |
|
Matthew Brown
|
9055c4a79b
|
Add documentation for conditional types
Fixes #3005
|
2020-03-29 11:14:03 -04:00 |
|
Matthew Brown
|
1b2017e4f4
|
Add slash
|
2020-03-29 10:44:38 -04:00 |
|
Matthew Brown
|
5ad55ae693
|
Fix type inference on simple conditional function calls
|
2020-03-29 10:42:57 -04:00 |
|
Matthew Brown
|
0e919a0696
|
Allow arithmetic on simple templated types
|
2020-03-29 10:34:46 -04:00 |
|
Matthew Brown
|
f097b9ae6c
|
Add better reconciliation of ints from array keys
|
2020-03-29 10:22:22 -04:00 |
|
Matthew Brown
|
788da0680e
|
Allow var_export userland implementation
|
2020-03-29 10:19:09 -04:00 |
|
Matthew Brown
|
1439c90789
|
Add support for conditional checks on literal ints & strings
|
2020-03-29 10:02:24 -04:00 |
|
Matthew Brown
|
7fdccc0439
|
Fix #3014 - change constant class access rules
|
2020-03-29 09:47:29 -04:00 |
|
Matthew Brown
|
39f7296670
|
Fix #2191 - allow inheritance from stub-only files
|
2020-03-29 00:13:01 -04:00 |
|
Matthew Brown
|
e85d22f004
|
Fix #3033 - allow __invoke on unions with non-objects
|
2020-03-28 23:41:05 -04:00 |
|
Matthew Brown
|
5395183837
|
Use more accurate means of determining whether function did return
|
2020-03-28 23:37:42 -04:00 |
|
Matthew Brown
|
7195ea6842
|
Fix #3030 - don’t suggest return types can do more
|
2020-03-28 23:15:54 -04:00 |
|
Matthew Brown
|
fc651c489e
|
Break out MissingReturnType manipulation tests
|
2020-03-28 22:49:38 -04:00 |
|