wp-pay-gateways /
adyen
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Integration |
||
| 4 | * |
||
| 5 | * @author Pronamic <[email protected]> |
||
| 6 | * @copyright 2005-2019 Pronamic |
||
| 7 | * @license GPL-3.0-or-later |
||
| 8 | * @package Pronamic\WordPress\Pay\Gateways\Adyen |
||
| 9 | */ |
||
| 10 | |||
| 11 | namespace Pronamic\WordPress\Pay\Gateways\Adyen; |
||
| 12 | |||
| 13 | use Pronamic\WordPress\Pay\Gateways\Common\AbstractIntegration; |
||
|
0 ignored issues
–
show
|
|||
| 14 | |||
| 15 | /** |
||
| 16 | * Integration |
||
| 17 | * |
||
| 18 | * @author Remco Tolsma |
||
| 19 | * @version 2.0.0 |
||
| 20 | * @since 1.0.0 |
||
| 21 | */ |
||
| 22 | class Integration extends AbstractIntegration { |
||
| 23 | public function __construct() { |
||
| 24 | $this->id = 'adyen'; |
||
|
0 ignored issues
–
show
|
|||
| 25 | $this->name = 'Adyen'; |
||
|
0 ignored issues
–
show
|
|||
| 26 | $this->url = 'https://www.adyen.com/'; |
||
|
0 ignored issues
–
show
|
|||
| 27 | $this->dashboard_url = array( |
||
|
0 ignored issues
–
show
|
|||
| 28 | __( 'test', 'pronamic_ideal' ) => 'https://ca-test.adyen.com/ca/ca/login.shtml', |
||
| 29 | __( 'live', 'pronamic_ideal' ) => 'https://ca-live.adyen.com/ca/ca/login.shtml', |
||
| 30 | ); |
||
| 31 | $this->provider = 'adyen'; |
||
|
0 ignored issues
–
show
|
|||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get config factory class. |
||
| 36 | * |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function get_config_factory_class() { |
||
| 40 | return __NAMESPACE__ . '\ConfigFactory'; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get settings class. |
||
| 45 | * |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function get_settings_class() { |
||
| 49 | return __NAMESPACE__ . '\Settings'; |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Get required settings for this integration. |
||
| 54 | * |
||
| 55 | * @link https://github.com/wp-premium/gravityforms/blob/1.9.16/includes/fields/class-gf-field-multiselect.php#L21-L42 |
||
| 56 | * @since 1.1.6 |
||
| 57 | * @return array |
||
| 58 | */ |
||
| 59 | public function get_settings() { |
||
| 60 | $settings = parent::get_settings(); |
||
| 61 | |||
| 62 | $settings[] = 'adyen'; |
||
| 63 | |||
| 64 | return $settings; |
||
| 65 | } |
||
| 66 | } |
||
| 67 |
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