-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy path.stubs.php
More file actions
190 lines (146 loc) · 8.3 KB
/
.stubs.php
File metadata and controls
190 lines (146 loc) · 8.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<?php
namespace Livewire\Features\SupportTesting {
use Closure;
class Testable {
public function fillForm(array | Closure $state = [], ?string $form = null): static {}
/**
* @deprecated Use `assertSchemaStateSet()` instead.
*/
public function assertFormSet(array | Closure $state, string $form = 'form'): static {}
public function assertHasFormErrors(array $keys = [], ?string $form = null): static {}
public function assertHasNoFormErrors(array $keys = [], ?string $form = null): static {}
public function assertFormFieldExists(string $key, string | Closure | null $form = null, ?Closure $checkFieldUsing = null): static {}
public function assertFormFieldDoesNotExist(string $key, ?string $form = null): static {}
public function assertFormFieldDisabled(string $key, ?string $form = null): static {}
public function assertFormFieldEnabled(string $key, ?string $form = null): static {}
public function assertFormFieldReadOnly(string $key, ?string $form = null): static {}
/**
* @deprecated Use `assertSchemaExists()` instead.
*/
public function assertFormExists(string $name = 'form'): static {}
/**
* @deprecated Use `assertSchemaComponentHidden()` instead.
*/
public function assertFormFieldHidden(string $key, string $form = 'form'): static {}
/**
* @deprecated Use `assertSchemaComponentVisible()` instead.
*/
public function assertFormFieldVisible(string $key, string $form = 'form'): static {}
/**
* @deprecated Use `assertSchemaComponentExists()` instead.
*/
public function assertFormComponentExists(string $componentKey, string | Closure $form = 'form', ?Closure $checkComponentUsing = null): static {}
/**
* @deprecated Use `assertSchemaComponentDoesNotExist()` instead.
*/
public function assertFormComponentDoesNotExist(string $componentKey, string $form = 'form'): static {}
/**
* @deprecated Use `mountAction()` instead.
*/
public function mountFormComponentAction(string | array $component, string | array $name, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `unmountAction()` instead.
*/
public function unmountFormComponentAction(): static {}
/**
* @deprecated Use `fillForm()` instead.
*/
public function setFormComponentActionData(array $data): static {}
/**
* @deprecated Use `assertSchemaStateSet()` instead.
*/
public function assertFormComponentActionDataSet(array $data): static {}
/**
* @deprecated Use `callAction()` instead.
*/
public function callFormComponentAction(string | array $component, string | array $name, array $data = [], array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `callMountedAction()` instead.
*/
public function callMountedFormComponentAction(array $arguments = []): static {}
/**
* @deprecated Use `assertActionExists()` instead.
*/
public function assertFormComponentActionExists(string | array $component, string | array $name, string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionDoesNotExist()` instead.
*/
public function assertFormComponentActionDoesNotExist(string | array $component, string | array $name, string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionVisible()` instead.
*/
public function assertFormComponentActionVisible(string | array $component, string | array $name, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionHidden()` instead.
*/
public function assertFormComponentActionHidden(string | array $component, string | array $name, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionEnabled()` instead.
*/
public function assertFormComponentActionEnabled(string | array $component, string | array $name, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionDisabled()` instead.
*/
public function assertFormComponentActionDisabled(string | array $component, string | array $name, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionMounted()` instead.
*/
public function assertFormComponentActionMounted(string | array $component, string | array $name, string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionNotMounted()` instead.
*/
public function assertFormComponentActionNotMounted(string | array $component, string | array $name, string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionHalted()` instead.
*/
public function assertFormComponentActionHalted(string | array $component, string | array $name, string $formName = 'form'): static {}
/**
* @deprecated Use `assertHasFormErrors()` instead.
*/
public function assertHasFormComponentActionErrors(array $keys = []): static {}
/**
* @deprecated Use `assertHasNoFormErrors()` instead.
*/
public function assertHasNoFormComponentActionErrors(array $keys = []): static {}
/**
* @deprecated Use `assertActionHasIcon()` instead.
*/
public function assertFormComponentActionHasIcon(string | array $component, string | array $name, string $icon, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionDoesNotHaveIcon()` instead.
*/
public function assertFormComponentActionDoesNotHaveIcon(string | array $component, string | array $name, string $icon, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionHasLabel()` instead.
*/
public function assertFormComponentActionHasLabel(string | array $component, string | array $name, string $label, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionDoesNotHaveLabel()` instead.
*/
public function assertFormComponentActionDoesNotHaveLabel(string | array $component, string | array $name, string $label, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionHasColor()` instead.
*/
public function assertFormComponentActionHasColor(string | array $component, string | array $name, string | array $color, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionDoesNotHaveColor()` instead.
*/
public function assertFormComponentActionDoesNotHaveColor(string | array $component, string | array $name, string | array $color, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionHasUrl()` instead.
*/
public function assertFormComponentActionHasUrl(string | array $component, string | array $name, string $url, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionDoesNotHaveUrl()` instead.
*/
public function assertFormComponentActionDoesNotHaveUrl(string | array $component, string | array $name, string $url, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionShouldOpenUrlInNewTab()` instead.
*/
public function assertFormComponentActionShouldOpenUrlInNewTab(string | array $component, string | array $name, array $arguments = [], string $formName = 'form'): static {}
/**
* @deprecated Use `assertActionShouldNotOpenUrlInNewTab()` instead.
*/
public function assertFormComponentActionShouldNotOpenUrlInNewTab(string | array $component, string | array $name, array $arguments = [], string $formName = 'form'): static {}
}
}