Bruce Weirdan
b71a8b7672
Merge pull request #9304 from weirdan/fix-8604
2023-02-15 04:07:40 -04:00
Bruce Weirdan
c28d96e25c
Fixed issue message for missing @psalm-external-mutation-free
...
Fixes vimeo/psalm#8604
2023-02-15 03:58:50 -04:00
Bruce Weirdan
efc389bfa8
Merge pull request #9303 from weirdan/allow-suppressing-MissingThrowsDocblock-for-individual-exceptions
2023-02-15 03:40:18 -04:00
Bruce Weirdan
2bb590feb6
Allow suppressing MissingThrowsDocblock
for individual exceptions
...
Fixes vimeo/psalm#8638
2023-02-15 03:29:02 -04:00
Bruce Weirdan
2e6df7facb
Merge pull request #9302 from weirdan/flag-class-constant-references-with-non-class-string-lhs
2023-02-15 03:14:30 -04:00
Bruce Weirdan
d6b75057a4
Fix test
2023-02-15 03:02:34 -04:00
Bruce Weirdan
8c491e93e8
Flag class constant references where LHS is ordinary string
...
Fixes vimeo/psalm#2185
2023-02-15 02:57:00 -04:00
Bruce Weirdan
d9161c3439
Merge pull request #9301 from weirdan/allow-var-docblock-tags-on-global
2023-02-15 02:28:00 -04:00
Bruce Weirdan
3f2ecaec7e
Allow @var
annotations on global vars
...
The actual code was extracted from `StaticAnalyzer`
Fixes vimeo/psalm#1111
2023-02-15 01:20:03 -04:00
Bruce Weirdan
4ebef29d34
Merge pull request #9300 from weirdan/add-option-to-skip-callmap-tests
2023-02-15 00:45:41 -04:00
Bruce Weirdan
a538439a87
Add option to skip callmap test
...
With this change, callmap tests can be skipped with
`--exclude-group=callmap`:
```console
$ php-noxdebug vendor/bin/paratest --passthru-php="-dmemory_limit=-1" --exclude-group=callmap
```
2023-02-15 00:30:45 -04:00
Bruce Weirdan
886acd16ec
Merge pull request #9298 from weirdan/fix-7955
2023-02-14 22:12:15 -04:00
Bruce Weirdan
eca65bf448
Merge pull request #9299 from weirdan/fix-8331
...
Added issue type and psalm.dev link to Emacs report
2023-02-14 22:11:08 -04:00
Bruce Weirdan
07dfb5f2aa
Update docs/running_psalm/issues/UnusedProperty.md
...
Co-authored-by: Theodore Brown <theodorejb@outlook.com>
2023-02-14 22:00:17 -04:00
Bruce Weirdan
840250c534
Update expectations formatting
...
It's easier to read with consistent indentation
2023-02-14 21:59:01 -04:00
Bruce Weirdan
1ab02125b0
Added issue type and psalm.dev link to Emacs report
...
Fixes vimeo/psalm#8331
2023-02-14 21:19:29 -04:00
Bruce Weirdan
38e15c9817
Added note on properties used in constructor only
...
Fixes vimeo/psalm#7955
2023-02-14 21:01:52 -04:00
Bruce Weirdan
47eb024007
Merge pull request #9297 from weirdan/fix-6544
...
Made `WeakReference` mutable
2023-02-14 19:47:54 -04:00
Bruce Weirdan
3693300b2d
Made WeakReference
mutable
...
Fixes vimeo/psalm#6544
2023-02-14 19:30:28 -04:00
Alies Lapatsin
f7749428bc
Merge branch 'master' into simplify-shepherd
2023-02-14 21:07:49 +01:00
Bruce Weirdan
121eef9b7a
Merge pull request #9287 from weirdan/fix-4092
2023-02-14 15:53:07 -04:00
Alies Lapatsin
f1e04f2dc3
Reorganize Shepherd logic to improve redability and support custom endpoint
2023-02-14 20:01:37 +01:00
Bruce Weirdan
f73fe36bfd
Merge pull request #9292 from othercorey/drop-cairo-callmap
2023-02-14 10:44:52 -04:00
Bruce Weirdan
8034c0e933
Merge pull request #9293 from othercorey/drop-ncurses-extension
2023-02-14 10:43:36 -04:00
Corey Taylor
18b4fc532a
Drop abandoned ncurses callmap
2023-02-14 05:54:24 -06:00
Corey Taylor
c3b5877519
Drop abandoned cairo extension
2023-02-14 05:52:51 -06:00
Bruce Weirdan
39c992c255
Emit issues for calls to is_a(string, class-string, false)
...
Fixes vimeo/psalm#4092
2023-02-14 02:25:46 -04:00
Bruce Weirdan
dd1393005d
Merge pull request #9286 from weirdan/fix-7814
2023-02-13 22:59:29 -04:00
Bruce Weirdan
cee90fc071
Compare enum cases thoroughly
...
Fixes vimeo/psalm#7814
2023-02-13 22:39:33 -04:00
orklah
b0adac8fbb
Merge pull request #9240 from danog/jit
...
Emit warning if opcache cannot be enabled
2023-02-14 00:47:30 +01:00
b54cefe33f
Emit warning if the opcache cannot be installed or JIT cannot be used
2023-02-13 18:32:54 -04:00
Bruce Weirdan
1be367bc06
Merge pull request #9283 from kamil-tekiela/Add-curl-stubs
2023-02-13 12:51:34 -04:00
Kamil Tekiela
8eebebef62
Add curl stubs to prevent crashes
2023-02-13 16:39:40 +00:00
orklah
9921625691
Merge pull request #9278 from othercorey/fix-func-callmap
...
Fix remaining callmap functions
2023-02-13 07:10:43 +01:00
Corey Taylor
8fb290eb0d
Fix remaining callmap functions
2023-02-12 23:10:09 -06:00
Bruce Weirdan
67b1e3fcea
Merge pull request #9280 from weirdan/forbid-overriding-built-in-enum-methods
2023-02-13 00:48:46 -04:00
Bruce Weirdan
873d79c5d7
Forbid overriding built-in enum methods
...
Fixes vimeo/psalm#9274
2023-02-13 00:37:59 -04:00
Bruce Weirdan
08f5b3592e
Merge pull request #9265 from weirdan/fix-opcache-loaded-twice
2023-02-12 22:42:44 -04:00
orklah
5d1fe88d3f
Merge pull request #9272 from weirdan/forbid-extending-some-interfaces
...
Forbid implementing some interfaces
2023-02-12 08:38:54 +01:00
orklah
f86c65c488
Merge pull request #9273 from othercorey/php82-callmap
...
Update callmap types for php 8.2
2023-02-12 08:37:55 +01:00
Corey Taylor
42e301cf84
Update callmap types for php 8.2
2023-02-12 01:24:43 -06:00
Bruce Weirdan
085e8f6fb2
Forbid implementing some interfaces
...
- `Throwable` can only be implemented when classes extend one of
`Exception` or `Error`
- `UnitEnum` and `BackedEnum` cannot be implemented by user-defined
classes
Refs vimeo/psalm#7722
2023-02-12 02:48:50 -04:00
Bruce Weirdan
0fb0714141
Merge pull request #9271 from othercorey/drop-newt-functions
2023-02-11 21:12:47 -04:00
Bruce Weirdan
506d05f7d4
Merge pull request #9270 from othercorey/drop-maxdb-functions
2023-02-11 21:08:26 -04:00
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