We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 2107-2115 (lines=9) @@ | ||
| 2104 | * |
|
| 2105 | * @return array |
|
| 2106 | */ |
|
| 2107 | public function provide_wrap_urls_data() { |
|
| 2108 | return [ |
|
| 2109 | [ 'https://example.org/', 'https://​example​.org/', 2 ], |
|
| 2110 | [ 'http://example.org/', 'http://​example​.org/', 2 ], |
|
| 2111 | [ 'https://my-example.org', 'https://​my​-example​.org', 2 ], |
|
| 2112 | [ 'https://example.org/some/long/path/', 'https://​example​.org/​s​o​m​e​/​l​o​n​g​/​path/', 5 ], |
|
| 2113 | [ 'https://example.org:8080/', 'https://​example​.org:8080/', 2 ], |
|
| 2114 | ]; |
|
| 2115 | } |
|
| 2116 | ||
| 2117 | /** |
|
| 2118 | * Test wrap_urls. |
|
| @@ 78-86 (lines=9) @@ | ||
| 75 | * |
|
| 76 | * @return array |
|
| 77 | */ |
|
| 78 | public function provide_wrap_urls_data() { |
|
| 79 | return [ |
|
| 80 | [ 'https://example.org/', 'https://​example​.org/', 2 ], |
|
| 81 | [ 'http://example.org/', 'http://​example​.org/', 2 ], |
|
| 82 | [ 'https://my-example.org', 'https://​my​-example​.org', 2 ], |
|
| 83 | [ 'https://example.org/some/long/path/', 'https://​example​.org/​s​o​m​e​/​l​o​n​g​/​path/', 5 ], |
|
| 84 | [ 'https://example.org:8080/', 'https://​example​.org:8080/', 2 ], |
|
| 85 | ]; |
|
| 86 | } |
|
| 87 | ||
| 88 | /** |
|
| 89 | * Test apply. |
|