1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 17:52:45 +01:00
Commit Graph

11323 Commits

Author SHA1 Message Date
orklah
2724c1dba9
Merge pull request #7872 from hirokinoue/float-template-arithmetics-4.x
don't emit issues when doing arithmetics on float templates
2022-04-19 19:35:57 +02:00
orklah
55a45a935c
Merge pull request #7876 from vognev/feature/vendor-cache
cache statements even without persistent parser cache
2022-04-18 20:29:52 +02:00
Vitaliy Ognev
6afdb0d9b6 better type safety and inference 2022-04-18 21:00:20 +03:00
Vitaliy Ognev
1dc2b3b026 cache statements even without persistent parser cache 2022-04-18 10:26:56 +03:00
hirokinoue
a525342bc7 add test case 2022-04-16 14:05:51 +09:00
hirokinoue
b132c3b751 fix error message 2022-04-16 14:05:40 +09:00
hirokinoue
a99532da5e code format 2022-04-16 14:05:31 +09:00
hirokinoue
23c3d87dcc don't emit issues when doing arithmetics on float templates 2022-04-16 14:05:20 +09:00
orklah
b5b5c20f32
Merge pull request #7867 from mmcev106/master
Documented the allowMissingFiles attribute for ignoreFiles
2022-04-15 19:17:03 +02:00
Mark McEver
6e3c305dc0
Documented the allowMissingFiles attribute for ignoreFiles 2022-04-14 10:03:21 -05:00
orklah
338faa9acc
Merge pull request #7861 from white43/drone-ci-output
Disable filepath formatting as a link for Drone CI's output
2022-04-13 21:11:44 +02:00
orklah
3b8449aff6
Merge pull request #7859 from dkemper/add-datetime-getTimestamp-mappings
Resolve #7855 remove false from return type, in php8.0 and further ve…
2022-04-13 21:10:39 +02:00
orklah
0d10280c7d
Merge pull request #7853 from jrmajor/generator-return
Remove `@psalm-generator-return` annotation
2022-04-13 21:08:41 +02:00
orklah
bbfcf026d9
Merge pull request #7866 from mpesari/4.x
Fix openssl_csr_export() signature
2022-04-13 21:07:17 +02:00
Mark McEver
ea424d79a6
Merge branch 'master' into master 2022-04-13 12:30:37 -05:00
Mark McEver
d28ead12e0
Documented the allowMissingFiles attribute for ignoreFiles 2022-04-13 12:29:06 -05:00
Mikko Pesari
161a8ae6c4 Fix openssl_csr_export() signature 2022-04-13 17:47:59 +03:00
orklah
f04945c2dc
Merge pull request #7864 from hirokinoue/precise-get-trace
Further improve Throwable::getTrace() return type
2022-04-12 18:46:17 +02:00
hirokinoue
c6d7bc0d19 Improve Throwable::getTrace() return type 2022-04-12 23:42:37 +09:00
Daniel Kemper
2ee7ba32c7 changed return types of callmap 2022-04-12 08:49:40 +02:00
Daniel Kemper
114aad4c23 Resolve #7855 remove false from return type, in php8.0 and further versions there is a ValueError returned instead 2022-04-11 22:48:13 +02:00
Daniel Kemper
8e01a12033 Resolve #7855 remove false from return type, in php8.0 and further versions there is a ValueError returned instead 2022-04-11 22:44:36 +02:00
Anton Belyaev
e7c2c77ec2 Disable filepath formatting as a link for Drone CI's output 2022-04-11 23:19:55 +03:00
orklah
6d0cc07255
Merge pull request #7838 from VincentLanglet/sortTypes
Fix Incompatible types found for T (Stub&ProxyQueryInterface is not in ProxyQueryInterface&Stub)
2022-04-10 10:20:30 +02:00
Jeremiasz Major
5717516f2f
Remove @psalm-generator-return annotation 2022-04-09 22:15:37 +02:00
Vincent Langlet
48bc030eec Add test 2022-04-09 21:59:23 +02:00
orklah
eeb12bc285
Merge pull request #7851 from jrmajor/docs/ignore-var
Document `@psalm-ignore-variable-*`
2022-04-09 17:29:50 +02:00
orklah
916fddb51d
Merge pull request #6695 from SCIF/make-callbacks-static
Make callbacks marked as static
2022-04-09 13:16:27 +02:00
Aleksandr Zhuravlev
b4fdc3e326 Made most of callbacks static. Reworked some array_map() into foreach() 2022-04-09 21:58:26 +12:00
Jeremiasz Major
ce25b39b5d
Document @psalm-ignore-variable-* 2022-04-08 00:30:23 +02:00
orklah
ab1ae8ff3d
Merge pull request #7849 from jrmajor/docs
Document `@psalm-yield`
2022-04-07 23:26:17 +02:00
Jeremiasz Major
23ad8d6684
Fix typos 2022-04-07 21:50:19 +02:00
Jeremiasz Major
e1fe1161bd
Remove documented annotations from wall of shame 2022-04-07 21:44:33 +02:00
Jeremiasz Major
f4f1a26cf9
Document @psalm-yield 2022-04-07 21:43:12 +02:00
Matthew Brown
c8cc3f4607 Add a more homogenous solution 2022-04-06 12:10:11 -04:00
Matthew Brown
4cfab0c441 Fix/ignore dependency issues 2022-04-06 11:45:28 -04:00
Matthew Brown
ed0daaa234 Undo previous commit 2022-04-06 11:45:13 -04:00
Matthew Brown
f3135949fe Clone correct context 2022-04-06 11:36:26 -04:00
orklah
d176361028
Merge pull request #7844 from orklah/non-empty-string
fix refining lowercase string and non-empty-string together
2022-04-05 21:40:11 +02:00
orklah
b72f0564bc fix refining lowercase string and non-empty-string together 2022-04-05 21:05:23 +02:00
orklah
ab26e6b2f3
Merge pull request #7837 from ThomasLandauer/pr-7835
Avoiding double spaces (v2)
2022-04-03 20:29:48 +02:00
Thomas Landauer
587039fd1d Fixing CS 2022-04-03 11:41:39 +02:00
Vincent Langlet
590ac22ea2 Use another strategy 2022-04-03 09:16:00 +02:00
orklah
cab6f33cb2
Merge pull request #7475 from zoonru/methodsignaturemismatch_dupe
Invert meaning of dupe_key
2022-04-03 00:07:34 +02:00
Vincent Langlet
3729c0d3ed Sort types when intersection is used 2022-04-02 22:08:44 +02:00
Thomas Landauer
e87c25c825 Second attempt of #7835 2022-04-02 14:57:56 +02:00
orklah
c209c66263
Merge pull request #7828 from mstilkerich/impure_readline
Psalm considers most readline functions as pure, but they have side effects
2022-04-01 16:26:21 +02:00
Michael Stilkerich
a696e559b7 Treat readline functions as impure 2022-04-01 16:13:55 +02:00
25105ff4c2
Remove unused suppress 2022-04-01 12:47:54 +02:00
b69e22a33b Add a few additional dupes 2022-04-01 12:19:29 +02:00