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

12780 Commits

Author SHA1 Message Date
Bruce Weirdan
1057fcc21b
Merge pull request #9269 from othercorey/drop-xsl-functions 2023-02-11 21:04:37 -04:00
Corey Taylor
ea8979ecd9 Drop abandoned newt callmap functions 2023-02-11 18:20:32 -06:00
Corey Taylor
c48c0c5c85 Drop abandoned maxdb callmap functions 2023-02-11 18:01:55 -06:00
Corey Taylor
8bbef27587 Drop removed xsl callmap functions 2023-02-11 17:50:31 -06:00
orklah
93267f298b
Merge pull request #9253 from kkmuffme/fix-lstat-bug-when-removing-cache-dir
fix lstat bug cache directory race condition
2023-02-11 12:24:00 +01:00
orklah
8e3ba6af72
Merge pull request #9264 from othercorey/fix-callmap-sigs
Fix several callmap fuction signatures
2023-02-11 12:22:33 +01:00
Bruce Weirdan
4131450af8
Merge pull request #9266 from othercorey/drop-mcve-callmap 2023-02-11 07:11:01 -04:00
Bruce Weirdan
528ac003ce
Do not try tweaking JIT if it's not available 2023-02-11 07:04:17 -04:00
Corey Taylor
9547a5cba5 Fix several callmap function signatures 2023-02-11 04:53:11 -06:00
Corey Taylor
4f4ffb9080 Drop abandoned mcve m_ functions 2023-02-11 04:44:18 -06:00
Bruce Weirdan
542cc343fc
Fix opcache being loaded twice
Fixes vimeo/psalm#9263
2023-02-11 06:42:48 -04:00
Bruce Weirdan
d66981ad90
Merge pull request #9251 from weirdan/update-workflow-to-use-non-deprecated-method-of-setting-step-output 2023-02-09 23:13:25 -04:00
Bruce Weirdan
468cc215f5
Merge pull request #9260 from weirdan/fix-crash-with-int-range-overflow
Fixes https://github.com/vimeo/psalm/issues/9114
2023-02-09 23:09:40 -04:00
Bruce Weirdan
85d4acf3b3
Fix crash when int range boundary is overflown
Fixes vimeo/psalm#9114
2023-02-09 22:57:57 -04:00
Bruce Weirdan
a4d593cfd6
Merge pull request #9257 from weirdan/fix-crashes-with-invalid-check-type-syntax
Fixes https://github.com/vimeo/psalm/issues/9201
2023-02-09 21:53:43 -04:00
Bruce Weirdan
954136679a
Fix crashes with invalid @psalm-check-type syntax
Fixes vimeo/psalm#9201
2023-02-09 17:49:49 -04:00
Bruce Weirdan
ffb393ca97
Switch shell instead of tweaking quotes 2023-02-09 14:42:22 -04:00
Bruce Weirdan
1ee0f1bcb8
Merge pull request #9256 from othercorey/spoofchecker-callmap
fixes https://github.com/vimeo/psalm/issues/9254
2023-02-09 12:53:42 -04:00
Corey Taylor
b467a0a74e Fix Spoofchecker callmaps 2023-02-09 10:38:39 -06:00
kkmuffme
78c3d6b436 fix lstat bug cache directory race condition 2023-02-09 09:27:51 +01:00
Bruce Weirdan
9c6dfb8e56
Merge pull request #9252 from bitwise-operators/documentation/value-of-backedenum 2023-02-09 04:11:45 -04:00
Bruce Weirdan
89024ffbc2
Quote paths 2023-02-09 03:54:25 -04:00
Bitwise Operators
9f07f5fe9a docs: Add entry to utility types mentioning using value-of<> with BackedEnum 2023-02-09 08:53:30 +01: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
7ae8f9f24c
Merge pull request #9250 from weirdan/dont-crash-on-unknown-exceptions-in-throws-docblock
Fixes https://github.com/vimeo/psalm/issues/9248
2023-02-09 03:34:11 -04:00
Bruce Weirdan
250d4d593e
Don't crash on unknown exceptions in @throws docblock
Fixes vimeo/psalm#9248
2023-02-09 02:56:01 -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
Alies Lapatsin
a5a2daa993 Use early return 2023-02-02 22:15:26 +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