1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-04 02:27:59 +01:00
Commit Graph

10718 Commits

Author SHA1 Message Date
Kevin van Sonsbeek
f86b599878 bugfix/#7912: Added stub for the APCu extension 2022-05-17 23:45:08 +02:00
orklah
894e4e4c02
Merge pull request #7967 from hirokinoue/fix_return_type
Improve @return annotation for implode() so that it can handle non-empty-array of non-empty-strings case
2022-05-17 20:54:58 +02:00
hirokinoue
4fc34d998b improve @return annotation of join() 2022-05-14 23:47:46 +09:00
hirokinoue
91640e7e90 improve @return annotation of implode() 2022-05-14 23:44:43 +09:00
hirokinoue
e7005245b8 add test case for implode() 2022-05-14 23:36:51 +09:00
orklah
3929d731ad
Merge pull request #7935 from theodorejb/improve-object-casts
Infer object shape when array or scalar is cast to object
2022-05-14 10:25:13 +02:00
orklah
b37da4ae1f
Merge pull request #7951 from staabm/patch-4
fix missing is_a() parameter type
2022-05-12 22:58:24 +02:00
Markus Staab
3c837e5d9a
fix missing is_a() parameter type 2022-05-12 15:37:29 +02:00
Theodore Brown
4eef964048 Infer object shape when array or scalar is cast to object
Also detect redundant object casts.

Fixes #7916, fixes #7934
2022-05-09 20:31:29 -05:00
Theodore Brown
6f3ceea7d0 Remove several unused use statements 2022-05-08 23:18:18 -05:00
orklah
90d2b3cf5e
Merge pull request #7914 from mathroc/patch-2
fix small error in plugins_type_system.md
2022-05-08 22:43:51 +02:00
Mathieu Rochette
9b2cf438a5
fix small error in plugins_type_system.md
int-mask → int-mask-of
2022-05-02 11:08:51 +02:00
orklah
f1fe6ff483
Merge pull request #7908 from hirokinoue/fix-sort-assert-annotation
Fix sort assert annotation
2022-04-28 19:35:49 +02:00
hirokinoue
4bb5c38eb6 add test case for usort() 2022-04-29 00:52:37 +09:00
hirokinoue
2b34b1228b handle the non-empty case for usort() 2022-04-29 00:36:28 +09:00
hirokinoue
139948e774 add test case for uksort() 2022-04-29 00:33:08 +09:00
hirokinoue
8c64bddf29 handle the non-empty case for uksort() 2022-04-29 00:23:57 +09:00
hirokinoue
d4470cc99e add test case for uasort() 2022-04-29 00:18:27 +09:00
hirokinoue
37bf36d475 handle the non-empty case for uasort() 2022-04-28 23:49:32 +09:00
hirokinoue
c7b9e1eebb add test case for shuffle() 2022-04-28 23:18:39 +09:00
hirokinoue
95b5e8cb56 handle the non-empty case for shuffle() 2022-04-28 23:07:43 +09:00
hirokinoue
db565f1d32 add test case for rsort() 2022-04-28 23:05:33 +09:00
hirokinoue
1605b18678 handle the non-empty case for rsort() 2022-04-28 23:01:17 +09:00
hirokinoue
0770f0128c improve syntax 2022-04-28 22:44:39 +09:00
Matt Brown
9c153de6da Fix LSP api discrepancies 2022-04-27 11:56:54 -04:00
Matt Brown
fe0470a605 Remove latest PHPUnit from 4.x projects 2022-04-27 11:50:11 -04:00
orklah
038947eb08
Merge pull request #7887 from ging-dev/lsp-fixes
improve LSP
2022-04-26 22:23:00 +02:00
orklah
5c8f40ceff
Merge pull request #7904 from M1ke/4.x-update-baseline-custom
Alter order of baseline option loading to permit updating custom baseline
2022-04-26 19:20:42 +02:00
m1ke
70b44d566f Alter order of baseline option operations to allow updating custom baseline 2022-04-26 14:35:33 +01:00
ging-dev
cb10e845e0
improve LSP 2022-04-25 17:43:23 +07:00
orklah
e91e33c39c
Merge pull request #7894 from paulfedorow/ldap-search-callmap-fix-4.x
Fix return type of `ldap_search`
2022-04-24 11:15:58 +02:00
hirokinoue
3a6ebbb8ff add test case for sort() 2022-04-24 01:00:38 +09:00
hirokinoue
63faa0c919 test the correct function 2022-04-24 00:54:58 +09:00
hirokinoue
37c53ee783 handle the non-empty case for sort() 2022-04-23 22:51:50 +09:00
Paul Fedorow
b2d357fbb8 Fix return type of ldap_search 2022-04-23 14:55:46 +02:00
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
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
bbfcf026d9
Merge pull request #7866 from mpesari/4.x
Fix openssl_csr_export() signature
2022-04-13 21:07:17 +02: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
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