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

12851 Commits

Author SHA1 Message Date
Alies Lapatsin
17d830037f Merge remote-tracking branch 'origin/simplify-shepherd' into simplify-shepherd 2023-02-16 11:13:03 +01:00
Alies Lapatsin
d805f80f95 Merge branch 'master' into simplify-shepherd 2023-02-16 11:12:24 +01:00
Alies Lapatsin
2ddc54331d Merge branch 'master' into disableExtensions-hides-warnings 2023-02-16 10:55:38 +01: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
Alies Lapatsin
9e9629c474 Fix check for supported php-ext 2023-02-15 22:34:06 +01:00
Alies Lapatsin
4da3252886
Merge branch 'master' into disableExtensions-hides-warnings 2023-02-15 22:01:38 +01:00
Alies Lapatsin
a8fb9781b4
Merge branch 'master' into simplify-shepherd 2023-02-15 22:01:32 +01: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
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
Alies Lapatsin
766d1487a9
Merge branch 'master' into disableExtensions-hides-warnings 2023-02-14 20:53:54 +01:00
Alies Lapatsin
3d200f60f9 Merge branch 'master' into disableExtensions-hides-warnings 2023-02-14 20:53:26 +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