Bruce Weirdan
075e97ae93
Merge pull request #9336 from edsrzf/ls-closure-fixes
2023-02-19 03:56:03 -04:00
Evan Shaw
d4a57c863c
Enable store_node_types for all test cases
2023-02-19 19:52:45 +13:00
Evan Shaw
c8393bd50d
Fix language server first-class callable crashes
2023-02-19 14:18:17 +13:00
Bruce Weirdan
5fe902bde5
Merge pull request #9326 from vimeo/prevent-jit-warnings
2023-02-18 18:22:59 -04:00
Bruce Weirdan
95877a07d3
Merge pull request #9331 from gharlan/arraytoxml
2023-02-18 17:25:25 -04:00
Gregor Harlan
80e781315a
RedundantCast
2023-02-18 12:58:40 +01:00
Gregor Harlan
c05465eab4
Allow spatie/array-to-xml v3
2023-02-18 12:44:16 +01:00
Bruce Weirdan
18edbeb9f5
Merge pull request #9329 from weirdan/propagate-phantom-classes-to-closure-context
2023-02-18 02:20:56 -04:00
Bruce Weirdan
4f22c2e7c6
Propagate phantom classes to closure context
...
Fixes vimeo/psalm#9317
2023-02-18 01:52:10 -04:00
Bruce Weirdan
4d871fd241
Disable JIT-incompatible extensions to prevent warnings
...
This also enables JIT for `psalter` and syncs the list of disabled
extensions between `psalm`, `psalter` and `psalm-language-server`
2023-02-17 15:32:37 -04:00
Bruce Weirdan
d6c47ae473
Merge pull request #9318 from lptn/assert-on-ci
2023-02-17 03:42:08 -04:00
Bruce Weirdan
e4fa5b5212
Merge pull request #9325 from othercorey/skip-memcache-callmap
2023-02-17 03:41:03 -04:00
Corey Taylor
e813a54d03
Skip verifying memcache extension callmap
2023-02-17 01:27:37 -06:00
Bruce Weirdan
0a8d686fef
Merge pull request #9322 from othercorey/fix-strpos-stub
2023-02-16 16:32:40 -04:00
Bruce Weirdan
07445c9fc7
Merge pull request #9315 from weirdan/add-guide-on-adding-new-issues
2023-02-16 16:18:31 -04:00
Corey Taylor
3ddeecec1a
Fix strpos stub return type
2023-02-16 13:34:39 -06:00
Alies Lapatsin
86fe34bb52
Run assertions on CI
2023-02-16 10:45:42 +01:00
Bruce Weirdan
485e7b711c
Merge pull request #9316 from weirdan/forbid-not-null-defaults-for-callable-parameters
...
Forbid non-null defaults for callable parameters
2023-02-16 01:46:02 -04:00
Bruce Weirdan
1c2bc49838
Forbid non-null defaults for callable parameters
...
Fixes vimeo/psalm#3284
2023-02-16 01:36:06 -04:00
Bruce Weirdan
eb63eddce1
Added a page explaining how to add a new issue type
2023-02-15 23:12:14 -04:00
Bruce Weirdan
f70f6517a7
Merge pull request #9314 from weirdan/flag-unused-docblock-params
...
Flag docblock parameters that have no counterparts in function signature
2023-02-15 22:31:41 -04:00
Bruce Weirdan
1e71da3799
Merge pull request #9309 from othercorey/fix-memcached-callmap
2023-02-15 22:24:39 -04:00
Bruce Weirdan
0e9f04c55d
Merge pull request #9313 from othercorey/allow-ignored-callmap
2023-02-15 22:23:02 -04:00
Bruce Weirdan
cd5b743d6b
Fix newly found issues
2023-02-15 22:18:30 -04:00
Bruce Weirdan
e6aa63731d
Flag docblock parameters that have no counterparts in function signature
...
Fixes vimeo/psalm#3166
2023-02-15 22:04:26 -04:00
Corey Taylor
0598402620
Skip verifying callmaps based on name pattern
2023-02-15 20:00:04 -06:00
Bruce Weirdan
33f18e8d2d
Merge pull request #9312 from weirdan/deprecate-functionlikestorage-unused_docblock_params
2023-02-15 21:46:39 -04:00
Bruce Weirdan
01911a06b7
Deprecate FunctionLikeStorage::$unused_docblock_params
...
Refs vimeo/psalm#3166
2023-02-15 21:29:20 -04:00
Bruce Weirdan
166e678768
Merge pull request #9311 from weirdan/flag-direct-constructor-calls
...
Flag direct constructor calls
2023-02-15 20:24:31 -04:00
Bruce Weirdan
ee823619b8
Flag direct constructor calls
...
Fixes vimeo/psalm#2975
2023-02-15 20:14:00 -04:00
Corey Taylor
ab77cfd490
Fix memcached extension callmap
2023-02-15 17:26:58 -06:00
Bruce Weirdan
c035db5f11
Merge pull request #9308 from weirdan/suggest-psalm-to-be-installed-in-require-dev
...
Suggest Psalm to be installed in require-dev section
2023-02-15 12:37:44 -04:00
Bruce Weirdan
faf4e8b282
Suggest Psalm to be installed in require-dev section
...
See composer/composer#10960
2023-02-15 12:27:14 -04:00
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