| 1 | <?php |
||||||
| 2 | |||||||
| 3 | namespace PHPSTORM_META { |
||||||
| 4 | |||||||
| 5 | /** @noinspection PhpIllegalArrayKeyTypeInspection */ |
||||||
| 6 | /** @noinspection PhpUnusedLocalVariableInspection */ |
||||||
| 7 | $STATIC_METHOD_TYPES = [ |
||||||
| 8 | \Omnipay\Omnipay::create('') => [ |
||||||
| 9 | 'Pelecard' instanceof \Omnipay\Pelecard\Gateway, |
||||||
|
0 ignored issues
–
show
|
|||||||
| 10 | ], |
||||||
| 11 | \Omnipay\Common\GatewayFactory::create('') => [ |
||||||
|
0 ignored issues
–
show
The method
Omnipay\Common\GatewayFactory::create() is not static, but was called statically.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 12 | 'Pelecard' instanceof \Omnipay\Pelecard\Gateway, |
||||||
| 13 | ], |
||||||
| 14 | ]; |
||||||
| 15 | } |
||||||
| 16 |
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