orklah
0ea2a6a567
Merge pull request #9742 from fluffycondor/allow-phpdoc-dynamic-properties
...
Allow dynamic properties from PHPDoc
2023-05-06 15:56:16 +02:00
orklah
c9e8b48dfc
Merge pull request #9750 from klimick/fix-union-argument-type-check
...
Fix union argument type check against templated param
2023-05-06 15:55:39 +02:00
andrew
cfd0f062f7
Fix union argument types check against templated param
2023-05-06 16:01:16 +03:00
orklah
8d15fa1d79
Merge pull request #9735 from tscni/fix/missing-global-override-file-storage
...
Fix missing global class type when scanning cached files
2023-05-05 22:08:21 +02:00
orklah
c9b192ab84
Merge pull request #9745 from greg0ire/simplexml-ignore-nullable-addChild
...
Ignore nullable return form SimpleXMLElement::addChild()
2023-05-04 23:35:44 +02:00
Grégoire Paris
a6016e3072
Ignore nullable return form SimpleXMLElement::addChild()
...
It seems unrealistic to require users to perform a null check every time
they call this method.
2023-05-04 21:07:44 +02:00
fluffycondor
86fd504965
Allow dynamic properties from PHPDoc
2023-05-04 18:49:41 +02:00
orklah
7483f4d809
Merge pull request #9740 from edsrzf/better-property-error
...
Fix OverriddenPropertyAccess error message
2023-05-04 18:49:00 +02:00
orklah
f8895edf4d
Merge pull request #9738 from klimick/fix-invalid-cast-for-templated-class-string
...
Fix invalid cast for templated class-string
2023-05-04 18:43:41 +02:00
orklah
32bd8f66e6
Merge pull request #9739 from klimick/match-paradoxical-condition-with-complex-expr
...
Fix ParadoxicalCondition with complex match expression
2023-05-04 18:39:17 +02:00
orklah
e809fb3549
Merge pull request #9743 from klimick/fix-string-negation-to-never
...
Fix string negation to never
2023-05-04 18:36:04 +02:00
andrew
a18eb447e0
Test match on class const fetch
2023-05-04 17:21:50 +03:00
andrew
948ece9dea
Fix string negation to never
2023-05-04 15:34:18 +03:00
Tinjo Schöni
8c9b0eebf4
Scan configured global types
2023-05-04 12:05:32 +02:00
Tinjo Schöni
595388b7d7
Add test case for FileScanner adding class reference for configured global
2023-05-04 12:05:32 +02:00
Evan Shaw
d2f0f6ce30
Fix OverriddenPropertyAccess error message
...
The message previously didn't mention the base class, which made it
confusing.
2023-05-04 21:51:16 +12:00
klimick
ac8d489413
Fix ParadoxicalCondition with complex match expression
2023-05-04 11:58:39 +03:00
andrew
57b3876796
Fix invalid cast for templated class-string
2023-05-04 11:25:52 +03:00
orklah
fc233da6a5
Merge pull request #9736 from kamil-tekiela/SplDoublyLinkedList
...
SplDoublyLinkedList's index is always int
2023-05-03 23:34:49 +02:00
Kamil Tekiela
59d37933b0
SplDoublyLinkedList's index is always int
2023-05-03 22:13:20 +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
cd0bacbff5
Merge pull request #9725 from tuqqu/before-expr-analysis
...
Introduce BeforeExpressionAnalysisEvent
2023-04-30 12:43:22 +02:00
tuqqu
46f5bc8bd7
Introduce BeforeExpressionAnalysisEvent, fix array comparison
2023-04-30 12:12:00 +02:00
tuqqu
38b40a9fe2
Introduce BeforeExpressionAnalysisEvent
2023-04-30 03:50:30 +02:00
orklah
4843a350a0
Merge pull request #9720 from Jean85/fix-ambiguous-constant-inheritance
...
Fix ambiguous constant inheritance false positive
2023-04-28 23:22:31 +02:00
Alessandro Lai
e8bc9a6209
Do not emit AmbiguousConstantInheritance when inheriting from the same statement
2023-04-28 22:52:22 +02:00
orklah
96a7133d08
Merge pull request #9719 from klimick/fix-declare-strict-types-unevaluated-code
...
Fix UnevaluatedCode false positive at declare(strict_types=1)
2023-04-27 22:41:12 +02:00
Alessandro Lai
54531a1d31
Add regression test for non-ambiguous constant inheritance
2023-04-27 22:39:52 +02:00
klimick
0ae1b31efc
Fix UnevaluatedCode false positive at declare(strict_types=1)
2023-04-27 23:11:14 +03:00
orklah
2a221f6359
Merge pull request #9706 from robchett/document_mixin
...
Document @mixin
2023-04-27 19:16:44 +02:00
orklah
8842fe9de0
Merge pull request #9717 from greg0ire/better-trace-docs
...
Make it easier to find how to promote Trace
2023-04-26 22:06:52 +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
orklah
c059388274
Merge pull request #9709 from Nicelocal/clone_leftovers
...
Remove clone leftovers from immutable refactoring
2023-04-25 20:47:59 +02:00
orklah
102e22ec91
Merge pull request #9711 from Nicelocal/fix_date_return_type_provider
...
Fix date return type provider
2023-04-25 20:47:28 +02:00
481a5bd61d
Fix date return type provider
2023-04-25 11:41:39 +02:00
8eacb0f003
Remove clone leftovers from immutable refactoring
2023-04-25 11:09:54 +02: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
orklah
1a4395658e
Merge pull request #9690 from janopae/replace_as_with_of
...
Replace `@template T as X` with `@template T of X` in documentation
2023-04-24 16:37:52 +02:00
orklah
720f3f1dc2
Merge pull request #9704 from Nicelocal/fix_new_template_object
...
Allow running new on template objects
2023-04-24 16:29:34 +02: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
f6e0c5b6ac
Fix
2023-04-24 14:29:45 +02:00
7a2a68bb46
Update
2023-04-24 13:40:19 +02:00
bff2154b23
cs-fix
2023-04-24 13:16:11 +02:00
8288b00ef9
Allow running new on template objects
2023-04-24 13:08:12 +02:00
orklah
2b68046115
Merge pull request #9694 from Nicelocal/unsealed_array_generic_syntax
...
Implement unsealed array generic syntax
2023-04-24 12:50:57 +02:00
orklah
eae04f25f6
Merge pull request #9693 from Nicelocal/fix_9692
...
Fix #9692
2023-04-24 12:48:20 +02:00
orklah
41796e324a
Merge pull request #9700 from klimick/method-contextual-closure-arg-inference
...
Contextual closure arg inference for class methods
2023-04-24 12:47:38 +02:00
orklah
30fcaae9ee
Merge pull request #9701 from edsrzf/include-directory
...
Handle included directory paths without crashing
2023-04-24 12:46:37 +02:00