From d43ec1e8fb3f1cf838b8161fafcea132b1cc286c Mon Sep 17 00:00:00 2001 From: Martin Kiesel Date: Wed, 7 Sep 2016 02:39:08 +0200 Subject: [PATCH] Set up testing environment --- composer.json | 53 +++++++++++++++++++++++++++++++-------------------- phpunit.xml | 23 ++++++++++++++++++++++ 2 files changed, 55 insertions(+), 21 deletions(-) create mode 100644 phpunit.xml diff --git a/composer.json b/composer.json index b596af6..6f2b6c9 100755 --- a/composer.json +++ b/composer.json @@ -1,23 +1,34 @@ { - "name": "kyslik/column-sortable", - "description": "Package for handling column sorting in Laravel 5.1, 5.2 and 5.3", - "keywords": ["sortable", "sorting", "column", "laravel", "one-to-one"], - "license": "MIT", - "authors": [ - { - "name": "Martin Kiesel", - "email": "martinkiesel@gmail.com" - } - ], - "require": { - "php": ">=5.6.4", - "Illuminate/Support": "5.1.* || 5.2.* || 5.3.*", - "Illuminate/Database": "5.1.* || 5.2.* || 5.3.*" - }, - "autoload": { - "psr-4": { - "Kyslik\\ColumnSortable\\": "src/ColumnSortable/" - } - }, - "minimum-stability": "dev" + "name": "kyslik/column-sortable", + "description": "Package for handling column sorting in Laravel 5.1, 5.2 and 5.3", + "keywords": [ + "sortable", + "sorting", + "column", + "sort", + "laravel", + "one-to-one" + ], + "license": "MIT", + "authors": [ + { + "name": "Martin Kiesel", + "email": "martinkiesel@gmail.com" + } + ], + "require": { + "php": ">=5.6.4", + "Illuminate/Support": "^5", + "Illuminate/Database": "^5" + }, + "require-dev": { + "mockery/mockery": "0.9.*", + "phpunit/phpunit": "~5.0" + }, + "autoload": { + "psr-4": { + "Kyslik\\ColumnSortable\\": "src/ColumnSortable/" + } + }, + "minimum-stability": "stable" } diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..5d69e79 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,23 @@ + + + + + ./tests/ + + + + + ./src/ColumnSortable/ + + + \ No newline at end of file