Skip to content
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.

Commit

Permalink
Merge branch 'release/2.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Mar 29, 2019
2 parents 8962ef2 + 3aeb4a0 commit d80f34a
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 110 deletions.
56 changes: 56 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
build:
environment:
variables:
WP_TESTS_DB_NAME: 'wp_phpunit_tests'
WP_TESTS_DB_USER: 'root'
WP_TESTS_DB_PASS: ''
WP_TESTS_DB_HOST: 'localhost'
project_setup:
before:
- mysql -e "CREATE DATABASE wp_phpunit_tests"
nodes:
coverage:
tests:
override:
- command: ./vendor/bin/phpunit
coverage:
file: build/logs/clover.xml
format: clover

filter:
excluded_paths:
# Exclude the external `xmlseclibs.php` library.
- 'includes/xmlseclibs/*'

checks:
php:
coding_standard:
name: WordPress
code_rating: true
duplication: true

build_failure_conditions:
- 'issues.label("bug").exists'

coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
around_operators:
unary_additive: true
concatenation: true
negation: true
within:
brackets: false
array_initializer: true
grouping: true
function_call: true
function_declaration: true
if: true
for: true
while: true
switch: true
catch: true
type_cast: false
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C
## [Unreleased][unreleased]
-

## [2.0.2] - 2019-03-29
- Classes removed to `wp-pay/core`.

## [2.0.1] - 2018-12-11
- Composer update.

Expand All @@ -23,7 +26,8 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C
## 1.0.0 - 2015-01-29
- First release.

[unreleased]: https://github.com/wp-pay-gateways/common/compare/2.0.1...HEAD
[unreleased]: https://github.com/wp-pay-gateways/common/compare/2.0.2...HEAD
[2.0.2]: https://github.com/wp-pay-gateways/common/compare/2.0.1...2.0.2
[2.0.1]: https://github.com/wp-pay-gateways/common/compare/2.0.0...2.0.1
[2.0.0]: https://github.com/wp-pay-gateways/common/compare/1.0.2...2.0.0
[1.0.2]: https://github.com/wp-pay-gateways/common/compare/1.0.1...1.0.2
Expand Down
3 changes: 3 additions & 0 deletions DEPRECATED.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Deprecated

Classes moved to https://github.com/wp-pay/core.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# WordPress Pay Gateway: Common
# [DEPRECATED] WordPress Pay Gateway: Common

**Common driver for the WordPress payment processing library.**

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wp-pay-gateways/common",
"description": "Common driver for the WordPress payment processing library.",
"keywords": ["wordpress", "wp", "pay", "common", "gateway", "pronamic"],
"description": "✗ [DEPRECATED] Common driver for the WordPress payment processing library.",
"keywords": ["deprecated", "wordpress", "wp", "pay", "common", "gateway", "pronamic"],
"homepage": "http://www.wp-pay.org/gateways/common/",
"license": "GPL-3.0-or-later",
"authors": [
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "common",
"version": "2.0.1",
"description": "Common driver for the WordPress payment processing library.",
"version": "2.0.2",
"description": "✗ [DEPRECATED] Common driver for the WordPress payment processing library.",
"repository": {
"type": "git",
"url": "https://github.com/wp-pay-gateways/common"
},
"keywords": [
"deprecated",
"wordpress",
"wp",
"pay",
Expand Down
80 changes: 0 additions & 80 deletions src/AbstractIntegration.php

This file was deleted.

24 changes: 0 additions & 24 deletions src/IntegrationInterface.php

This file was deleted.

0 comments on commit d80f34a

Please sign in to comment.