1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 00:39:38 +01:00
Commit Graph

13854 Commits

Author SHA1 Message Date
Thomas Bley
9590279c62 #10026 added style changes to pass phpcs check 2023-07-21 21:50:30 +02:00
Thomas Bley
fc1d3e09ab #10026 added code style analysis with phpcs to github actions 2023-07-21 21:49:36 +02:00
Thomas Bley
4307bc49e3 #10026 run buuld-phar with php 8.0 in github actions (php 7.4 is out of official support) 2023-07-21 21:49:07 +02:00
Thomas Bley
5affc125e8 #10026 run phpcs and phar-build with php 8.0 in circle-ci (php 7.4 is out of official support) 2023-07-21 21:48:28 +02:00
cgocast
719496b46e #10030 Add PDOStatement::bindValuebindValue() and PDOStatement::bindParam() as sources for TaintedSql 2023-07-21 15:27:47 +02:00
Thomas Bley
51058eb45e #10026 cleanup 2023-07-20 02:02:28 +02:00
Thomas Bley
741d19682a #10026 cleanup signature for hash_pbkdf2() 2023-07-20 01:43:31 +02:00
Thomas Bley
ee185b9ad8 #10026 cleanup method signatures 2023-07-20 01:28:46 +02:00
Thomas Bley
f34327e079 10026 extended InternalCallMapHandlerTest ignores for php 8.3 2023-07-20 01:01:10 +02:00
Thomas Bley
2e0f1e25e5 #10026 extended callmap delta for php 8.3 2023-07-20 00:58:18 +02:00
Thomas Bley
cbee1e094e #10026 adapted DateTime tests for DateMalformedStringException in PHP 8.3 2023-07-19 23:52:25 +02:00
Thomas Bley
804087b5d5 #10026 added workaround for DateTimeInterface::__unserialize() signature 2023-07-19 23:14:04 +02:00
Thomas Bley
0f99799fa9 #10026 fixed AnnotationTest 2023-07-19 22:52:15 +02:00
Thomas Bley
fffbf75cf8 cleanup 2023-07-19 21:06:35 +02:00
Thomas Bley
1c55437d78 cleanup 2023-07-19 20:51:13 +02:00
Thomas Bley
ba4e40a9f6 cleanup 2023-07-19 20:47:58 +02:00
Thomas Bley
d0605ee765 cleanup 2023-07-19 20:46:50 +02:00
Thomas Bley
e8586a7a35 #10026 test matrix for different php versions and operating systems 2023-07-19 20:42:39 +02:00
Thomas Bley
9eb3c7eb7d #10026 test matrix for different php versions and operating systems 2023-07-19 20:41:59 +02:00
Thomas Bley
d39013324d #10026 added GitHub CI for unit tests with PHP 8.2 and 8.3 2023-07-19 20:30:57 +02:00
orklah
9c814c8a69
Merge pull request #10004 from rhertogh/inline_comments_in_types
Allow comments in types (e.g. in array shapes)
2023-07-16 09:26:25 +02:00
rhertogh
c62d507a0e Added addtitional cases for 'multiLineArrayShapeWithComments' in \Psalm\Tests\AnnotationTest::providerValidCodeParse() 2023-07-16 00:53:37 +02:00
rhertogh
fa107d5e01 Updated docs for comments in Array Shapes with // in the key 2023-07-15 20:15:37 +02:00
rhertogh
2e00fd08c3 Updated docs for comments in Array Shapes 2023-07-15 19:25:17 +02:00
rhertogh
8d76314a48 Fixed PHPCS errors for CommentAnalyzer (Multi-line function calls must have a trailing comma after the last parameter). 2023-07-15 19:11:15 +02:00
rhertogh
65ad2f829e Fixed PHPCS errors for CommentAnalyzer 2023-07-15 19:04:52 +02:00
rhertogh
c362dd5af7 Ensure comment lines are terminated with a new line character (\n). 2023-07-15 19:00:28 +02:00
rhertogh
f378ef1cab Allow comments in types (e.g. array shape) 2023-07-15 18:43:47 +02:00
rhertogh
9935b2c71e Merge branch 'master' into inline_comments_in_types
# Conflicts:
#	tests/CommentAnalyzerTest.php
2023-07-15 15:46:01 +02:00
orklah
564c6de4ed
Merge pull request #10016 from alcaeus/mongodb-bson-generics
Add generic stubs for MongoDB BSON classes
2023-07-13 20:34:08 +02:00
Andreas Braun
bea3090aff
Add generic stubs for MongoDB BSON classes 2023-07-13 08:42:06 +02:00
orklah
db9d971d89
Merge pull request #10014 from klimick/functional-inference-edge-case
Fix inference high order function when closure param is omitted
2023-07-11 23:37:01 +02:00
klimick
e9445cd422 Test inference with omitted closure param 2023-07-11 11:34:06 +03:00
klimick
38f6d45155 Do not fill template result when arg is unpacked 2023-07-11 11:10:48 +03:00
klimick
9fccf201e3 Fix callable without params inference 2023-07-11 01:01:31 +03:00
Yannick Gottschalk
867290cd06 Always report UnusedBaseline issues 2023-07-10 14:09:11 +02:00
orklah
5cb2557410
Merge pull request #10000 from rhertogh/allow_space_before_array_shape_opening_brace
Allow space before array shape opening brace and added unit tests
2023-07-09 15:10:01 +02:00
rhertogh
f7fb2c8809 Merge branch 'master' into allow_space_before_array_shape_opening_brace 2023-07-09 14:32:28 +02:00
rhertogh
5a1bb56fc2 3nd attempt to fix CommentAnalyzerTest::providerSplitDocLine() docblock 2023-07-09 14:26:58 +02:00
rhertogh
d2ec23fc71
2nd attempt to fix CommentAnalyzerTest::providerSplitDocLine() docblock (https://github.com/vimeo/psalm/pull/10000#issuecomment-1627430145) 2023-07-08 23:01:35 +02:00
rhertogh
a69b0caa23 Added return type specification for \Psalm\Tests\CommentAnalyzerTest::providerSplitDocLine() (https://github.com/vimeo/psalm/pull/10000#issuecomment-1624354237) 2023-07-07 16:25:10 +02:00
rhertogh
2285c9d4bd Fixed codestyle for CommentAnalyzer and use plain instead of multibite string functions 2023-07-06 23:54:50 +02:00
rhertogh
356e6d7bbd First setup to allow comments in types (e.g. array shape) 2023-07-06 23:40:13 +02:00
orklah
b12e4f215f
Merge pull request #9999 from kkmuffme/improve-generic-offset-method-types
offsetExists/Get/Set/Unset types were too generic
2023-07-06 23:25:49 +02:00
orklah
ae19418a31
Merge pull request #9998 from kkmuffme/days-property-remove-false-type
Fix "days" falsable return not ignored consistently
2023-07-06 20:51:27 +02:00
rhertogh
fc85ecb1f6 Code style fixes for \Psalm\Tests\CommentAnalyzerTest (https://app.circleci.com/pipelines/github/vimeo/psalm/11905/workflows/353387bb-1dcc-4527-9569-c83ebe43864c/jobs/39822) 2023-07-06 18:31:26 +02:00
kkmuffme
9fd590685c fix "days" ignore falsable return not ignored correctly
see Reflection.php, where the same condition was used already, but was insufficient
2023-07-06 08:21:27 +02:00
rhertogh
242a38c184 Allow space before array shape opening brace and added unit tests for \Psalm\Internal\Analyzer\CommentAnalyzer::splitDocLine() 2023-07-06 00:01:00 +02:00
kkmuffme
05f4e45026 more historical 2023-07-05 17:04:43 +02:00
kkmuffme
3d8629fddc update historical 2023-07-05 16:58:14 +02:00