Skip to content

Commit

Permalink
V1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
raidoa committed Nov 18, 2019
0 parents commit dc0d384
Show file tree
Hide file tree
Showing 82 changed files with 7,875 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.idea/
/build/
phpunit.xml
/vendor/
15 changes: 15 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# .scrutinizer.yml

checks:
php:
code_rating: true
duplication: true

build:
tests:
override:
-
command: 'phpunit --coverage-clover=some-file'
coverage:
file: 'some-file'
format: 'clover'
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0

notifications:
email:
- [email protected]

before_script:
- composer install --dev
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2011 Marlon BVBA

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
34 changes: 34 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<project name="Ogone" default="build" basedir=".">
<target name="clean">
<delete dir="build"/>
</target>

<target name="prepare">
<mkdir dir="build/logs"/>
<mkdir dir="build/logs/testdox"/>
<mkdir dir="build/coverage"/>
</target>

<target name="unittest" depends="clean, prepare" description="Run unit tests" >
<exec executable="phpunit" failonerror="true">
</exec>
</target>

<target name="phpcs">
<exec executable="phpcs">
<arg value="--standard=ZEND"/>
<arg value="--report=checkstyle"/>
<arg value="--report-file=${basedir}/build/logs/checkstyle.xml"/>
<arg value="lib"/>
</exec>
</target>

<!-- <target name="documentation">
<exec dir="doc/" executable="make" failonerror="true">
<arg value="html"/>
</exec>
</target> -->

<target name="build" depends="unittest, phpcs">
</target>
</project>
42 changes: 42 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"name": "ingenico/ogone-sdk-php-postfinance",
"description": "Ingenico SDK for PHP",
"version": "1.0.0",
"authors": [
{
"name": "Limegrow",
"email": "[email protected]",
"homepage": "https://limegrow.com"
},
{
"name": "Marlon BVBA",
"email": "[email protected]",
"homepage": "https://www.marlon.be"
},
{
"name": "Nicolas Clavaud",
"email": "[email protected]",
"homepage": "https://github.com/nclavaud"
}
],
"support": {
"email": "[email protected]"
},
"require": {
"php": ">=7.0",
"ext-libxml": "*",
"ext-simplexml": "*",
"ext-intl": "*",
"monolog/monolog": "^1.24"
},
"require-dev" : {
"phpunit/phpunit": "^7",
"symfony/class-loader": "@stable"
},
"autoload": {
"psr-4": {
"Ogone\\": "lib/Ogone/",
"Ogone\\Tests\\": "tests/Ogone/Tests/"
}
}
}
Loading

0 comments on commit dc0d384

Please sign in to comment.