Bruce Weirdan
8455d71a9b
Run Shepherd with 8.0
...
Because installing packages with 8.1 and checking them as if we're
running 7.1 just doesn't work.
2022-05-29 23:34:06 +03:00
Bruce Weirdan
30f07bf947
Merge pull request #8027 from weirdan/backport-7506
2022-05-29 23:28:40 +03:00
Bruce Weirdan
e47171deab
Merge pull request #8028 from weirdan/fix-syntax-check-failures
2022-05-29 22:57:26 +03:00
Bruce Weirdan
c3ea97949d
Fix syntax check failures
...
They were caused by installing packages with `--ignore-platform-reqs`
which brought PHP 8.1 autoloaded packages and caused fatal errors when
running php-parallel-lint. Instead of ignoring platform requirements we
now remove packages that are incompatible with PHP 7.1 (phpunit and its
dependents).
2022-05-29 00:24:11 -04:00
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
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
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