1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 18:36:58 +01:00
Commit Graph

10229 Commits

Author SHA1 Message Date
orklah
16c0496d1c
Merge pull request #7157 from nowaja/master
ISSUE-5962 Fixed wrong line number for @method annotations
2021-12-15 18:37:26 +01:00
orklah
2dfe45a96e
Merge pull request #7152 from orklah/7109
display class-strings in keyed arrays syntax and allow using them for assertions
2021-12-15 18:36:40 +01:00
AndrolGenhald
d62bee3a9a Rename $fake_var_id to $fake_var_discriminator. 2021-12-15 11:33:27 -06:00
AndrolGenhald
03ccb9b548 Add test for nested array_map return type. 2021-12-15 11:09:10 -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
Bruce Weirdan
38a3efe69f
Merge pull request #7165 from rarila/cs-declare-namespace 2021-12-15 15:53:28 +02:00
rarila
d8dc542b9f Rule: Namespaces.AlphabeticallySortedUses.psr12Compatible = true 2021-12-15 05:11:15 +01:00
rarila
97e6511fab Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
rarila
099245281e Rule: Enforce number of lines before and after namespace. 2021-12-15 04:55:08 +01:00
rarila
9fd1721e08 Rule: Enforce formatting of namespace. 2021-12-15 04:50:26 +01:00
rarila
5785a1e4fa Rule: Requires only one namespace in a file. 2021-12-15 04:46:39 +01:00
rarila
7df7c1f070 Format declare(strict_types=1) 2021-12-15 04:42:37 +01:00
rarila
79e4a19f92 Add rules for declare(strict_types=1) 2021-12-15 04:40:34 +01:00
orklah
646ba983a0
Merge pull request #7140 from yethee/soap
Fixed compatibility with SoapClient
2021-12-15 00:55:57 +01:00
orklah
f036ebc33f
Merge pull request #7149 from villfa/patch-1
Set allow-plugins for Composer 2.2
2021-12-15 00:55:08 +01:00
orklah
bb687aebba add test 2021-12-15 00:51:59 +01:00
orklah
0c1564f4b5 allow keyed array to contain class-strings 2021-12-15 00:51:59 +01:00
orklah
2cd7b19ee3
Merge pull request #7145 from villfa/fix/ldap_set_rebind_proc
Fix ldap_set_rebind_proc signature
2021-12-15 00:49:50 +01:00
orklah
b2de778fb8
Merge pull request #7156 from simPod/set-map
Add Set::map() to ext-ds stub
2021-12-15 00:48:23 +01:00
orklah
41fe5534b6
Merge pull request #7159 from AndrolGenhald/bugfix/number-format-optional-arguments
Fix optional arguments in number_format (fixes #7158).
2021-12-15 00:47:35 +01:00
orklah
5ddf5df10d
Merge pull request #7155 from rarila/partials-conversion-2
Convertion of partials to full imports
2021-12-15 00:39:20 +01:00
Bruce Weirdan
bfc3cdd51b
Merge pull request #7153 from orklah/fix-ci 2021-12-15 00:09:01 +02:00
Bruce Weirdan
995ef928a9
Merge pull request #7162 from sj-i/use-igbinary-on-pool 2021-12-15 00:07:20 +02:00
orklah
93689c2860 add isStatic in stubs to solve the issue 2021-12-14 20:04:33 +01:00
sji
f7e402d75b use igbinary for communication between processes if possible (depending on the configuration) 2021-12-15 03:30:41 +09:00
orklah
dcb5234b69 remove ReflectionMethod::isStatic and add ReflectionFunctionAbstract::isStatic in 8.1 2021-12-14 18:30:31 +01:00
Tomasz Mlynski
4034959c1b
Use $directory_filter with FileProvider::getFilesInDir() to skip ignored directories 2021-12-14 18:25:09 +01:00
Tomasz Mlynski
d00c733c1f
Add callable $directory_filter to FileProvider::getFilesInDir() 2021-12-14 18:22:47 +01:00
Tomasz Mlynski
837075a378
Use cached ProjectAnalyzer::$project_files to build list of changed files 2021-12-14 17:57:19 +01:00
Tomasz Mlynski
ef23056ca0
Use FilesystemIterator::SKIP_DOTS flag instead of DirectoryIterator::isDot() 2021-12-14 17:51:31 +01:00
AndrolGenhald
10b6b9aef0 Fix optional arguments in number_format (fixes #7158). 2021-12-14 09:10:05 -06:00
Jakub Nowak
14c181f280 ISSUE-5962 Fixed wrong line number for @method annotations 2021-12-14 10:57:02 +01:00
Simon Podlipsky
9f13b73a01
Add Set::map() to ext-ds stub 2021-12-14 10:19:08 +01:00
Bruce Weirdan
832fc35d8d
Merge pull request #7150 from SMAtaurRahman/pretty-success-message 2021-12-14 05:31:04 +02:00
ralila
6ee3d44092 Conversion of misc 2021-12-14 02:52:44 +01:00
ralila
3cbfdd5e37 Conversion of Psalm\Internal\LanguageServer 2021-12-14 02:31:27 +01:00
ralila
b5cf7bf170 Conversion of Psalm\Internal\Provider\ 2021-12-14 02:31:27 +01:00
ralila
7bb370855e Conversion of Psalm\Storage\FunctionStorage|MethodStorage 2021-12-14 02:31:26 +01:00
ralila
19b2a64ce8 Conversion of Psalm\Internal\Analyzer\**\*Analyzer 2021-12-14 02:31:26 +01:00
ralila
34857c2eee Conversion of AdvancedJsonRpc\* 2021-12-14 02:31:26 +01:00
ralila
c0adde8f45 Conversion of Psalm\CodeLocation\DocblockTypeLocation|Raw 2021-12-14 02:31:26 +01:00
ralila
e06d4ab5ac Conversion of Psalm\Exception\*Exception 2021-12-14 02:31:26 +01:00
rarila
1c298c4605 Conversion of Psalm\Type 2021-12-14 02:31:22 +01:00
ralila
f6697ca528 Adjust baseline 2021-12-14 02:26:32 +01:00
ralila
e32af3c05a Conversion of Psalm\Type\Atomic 2021-12-14 02:26:28 +01:00
ralila
b9adc77a19 Conversion of Psalm\Plugin\EventHandler 2021-12-14 02:08:35 +01:00
ralila
fed7d1ef3b Conversion of Psalm\Plugin\Hook\*Interface 2021-12-14 02:08:35 +01:00
ralila
e170619d10 Conversion of Psalm\Internal\Scanner\UnresolvedConstant 2021-12-14 02:08:34 +01:00