File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ public static function imageUrl(
55
55
trigger_deprecation (
56
56
'fakerphp/faker ' ,
57
57
'1.20 ' ,
58
- 'Provider is deprecated and will no longer be available in Faker 2. Please use a custom provider instead ' ,
58
+ '%s is deprecated and will no longer be available in Faker 2. Please use a custom provider instead ' ,
59
+ __CLASS__ ,
59
60
);
60
61
61
62
// Validate image format
@@ -119,7 +120,8 @@ public static function image(
119
120
trigger_deprecation (
120
121
'fakerphp/faker ' ,
121
122
'1.20 ' ,
122
- 'Provider is deprecated and will no longer be available in Faker 2. Please use a custom provider instead ' ,
123
+ '%s is deprecated and will no longer be available in Faker 2. Please use a custom provider instead ' ,
124
+ __CLASS__ ,
123
125
);
124
126
125
127
$ dir = null === $ dir ? sys_get_temp_dir () : $ dir ; // GNU/Linux / OS X / Windows compatible
@@ -173,7 +175,8 @@ public static function getFormats(): array
173
175
trigger_deprecation (
174
176
'fakerphp/faker ' ,
175
177
'1.20 ' ,
176
- 'Provider is deprecated and will no longer be available in Faker 2. Please use a custom provider instead ' ,
178
+ '%s is deprecated and will no longer be available in Faker 2. Please use a custom provider instead ' ,
179
+ __CLASS__ ,
177
180
);
178
181
179
182
return array_keys (static ::getFormatConstants ());
@@ -184,7 +187,8 @@ public static function getFormatConstants(): array
184
187
trigger_deprecation (
185
188
'fakerphp/faker ' ,
186
189
'1.20 ' ,
187
- 'Provider is deprecated and will no longer be available in Faker 2. Please use a custom provider instead ' ,
190
+ '%s is deprecated and will no longer be available in Faker 2. Please use a custom provider instead ' ,
191
+ __CLASS__ ,
188
192
);
189
193
190
194
return [
You can’t perform that action at this time.
0 commit comments