Bruce Weirdan
ffb393ca97
Switch shell instead of tweaking quotes
2023-02-09 14:42:22 -04:00
Bruce Weirdan
89024ffbc2
Quote paths
2023-02-09 03:54:25 -04:00
Bruce Weirdan
c7ef4580c3
Update workflows to use non-deprecated method offf setting step output
...
See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2023-02-09 03:35:58 -04:00
Bruce Weirdan
375e5da288
Merge pull request #9247 from aboyton/divide-zero
...
Fixes https://github.com/vimeo/psalm/issues/9246
2023-02-08 22:03:36 -04:00
Andrew Boyton
5d976900d1
Fix divide by a floating point zero
...
The code was failing when dividing by 0.0.
2023-02-09 11:55:06 +11:00
orklah
4eacb2f234
Merge pull request #9234 from Slamdunk/cpu_counter_0.5
...
Allow fidry/cpu-core-counter:v0.5
2023-02-07 19:04:28 +01:00
orklah
3d14684573
Merge pull request #9237 from danog/jit
...
Always enable JIT
2023-02-07 19:00:24 +01:00
d7e0bc5d25
Always enable JIT
2023-02-07 18:13:41 +01:00
Filippo Tessarotto
fa7efb7d8f
Allow fidry/cpu-core-counter:v0.5
2023-02-07 11:46:50 -04:00
Bruce Weirdan
3584826795
Merge pull request #9236 from weirdan/fix-cs-issues-2
2023-02-07 11:46:11 -04:00
Bruce Weirdan
3c4a829f71
Fixed more CS issues
2023-02-07 11:20:02 -04:00
Bruce Weirdan
93bc564b02
Merge pull request #9235 from kkmuffme/find-unused-code-config-should-not-overwrite-cli
2023-02-07 11:14:50 -04:00
kkmuffme
9346b7f74b
find_unused_code CLI arg should not be overwritten by config file
2023-02-07 11:31:46 +01:00
orklah
2b7ba42520
Merge pull request #9226 from phansys/mysqli
...
Use "numeric-string" type for some MySQLi properties
2023-02-06 21:36:21 +01:00
Javier Spagnoletti
22efcb12fb
Use "numeric-string" type for some MySQLi properties
2023-02-06 17:20:05 -03:00
orklah
05bdeb2c5a
Merge pull request #9227 from othercorey/callmap-resources
...
Convert callmaps resource types
2023-02-06 18:33:52 +01:00
Bruce Weirdan
4a95b81131
Merge pull request #9228 from othercorey/class-implements-return
...
closes https://github.com/vimeo/psalm/issues/4749
2023-02-06 06:15:09 -04:00
Corey Taylor
e754fd8b59
Add more specific return for class-implements
2023-02-06 01:24:18 -06:00
Corey Taylor
e8ae1ec084
Convert callmaps resource types
2023-02-06 01:12:14 -06:00
Matthew Brown
d450b40da8
Remove some logic that didn't need to be there ( #9209 )
...
* Remove check to see what breaks
* Simplify following logic
* Add tests from @kkmuffme‘s branch
* Reduce scope of fix
* Clean up logic a little
* Add failing test
* Improvements
* Fix for non-Paradoxical Condition result
2023-02-03 21:08:16 -05:00
Bruce Weirdan
498cc45e90
Merge pull request #9220 from othercorey/dateperiod-end
...
closes https://github.com/vimeo/psalm/issues/9147
2023-02-03 16:02:59 -04:00
Corey Taylor
cdbd71ba8b
Add DatePeriod::INCLUDE_END_DATE option
2023-02-03 13:37:45 -06:00
Matt Brown
234787bcd6
Fix logic bugs caught by better elseif checks
2023-02-03 00:30:42 -05:00
orklah
54cd529642
Merge pull request #9170 from mmcev106/filter-var-pure
...
Added @psalm-pure to filter_var()
2023-02-02 23:39:06 +01:00
orklah
a56e08d4ff
Merge pull request #9207 from ging-dev/master
...
fix `didChange` event in LSP
2023-02-02 19:35:11 +01:00
orklah
2c8f143e3d
Merge pull request #9212 from othercorey/drop-rpc
...
Fix xmlrpc callmap functions that were dropped in PHP 8.0
2023-02-02 19:34:20 +01:00
Corey Taylor
f922e576c8
Fix xmlrpc callmap functions that were dropped in PHP 8.0
2023-02-02 12:21:31 -06:00
Bruce Weirdan
ab9d745fb0
Merge pull request #9210 from weirdan/fix-cs-issues
2023-02-02 13:16:05 -04:00
Bruce Weirdan
5d930a438a
Fix invalid test cases
2023-02-02 12:27:57 -04:00
Bruce Weirdan
fb65c79079
Fix newly discovered CS issues
2023-02-02 12:19:22 -04:00
ging-dev
79c3779033
fix didChange
event in LSP
2023-02-02 16:41:10 +07:00
Mark McEver
77ea545244
Attempted to avoid a psalm warning that was not accurate
2023-02-01 15:50:36 -06:00
Mark McEver
b5781c34e8
Fixed a case where the conditional taint, specialize, & flow features were not playing nicely together
2023-02-01 15:41:52 -06:00
orklah
d7e9cbcef3
Merge pull request #8761 from LeoVie/master
...
#7387 Add asserting non-empty-string by strlen
2023-01-30 19:10:20 +01:00
Leo Viezens
a9de67afd5
#7387 Add unrelated psalm errors to baseline
2023-01-30 15:46:29 +01:00
Leo Viezens
7966fd574a
Merge branch 'master' into master
2023-01-30 15:38:29 +01:00
orklah
d600a35a1b
Merge pull request #9135 from lptn/unify-deprecation-messages
...
Unify warning messages for deprecated config variables
2023-01-29 19:42:52 +01:00
Alies Lapatsin
c55d297d0a
Fix coding style issue
2023-01-29 18:52:09 +01:00
Alies Lapatsin
c75e4bdb28
Merge remote-tracking branch 'origin/unify-deprecation-messages' into unify-deprecation-messages
2023-01-29 18:32:55 +01:00
Alies Lapatsin
5a3ac0e6ee
Merge branch 'master' into unify-deprecation-messages
2023-01-29 18:32:46 +01:00
Alies Lapatsin
7526d60f2a
Update assertion to reflect a new output
...
It reverts 588d9e08bc (diff-1ef46093f20172c4dc1cbe5a54e5b60c255082acd3f7c382dae621d8d23df404R172)
2023-01-29 18:32:31 +01:00
Alies Lapatsin
d49b35c92a
Merge branch 'master' into unify-deprecation-messages
2023-01-26 23:02:59 +01:00
orklah
aec0edc618
Merge pull request #9177 from Nicelocal/duplicate_keys
...
Detect duplicate keys in array shapes
2023-01-25 18:37:22 +01:00
Bruce Weirdan
0682adf3e4
Merge pull request #9173 from shvlv/feature/support-class-constants-for-phpstorm-meta-override
2023-01-25 12:31:17 -04:00
Bruce Weirdan
242fbf4bff
Merge pull request #9184 from jack-worman/cdata_in_baseline
2023-01-25 12:30:52 -04:00
Jack Worman
375cdeb636
cdata in baseline
2023-01-25 10:57:28 -05:00
Jack Worman
32581a71fd
cdata in baseline
2023-01-25 10:54:33 -05:00
40a05d574a
Improve error messages
2023-01-25 12:26:59 +01:00
247d30f74c
Detect duplicate keys in array shapes
2023-01-25 10:42:05 +01:00
shvlv
eca7079982
Fix Psalm errors
2023-01-25 11:32:41 +02:00