Skip to content

Commit

Permalink
fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Jan 17, 2016
1 parent b43ab58 commit 57636af
Show file tree
Hide file tree
Showing 13 changed files with 52 additions and 35 deletions.
29 changes: 15 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
# vendor dirs
vendor

# composer lock files
composer.lock

# hidev internals
.hidev/composer.json
.hidev/composer.lock
.hidev/vendor

# IDE & OS files
.*.swp
.idea
nbproject
.DS_Store
.buildpath
.idea
.project
.settings
Thumbs.db
.DS_Store
nbproject

# php-cs-fixer cache
.php_cs.cache

# vendor dirs
vendor

# composer lock files
composer.lock

# phpunit generated files
coverage.clover

# Codeception generated files
tests/_support/_generated

# php-cs-fixer cache
.php_cs.cache
# PHARs
php-cs-fixer.phar
phpunit.phar
7 changes: 4 additions & 3 deletions .hidev/config.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
package:
type: library
name: omnipay-epayservice
namespace: Omnipay\ePayService
headline: Omnipay: ePayService
headline: 'Omnipay: ePayService'
title: ePayService driver for the Omnipay PHP payment processing library
type: library
license: MIT
keywords: php, omnipay, epayservice, merchant, payment
year: 2015
description: |
[Omnipay](https://github.com/omnipay/omnipay) is a framework agnostic, multi-gateway payment
processing library for PHP 5.3+.
This package implements [ePayService](http://epayservices.com/) support for Omnipay.
require:
hiqdev/hidev-vendor: "*"
hiqdev/hidev-php: "*"
hiqdev/hidev-vendor: "*"
5 changes: 4 additions & 1 deletion .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ePayService driver for the Omnipay PHP payment processing library
@link https://github.com/hiqdev/omnipay-epayservice
@package omnipay-epayservice
@license MIT
@copyright Copyright (c) 2015, HiQDev (http://hiqdev.com/)
@copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
EOF;

Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header);
Expand All @@ -26,6 +26,9 @@ return Symfony\CS\Config\Config::create()
'-phpdoc_no_empty_return', /// @return void and @return null annotations should be omitted from phpdocs.
'-empty_return', /// A return statement wishing to return nothing should be simply "return".
'-return', /// An empty line feed should precede a return statement.
'-phpdoc_params', /// All items of the @param, @throws, @return, @var, and @type phpdoc tags must be aligned vertically.
'-phpdoc_scalar', /// Scalar types should always be written in the same form. "int", not "integer"; "bool", not "boolean".
'-phpdoc_separation', /// Annotations of a different type are separated by a single blank line.
'header_comment', /// Add, replace or remove header comment.
'concat_with_spaces', /// Concatenation should be used with at least one whitespace around.
'ereg_to_preg', /// Replace deprecated ereg regular expression functions with preg. Warning! This could change code behavior.
Expand Down
9 changes: 9 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
checks:
php:
code_rating: true
duplication: true
tools:
php_code_coverage:
enabled: true
external_code_coverage:
timeout: 600
19 changes: 10 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
language: php
php:
- 5.4
- 5.5
- 5.6
- 7
- hhvm
matrix:
allow_failures:
-
php: 7
-
php: hhvm
cache:
directories:
- $HOME/.composer/cache
before_install:
- 'composer self-update'
- 'composer --version'
- 'wget http://hiqdev.com/hidev/hidev.phar -O hidev.phar && chmod a+x hidev.phar'
- './hidev.phar --version'
- './hidev.phar travis/before_install'
sudo: false
install:
- 'travis_retry composer self-update 1.0.0-alpha11'
- 'travis_retry composer global require "fxp/composer-asset-plugin:~1.1" "yiisoft/yii2-composer:~2.0"'
- 'travis_retry composer global require "hiqdev/hidev:*@dev" "phpunit/phpunit:^4.8" "phpunit/phpunit-skeleton-generator:*" "fabpot/php-cs-fixer:*"'
- 'travis_retry composer install --no-interaction'
- '$HOME/.composer/vendor/bin/hidev travis/install'
- './hidev.phar travis/install'
script:
- '$HOME/.composer/vendor/bin/hidev travis/script'
- './hidev.phar travis/script'
after_script:
- './hidev.phar travis/after_script'
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright © 2015, HiQDev (http://hiqdev.com/)
Copyright © 2015-2016, HiQDev (http://hiqdev.com/)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Omnipay: ePayService
[![Latest Stable Version](https://poser.pugx.org/hiqdev/omnipay-epayservice/v/stable)](https://packagist.org/packages/hiqdev/omnipay-epayservice)
[![Total Downloads](https://poser.pugx.org/hiqdev/omnipay-epayservice/downloads)](https://packagist.org/packages/hiqdev/omnipay-epayservice)
[![Build Status](https://img.shields.io/travis/hiqdev/omnipay-epayservice.svg)](https://travis-ci.org/hiqdev/omnipay-epayservice)
[![Code Coverage](https://scrutinizer-ci.com/g/hiqdev/omnipay-epayservice/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/hiqdev/omnipay-epayservice/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/hiqdev/omnipay-epayservice/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/hiqdev/omnipay-epayservice/?branch=master)
[![Dependency Status](https://www.versioneye.com/php/hiqdev:omnipay-epayservice/dev-master/badge.svg)](https://www.versioneye.com/php/hiqdev:omnipay-epayservice/dev-master)

[Omnipay](https://github.com/omnipay/omnipay) is a framework agnostic, multi-gateway payment
Expand Down Expand Up @@ -56,4 +58,4 @@ or better yet, fork the library and submit a pull request.
This project is released under the terms of the MIT [license](LICENSE).
Read more [here](http://choosealicense.com/licenses/mit).

Copyright © 2015, HiQDev (http://hiqdev.com/)
Copyright © 2015-2016, HiQDev (http://hiqdev.com/)
2 changes: 1 addition & 1 deletion src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link https://github.com/hiqdev/omnipay-epayservice
* @package omnipay-epayservice
* @license MIT
* @copyright Copyright (c) 2015, HiQDev (http://hiqdev.com/)
* @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
*/

namespace Omnipay\ePayService;
Expand Down
2 changes: 1 addition & 1 deletion src/Message/AbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link https://github.com/hiqdev/omnipay-epayservice
* @package omnipay-epayservice
* @license MIT
* @copyright Copyright (c) 2015, HiQDev (http://hiqdev.com/)
* @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
*/

namespace Omnipay\ePayService\Message;
Expand Down
2 changes: 1 addition & 1 deletion src/Message/CompletePurchaseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link https://github.com/hiqdev/omnipay-epayservice
* @package omnipay-epayservice
* @license MIT
* @copyright Copyright (c) 2015, HiQDev (http://hiqdev.com/)
* @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
*/

namespace Omnipay\ePayService\Message;
Expand Down
2 changes: 1 addition & 1 deletion src/Message/CompletePurchaseResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link https://github.com/hiqdev/omnipay-epayservice
* @package omnipay-epayservice
* @license MIT
* @copyright Copyright (c) 2015, HiQDev (http://hiqdev.com/)
* @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
*/

namespace Omnipay\ePayService\Message;
Expand Down
2 changes: 1 addition & 1 deletion src/Message/PurchaseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link https://github.com/hiqdev/omnipay-epayservice
* @package omnipay-epayservice
* @license MIT
* @copyright Copyright (c) 2015, HiQDev (http://hiqdev.com/)
* @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
*/

namespace Omnipay\ePayService\Message;
Expand Down
2 changes: 1 addition & 1 deletion src/Message/PurchaseResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @link https://github.com/hiqdev/omnipay-epayservice
* @package omnipay-epayservice
* @license MIT
* @copyright Copyright (c) 2015, HiQDev (http://hiqdev.com/)
* @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
*/

namespace Omnipay\ePayService\Message;
Expand Down

0 comments on commit 57636af

Please sign in to comment.