1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/tests
Peter van Dommelen c72edefc9e Do not strip the last ) bracket when parsing phpdoc type aliases.
Fixes https://github.com/vimeo/psalm/issues/6782

Reworked the regex logic to not check each grouping character separately. Removed the `^` character from the character list, which was likely unintended.
2023-03-05 22:28:22 +01:00
..
CommandFunctions Require trailing commas 2022-12-18 13:20:31 -06:00
Config Do not display ext deprecation note when disableExtensions used 2023-02-14 12:34:49 +01:00
EndToEnd Fix coding style issue 2023-01-29 18:52:09 +01:00
FileManipulation Merge param descriptions when adding or updating types 2023-03-03 08:32:24 +11:00
FileUpdates Require trailing commas 2022-12-18 13:20:31 -06:00
fixtures Parse class constant for PhpStorm Meta override 2023-01-24 12:24:52 +02:00
Internal Fix remaining spl and iterator callmaps 2023-02-27 15:23:48 -06:00
LanguageServer Require trailing commas 2022-12-18 13:20:31 -06:00
Loop Refine arrays in foreach loops to non-empty-array 2023-02-22 20:44:50 -04:00
Progress Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ReturnTypeProvider Fix invalid test cases 2023-02-02 12:27:57 -04:00
Template add unit test for #4460 2023-02-28 11:38:44 +01:00
Traits Require <?php tag in tests 2023-03-03 02:50:11 -04:00
Type Format declare(strict_types=1) 2021-12-15 04:42:37 +01:00
TypeReconciliation Correctly process use aliases in @psalm-scope-this 2023-02-24 00:53:36 -04:00
AlgebraTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
AnnotationTest.php Allow @var annotations on global vars 2023-02-15 01:20:03 -04:00
ArgTest.php Fixes 2022-12-19 12:29:27 +01:00
ArrayAccessTest.php Support sizeof alias of count 2023-02-22 23:11:10 +01:00
ArrayAssignmentTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ArrayFunctionCallTest.php Better type inference and type checking for large union types used in array keys/values 2022-12-29 10:05:23 +01:00
ArrayKeysTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
AssertAnnotationTest.php Remove some logic that didn't need to be there (#9209) 2023-02-03 21:08:16 -05:00
AssignmentTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
AttributeTest.php Use 8.2 in tests for 8.2 attributes 2023-03-03 04:39:04 -04:00
BadFormatTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
BinaryOperationTest.php added testcases with undefined constant concatination 2023-02-27 22:00:36 +07:00
ByIssueLevelAndTypeReportTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
CallableTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
CastTest.php Recognize casts from object-with-properties to array 2022-12-16 20:12:02 -04:00
CheckTypeTest.php Fix crashes with invalid @psalm-check-type syntax 2023-02-09 17:49:49 -04:00
ClassLikeDocblockParserTest.php remove unused imports 2022-01-21 00:17:06 +01:00
ClassLikeStringTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ClassLoadOrderTest.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
ClassScopeTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ClassTest.php Support for readonly classes 2023-03-03 04:04:12 -04:00
CloneTest.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
ClosureTest.php Forbid first-class callables in new 2023-02-19 04:18:32 -04:00
CodebaseTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
CommentAnalyzerTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ComposerLockTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ConstantTest.php Add test 2023-02-23 04:01:29 -04:00
ConstValuesTest.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
CoreStubsTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
DateTimeTest.php fix (DateTime|DateTimeImmutable)::modify() return types 2023-02-20 08:47:05 +01:00
DeprecatedAnnotationTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
DocblockInheritanceTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
DocCommentTest.php Indent docblocks in DocComment test 2023-01-20 18:15:07 -04:00
DocumentationTest.php Fix test 2023-02-15 03:02:34 -04:00
EnumTest.php Improce enum case reconciliation 2023-03-05 16:34:51 -04:00
ErrorBaselineTest.php Remove occurrences 2022-12-21 06:45:45 -06:00
ExtendsFinalClassTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ExtensionRequirementTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ExtLibxmlStubTest.php Fix dom_import_simplexml() 2023-01-18 18:31:54 -05:00
FFITest.php FFI Stubs: Define a set of tests. 2023-02-21 23:08:58 +01:00
FileDiffTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
FileReferenceTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ForbiddenCodeTest.php forbidden function bug and better get_defined_functions() signature 2022-12-24 12:34:40 -06:00
FunctionCallTest.php Forbid non-null defaults for callable parameters 2023-02-16 01:36:06 -04:00
FunctionLikeDocblockParserTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
GeneratorTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
IfThisIsTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ImmutableAnnotationTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ImplementationRequirementTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
IncludeTest.php Added SlevomatCodingStandard.TypeHints.ParameterTypeHint sniff and removed php-cs-fixer 2022-12-14 20:26:17 -06:00
InterfaceTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
InternalAnnotationTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
IntRangeTest.php Fix crash when int range boundary is overflown 2023-02-09 22:57:57 -04:00
IssueBufferTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
IssueSuppressionTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
JsonOutputTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
junit.xsd
KeyOfArrayTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ListTest.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
MagicMethodAnnotationTest.php Allow array as magic method name 2023-02-24 02:23:09 -04:00
MagicPropertyTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
MatchTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
MethodCallTest.php fix (DateTime|DateTimeImmutable)::modify() return types 2023-02-20 08:47:05 +01:00
MethodMutationTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
MethodSignatureTest.php Do not require return type on destructors in interfaces 2022-12-26 15:45:44 -04:00
MixinAnnotationTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
NamespaceTest.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
NativeIntersectionsTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
NativeUnionsTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
Php40Test.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
Php55Test.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
Php56Test.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
Php70Test.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
Php71Test.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
ProjectCheckerTest.php Make it more clear what do we test from Psalm output 2023-01-05 18:12:29 +04:00
PropertiesOfTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
PropertyTypeInvarianceTest.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
PropertyTypeTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
PsalmPluginTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
PureAnnotationTest.php Revert "array_pop is impure" 2023-02-28 19:06:07 -04:00
PureCallableTest.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
ReadonlyPropertyTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ReferenceConstraintTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ReferenceTest.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
ReflectionTest.php Reflection class stub updates 2022-12-18 14:35:41 -06:00
ReportOutputTest.php Update expectations formatting 2023-02-14 21:59:01 -04:00
ReturnTypeTest.php Fix 2022-12-19 13:10:17 +01:00
somefile.php create real path for Psalm to stop ignoring suppressions 2021-08-19 19:31:58 +02:00
StubTest.php Allow to scan private constants 2023-01-24 13:31:58 +02:00
SuperGlobalsTest.php Merge pull request #9001 from fluffycondor/http_response_header-non-empty-list 2022-12-28 00:27:30 +01:00
SwitchTypeTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
TaintTest.php Fixed a case where the conditional taint, specialize, & flow features were not playing nicely together 2023-02-01 15:41:52 -06:00
TestCase.php Require trailing commas 2022-12-18 13:20:31 -06:00
TestConfig.php Require trailing commas 2022-12-18 13:20:31 -06:00
TestEnvironmentTest.php Added the test to validate test environment itself 2023-02-19 03:52:12 -04:00
ThisOutTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ThrowsAnnotationTest.php Don't crash on unknown exceptions in @throws docblock 2023-02-09 02:56:01 -04:00
ThrowsInGlobalScopeTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ToStringTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
TraceTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
TraitTest.php PHP 8.2 attributes moved to 8.2 stub 2023-03-03 04:28:37 -04:00
TryCatchTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
TypeAnnotationTest.php Do not strip the last ) bracket when parsing phpdoc type aliases. 2023-03-05 22:28:22 +01:00
TypeCombinationTest.php Fix tests 2022-12-19 19:24:03 +01:00
TypeComparatorTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
TypeParseTest.php Detect duplicate keys in array shapes 2023-01-25 10:42:05 +01:00
UnresolvableIncludeTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
UnusedCodeTest.php Process @psalm-api tags on methods 2023-02-23 03:52:10 -04:00
UnusedVariableTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ValueOfTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
VariadicTest.php Require trailing commas 2022-12-18 13:20:31 -06:00