Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function provideInvalidUrls(): iterable |
||
15 | { |
||
16 | yield 'invalid shortcode' => ['invalid', null, 'No URL found with short code "invalid"']; |
||
17 | yield 'invalid shortcode without domain' => [ |
||
18 | 'abc123', |
||
19 | 'example.com', |
||
20 | 'No URL found with short code "abc123" for domain "example.com"', |
||
21 | ]; |
||
22 | yield 'invalid shortcode + domain' => [ |
||
23 | 'custom-with-domain', |
||
24 | 'example.com', |
||
25 | 'No URL found with short code "custom-with-domain" for domain "example.com"', |
||
26 | ]; |
||
39 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.