Skip to content

Commit

Permalink
Merge pull request #17 from pronamic/15-remove-directlink-integration
Browse files Browse the repository at this point in the history
15 remove directlink integration
  • Loading branch information
rvdsteege authored Nov 27, 2023
2 parents 772fa93 + ab71923 commit 68e004a
Show file tree
Hide file tree
Showing 26 changed files with 297 additions and 1,009 deletions.
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

0 comments on commit 68e004a

Please sign in to comment.