Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

15 remove directlink integration #17

Merged
merged 2 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
/package-lock.json
/node_modules/

# PHPUnit
/.phpunit.result.cache

# WordPress
/wordpress/
/wp-content/
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
Loading