1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
psalm/tests
2023-12-03 15:28:51 +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 additional fixes 2022-12-20 21:16:29 +00:00
fixtures More rector fixes 2023-10-21 20:45:09 +02:00
Internal Fix potential cache race conditions/cache not deleted with non-lowercase file paths and add missing docs 2023-11-18 08:55:20 +01:00
LanguageServer Fix auto-completion with declared static method by DocBlock 2023-10-27 09:35:30 +00: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 code style + update tests 2023-08-04 23:56:47 +02:00
Template Fix optional args not enforced in callable (fix for non-closure/arrow functions of https://github.com/vimeo/psalm/issues/8438) Fix array callables not treated as callable https://psalm.dev/r/23f3787207 (this is needed to fix the optional args enforcement for array callables too) 2023-11-18 08:55:20 +01:00
Traits revert 804087b of https://github.com/vimeo/psalm/issues/10026 2023-11-18 08:55:20 +01:00
Type Format declare(strict_types=1) 2021-12-15 04:42:37 +01:00
TypeReconciliation Fix docblock mixed escape hatch 2023-11-21 13:01:55 +01:00
AlgebraTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
AnnotationTest.php #10026 fixed AnnotationTest 2023-07-19 22:52:15 +02:00
ArgTest.php Fix optional args not enforced in callable (fix for non-closure/arrow functions of https://github.com/vimeo/psalm/issues/8438) Fix array callables not treated as callable https://psalm.dev/r/23f3787207 (this is needed to fix the optional args enforcement for array callables too) 2023-11-18 08:55:20 +01:00
ArrayAccessTest.php Fixed https://psalm.dev/r/7f112fd745 - MethodComparator only reported an error for this if the parent class was user defined (= not in stubs), which is wrong, since this will cause a fatal error when running the code 2023-11-18 08:55:20 +01:00
ArrayAssignmentTest.php Fixed https://psalm.dev/r/7f112fd745 - MethodComparator only reported an error for this if the parent class was user defined (= not in stubs), which is wrong, since this will cause a fatal error when running the code 2023-11-18 08:55:20 +01:00
ArrayFunctionCallTest.php Fix param providers for native methods not working Fix array_filter params callable incorrect required params depending on the 3rd argument value (at this commit psalm doesn't report an error, due to https://github.com/vimeo/psalm/issues/8438, which gets fixed by this PR later on though) Fix https://github.com/vimeo/psalm/issues/3047 and further improve types for array_multisort and add errors for invalid params Fix SimpleTypeInferer failing on bitwise operations with constants 2023-11-18 08:55:20 +01:00
ArrayKeysTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
AssertAnnotationTest.php Merge pull request #10189 from boesing/feature/inherited-assertions-v2 2023-09-28 23:07:15 +02:00
AssignmentTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
AsyncTestCase.php More rector fixes 2023-10-21 20:45:09 +02:00
AttributeTest.php Fixed ReturnTypeWillChange false positive https://psalm.dev/r/91c6992bf1 with missing return type signature 2023-11-18 08:55:20 +01:00
BadFormatTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
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 Implement by-ref closure use analysis 2023-12-03 15:28:51 +01:00
CastTest.php Recognize casts from object-with-properties to array 2022-12-16 20:12:02 -04:00
CheckTypeTest.php Add alias support to psalm-check-type 2023-10-08 17:46:59 +01:00
ClassLikeDocblockParserTest.php remove unused imports 2022-01-21 00:17:06 +01:00
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 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 qa: modify tests since array keys are not mixed for ArrayObject 2023-09-10 16:06:56 +02: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 Implement by-ref closure use analysis 2023-12-03 15:28:51 +01:00
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 Require trailing commas 2022-12-18 13:20:31 -06:00
ConstantTest.php Change __LINE__ to a positive-int 2023-06-17 12:24:09 +01: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 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 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 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 Fix backtick analysis 2023-11-26 13:12:11 +01: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 More rector fixes 2023-10-21 20:45:09 +02: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 Disallow never type for parameters 2023-10-08 20:47:37 +02: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 Handle included directory paths without crashing 2023-04-24 11:09:48 +12: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
IntersectionTypeTest.php qa: introduce failing test for type-aliased intersection string 2023-04-11 20:29:08 +02:00
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 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 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 Restore support for null coalesce on match expressions 2023-11-29 02:08:23 +01:00
MethodCallTest.php Fix memory explosion with calls to method_exists 2023-10-17 19:15:23 +01:00
MethodMutationTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
MethodSignatureTest.php Fixed https://psalm.dev/r/7f112fd745 - MethodComparator only reported an error for this if the parent class was user defined (= not in stubs), which is wrong, since this will cause a fatal error when running the code 2023-11-18 08:55:20 +01: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 Support project analysis with file diffing in tests 2023-06-24 14:29:28 +02:00
PropertiesOfTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
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 Require trailing commas 2022-12-18 13:20:31 -06:00
PureAnnotationTest.php Fix static magic method pureness not being inherited from traits 2023-11-29 23:22:14 +01: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 Implement by-ref closure use analysis 2023-12-03 15:28:51 +01:00
ReferenceTest.php UnsupportedPropertyReferenceUsage 2023-05-12 14:12:12 -05:00
ReflectionTest.php Reflection class stub updates 2022-12-18 14:35:41 -06:00
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 Remove tests for partially stubbed classes introduced in https://github.com/vimeo/psalm/issues/849, as this didn't work correctly and lead to errors not being reported at all in many cases (since the error was reported for the stubs file and therefore suppressed) 2023-11-18 08:55:20 +01: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 Cleanup 2023-11-26 19:46:45 +01:00
TestCase.php Fixed https://psalm.dev/r/7f112fd745 - MethodComparator only reported an error for this if the parent class was user defined (= not in stubs), which is wrong, since this will cause a fatal error when running the code 2023-11-18 08:55:20 +01: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 Fix MissingThrowsDocblock when documented interface is extended by thrown exception interface 2023-03-16 12:01:16 +01:00
ThrowsInGlobalScopeTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ToStringTest.php Delete an invalid test 2023-09-29 11:27:36 +02: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 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 Require trailing commas 2022-12-18 13:20:31 -06:00
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 Implement by-ref closure use analysis 2023-12-03 15:28:51 +01:00
ValueOfTest.php feature: provide support for templated value-of enum values 2023-04-15 00:38:12 +02:00
VariadicTest.php Require trailing commas 2022-12-18 13:20:31 -06:00