1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
psalm/tests
Bruce Weirdan cd002e6a87
Do not consider isset checks on static properties as redundant (#5525)
* Do not consider isset checks on static properties as redundant

Unlike normal properties, static properties do not have a prescribed
initialization sequence, so they can always be uninitialized (or unset).
Thus `isset()` checks on them are never redundant.

Fixes vimeo/psalm#5489

* Fix issue with nullable is_static
2021-03-30 11:56:08 -04:00
..
CommandFunctions
Config Make taint source keys unique to the added taints. (#5444) 2021-03-20 15:42:24 -04:00
EndToEnd Resolve build issues 2021-03-22 19:37:49 -04:00
FileManipulation improve psalter capacities for anonymous class extending real classes (#5146) 2021-02-04 09:59:38 -05:00
FileUpdates When there’s an irrecoverqable syntax error invalidate all issues in the file 2021-02-14 21:16:12 -05:00
fixtures Resolve build issues 2021-03-22 19:37:49 -04:00
Internal/Provider Revert "Correct Psalm’s concept of string emptiness" 2021-02-03 01:09:58 -05:00
LanguageServer Add more tests for robustness 2021-02-28 10:36:18 -05:00
Loop Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
Progress
Template Fix #5506 – make array_values and iterator_to_array respect nested templates 2021-03-29 09:37:51 -04:00
Traits Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TypeReconciliation Do not consider isset checks on static properties as redundant (#5525) 2021-03-30 11:56:08 -04:00
AlgebraTest.php When there’s an irrecoverqable syntax error invalidate all issues in the file 2021-02-14 21:16:12 -05:00
AnnotationTest.php Add @ignore-var and @psalm-ignore-var (#5488) 2021-03-26 21:20:23 -04:00
ArgTest.php Improve @no-named-arguments support and variadics. (#5455) 2021-03-22 19:58:22 -04:00
ArrayAccessTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ArrayAssignmentTest.php Improve @no-named-arguments support and variadics. (#5455) 2021-03-22 19:58:22 -04:00
ArrayFunctionCallTest.php Fix array spread false negative that crashes (fixes #5431, reverts #2852) (#5432) 2021-03-19 21:51:36 -04:00
AssertAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
AssignmentTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
AttributeTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
BadFormatTest.php
BinaryOperationTest.php fix Int overflow for pow (#5510) 2021-03-29 15:09:44 -04:00
CallableTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ClassLikeDocblockParserTest.php Add documentation to LSP (#5267) 2021-02-24 10:14:04 -05:00
ClassLoadOrderTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ClassScopeTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ClassStringTest.php allow $var::class on templates (#5484) 2021-03-26 21:21:38 -04:00
ClassTest.php Allow phantom classes in instanceof expression (#5498) 2021-03-29 00:11:45 -04:00
CloneTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ClosureTest.php Forbid template annotation on closures (#5499) 2021-03-29 15:10:04 -04:00
CodebaseTest.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00
CommentAnalyzerTest.php Add documentation to LSP (#5267) 2021-02-24 10:14:04 -05:00
ComposerLockTest.php allow libraries to provide psalm plugins (#5165) 2021-02-06 22:06:00 -05:00
ConstantTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
DeprecatedAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
DocblockInheritanceTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
DocCommentTest.php
DocumentationTest.php
EnumTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ErrorBaselineTest.php
ExtendsFinalClassTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ExtensionRequirementTest.php
FileDiffTest.php Fix #5297 - be more sensitive to additions and deletions in language server mode 2021-02-28 01:36:06 -05:00
FileReferenceTest.php Fix small things 2021-02-15 11:31:34 -05:00
ForbiddenCodeTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
FunctionCallTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
FunctionLikeDocblockParserTest.php Add documentation to LSP (#5267) 2021-02-24 10:14:04 -05:00
GeneratorTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ImmutableAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ImplementationRequirementTest.php
IncludeTest.php Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -05:00
InterfaceTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
InternalAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
IssueBufferTest.php Fix BC break introduced in 4.6.3 (#5410) 2021-03-16 19:28:18 -04:00
IssueSuppressionTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
JsonOutputTest.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
junit.xsd
ListTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
MagicMethodAnnotationTest.php Checks the intersection type if the magic method does not exist (#5473) 2021-03-24 15:34:05 -04:00
MagicPropertyTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
MatchTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
MethodCallTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
MethodMutationTest.php
MethodSignatureTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
MixinAnnotationTest.php Fix #5496 - ensure params extended in properties are properly fleshed out 2021-03-28 23:10:38 -04:00
NamespaceTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
Php40Test.php
Php55Test.php
Php56Test.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
Php70Test.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
Php71Test.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ProjectCheckerTest.php Fix BC break introduced in 4.6.3 (#5410) 2021-03-16 19:28:18 -04:00
PropertyTypeInvarianceTest.php Support template property invariance (fixes #5371) (#5414) 2021-03-19 21:55:50 -04:00
PropertyTypeTest.php Fix many uses of offsets 2021-03-23 01:30:51 -04:00
PsalmPluginTest.php
PureAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
PureCallableTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ReferenceConstraintTest.php Only check param-out when no exception is thrown 2021-03-27 09:50:20 -04:00
ReportOutputTest.php Add hints for MixedAssignment issues 2021-03-17 01:10:42 -04:00
ReturnTypeTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
SelfOutTest.php
StubTest.php Allow multiple version-dependent method stubs (#5337) 2021-03-06 17:18:51 -05:00
SwitchTypeTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TaintTest.php Taint through reset call 2021-03-28 13:14:35 -04:00
TestCase.php
TestConfig.php
ThrowsAnnotationTest.php
ThrowsInGlobalScopeTest.php
ToStringTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TraceTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TraitTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TryCatchTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TypeAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TypeCombinationTest.php Do not let string subtypes subsume class-strings (#5497) 2021-03-28 23:12:23 -04:00
TypeParseTest.php Fix JSON reports with long UTF8 strings (#5300) 2021-03-01 11:23:21 -05:00
UnusedCodeTest.php allow dismissing return value of pure functions with by-reference arguments (#5463) 2021-03-25 09:05:59 -04:00
UnusedVariableTest.php Also add better message for MixedArgumentTypeCoercion 2021-03-28 11:32:38 -04:00
VariadicTest.php Improve @no-named-arguments support and variadics. (#5455) 2021-03-22 19:58:22 -04:00