Skip to content

Commit

Permalink
Remove DirectLink integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Nov 23, 2023
1 parent 772fa93 commit 51047d6
Show file tree
Hide file tree
Showing 26 changed files with 295 additions and 1,009 deletions.
1 change: 1 addition & 0 deletions .phpunit.result.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"defects":[],"times":{"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\DataCreditCardHelperTest::test_helper":0.003,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\DataGeneralHelperTest::test_helper":0.001,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\DataUrlHelperTest::test_helper":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\ErrorTest::test_error":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\OrderStandard\\ClientTest::test_signature_in_empty":0.002,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\OrderStandard\\ClientTest::test_signature_in_from_documentation":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\OrderStandard\\ClientTest::test_signature_out_from_documentation":0.001,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\PaymentMethodsListTest::test_constructor":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\PaymentMethodsListTest::test_add_payment_method":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\SecurityTest::test_get_calculations_parameters_in":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\SecurityTest::test_get_calculations_parameters_out":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #0":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #1":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #2":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #3":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #4":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #5":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #6":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #7":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #8":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #9":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #10":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #11":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #12":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #13":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #14":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #15":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #16":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #17":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #18":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #19":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #20":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #21":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #22":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #23":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #24":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #25":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #26":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #27":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #28":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #29":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #30":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #31":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #32":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #33":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #34":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #35":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #36":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #37":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\StatusesTest::test_transform with data set #38":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\XML\\OrderResponseParser0Test::test_init":0.002,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\XML\\OrderResponseParser0Test::test_parser":0.001,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\XML\\OrderResponseParser0Test::test_values":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\XML\\OrderResponseParser46Test::test_init":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\XML\\OrderResponseParser46Test::test_parser":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\XML\\OrderResponseParser46Test::test_values":0.001,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\XML\\OrderResponseParser9Test::test_init":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\XML\\OrderResponseParser9Test::test_parser":0,"Pronamic\\WordPress\\Pay\\Gateways\\Ingenico\\XML\\OrderResponseParser9Test::test_values":0}}
16 changes: 10 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@
}
},
"require": {
"php": ">=7.4",
"php": ">=8.0",
"ext-simplexml": "*",
"pronamic/wp-http": "^1.2",
"wp-pay/core": "^4.6"
"wp-pay/core": "^4.13"
},
"require-dev": {
"automattic/wordbless": "^0.4.0",
"bamarni/composer-bin-plugin": "^1.8",
"overtrue/phplint": "^9.0",
"php-coveralls/php-coveralls": "^2.6",
Expand All @@ -53,7 +54,7 @@
"pronamic/wp-coding-standards": "^2.0",
"roots/wordpress": "^6.0",
"wp-phpunit/wp-phpunit": "^6.1",
"yoast/phpunit-polyfills": "^2.0"
"yoast/phpunit-polyfills": "^1.0"
},
"scripts": {
"coveralls": "vendor/bin/php-coveralls -v",
Expand All @@ -62,9 +63,12 @@
"phplint": "vendor/bin/phplint",
"phpmd": "vendor/bin/phpmd src,tests text phpmd.ruleset.xml --suffixes php",
"phpstan": "vendor/bin/phpstan analyse --memory-limit=-1",
"phpunit": "vendor/bin/phpunit",
"post-install-cmd": "echo 'Optionally run: composer bin all install'",
"post-update-cmd": "echo 'Optionally run: composer bin all update'",
"phpunit": "vendor/bin/phpunit --colors=always",
"post-install-cmd": "WorDBless\\Composer\\InstallDropin::copy",
"post-update-cmd": [
"echo 'Optionally run: composer bin all update'",
"WorDBless\\Composer\\InstallDropin::copy"
],
"psalm": "vendor/bin/psalm"
}
}
38 changes: 19 additions & 19 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite name="WordPress Pay Ogone Test Suite">
<directory suffix=".php">tests/src</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>

<filter>
<whitelist>
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<testsuites>
<testsuite name="WordPress Pay Ogone Test Suite">
<directory suffix=".php">tests/src</directory>
</testsuite>
</testsuites>

<php>
<env name="WP_PHPUNIT__TESTS_CONFIG" value="tests/wp-config.php"/>
</php>
<php>
<env name="WP_PHPUNIT__TESTS_CONFIG" value="tests/wp-config.php"/>
</php>
</phpunit>
49 changes: 0 additions & 49 deletions src/DirectLink.php

This file was deleted.

99 changes: 0 additions & 99 deletions src/DirectLink/Client.php

This file was deleted.

32 changes: 0 additions & 32 deletions src/DirectLink/Config.php

This file was deleted.

59 changes: 0 additions & 59 deletions src/DirectLink/DataHelper.php

This file was deleted.

Loading

0 comments on commit 51047d6

Please sign in to comment.