From d4eb8d58e51897affa065117683697fdde420670 Mon Sep 17 00:00:00 2001 From: Feek Date: Sun, 7 Jun 2020 00:23:54 -0700 Subject: [PATCH] fix: provide mixed for lower laravel versions --- src/Stubs/InteractsWithInput.stubphp | 21 ++++++++++++++++ tests/acceptance/RequestTypes.feature | 36 +++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 src/Stubs/InteractsWithInput.stubphp create mode 100644 tests/acceptance/RequestTypes.feature diff --git a/src/Stubs/InteractsWithInput.stubphp b/src/Stubs/InteractsWithInput.stubphp new file mode 100644 index 0000000..441069d --- /dev/null +++ b/src/Stubs/InteractsWithInput.stubphp @@ -0,0 +1,21 @@ + + + + + + + + + + + """ + And I have the following code preamble + """ + input('foo', false); + } + """ + When I run psalm + Then I see no errors