| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | class LegacyGuzzleTeleporter extends GenericTeleporter |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @param Client $client |
||
| 29 | * @param ResourceReaderFactory $readerFactory |
||
| 30 | * @param ResourceLocator $resourceLocator |
||
| 31 | */ |
||
| 32 | public function __construct( |
||
| 33 | Client $client = null, |
||
| 34 | ResourceReaderFactory $readerFactory = null, |
||
| 35 | ResourceLocator $resourceLocator = null |
||
| 36 | ) { |
||
| 37 | parent::__construct($readerFactory ?: new LegacyGuzzleReaderFactory($client), new FilesystemWriter(), |
||
| 38 | $resourceLocator); |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Creates the GuzzleTeleporter |
||
| 43 | * |
||
| 44 | * @deprecated |
||
| 45 | * @return LegacyGuzzleTeleporter |
||
| 46 | */ |
||
| 47 | public static function create() |
||
| 50 | } |
||
| 51 | } |
||
| 52 |
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