orklah
a75d26a3d4
Merge pull request #10417 from cgocast/tainted_extract
...
TaintedExtract
2023-12-10 09:40:49 +01:00
still-dreaming-1
a0b31c5bf4
Fixed docblock spacing in supported_annotations.md @psalm-internal
example
2023-12-07 15:22:56 -07:00
cgocast
083584d115
TaintedExtract
2023-11-28 10:13:55 +01:00
9e535682c4
Merge remote-tracking branch 'origin/5.x' into HEAD
2023-11-27 11:54:44 +01:00
cgocast
7be610ef8c
Doc typo
2023-11-22 11:10:23 +01:00
RobChett
fb7fc1c569
Remove MixedInferredReturnType as the related issue is more accuratly reported by MixedReturnStatement
2023-11-09 16:22:35 +00:00
Oliver Hader
e015b7f7de
Add documentation for @psalm-flow
2023-11-06 21:41:56 +01:00
orklah
d041b652cd
Merge pull request #10344 from robchett/seal_method_seal_properties_without_prefix
...
Support @(no-)seal-(properties|methods) annotations without prefix
2023-11-04 09:57:52 +01:00
robchett
3448c47931
Warn when an issue handler suppression is unused
2023-11-03 21:41:06 +00:00
robchett
54999abc54
Allow (no-)seal-(properties|methods) without the psalm- prefix
2023-11-03 21:40:37 +00:00
71483b72aa
Merge remote-tracking branch 'origin/5.x' into v6_fixes
2023-10-22 20:08:39 +02:00
orklah
24168f6c58
Merge pull request #9794 from robchett/remove_TCallableArray_and_TCallableList
...
Improved type of callable-array
2023-10-17 23:38:12 +02:00
robchett
e8b2251b94
Set ignoreInternalFunctionFalseReturn and ignoreInternalFunctionNullReturn to false by default
2023-10-09 19:01:47 +01:00
RobChett
cac5a1037a
Remove TCallableArray and TCallableList
2023-10-09 18:04:02 +01:00
cgocast
56926ee488
Fix return of BadSqlTainter::afterExpressionAnalysis()
2023-10-09 14:27:36 +02:00
tuqqu
cef432c033
Introduce DuplicateProperty issue
2023-10-09 01:13:13 +02:00
cgocast
fe0f1fc77d
Merge branch 'vimeo:master' into master
2023-09-28 12:08:10 +02:00
tuqqu
0ab4c2ac4b
Introduce NonVariableReferenceReturn issue
2023-09-24 21:27:55 +02:00
cgocast
84e7423175
Detect DoS by sleep vimeo#10178
2023-09-06 15:58:08 +02:00
cgocast
5545873f44
Fix tests
2023-08-31 05:44:57 +02:00
cgocast
c16216bc42
Xpath injection #10162
2023-08-30 18:56:10 +02:00
Lens0021 / Leslie
5aac98b173
A semicolon expected
2023-08-26 07:44:24 +09:00
Bruce Weirdan
5c0154c422
Added docs on running LS in a container
2023-07-24 21:59:34 +02:00
rhertogh
fa107d5e01
Updated docs for comments in Array Shapes with //
in the key
2023-07-15 20:15:37 +02:00
rhertogh
2e00fd08c3
Updated docs for comments in Array Shapes
2023-07-15 19:25:17 +02:00
Christophe Coevoet
7e6e37b106
Fix the link reference in the doc
2023-06-27 17:56:03 +02:00
kkmuffme
9d1558b3ca
make compressor configurable
...
Fix https://github.com/vimeo/psalm/issues/9905
Suppress throws for igbinary_unserialize like it was done for @unserialize
2023-06-18 20:22:02 +02:00
Jano Paetzold
bdca3144a0
Document classAndDescendants configuration tag
...
As stated in #3286 , this is still undocumented.
2023-06-02 17:00:13 +02:00
RobChett
f491a53ff0
Document advanced array shape unsealing syntax
2023-05-14 10:15:34 +01:00
Jack Worman
f41da745d1
UnsupportedPropertyReferenceUsage
2023-05-12 14:12:12 -05:00
Mark McEver
dcafc2e53d
Documented suggestions for HTML user input
2023-05-12 13:02:13 -05:00
RobChett
aa85669645
Change the Issue type and add documentation
2023-05-07 11:34:33 +01:00
RobChett
de877f1dcf
Add support for @psalm-inheritors
2023-05-07 11:33:38 +01:00
orklah
a5effd2d2d
Merge pull request #9681 from robchett/no-seal-methods_and_no-seal-propeties
...
Add support for @psalm-no-seal-properties and @psalm-no-seal-methods
2023-05-02 19:20:34 +02:00
orklah
2a221f6359
Merge pull request #9706 from robchett/document_mixin
...
Document @mixin
2023-04-27 19:16:44 +02:00
Grégoire Paris
09dd8c370f
Make it easier to find how to promote Trace
...
I have used this once before then forgot how to do it, which is a shame
because this is super handy.
2023-04-26 21:41:24 +02:00
RobChett
1d45d22ebe
Move @mixin examples to local documentation
2023-04-25 21:09:04 +01:00
RobChett
3503ccfe29
Fix dead links in documentation and fix typos
2023-04-25 07:44:29 +01:00
RobChett
662dc07df2
Add description of @mixin to the documentation
2023-04-25 07:44:29 +01:00
Jano Paetzold
d3a92f29a8
Replace @template T as X
with @template T of X
in documentation
...
According to 1986c8b4a8 (r108961921)
, `as` is an alias to `of`. However, only `of` is documented (in docs/annotating_code/templated_annotations.md). That caused me confusion reading this.
I think as long as the alias is not documented, it's better to not use it in the docs. Even if it was documented, it would probably be better to not use aliases to avoid confusion.
2023-04-24 16:04:28 +02:00
RobChett
4d9d7cebd9
Add support for @psalm-no-seal-properties and @psalm-no-seal-methods
2023-04-20 07:47:50 +01:00
Daniel Beardsley
bf00ecae91
Config: document default on new option
...
Also add it to the config schema.
2023-03-27 10:44:38 -07:00
Daniel Beardsley
5ff933f2a5
@property annotations: allow *not* implying @psalm-seal-properties
...
Add a setting that allows usage of `@property` to *augment* classes that
use __get() and __set(). Previously, using `@property` once would force
you to exhaustively list all possible properties. This didn't use to be
the case, but was changed in df33405635
This was really unexpected for our team and for a while we thought it
was a psalm bug until I found the above commit.
We are using `__get()` for ORM objects and we want to use `@property` to
explicitly document some of columns without being forced to document
every column.
2023-03-24 23:35:41 -07:00
Yannick Gottschalk
85a1c83591
Added to documentation and tests that api
can be used instead of psalm-api
2023-03-20 13:34:44 +01:00
Yannick Gottschalk
a4895c3588
Added to documentation that psalm-api
can be used on methods
2023-03-20 13:34:44 +01:00
Bruce Weirdan
98d96fbe9c
Forbid private final methods
...
Fixes vimeo/psalm#8374
2023-03-03 02:00:09 -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
e6aa63731d
Flag docblock parameters that have no counterparts in function signature
...
Fixes vimeo/psalm#3166
2023-02-15 22:04:26 -04:00
Bruce Weirdan
ee823619b8
Flag direct constructor calls
...
Fixes vimeo/psalm#2975
2023-02-15 20:14:00 -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