| Total Complexity | 5 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 80% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class PapNeufParser extends AbstractParser |
||
|
|
|||
| 10 | { |
||
| 11 | protected const PROVIDER = Provider::PAP_NEUF; |
||
| 12 | |||
| 13 | protected const SELECTOR_AD_WRAPPER = '#email-body tr:nth-child(n+2):not(:nth-last-child(-n+2))'; |
||
| 14 | protected const SELECTOR_LOCATION = '.box-text-content'; |
||
| 15 | protected const SELECTOR_BUILDING_NAME = '.box-text-content'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * {@inheritDoc} |
||
| 19 | */ |
||
| 20 | 1 | protected function parsePrice(Crawler $crawler): ?float |
|
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritDoc} |
||
| 27 | */ |
||
| 28 | 1 | protected function parseLocation(Crawler $crawler): ?string |
|
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritDoc} |
||
| 39 | */ |
||
| 40 | 1 | protected function parseBuildingName(Crawler $crawler): ?string |
|
| 49 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths