1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/tests
Bruce Weirdan 6ecea35837 array_column return type inference (#787)
* Exception message typo fixed

* array_column return type inference

It takes a safe approach and only tries to be smart when array row type
is definite single shape

* cs fix
2018-05-31 21:14:06 -04:00
..
Provider Add all Possibly* issues to more lenient config 2018-01-10 10:56:43 -05:00
stubs Fix #699 - prevent stubs from overriding known functions 2018-04-27 15:00:22 -04:00
Traits Only run test in PHP 7.1 2018-05-20 13:20:15 -04:00
AnnotationTest.php Fix #779 - allow docblock to take on nullablility of typehint 2018-05-29 09:44:38 -04:00
ArgTest.php If there’s any overlap in types use PossiblyInvalidArgument 2018-05-01 14:27:05 -04:00
ArrayAccessTest.php Fix #733 - DomNodeList implements ArrayAccess 2018-05-11 23:21:53 -04:00
ArrayAssignmentTest.php Allow constants in array offsets to be reasoned about 2018-05-31 16:49:01 -04:00
AssertTest.php Fix #769 - add @psalm-assert and @psalm-assert-if-true annotation support 2018-05-28 20:07:42 +01:00
AssignmentTest.php Change test assertion keying 2017-06-29 10:22:49 -04:00
BadFormatTest.php Create Config before ProjectChecker, and remove test-specific code from FileChecker 2018-01-21 10:22:04 -05:00
BinaryOperationTest.php Fix #766 and fix #765 - improve handling of ^ and xor 2018-05-28 20:31:20 +01:00
bootstrap.php Add new issues for missing required files 2017-10-29 14:39:23 -04:00
CallableTest.php Fix #772 - allow closures to be defined on a single line 2018-05-25 18:42:39 +01:00
ClassLoadOrderTest.php Fix formatting of return type adder 2018-01-11 15:50:58 -05:00
ClassScopeTest.php Make Psalm compatible with PHP Parser 4 2018-04-17 13:06:02 -04:00
ClassTest.php Fix #669 - improve signatures of mysql 2018-04-13 10:51:18 -04:00
ConfigTest.php Add support for referencedProperty error restrictions 2018-05-11 00:07:41 -04:00
ConstantTest.php Allow resolution of class constants in const arrays 2018-05-14 17:39:08 -04:00
DocumentationTest.php Fix mixed empty checks 2018-05-08 16:34:08 -04:00
EmptyTest.php Fix #786 - improve treatment of array isset checks 2018-05-31 15:07:03 -04:00
EnumTest.php Fix #761 - add support for class constants in enums 2018-05-21 00:46:56 -04:00
FileManipulationTest.php Improve checks to prevent breaking existing typehints when running psalter 2018-03-23 16:34:45 -04:00
FileReferenceTest.php Fix #193 - allow caching of storages 2018-02-19 00:27:39 -05:00
ForbiddenCodeTest.php Don’t ignore @function calls 2018-03-12 23:48:10 -04:00
ForeachTest.php Fix #684 - use getIterator return type for IteratorAggregate functions 2018-04-18 23:47:21 -04:00
ForTest.php Add additional formatting changes 2017-05-26 20:05:57 -04:00
FunctionCallTest.php array_column return type inference (#787) 2018-05-31 21:14:06 -04:00
IncludeTest.php Fix global tests 2018-05-30 22:56:46 -04:00
InterfaceTest.php Make Throwable tests PHP7-only 2018-04-18 11:47:25 -04:00
IssetTest.php Fix #786 - improve treatment of array isset checks 2018-05-31 15:07:03 -04:00
IssueSuppressionTest.php Few fixes to make tests pass on windows 2018-04-12 22:41:13 -04:00
JsonOutputTest.php Fix erroneous input/output lines 2018-03-29 10:26:26 -04:00
ListTest.php Few fixes to make tests pass on windows 2018-04-12 22:41:13 -04:00
LoopScopeTest.php Improve reliability of elseif resolution 2018-05-30 18:56:44 -04:00
MagicPropertyTest.php Fix #721 by allowing @property annotations to be inheritable 2018-05-08 22:13:26 -04:00
MethodCallTest.php Fix #734 - allow DOMDocument::appendChild to mirror its first arg 2018-05-12 00:28:21 -04:00
MethodMutationTest.php Create Codebase out from ProjectChecker 2018-01-21 13:45:33 -05:00
MethodSignatureTest.php Remove line 2018-04-21 17:44:23 -04:00
NamespaceTest.php Allow $argv/$argc to be accessed from namespace 2018-03-18 10:38:08 -04:00
Php40Test.php Add additional formatting changes 2017-05-26 20:05:57 -04:00
Php55Test.php Add class-string type for enforcing use of ::class constants 2018-03-05 16:06:06 -05:00
Php56Test.php Fix #687 - interpret unpacked arguments in array_push and array_unshift 2018-04-20 17:14:38 -04:00
Php70Test.php Fix #588 - allow anonymous classes to call $this functions 2018-03-18 01:07:14 -04:00
Php71Test.php Use individual type objects for each string (#757) 2018-05-18 11:02:50 -04:00
PropertyTypeTest.php Fix #731 - report issues in files required by the source 2018-05-30 12:23:53 -04:00
RedundantConditionTest.php Improve reliability of elseif resolution 2018-05-30 18:56:44 -04:00
ReferenceConstraintTest.php Fix #438 - assign both sides of by-ref vars to mixed 2018-02-11 10:39:21 -05:00
ReportOutputTest.php Few fixes to make tests pass on windows 2018-04-12 22:41:13 -04:00
ReturnTypeTest.php Fix #724 - ignore any return types after return/throw/break/continue 2018-05-11 11:26:32 -04:00
ScopeTest.php Use individual type objects for each string (#757) 2018-05-18 11:02:50 -04:00
SwitchTypeTest.php Seal the output of switch statments 2018-05-24 14:26:29 -04:00
TemplateTest.php Fix #747 - allow Generator to replace Traversable in templated params 2018-05-28 22:26:43 +01:00
TestCase.php Improve handling of projects that use include/require heavily 2018-05-22 23:39:01 -04:00
TestConfig.php Fix tests and return types 2018-03-03 15:25:35 -05:00
ToStringTest.php Allow resource to be cast to string 2018-04-30 00:19:35 -04:00
TraitTest.php Fix #731 - report issues in files required by the source 2018-05-30 12:23:53 -04:00
TryCatchTest.php Exit early when there’s an issue in block-level elements 2018-03-03 13:20:41 -05:00
TypeAlgebraTest.php Filter conditions better when encountering parent instanceof 2018-05-16 11:47:39 -04:00
TypeCombinationTest.php Move TypeCombination logic into its own class 2018-05-19 19:44:03 -04:00
TypeParseTest.php Fix issue with slashes after ? in type 2018-05-21 12:55:44 -04:00
TypeReconciliationTest.php Improve reliability of elseif resolution 2018-05-30 18:56:44 -04:00
TypeTest.php Use individual type objects for each string (#757) 2018-05-18 11:02:50 -04:00
UnusedCodeTest.php Also check for non-false returns on LessSpecificReturnType 2018-03-07 11:16:56 -05:00
ValueTest.php Fix issues that cause exceptions 2018-05-21 18:33:39 -04:00
VariadicTest.php Create Config before ProjectChecker, and remove test-specific code from FileChecker 2018-01-21 10:22:04 -05:00