1 | <?php declare(strict_types=1); |
||
2 | |||
3 | namespace OfxParser\Parsers; |
||
4 | |||
5 | use SimpleXMLElement; |
||
6 | use \OfxParser\Parser; |
||
0 ignored issues
–
show
|
|||
7 | use \OfxParser\Ofx\Investment as InvestmentOfx; |
||
0 ignored issues
–
show
The type
\OfxParser\Ofx\Investment was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
8 | |||
9 | class Investment extends Parser |
||
10 | { |
||
11 | /** |
||
12 | * Factory to support Investment OFX document structure. |
||
13 | * @param SimpleXMLElement $xml |
||
14 | * @return InvestmentOfx |
||
15 | */ |
||
16 | 4 | protected function createOfx(SimpleXMLElement $xml): InvestmentOfx |
|
17 | { |
||
18 | 4 | return new InvestmentOfx($xml); |
|
19 | } |
||
20 | } |
||
21 |
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