1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 10:57:08 +01:00
Commit Graph

10038 Commits

Author SHA1 Message Date
Bruce Weirdan
9651daf705
Merge pull request #6663 from loic425/symfony-6-support 2021-11-05 17:21:38 +02:00
orklah
6e5f3db06c makes $_SESSION possibly undefined 2021-11-04 22:45:46 +01:00
orklah
fffef80ec1 makes $_SESSION possibly undefined 2021-11-04 22:38:31 +01:00
orklah
670c740255
Merge pull request #6820 from tminich/fix_parameter_names_in_stubs
Fix parameter names in CoreGenericFunctions.phpstub for PHP 8 named p…
2021-11-04 20:56:55 +01:00
orklah
915278e253
Merge pull request #6823 from orklah/variable_class
allow assertion to work on $var::class
2021-11-04 20:54:59 +01:00
orklah
834d831915 allow assertion to work on $var::class 2021-11-04 20:44:42 +01:00
orklah
5282e4728b allow assertion to work on $var::class 2021-11-04 20:33:30 +01:00
tminich
2013adafee Fix missed names in psalm annotations 2021-11-04 16:10:59 +01:00
orklah
cd74f665dc
Merge pull request #6813 from orklah/intTaint
don't register taints for numeric variables
2021-11-04 15:30:52 +01:00
Matthew Brown
73b5c9fb41
Remove PSL from CircleCI tests until it's fixed upstream 2021-11-04 09:28:18 -04:00
orklah
e6dccaa07c
Merge pull request #6809 from orklah/binaryOpTaint
don't taint the result of most binary operations
2021-11-04 13:18:07 +01:00
orklah
bf993452a8
Merge pull request #6810 from orklah/castArrayTaints
Array cast pass taints
2021-11-04 13:17:20 +01:00
orklah
c2b14e2f39
Merge pull request #6812 from orklah/shell_exec_taint
backticks shell_exec taint
2021-11-04 13:16:53 +01:00
tminich
541bd6cb36 Fix parameter names in CoreGenericFunctions.phpstub for PHP 8 named parameters 2021-11-04 10:27:07 +01:00
Bruce Weirdan
034cb5901c
Merge pull request #6818 from weirdan/improve-github-actions-output 2021-11-04 09:17:55 +02:00
Bruce Weirdan
8a437e9b9e
Merge pull request #6816 from sasezaki/remove_coveralls_badge 2021-11-04 04:16:28 +02:00
Bruce Weirdan
6610a2f918
Improve Github Actions output
* Use issue type in title
* Also provide issue type and location in the (use-visible) error message

Fixes vimeo/psalm#6817
2021-11-04 03:03:25 +02:00
orklah
dbc694c128
Merge pull request #6807 from orklah/exitFunctions2
deprecate exitFunctions in XML
2021-11-04 00:59:41 +01:00
sasezaki
67b7d27628 Remove PHPUnit coverage badge - #6800 2021-11-04 08:46:47 +09:00
orklah
3503f198a6 add deprecated tags to the array 2021-11-04 00:39:09 +01:00
orklah
943db37ec2 deprecate exitFunctions in XML 2021-11-04 00:39:09 +01:00
orklah
6e49c61fd0 fix comment 2021-11-04 00:31:22 +01:00
orklah
9fb74a4f28 exclude Plus on arrays too 2021-11-04 00:30:09 +01:00
orklah
3b01713257 don't taint the result of most binary operations 2021-11-04 00:30:09 +01:00
orklah
24137bdbad Array cast pass taints 2021-11-04 00:29:36 +01:00
orklah
eca530d792 don't register taints for numeric variables 2021-11-04 00:29:07 +01:00
orklah
ff83c498a7 fix CS 2021-11-04 00:28:40 +01:00
orklah
fbe305e5bb detect taint in backticks 2021-11-04 00:28:40 +01:00
orklah
73fb04fce7
Merge pull request #6815 from orklah/fix-baseline
add "error" from php-parser to baseline
2021-11-04 00:27:56 +01:00
orklah
aeeb71ecdc add "error" from php-parser to baseline 2021-11-04 00:13:35 +01:00
Bruce Weirdan
35868c08a9
Merge pull request #6811 from weirdan/require-release-labels 2021-11-03 22:32:39 +02:00
Bruce Weirdan
08f824228f
Added 'Removed' section to release notes 2021-11-03 22:11:53 +02:00
Bruce Weirdan
edb765508a
Merge pull request #6805 from SMAtaurRahman/php8.1 2021-11-03 18:23:44 +02:00
S.M. Ataur Rahman
bcc3023ac9 callmap updated as mysqli __construct()/connect() return bool in php 8.1 2021-11-03 22:02:24 +06:00
S.M. Ataur Rahman
52265d926f parameters of mysqli __construct()/connect() are nullable in php 8.0 2021-11-03 21:56:31 +06:00
S.M. Ataur Rahman
a391de6ab4 added mysqli::connect() to callmap 2021-11-03 21:41:45 +06:00
Bruce Weirdan
0bb1648f4d
Merge pull request #6802 from l-x/impure_pcntl_alarm 2021-11-03 12:07:37 +02:00
Alexander Wühr
2d91b90690
Add pcntl_alarm to the list of impure functions 2021-11-03 10:16:10 +01:00
orklah
5dadb0267c
Merge pull request #6801 from sasezaki/fix6661_InvalidLiteralArgument
accept ::class constant strings for literal argument
2021-11-03 09:38:59 +01:00
sasezaki
e3c6464a91 accept ::class constant strings for literal argument 2021-11-03 13:44:14 +09:00
Bruce Weirdan
0cdb0dc04a
Merge pull request #6768 from zoonru/psalm-self-out-templates 2021-11-02 21:41:16 +02:00
orklah
96ae8e7600
Merge pull request #6793 from orklah/unevaluatedCode
emit UnevaluatedCode after exit or never returning functionlike
2021-11-01 23:41:36 +01:00
orklah
500571b9da move tests to enable config 2021-11-01 22:45:17 +01:00
orklah
e2bb9859e4 fix tests 2021-11-01 22:27:43 +01:00
orklah
68a4f9e930 emit UnevaluatedCode after exit or never returning functionlike 2021-11-01 22:13:29 +01:00
Bruce Weirdan
81ca05f3ab
Merge pull request #6790 from orklah/fix_yield 2021-11-01 20:25:54 +02:00
orklah
c5c779c4a9 detect yield in new 2021-11-01 19:04:49 +01:00
orklah
af129f8851 detect yield in new 2021-11-01 19:04:37 +01:00
Bruce Weirdan
ea5b9bb1f4
Merge pull request #6785 from weirdan/require-release-labels 2021-10-31 16:55:23 +02:00
Bruce Weirdan
72b03dc30b
Added check for release:* labels 2021-10-31 14:45:03 +02:00