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 |
|
orklah
|
bee5b69f7f
|
use Attribute feature of PHP-Parser to avoid dealing with dynamic properties
|
2021-10-13 13:27:56 +02:00 |
|
orklah
|
870ee4ff93
|
->args to ->getArgs
|
2021-10-09 23:37:04 +02:00 |
|
orklah
|
0e83afdb86
|
Merge pull request #6518 from orklah/fix-truthy
improvements of alwaysTruthy/alwaysFalsy
|
2021-10-04 13:29:49 +02:00 |
|
orklah
|
b0842c6b6f
|
Merge pull request #6475 from orklah/range6
3> min/max, rand inference improvement with integer range
|
2021-10-04 13:23:03 +02:00 |
|
orklah
|
53c0a4e63a
|
cleanup
|
2021-10-04 00:03:06 +02:00 |
|
orklah
|
597e9a99d7
|
Makes BooleanNot smarter
|
2021-10-02 10:01:04 +02:00 |
|
orklah
|
f8c2a89f23
|
use Int ranges to describe offset after array_fill when both args are known ints
|
2021-10-02 09:54:02 +02:00 |
|
orklah
|
b9f14f8687
|
improve min/max inference, add a return type provider for rand, mt_rand and random_int
|
2021-10-02 09:53:58 +02:00 |
|
Bruce Weirdan
|
2e7e343ef8
|
Merge pull request #6423 from orklah/count-equal-0-negated-assertion
|
2021-10-02 00:53:03 +03:00 |
|
orklah
|
ab6efe49b2
|
fix CS
|
2021-09-26 23:41:26 +02:00 |
|
orklah
|
38dac34846
|
unnecessary null initialization
|
2021-09-26 23:34:32 +02:00 |
|