| Total Complexity | 1 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class SuperimmoParser extends AbstractParser |
||
| 12 | { |
||
| 13 | protected const PROVIDER = Provider::SUPERIMMO; |
||
| 14 | |||
| 15 | protected const SELECTOR_AD_WRAPPER = 'td[style="width: 540px;"]'; |
||
| 16 | protected const SELECTOR_LOCATION = 'table:nth-child(2) tr:nth-child(2) span'; |
||
| 17 | protected const SELECTOR_TITLE = 'table:nth-child(2) tr:nth-child(1) span'; |
||
| 18 | protected const SELECTOR_DESCRIPTION = 'span[style="font-size: 14px;color:#282828;"]'; // Not a structuring property because of a possible "à partir de" row before |
||
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritDoc} |
||
| 22 | */ |
||
| 23 | 1 | protected function parsePhoto(Crawler $crawler): ?string |
|
| 31 |