4847165254
Fixes
2022-12-02 17:51:49 +01:00
f015c50dec
Fixes
2022-12-02 17:46:25 +01:00
e628c7b9fc
Fixes
2022-12-02 17:31:16 +01:00
b07aba9f47
Fix
2022-12-02 15:32:58 +01:00
a5df5660d4
Fixes
2022-12-02 15:16:00 +01:00
c96a44d245
Revert
2022-12-02 14:49:03 +01:00
dead1be566
Fix
2022-12-02 14:34:59 +01:00
a0bf4cf371
Fixes
2022-12-02 13:58:15 +01:00
b8ffb3163c
Possible fix
2022-12-02 13:36:05 +01:00
4bf708717b
Fixes
2022-12-02 12:53:03 +01:00
54600ca967
Fixup
2022-12-02 12:40:32 +01:00
f89a3c9665
Fix
2022-12-02 12:23:28 +01:00
e50b351512
Cleanup
2022-12-02 12:22:16 +01:00
412d3c9b55
Simplify
2022-12-01 20:38:07 +01:00
e529402e34
Fix
2022-12-01 20:30:11 +01:00
6c3ffa2621
Fix logic
2022-12-01 20:00:42 +01:00
8fc161c5d4
Merge remote-tracking branch 'origin/master' into tnon_empty_list_refactoring
2022-12-01 19:19:43 +01:00
d24a243d80
Fix
2022-12-01 19:19:37 +01:00
Bruce Weirdan
870f5817d2
Merge pull request #8789 from weirdan/defer-cache-directory-creation
...
Fixes https://github.com/vimeo/psalm/issues/4267
2022-11-30 10:52:17 -04:00
2b0e979ee9
Fixes
2022-11-29 17:43:27 +01:00
e821109343
Fixes
2022-11-29 17:41:46 +01:00
Bruce Weirdan
6b3dd56850
Defer cache directory creation until it's needed
...
Honestly, this is a bit of a hack, as we let `Config` to generate the
cache directory name and then reset it to null from the cli entrypoint.
Yet it's easier than passing a no-cache flag through so many layers of
static calls.
`$this->cache_directory_initialized` flag is used to make sure we
attempt to create the directory only once.
Fixes vimeo/psalm#4267
2022-11-29 04:16:59 -04:00
Bruce Weirdan
874eb7d2ce
Fix crashes when XML report is used on PHP 8.1
...
Fixes vimeo/psalm#8321
2022-11-28 18:01:35 -04:00
42380dbe87
Cleanup
2022-11-28 11:58:05 +01:00
8a4ba6dbe6
Cleanup
2022-11-28 10:53:54 +01:00
Bruce Weirdan
9d597cf370
Merge pull request #8782 from weirdan/check-runtime-requirements
...
Fixes https://github.com/vimeo/psalm/issues/7560
2022-11-27 20:00:28 -04:00
0bb70b3ce8
Update
2022-11-27 22:26:24 +01:00
389c6e63c1
Revert weird legacy logic
2022-11-27 22:18:23 +01:00
163330c1ba
Merge remote-tracking branch 'o/master' into tnon_empty_list_refactoring
2022-11-27 21:54:42 +01:00
0542b0e7f0
Fix list templates
2022-11-27 21:28:55 +01:00
2b9512ef50
Generate properly shaped lists when appending
2022-11-27 20:52:42 +01:00
909edb48e3
Fixes
2022-11-27 20:30:35 +01:00
Bruce Weirdan
8fa35c2228
Variables should outlive namespaces ( #8779 )
...
Variables in PHP are not namespaced. In other words, namespaces share
the context with the file they are located in.
See https://3v4l.org/2qvrC
Fixes vimeo/psalm#8778
2022-11-27 10:45:40 -05:00
Bruce Weirdan
05b8e0eea6
Replace all references to static variables when moving class ( #8780 )
...
Previously `psalter` would only replace the first occurence of the
property access. Now it replaces all properties (by keeping the old name
unknown in the context).
2022-11-27 10:44:53 -05:00
Bruce Weirdan
03def00f27
Check runtime requirements
...
`vendor/autoload/check_platform.php` may be disabled by the user
`composer.json`, so we have to repeat the check for runtime
requirements.
Fixes vimeo/psalm#7560
2022-11-27 08:05:30 -04:00
9a0ecf7ab2
Fixes
2022-11-26 21:39:43 +01:00
4f10cd3404
Cleanup
2022-11-26 21:32:18 +01:00
a6a6595557
Fix
2022-11-26 21:25:49 +01:00
abbaf88441
Improve assertions
2022-11-26 21:14:17 +01:00
0107a34e7e
Cleanup logic
2022-11-26 21:10:47 +01:00
e89609bbab
Fixes
2022-11-26 19:47:10 +01:00
e7f2fddf34
Fix
2022-11-26 19:22:28 +01:00
c0b0dbc258
Fix bug
2022-11-26 19:03:19 +01:00
65886c94c6
Fixes
2022-11-26 18:51:24 +01:00
95e0614b2e
Off-by-one fun
2022-11-26 18:44:11 +01:00
65f849a5a2
Cleanup
2022-11-26 18:31:25 +01:00
99bdc2faeb
Cleanup
2022-11-26 18:21:36 +01:00
a342a26f0d
Fix
2022-11-26 18:15:50 +01:00
156d629fbe
Fix
2022-11-26 18:05:10 +01:00
34825fc0d3
Fix
2022-11-26 18:03:54 +01:00