orklah
|
bf9845a4aa
|
Psalm can't be sure get_object_vars will return an empty array unless object is known AND final
|
2022-01-15 21:36:46 +01:00 |
|
orklah
|
65efab3a8d
|
keep class-strings through array_merge
|
2022-01-09 15:48:58 +01:00 |
|
orklah
|
9d225086e9
|
replace empty checks on Union with dedicated method
|
2022-01-07 21:27:45 +01:00 |
|
Fabien Villepinte
|
c42f3d51bd
|
Fix typo
|
2022-01-04 16:27:06 +01:00 |
|
Fabien Villepinte
|
2f3af4a5bc
|
Remove unused import
|
2022-01-04 16:13:48 +01:00 |
|
Fabien Villepinte
|
1fa6b612b1
|
Fix parse_url() return type
|
2022-01-04 16:09:18 +01:00 |
|
orklah
|
5f6bb39888
|
if with common parts
|
2021-12-27 23:08:19 +01:00 |
|
orklah
|
2baf3b560a
|
unnecessary statements
|
2021-12-27 23:00:40 +01:00 |
|
orklah
|
9029e1d613
|
remove always true/false conditions
|
2021-12-27 19:59:11 +01:00 |
|
Bruce Weirdan
|
9387942463
|
Use strpos instead of str_contains
Fixes vimeo/psalm#7219 (str_contains was added in PHP 8)
|
2021-12-26 09:22:39 +02:00 |
|
Tomasz Mlynski
|
a514df2bb7
|
Use callable to filter files in FileProvider::getFilesInDir()
|
2021-12-22 19:47:57 +01:00 |
|
orklah
|
cc9111ff48
|
Merge pull request #7161 from dvz/improve-project-files-discovery
Improve project files discovery performance
|
2021-12-21 22:31:39 +01:00 |
|
AndrolGenhald
|
d62bee3a9a
|
Rename $fake_var_id to $fake_var_discriminator .
|
2021-12-15 11:33:27 -06:00 |
|
AndrolGenhald
|
04c0243547
|
Fix trailing comma for PHP < 8.0.
|
2021-12-15 11:02:24 -06:00 |
|
AndrolGenhald
|
00749c84fc
|
Fix array_filter return type provider.
|
2021-12-15 09:58:36 -06:00 |
|
AndrolGenhald
|
b78a188061
|
Assign id to array_map fake variables to avoid conflicts and ensure removal (fixes #7164).
|
2021-12-15 09:12:14 -06:00 |
|
rarila
|
97e6511fab
|
Set number of lines before and after namespace.
|
2021-12-15 04:58:32 +01:00 |
|
rarila
|
7df7c1f070
|
Format declare(strict_types=1)
|
2021-12-15 04:42:37 +01:00 |
|
Tomasz Mlynski
|
d00c733c1f
|
Add callable $directory_filter to FileProvider::getFilesInDir()
|
2021-12-14 18:22:47 +01:00 |
|
Tomasz Mlynski
|
ef23056ca0
|
Use FilesystemIterator::SKIP_DOTS flag instead of DirectoryIterator::isDot()
|
2021-12-14 17:51:31 +01:00 |
|
ralila
|
6ee3d44092
|
Conversion of misc
|
2021-12-14 02:52:44 +01:00 |
|
rarila
|
1c298c4605
|
Conversion of Psalm\Type
|
2021-12-14 02:31:22 +01:00 |
|
ralila
|
e32af3c05a
|
Conversion of Psalm\Type\Atomic
|
2021-12-14 02:26:28 +01:00 |
|
ralila
|
1e909d3304
|
Conversion of Psalm\Internal\Provider\ReturnTypeProvider
|
2021-12-14 02:08:12 +01:00 |
|
Mathieu Rochette
|
39fb4222d5
|
in_array returns false in strict mode if types are incompatibles
see #5552
|
2021-12-13 00:00:53 +01:00 |
|
orklah
|
f79f857ded
|
Merge pull request #7133 from AndrolGenhald/remove-unused-suppressed
Allow suppressing UnusedPsalmSuppress, remove unused suppressions.
|
2021-12-11 23:24:31 +01:00 |
|
orklah
|
b6638412b1
|
Merge pull request #7082 from dvz/fix-parser-cache-maintenance
Fix parser cache files maintenance
|
2021-12-11 23:14:30 +01:00 |
|
AndrolGenhald
|
23b781163a
|
Use getSingleAtomic() instead of array_values(getAtomicTypes())[0].
|
2021-12-11 13:44:34 -06:00 |
|
AndrolGenhald
|
bfe7f96b56
|
Allow suppressing UnusedPsalmSuppress, remove unused suppressions.
|
2021-12-11 13:23:00 -06:00 |
|
Aaron Piotrowski
|
1f3a37ff02
|
Add support for first-class callables
|
2021-12-09 10:54:49 -06:00 |
|
Tomasz Mlynski
|
348c62db94
|
Remove unused function reference
|
2021-12-06 18:25:04 +01:00 |
|
Tomasz Mlynski
|
5c73d77f28
|
Remove unused methods
|
2021-12-06 18:16:07 +01:00 |
|
Tomasz Mlynski
|
7e54c5172d
|
Deprecate unused methods
|
2021-12-06 17:59:43 +01:00 |
|
Tomasz Mlynski
|
af23619653
|
Fix ParserCacheProvider::deleteOldParserCaches()
|
2021-12-06 17:49:40 +01:00 |
|
rarila
|
39402c233d
|
Return type hints (#7065)
Co-authored-by: ralila <>
|
2021-12-05 19:51:26 +02:00 |
|
ralila
|
f833085a15
|
Fix fqn usage in php-doc
|
2021-12-04 03:37:19 +01:00 |
|
ralila
|
30a65685a2
|
Import instead of using fqn classes
|
2021-12-03 21:40:18 +01:00 |
|
ralila
|
7c32325e03
|
Import instead of using fqn constants
|
2021-12-03 21:25:22 +01:00 |
|
ralila
|
2a956498bf
|
Import instead of using fqn functions
|
2021-12-03 21:07:25 +01:00 |
|
ralila
|
711be643c6
|
Import instead of using fqn exceptions
|
2021-12-03 20:29:06 +01:00 |
|
ralila
|
245920e53c
|
Import instead of using fqn
|
2021-12-03 20:11:20 +01:00 |
|
Matthew Brown
|
175ba83332
|
Migrate most IssueBuffer::accepts calls to IssueBuffer::maybeAdd (#7020)
|
2021-11-29 14:54:17 -05:00 |
|
|
8d20a83ed9
|
Use a proper assertion
|
2021-11-11 12:42:16 +01:00 |
|
|
2bcbc2f86c
|
Small fix
|
2021-11-11 12:16:04 +01:00 |
|
|
575fd1c55a
|
Small fixes
|
2021-11-11 12:05:03 +01:00 |
|
|
9dd8533806
|
ImagickPixel::getColor return type provider
|
2021-11-11 11:54:30 +01:00 |
|
Aleksandr Zhuravlev
|
978d9ec774
|
Improve handling of positive ints by array_filter()
|
2021-10-16 20:47:22 +13:00 |
|
orklah
|
64df00baba
|
Merge pull request #6660 from orklah/cleanup4
Code trimming
|
2021-10-14 00:12:21 +02:00 |
|
orklah
|
ae193ca4da
|
replace elvis operator by coalesce operator when applicable
|
2021-10-13 20:16:06 +02:00 |
|
orklah
|
dbc6f503b1
|
use of strtolower only once
|
2021-10-13 20:16:06 +02:00 |
|