1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
psalm/tests
Hugo Alliaume 37d719ed67 Fix readability for object-like types when running psalter (#1708)
* chore: update tests

* fix: better readability for object-like types

* test: add tests for nested array return type

* Improve spacing
2019-06-16 09:20:49 -04:00
..
Config Fix #1617 - add option to only show errors in reports 2019-06-09 12:37:28 -04:00
FileManipulation Fix readability for object-like types when running psalter (#1708) 2019-06-16 09:20:49 -04:00
FileUpdates Fix #1780 - set open file contents on save 2019-06-13 15:25:55 -04:00
fixtures Fix #1752 - don’t enter if/else when class/interfaces/functions don’t exist 2019-06-09 23:50:28 -04:00
Internal/Provider Track method param uses between diff runs 2019-04-29 17:29:38 -04:00
LanguageServer Fix problem locating end of completion area 2019-06-12 13:43:35 -04:00
Loop Fix #1704 - improve type coercion complaints 2019-05-29 14:22:15 -04:00
Progress Progress bar (#1709) 2019-05-30 10:30:41 -04:00
Template Fix #1775 - allow true|false to be accepted as bool 2019-06-13 08:55:36 -04:00
Traits Fix #1531 - improve hrtime return type 2019-04-03 17:08:37 -04:00
AnnotationTest.php Fix #1730 - parse @param * $foo properly 2019-06-03 15:46:25 -04:00
ArgTest.php Add some formatting 2019-03-23 14:27:54 -04:00
ArrayAccessTest.php Fix #1770 - fix notice that should not be 2019-06-12 09:13:59 -04:00
ArrayAssignmentTest.php Allow array access on @template T as array 2019-05-23 18:06:22 -04:00
AssertTest.php Fix #1736 - forbid | in @psalm-assert 2019-06-05 00:46:55 -04:00
AssignmentTest.php Improve type coverage in both good and bad ways 2019-03-25 22:30:40 -04:00
BadFormatTest.php Fix #1666 - complain about properties in interfaces 2019-05-23 10:21:56 -04:00
BinaryOperationTest.php Support for bitwise not 2019-04-14 10:16:38 -04:00
CallableTest.php Allow mixed callable params to be valid 2019-04-24 12:54:35 -04:00
ClassLoadOrderTest.php Fix bad signature in ClassLoadOrderTest 2019-05-23 12:54:23 -04:00
ClassScopeTest.php More provider typing 2019-03-02 08:43:19 -05:00
ClassStringTest.php Bump to PHP 7.1 2019-05-16 18:36:36 -04:00
ClassTest.php Allow class_exists(..., false) to inform class-string type 2019-05-28 13:16:09 -04:00
CodebaseTest.php Fix #1784 - detect missing end brackets 2019-06-15 17:57:40 -04:00
ComposerLockTest.php Implemented multiple composer roots for plugins (#1723) 2019-06-02 11:23:56 -04:00
ConstantTest.php Fix #1791 - complain about missing class constants 2019-06-15 12:19:26 -04:00
DeprecatedAnnotationTest.php More provider typing 2019-03-02 08:43:19 -05:00
DocumentationTest.php Move docs into subfolders 2019-06-09 00:54:13 -04:00
EmptyTest.php Allow array access on @template T as array 2019-05-23 18:06:22 -04:00
EnumTest.php Add separate issue for undefined classes in docblocks 2019-05-15 18:41:26 -04:00
ErrorBaselineTest.php Fix #1747 - be tolerant of slash differences in baseline 2019-06-09 10:30:14 -04:00
FileDiffTest.php Fix #1574 - detect docblock additions to the first statement of a method when diffing 2019-04-22 21:50:58 -04:00
FileReferenceTest.php Fix duplicate test 2019-05-23 13:10:23 -04:00
ForbiddenCodeTest.php Case-insensitive checks for var_dump and shell_exec 2019-04-13 12:35:49 -04:00
FunctionCallTest.php Fix #1781 by improving handling of callmap options 2019-06-15 16:10:48 -04:00
IncludeTest.php Move test fixtures to a single directory 2019-05-09 18:23:14 -04:00
InterfaceTest.php Fix #710 - treat keyed intersections of iterators properly 2019-05-29 19:58:54 -04:00
InternalAnnotationTest.php Fix typos 2019-05-30 08:53:20 -04:00
IsAbsolutePathTest.php Namespace autoloaded functions (#1724) 2019-06-02 11:23:25 -04:00
IssetTest.php Fix #1737 properly 2019-06-04 14:08:49 -04:00
IssueSuppressionTest.php Keep going even when function doesn’t exist 2019-06-15 16:14:36 -04:00
JsonOutputTest.php Fix #1617 - add option to only show errors in reports 2019-06-09 12:37:28 -04:00
ListTest.php More provider typing 2019-03-02 08:43:19 -05:00
MagicMethodAnnotationTest.php Fix #1692 - allow magic annotations on all interfaces without config flag 2019-05-26 23:35:03 -04:00
MagicPropertyTest.php Don’t remove null after magic property fetch 2019-05-27 09:18:34 -04:00
MethodCallTest.php Always evaluate static calls when method call cannot 2019-04-18 13:51:34 -04:00
MethodMutationTest.php Add some formatting 2019-03-23 14:27:54 -04:00
MethodSignatureTest.php Allow misplaced required params so Psalm still inspects the code 2019-06-07 09:25:12 -04:00
NamespaceTest.php More provider typing 2019-03-02 08:43:19 -05:00
Php40Test.php More provider typing 2019-03-02 08:43:19 -05:00
Php55Test.php More provider typing 2019-03-02 08:43:19 -05:00
Php56Test.php Improve handling of variadic parameters 2019-04-09 13:58:49 -04:00
Php70Test.php Add some formatting 2019-03-23 14:27:54 -04:00
Php71Test.php Add some formatting 2019-03-23 14:27:54 -04:00
ProjectCheckerTest.php Fix #1617 - add option to only show errors in reports 2019-06-09 12:37:28 -04:00
PropertyTypeTest.php Fix #1787 - prevent initialisation when nullable isn’t set 2019-06-14 16:53:40 -04:00
PsalmInternalAnnotationTest.php psalm-internal: Prevent use of @psalm-internal without @internal 2019-05-14 18:54:16 -04:00
PsalmPluginTest.php Bump to PHP 7.1 2019-05-16 18:36:36 -04:00
RedundantConditionTest.php Fix erroneous update of existing variables 2019-05-23 18:04:12 -04:00
ReferenceConstraintTest.php Don’t change value of $this by reference 2019-03-03 20:16:11 -05:00
ReportOutputTest.php Fix #1617 and fix #1773 - properly filter out info in reports 2019-06-13 11:06:01 -04:00
ReturnTypeTest.php Fix #1580 - look for no-returns in try/catch statements 2019-05-14 21:22:29 -04:00
ScopeTest.php Fix #678 - allow docblock to override mixed assignment of static vars 2019-03-28 00:10:08 -04:00
StubTest.php Fix #1752 - don’t enter if/else when class/interfaces/functions don’t exist 2019-06-09 23:50:28 -04:00
SwitchTypeTest.php Add some formatting 2019-03-23 14:27:54 -04:00
TestCase.php Fix #1617 - add option to only show errors in reports 2019-06-09 12:37:28 -04:00
TestConfig.php Make tests much faster 2019-05-17 11:22:34 -04:00
ThrowsAnnotationTest.php Bump to PHP 7.1 2019-05-16 18:36:36 -04:00
ThrowsInGlobalScopeTest.php Bump to PHP 7.1 2019-05-16 18:36:36 -04:00
ToStringTest.php Fix #1704 - improve type coercion complaints 2019-05-29 14:22:15 -04:00
TraitTest.php Add separate issue for undefined classes in docblocks 2019-05-15 18:41:26 -04:00
TryCatchTest.php Fix #1580 - look for no-returns in try/catch statements 2019-05-14 21:22:29 -04:00
TypeAlgebraTest.php Improve handling of negated boolean operations 2019-04-12 11:26:33 -04:00
TypeAnnotationTest.php Add some formatting 2019-03-23 14:27:54 -04:00
TypeCombinationTest.php Fix #1628 - improve behaviour of unset in loops 2019-05-13 11:00:17 -04:00
TypeParseTest.php Fix #1784 - detect missing end brackets 2019-06-15 17:57:40 -04:00
TypeReconciliationTest.php Fix #1700 - interpret false===($a || $b) correctly 2019-05-29 07:47:31 -04:00
TypeTest.php Split apart TypeCoercion issues, allowing more granular issue filtering 2019-04-25 18:02:19 -04:00
UnusedCodeTest.php Fix issue where extension_loaded stopped constructor being recognised 2019-06-15 18:49:58 -04:00
UnusedVariableTest.php Fix #1784 - detect missing end brackets 2019-06-15 17:57:40 -04:00
ValueTest.php Allow property default to include value-of option 2019-06-09 12:47:27 -04:00
VariadicTest.php Bump to PHP 7.1 2019-05-16 18:36:36 -04:00