for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Pronamic\WordPress\Pay\Gateways\TargetPay;
use Pronamic\WordPress\Pay\Gateways\Common\AbstractIntegration;
/**
* Title: TargetPay integration
* Description:
* Copyright: 2005-2019 Pronamic
* Company: Pronamic
*
* @author Remco Tolsma
* @version 2.0.0
* @since 1.0.0
*/
class Integration extends AbstractIntegration {
public function __construct() {
$this->id = 'targetpay-ideal';
$this->name = 'TargetPay - iDEAL';
$this->product_url = __( 'https://www.targetpay.com/info/ideal?setlang=en', 'pronamic_ideal' );
__
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
$this->product_url = /** @scrutinizer ignore-call */ __( 'https://www.targetpay.com/info/ideal?setlang=en', 'pronamic_ideal' );
$this->dashboard_url = 'https://www.targetpay.com/login';
$this->provider = 'targetpay';
}
public function get_config_factory_class() {
return __NAMESPACE__ . '\ConfigFactory';
public function get_settings_class() {
return __NAMESPACE__ . '\Settings';
* Get required settings for this integration.
* @see https://github.com/wp-premium/gravityforms/blob/1.9.16/includes/fields/class-gf-field-multiselect.php#L21-L42
* @since 1.0.7
* @return array
public function get_settings() {
$settings = parent::get_settings();
$settings[] = 'targetpay';
return $settings;