1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 02:07:37 +01:00
Commit Graph

10949 Commits

Author SHA1 Message Date
AndrolGenhald
054ed300f0
Fix side effect when loading config. 2022-05-29 00:16:38 -04:00
orklah
06d8e3e399
Merge pull request #8011 from kkmuffme/performance-only-load-files-once
Performance only load files once
2022-05-26 18:03:08 +02:00
orklah
d94f56a88a
Merge pull request #8007 from kkmuffme/add-missing-igbinary-serialize-code
igbinary_serialize code was missing in file
2022-05-26 17:57:02 +02:00
Bruce Weirdan
48db4f24c4
Merge pull request #8009 from kkmuffme/microoptimize-phpversion-check-as-requested 2022-05-26 18:12:27 +03:00
kkmuffme
278e8777d9 dont strolower filename, since file names on linux are case sensitive 2022-05-25 14:12:15 +02:00
kkmuffme
06178d0a6b only load files once
* use static to keep opened files with content
* move position of file cache population to the place where we read files to ensure cache always gets populated and not on open only (since it's called directly in some places)
2022-05-25 13:53:32 +02:00
kkmuffme
5d8b5d197d micro-optimize condition
https://github.com/vimeo/psalm/pull/7997#pullrequestreview-983975049
2022-05-25 11:25:19 +02:00
kkmuffme
ed0db0f7ce igbinary_serialize code was missing in file 2022-05-25 10:52:41 +02:00
orklah
ee6c10563a
Merge pull request #7997 from kkmuffme/change-cache-hash-type-for-better-performance
change cache hash type for better performance
2022-05-24 18:27:42 +02:00
kkmuffme
acffb851f6 debug CI 2022-05-24 10:00:54 +02:00
kkmuffme
c1cef60e21 change cache hash type for better performance 2022-05-24 09:59:47 +02:00
orklah
4ce8a06227
Merge pull request #7981 from mathroc/callmap/array_unique-improvements
Improve array_unique callmap stubs
2022-05-23 21:29:40 +02:00
Mathieu Rochette
e2aafdeab2
Improve array_unique callmap stubs
see #7956
2022-05-23 21:19:00 +02:00
asrar
e3f46d9a3c refactor: use list<string> 2022-05-23 19:45:33 +02:00
asrar
f94b7abb18 chore: add another test 2022-05-22 18:38:18 +02:00
asrar
e28831dff8 feat: fix ci + preserve existing throws 2022-05-22 18:27:38 +02:00
asrar
c6854cf567 Adds support for fixing missing throws doc block 2022-05-21 17:39:51 +02:00
orklah
50fb396bbb
Merge pull request #7988 from GromNaN/completion
Fix conflict of option -c with shell completion
2022-05-20 20:43:44 +02:00
Jerome TAMARELLE
afed93b6bd Fix conflict of option -c with shell completion 2022-05-20 09:42:57 +02:00
orklah
5c1d95b335
Merge pull request #7982 from KevinVanSonsbeek/bugfix/#7912-class-APCuIterator-does-not-exist
Bugfix/#7912 class APCuIterator does not exist
2022-05-18 19:36:55 +02:00
Kevin van Sonsbeek
23eff58a09 bugfix/#7912: Add Iterator implements to stub 2022-05-17 23:55:44 +02:00
Kevin van Sonsbeek
22080a1b15 bugfix/#7912: Added extension_loaded check for apcu and load internal stub on true 2022-05-17 23:45:42 +02:00
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
Andrew Nagy
599ba0e755 bump 2022-04-28 19:00:23 +00:00
Andrew Nagy
8613ebb9a4 so close! 2022-04-28 18:57:37 +00:00
Andrew Nagy
30c885e1a6 commas 2022-04-28 18:55:24 +00:00
Andrew Nagy
e10ad2b567 more 2022-04-28 18:52:07 +00:00
Andrew Nagy
14309f07fc more commas 2022-04-28 18:50:00 +00:00
Andrew Nagy
ed46c772d8 commas 2022-04-28 18:46:30 +00:00
Andrew Nagy
e5c5b4ae73 these commas man! 2022-04-28 18:42:20 +00:00
Andrew Nagy
96e7b428a0 another comma! 2022-04-28 18:39:14 +00:00
Andrew Nagy
7910daad37 remove failing trailing commas 2022-04-28 18:35:10 +00:00
Andrew Nagy
5d1cd7c3f8 fix non 8.1 syntax 2022-04-28 18:31:30 +00:00
Andrew Nagy
2264fd5b50 more cleanup 2022-04-28 18:28:59 +00:00
Andrew Nagy
7819821be9 fix tests 2022-04-28 18:26:38 +00:00
Andrew Nagy
b0bd2e0831 more fixes 2022-04-28 18:24:17 +00:00
Andrew Nagy
2d8cc8d623 fixes from shepard 2022-04-28 18:20:51 +00:00
Andrew Nagy
e5c9952963 cleanups 2022-04-28 18:12:50 +00: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