| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | protected function getTitles(): array |
||
| 29 | { |
||
| 30 | $cirrusURL |
||
| 31 | = 'https://fr.wikipedia.org/w/api.php?action=query&list=search' |
||
| 32 | .'&srsearch=%22https://books.google%22%20insource:/\%3Cref[^\%3E]*\%3Ehttps\:\/\/books\.google/&formatversion=2&format=json&srnamespace=0' |
||
| 33 | .'&srlimit=100&srqiprofile=popular_inclinks_pv&srsort=last_edit_desc'; |
||
| 34 | |||
| 35 | $this->pageListGenerator->setUrl($cirrusURL); |
||
|
1 ignored issue
–
show
|
|||
| 36 | |||
| 37 | return $this->pageListGenerator->getPageTitles(); |
||
| 38 | } |
||
| 55 |