Failed Conditions
Push — develop ( 1f8c75...611b60 )
by Remco
05:42
created

src/Gateways/DirectDebitGateway.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * Direct Debit gateway
4
 *
5
 * @author    Pronamic <[email protected]>
6
 * @copyright 2005-2021 Pronamic
7
 * @license   GPL-3.0-or-later
8
 * @package   Pronamic\WordPress\Pay\Extensions\MemberPress
9
 */
10
11
namespace Pronamic\WordPress\Pay\Extensions\MemberPress\Gateways;
12
13
use Pronamic\WordPress\Pay\Core\PaymentMethods;
14
15
/**
16
 * WordPress pay MemberPress direct debit gateway
17
 *
18
 * @author  Remco Tolsma
19
 * @version 2.0.1
20
 * @since   1.0.0
21
 */
22
class DirectDebitGateway extends Gateway {
0 ignored issues
show
The type Pronamic\WordPress\Pay\E...rPress\Gateways\Gateway 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
23
	/**
24
	 * Constructs and initialize direct debit gateway.
25
	 */
26
	public function __construct() {
27
		parent::__construct( 'MeprDirectDebitGateway', PaymentMethods::DIRECT_DEBIT );
28
	}
29
}
30