1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
psalm/tests
Bruce Weirdan c50a17d415 Scan shape properties (#2359)
This prevents crashes when built-in classes are referenced by shape
properties.

Fixes vimeo/psalm#2331
2019-11-18 19:01:12 -05:00
..
Config Implement type-checking and forbidding for print (#2314) 2019-11-08 07:01:34 -05:00
EndToEnd Disable composer plugins for end-to-end tests (#2194) 2019-10-01 20:26:55 -04:00
FileManipulation Preserve self refs where possible 2019-11-16 19:59:08 -05:00
FileUpdates Fix #1973 - bust method mutation cache when reloading language server 2019-07-28 10:05:51 -04:00
fixtures Fix #2228 - load functions defined on traits included in a class 2019-10-15 12:09:08 -04:00
Internal/Provider Add a few more list types 2019-10-08 19:06:16 -04:00
LanguageServer Fix #2157 - don’t merge closures and callable params 2019-09-22 00:58:30 -04:00
Loop Add support for Iterator<X> type (#2285) 2019-10-30 18:00:27 +00:00
Progress Add framework for taint analysis to Psalm 2019-08-04 10:37:36 -04:00
Template Improve handling of default extended params 2019-11-14 12:12:09 -05:00
Traits Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
AlgebraTest.php Break out tests for algebra 2019-07-15 16:08:38 -04:00
AnnotationTest.php Scan shape properties (#2359) 2019-11-18 19:01:12 -05:00
ArgTest.php Normalize stringified type names (#2239) 2019-10-17 01:14:33 -04:00
ArrayAccessTest.php Fix ArrayAccess test 2019-11-11 10:48:14 -05:00
ArrayAssignmentTest.php Fix #2312, improve understanding of template replacement 2019-11-08 11:56:41 -05:00
AssertAnnotationTest.php Fix #2277 - scan psalm-assert types always 2019-10-25 23:39:33 +02:00
AssertTest.php Improve assertion calculation on mixed vars 2019-11-12 10:12:07 -05:00
AssignmentTest.php Use the correct types for AssignmentRef (#2078) 2019-08-27 23:19:09 -04:00
BadFormatTest.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
BinaryOperationTest.php Fix #2061 - add config to allow suppression of string increment issues 2019-09-01 17:49:37 -04:00
CallableTest.php Fix #2324 - avoid fatal error on self string in callable 2019-11-11 14:59:05 -05:00
ClassLoadOrderTest.php
ClassScopeTest.php
ClassStringTest.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
ClassTest.php Normalize stringified type names (#2239) 2019-10-17 01:14:33 -04:00
CodebaseTest.php Fix #2150 - add detection for unnecessary @var annotations 2019-09-19 11:59:43 -04:00
ComposerLockTest.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
ConstantTest.php Fix #2139 - allow comprehension of constant ternaries 2019-09-17 11:29:41 -04:00
DeprecatedAnnotationTest.php Fix #2028 - warn when using deprecated class in function signature 2019-08-22 11:25:13 -04:00
DocblockInheritanceTest.php Fix #2166 - inherit twice from docblocks 2019-09-25 12:02:59 -04:00
DocumentationTest.php Fix phpcs issues 2019-11-11 10:11:42 -05:00
EmptyTest.php Fix #2333 - don’t create array after empty check 2019-11-14 14:23:33 -05:00
EnumTest.php
ErrorBaselineTest.php Support comments in ErrorBaseline (#2311) 2019-11-07 13:03:18 -05:00
FileDiffTest.php Add a few more list types 2019-10-08 19:06:16 -04:00
FileReferenceTest.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
ForbiddenCodeTest.php
FunctionCallTest.php Fix #2348 - ensure all functions and methods return some type 2019-11-14 14:44:29 -05:00
ImmutableAnnotationTest.php Fix #2182 - allow modification to cloned objects inside 2019-09-30 22:07:20 -04:00
IncludeTest.php Fix #1940 - allow proper evaluation of /a/b/../../ 2019-07-12 14:28:21 -04:00
InterfaceTest.php Fix #1846 - warn about missing interface return types 2019-07-28 19:03:12 -04:00
InternalAnnotationTest.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
IssetTest.php Fix #2259 - if error suppression is use, list destructuring values will be nullable 2019-10-22 10:40:37 -04:00
IssueSuppressionTest.php Track exception suppressions (#2211) 2019-10-04 14:01:58 -04:00
JsonOutputTest.php Normalize stringified type names (#2239) 2019-10-17 01:14:33 -04:00
ListTest.php Fully qualify constants and function calls (#1849) 2019-06-26 16:52:29 -04:00
MagicMethodAnnotationTest.php Normalize stringified type names (#2239) 2019-10-17 01:14:33 -04:00
MagicPropertyTest.php Fix #1869 - don’t memoize magic properties after set 2019-07-06 00:00:17 -04:00
MethodCallTest.php Fix #2290 - detect call on void type 2019-11-01 13:05:28 +00:00
MethodMutationTest.php Normalize stringified type names (#2239) 2019-10-17 01:14:33 -04:00
MethodSignatureTest.php Added InvalidParent issue (#2320) 2019-11-11 00:21:43 -05:00
NamespaceTest.php
Php40Test.php
Php55Test.php Normalize stringified type names (#2239) 2019-10-17 01:14:33 -04:00
Php56Test.php Add support for list type 2019-10-08 18:44:46 -04:00
Php70Test.php Normalize stringified type names (#2239) 2019-10-17 01:14:33 -04:00
Php71Test.php Fix #2252 - allow destructuring of ArrayAccess objects 2019-10-22 11:17:42 -04:00
ProjectCheckerTest.php Fix #2228 - load functions defined on traits included in a class 2019-10-15 12:09:08 -04:00
PropertyTypeTest.php Fix test 2019-10-29 19:46:36 +00:00
PsalmInternalAnnotationTest.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
PsalmPluginTest.php Clean up more unused @psalm-suppress annotations 2019-08-18 16:59:56 -04:00
PureAnnotationTest.php Fix #2114 - make builtin constructors mutation free 2019-09-21 21:07:27 -04:00
RedundantConditionTest.php Add skipped test to sure some stuff that should break 2019-10-18 15:27:48 -04:00
ReferenceConstraintTest.php
ReportOutputTest.php Normalize stringified type names (#2239) 2019-10-17 01:14:33 -04:00
ReturnTypeTest.php Normalize stringified type names (#2239) 2019-10-17 01:14:33 -04:00
ScopeTest.php Normalize stringified type names (#2239) 2019-10-17 01:14:33 -04:00
StubTest.php Remove stray comma 2019-09-01 16:55:03 -04:00
SwitchTypeTest.php Fully qualify constants and function calls (#1849) 2019-06-26 16:52:29 -04:00
TaintTest.php Improve report output of taint analysis 2019-10-19 17:59:10 -04:00
TestCase.php Clean up more unused @psalm-suppress annotations 2019-08-18 16:59:56 -04:00
TestConfig.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
ThrowsAnnotationTest.php Fix #2222 - check for @throws docblock inheritance 2019-10-10 22:44:21 -04:00
ThrowsInGlobalScopeTest.php Remove unused suppressions in tests 2019-08-18 15:34:32 -04:00
ToStringTest.php Fix #2026 - add support for calling __toString implicitly after method_exists 2019-08-16 11:33:58 -04:00
TraitTest.php Fix #2091 - $this properties should be replaced in trait types 2019-09-01 15:45:28 -04:00
TryCatchTest.php Fix handling of do... while vars defined in try 2019-11-11 18:24:43 -05:00
TypeAlgebraTest.php Fix #2159 - only apply elseif conditions to vars that exist in main context 2019-09-21 16:58:31 -04:00
TypeAnnotationTest.php
TypeCombinationTest.php Normalize stringified type names (#2239) 2019-10-17 01:14:33 -04:00
TypeParseTest.php Add support for Iterator<X> type (#2285) 2019-10-30 18:00:27 +00:00
TypeReconciliationTest.php Fix #2328 - don’t crash on unexpected divider 2019-11-13 01:13:29 -05:00
TypeTest.php Normalize stringified type names (#2239) 2019-10-17 01:14:33 -04:00
UnusedCodeTest.php Allow array_map alone when it uses a closure 2019-09-09 21:28:56 -04:00
UnusedVariableTest.php Fix #2358 - always analyse new XXX(...) in unknown method calls 2019-11-18 16:14:21 -05:00
ValueTest.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
VariadicTest.php