1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-29 20:28:59 +01:00
psalm/tests
kkmuffme 0d7c5a2d8e Fix docblock mixed escape hatch
revert https://github.com/vimeo/psalm/pull/7663 including previous from_docblock Mixed assignments, as the tests required 2 suppressions and created an escape hatch via mixed on higher psalm error levels, where mixed isn't reported, thus hiding potentially fatal bugs.
It's still possible to run the validation of docblock docs though: a @var declaration that contains both possible types, to ensure later code won't escape any checks (and no @psalm-suppress needed at all)

This is also a required preparation to fix some isset issues of https://github.com/vimeo/psalm/issues/9759
2023-11-21 13:01:55 +01:00
..
Cache Merge pull request #10289 from ging-dev/add-fix 2023-10-17 20:32:03 +02:00
Config More rector fixes 2023-10-21 20:45:09 +02:00
EndToEnd Update PsalmRunnerTrait.php 2023-07-01 16:47:42 +02:00
FileManipulation fix offset for type param changes 2023-05-21 18:56:54 +02:00
FileUpdates
fixtures More rector fixes 2023-10-21 20:45:09 +02:00
Internal Fixing a collisions on annotations with mixins 2023-11-17 15:50:34 +00:00
LanguageServer Fix auto-completion with declared static method by DocBlock 2023-10-27 09:35:30 +00:00
Loop
Progress
ReturnTypeProvider code style + update tests 2023-08-04 23:56:47 +02:00
Template Type check nested templates 2023-10-09 17:07:52 +03:00
Traits #10026 cleanup phpcs 2023-07-21 22:57:49 +02:00
Type
TypeReconciliation Fix docblock mixed escape hatch 2023-11-21 13:01:55 +01:00
AlgebraTest.php
AnnotationTest.php #10026 fixed AnnotationTest 2023-07-19 22:52:15 +02:00
ArgTest.php Fix tests 2023-04-19 11:56:04 +02:00
ArrayAccessTest.php Fix crash on array access to undefined class 2023-08-20 23:45:30 +02:00
ArrayAssignmentTest.php qa: modify tests since array keys are not mixed for ArrayObject 2023-09-10 16:06:56 +02:00
ArrayFunctionCallTest.php Fixes 2023-04-21 15:58:05 +02:00
ArrayKeysTest.php
AssertAnnotationTest.php Merge pull request #10189 from boesing/feature/inherited-assertions-v2 2023-09-28 23:07:15 +02:00
AssignmentTest.php
AsyncTestCase.php More rector fixes 2023-10-21 20:45:09 +02:00
AttributeTest.php
BadFormatTest.php
BinaryOperationTest.php Only the binary op 'plus' works with two arrays 2023-09-16 15:55:59 +01:00
ByIssueLevelAndTypeReportTest.php Introduce and use IssueData constants for severity 2023-05-31 12:38:15 +02:00
CallableTest.php Type check nested templates 2023-10-09 17:07:52 +03:00
CastTest.php
CheckTypeTest.php Add alias support to psalm-check-type 2023-10-08 17:46:59 +01:00
ClassLikeDocblockParserTest.php
ClassLikeStringTest.php Negated class_exist check on class-string converts to string instead of mixed 2023-10-08 15:48:48 +01:00
ClassLoadOrderTest.php
ClassScopeTest.php
ClassTest.php qa: modify tests since array keys are not mixed for ArrayObject 2023-09-10 16:06:56 +02:00
CloneTest.php
ClosureTest.php
CodebaseTest.php More rector fixes 2023-10-21 20:45:09 +02:00
CommentAnalyzerTest.php Updated docs for comments in Array Shapes with // in the key 2023-07-15 20:15:37 +02:00
ComposerLockTest.php
ConstantTest.php Change __LINE__ to a positive-int 2023-06-17 12:24:09 +01:00
ConstValuesTest.php
CoreStubsTest.php Allow Stringable in sprintf() values 2023-09-28 10:23:02 +02:00
DateTimeTest.php #10026 cleanup phpcs 2023-07-21 22:57:49 +02:00
DeprecatedAnnotationTest.php
DocblockInheritanceTest.php
DocCommentTest.php
DocumentationTest.php More rector fixes 2023-10-21 20:45:09 +02:00
EnumTest.php Fix for inferring enum case value from a class constant 2023-10-10 22:56:36 +02:00
ErrorBaselineTest.php Introduce and use IssueData constants for severity 2023-05-31 12:38:15 +02:00
ExpressionTest.php
ExtendsFinalClassTest.php
ExtensionRequirementTest.php
ExtLibxmlStubTest.php
FFITest.php
FileDiffTest.php More rector fixes 2023-10-21 20:45:09 +02:00
FileReferenceTest.php
ForbiddenCodeTest.php
FunctionCallTest.php Disallow never type for parameters 2023-10-08 20:47:37 +02:00
FunctionLikeDocblockParserTest.php
GeneratorTest.php
IfThisIsTest.php
ImmutableAnnotationTest.php
ImplementationRequirementTest.php
IncludeTest.php Handle included directory paths without crashing 2023-04-24 11:09:48 +12:00
InterfaceTest.php
InternalAnnotationTest.php
IntersectionTypeTest.php
IntRangeTest.php fix failing test caused by psalm-suppress as this should be invalidCodeParse test 2023-11-13 19:08:04 +01:00
IssueBufferTest.php Introduce and use IssueData constants for severity 2023-05-31 12:38:15 +02:00
IssueSuppressionTest.php
JsonOutputTest.php
junit.xsd
KeyOfArrayTest.php
ListTest.php
MagicMethodAnnotationTest.php Add support for @psalm-no-seal-properties and @psalm-no-seal-methods 2023-04-20 07:47:50 +01:00
MagicPropertyTest.php Add support for @psalm-no-seal-properties and @psalm-no-seal-methods 2023-04-20 07:47:50 +01:00
MatchTest.php Test match on class const fetch 2023-05-04 17:21:50 +03:00
MethodCallTest.php Fix memory explosion with calls to method_exists 2023-10-17 19:15:23 +01:00
MethodMutationTest.php
MethodSignatureTest.php Emit MethodSignatureMismatch when descendant does not return by reference 2023-10-03 03:41:11 +02:00
MixinAnnotationTest.php
NamespaceTest.php
NativeIntersectionsTest.php
NativeUnionsTest.php
Php40Test.php
Php55Test.php
Php56Test.php
Php70Test.php
Php71Test.php
ProjectCheckerTest.php Support project analysis with file diffing in tests 2023-06-24 14:29:28 +02:00
PropertiesOfTest.php
PropertyTypeInvarianceTest.php readonly does not have write access, therefore is safe as long as the type is contained in the parent type 2023-06-09 12:37:41 +02:00
PropertyTypeTest.php Fix #9997 2023-08-05 17:07:08 +02:00
PsalmPluginTest.php
PureAnnotationTest.php DateTimeZone::getName() always returns non-empty-string and cannot be constructed with an empty string 2023-09-09 23:48:49 +01:00
PureCallableTest.php
ReadonlyPropertyTest.php
ReferenceConstraintTest.php fix @param-out with named arguments 2023-10-23 10:39:09 +03:00
ReferenceTest.php UnsupportedPropertyReferenceUsage 2023-05-12 14:12:12 -05:00
ReflectionTest.php
ReportOutputTest.php Introduce and use IssueData constants for severity 2023-05-31 12:38:15 +02:00
ReturnTypeTest.php Add tests for never return type 2023-10-04 21:18:59 +02:00
somefile.php
StubTest.php make stubbed constant types configurable with comment 2023-07-03 22:28:25 +02:00
SuperGlobalsTest.php
SwitchTypeTest.php
TaintTest.php More rector fixes 2023-10-21 20:45:09 +02:00
TestCase.php More rector fixes 2023-10-21 20:45:09 +02:00
TestConfig.php
TestEnvironmentTest.php
ThisOutTest.php
ThrowsAnnotationTest.php
ThrowsInGlobalScopeTest.php
ToStringTest.php Delete an invalid test 2023-09-29 11:27:36 +02:00
TraceTest.php
TraitTest.php
TryCatchTest.php
TypeAnnotationTest.php Fix test case for named variadic callable docblock 2023-10-07 16:59:43 +01:00
TypeCombinationTest.php Fix combination of non-falsy-string and falsy literal 2023-07-24 09:07:46 +02:00
TypeComparatorTest.php More rector fixes 2023-10-21 20:45:09 +02:00
TypeParseTest.php Rewrite 2023-04-21 15:49:37 +02:00
UnresolvableIncludeTest.php
UnsupportedPropertyReferenceUsage.php GH-9825 2023-05-26 18:03:05 -04:00
UnusedCodeTest.php fix test 2023-11-13 20:37:48 +01:00
UnusedVariableTest.php Fix docblock mixed escape hatch 2023-11-21 13:01:55 +01:00
ValueOfTest.php
VariadicTest.php