| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 90% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class BienIciParser extends AbstractParser |
||
|
|
|||
| 9 | { |
||
| 10 | protected const PROVIDER = Provider::BIENICI; |
||
| 11 | |||
| 12 | protected const SELECTOR_AD_WRAPPER = '.realEstateAd'; |
||
| 13 | protected const SELECTOR_LOCATION = '.realEstateAdAddress a'; |
||
| 14 | protected const SELECTOR_BUILDING_NAME = '.realEstateAdTitle strong'; |
||
| 15 | protected const SELECTOR_DESCRIPTION = '.newProperty'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * {@inheritDoc} |
||
| 19 | */ |
||
| 20 | 1 | protected function parsePhoto(Crawler $crawler): ?string |
|
| 21 | { |
||
| 22 | 1 | return str_replace( |
|
| 23 | 1 | ['200x160', 'width=200&height=160'], |
|
| 24 | 1 | ['600x370', 'width=600&height=370'], |
|
| 25 | 1 | parent::parsePhoto($crawler) |
|
| 26 | ); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritDoc} |
||
| 31 | */ |
||
| 32 | 1 | protected function parseBuildingName(Crawler $crawler): ?string |
|
| 42 | } |
||
| 43 | } |
||
| 44 |
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