mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-30 04:39:01 +01:00
Reword acceptance tests
This commit is contained in:
parent
7f15023e45
commit
714db50e4f
@ -1,5 +1,5 @@
|
||||
Feature: abort_if
|
||||
abort_if asserts not null
|
||||
Feature: abort_if()
|
||||
The global abort_if helper is supported
|
||||
|
||||
Background:
|
||||
Given I have the following config
|
||||
|
@ -1,4 +1,4 @@
|
||||
Feature: collection types
|
||||
Feature: Collection types
|
||||
Illuminate\Support\Collection has type support
|
||||
|
||||
Background:
|
||||
|
@ -1,5 +1,5 @@
|
||||
Feature: Container
|
||||
The laravel container can be resolved, and it has types
|
||||
The Laravel container can be resolved, and it has types
|
||||
|
||||
Background:
|
||||
Given I have the following config
|
||||
|
@ -1,5 +1,5 @@
|
||||
Feature: DB facade alias
|
||||
Want to check that the alias of the DB facade works properly
|
||||
The DB facade is supported
|
||||
|
||||
Background:
|
||||
Given I have the following config
|
||||
|
@ -1,4 +1,4 @@
|
||||
Feature: Database Builder Types
|
||||
Feature: Database Builder types
|
||||
Illuminate\Database\Builder has type support
|
||||
|
||||
Background:
|
||||
|
@ -1,4 +1,4 @@
|
||||
Feature: Eloquent Builder Types
|
||||
Feature: Eloquent Builder types
|
||||
Illuminate\Database\Eloquent\Builder has type support
|
||||
|
||||
Background:
|
||||
|
@ -1,4 +1,4 @@
|
||||
Feature: Eloquent Collection Types
|
||||
Feature: Eloquent Collection types
|
||||
Illuminate\Database\Eloquent\Collection has type support
|
||||
|
||||
Background:
|
||||
|
@ -1,5 +1,5 @@
|
||||
Feature: Eloquent Relation Types
|
||||
Illuminate\Database\Eloquent\Relations have type support
|
||||
Feature: Eloquent Model types
|
||||
Illuminate\Database\Eloquent\Model has type support
|
||||
|
||||
Background:
|
||||
Given I have the following config
|
||||
|
@ -1,4 +1,4 @@
|
||||
Feature: Eloquent Relation Types
|
||||
Feature: Eloquent Relation types
|
||||
Illuminate\Database\Eloquent\Relations have type support
|
||||
|
||||
Background:
|
||||
|
@ -1,5 +1,5 @@
|
||||
Feature: Factory Types
|
||||
Model factories have type support
|
||||
Feature: factory()
|
||||
The global factory function has type support
|
||||
|
||||
Background:
|
||||
Given I have the following config
|
||||
|
@ -1,4 +1,4 @@
|
||||
Feature: Http Resource Types
|
||||
Feature: Http Resource types
|
||||
Illuminate\Http\Resources have type support
|
||||
|
||||
Background:
|
||||
|
@ -1,4 +1,4 @@
|
||||
Feature: path helpers
|
||||
Feature: Path helpers
|
||||
The global path helpers will return the correct path
|
||||
|
||||
Background:
|
||||
|
@ -1,4 +1,4 @@
|
||||
Feature: redirect
|
||||
Feature: redirect()
|
||||
The global redirect helper will return the correct type depending on args
|
||||
|
||||
Background:
|
||||
|
@ -1,5 +1,5 @@
|
||||
Feature: redirect
|
||||
The global redirect helper will return the correct type depending on args
|
||||
Feature: Request types
|
||||
\Illuminate\Http\Request has type support
|
||||
|
||||
Background:
|
||||
Given I have the following config
|
||||
|
@ -1,5 +1,5 @@
|
||||
Feature: redirect
|
||||
The global redirect helper will return the correct type depending on args
|
||||
Feature: response()
|
||||
The global response helper will return the correct type depending on args
|
||||
|
||||
Background:
|
||||
Given I have the following config
|
||||
@ -40,4 +40,4 @@ Feature: redirect
|
||||
}
|
||||
"""
|
||||
When I run Psalm
|
||||
Then I see no errors
|
||||
Then I see no errors
|
||||
|
@ -1,4 +1,4 @@
|
||||
Feature: taint
|
||||
Feature: Taint Analysis
|
||||
Want to check that taint analysis works properly
|
||||
|
||||
Background:
|
||||
|
@ -1,4 +1,4 @@
|
||||
Feature: url
|
||||
Feature: url()
|
||||
The global url helper will return the correct type depending on args
|
||||
|
||||
Background:
|
||||
|
Loading…
Reference in New Issue
Block a user