From f20efe5a8f5210e07c809b0fa56a280d2e867123 Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Tue, 2 Aug 2016 15:21:09 +0200 Subject: [PATCH] updated composer files of all packages (minimum versions for dev tools) - minimum versions for dev tools set, instead of a fixed one to allow the user to use newer ones - all packages require minimum PHP 5.3.3 and minimum PHPUnit 4.8 and minimum PHP Codesniffer 2.5 - if a Saft package needs another, it uses at least version 0.4 --- composer.json | 5 ++++- src/Saft/Addition/ARC2/composer.json | 6 +++--- src/Saft/Addition/EasyRdf/composer.json | 6 +++--- src/Saft/Addition/Erfurt/composer.json | 8 ++++---- src/Saft/Addition/HttpStore/composer.json | 4 ++-- src/Saft/Addition/QueryCache/composer.json | 4 ++-- src/Saft/Addition/Redland/composer.json | 12 ++++++------ src/Saft/Addition/Virtuoso/composer.json | 6 +++--- src/Saft/Data/composer.json | 6 +++--- src/Saft/Rdf/composer.json | 4 ++-- src/Saft/Skeleton/composer.json | 4 ++-- src/Saft/Sparql/composer.json | 4 ++-- src/Saft/Store/composer.json | 6 +++--- src/Saft/Test/composer.json | 6 +++--- 14 files changed, 42 insertions(+), 39 deletions(-) diff --git a/composer.json b/composer.json index de6df70..ed3424c 100644 --- a/composer.json +++ b/composer.json @@ -20,8 +20,10 @@ } ], "replace": { + "saft/saft-arc2": "self.version", "saft/saft-data": "self.version", "saft/saft-easyrdf": "self.version", + "saft/saft-erfurt": "self.version", "saft/saft-querycache": "self.version", "saft/saft-rdf": "self.version", "saft/saft-redland": "self.version", @@ -29,7 +31,8 @@ "saft/saft-sparql": "self.version", "saft/saft-store": "self.version", "saft/saft-store-http": "self.version", - "saft/saft-store-virtuoso": "self.version" + "saft/saft-store-virtuoso": "self.version", + "saft/saft-test": "self.version" }, "require": { "php": ">=5.3.3", diff --git a/src/Saft/Addition/ARC2/composer.json b/src/Saft/Addition/ARC2/composer.json index 9b1b36d..a78a7a7 100644 --- a/src/Saft/Addition/ARC2/composer.json +++ b/src/Saft/Addition/ARC2/composer.json @@ -20,12 +20,12 @@ } ], "require": { - "php": ">=5.3.0", + "php": ">=5.3.3", "semsol/arc2": "2.2.*", - "saft/saft-store": "0.*" + "saft/saft-store": ">=0.4" }, "require-dev": { - "phpunit/phpunit": "4.8.*" + "phpunit/phpunit": ">=4.8" }, "autoload": { "psr-4": { diff --git a/src/Saft/Addition/EasyRdf/composer.json b/src/Saft/Addition/EasyRdf/composer.json index 3e1e7f0..bf2a6f8 100644 --- a/src/Saft/Addition/EasyRdf/composer.json +++ b/src/Saft/Addition/EasyRdf/composer.json @@ -21,11 +21,11 @@ "require": { "php": ">=5.3.3", "easyrdf/easyrdf": "0.9.*", - "saft/saft-data": "0.*" + "saft/saft-data": ">=0.4" }, "require-dev": { - "phpunit/phpunit": "4.8.*", - "squizlabs/php_codesniffer": "2.5.*" + "phpunit/phpunit": ">=4.8", + "squizlabs/php_codesniffer": ">=2.5.*" }, "autoload": { "psr-4": { diff --git a/src/Saft/Addition/Erfurt/composer.json b/src/Saft/Addition/Erfurt/composer.json index 0174ad8..e87008d 100644 --- a/src/Saft/Addition/Erfurt/composer.json +++ b/src/Saft/Addition/Erfurt/composer.json @@ -20,12 +20,12 @@ } ], "require": { - "php": ">=5.3.0", - "saft/saft-rdf": "0.*", - "saft/saft-store": "0.*" + "php": ">=5.3.3", + "saft/saft-rdf": ">=0.4", + "saft/saft-store": ">=0.4" }, "require-dev": { - "phpunit/phpunit": "4.8.*" + "phpunit/phpunit": ">=4.8" }, "autoload": { "psr-4": { diff --git a/src/Saft/Addition/HttpStore/composer.json b/src/Saft/Addition/HttpStore/composer.json index 9e0d283..0d81c9a 100644 --- a/src/Saft/Addition/HttpStore/composer.json +++ b/src/Saft/Addition/HttpStore/composer.json @@ -22,11 +22,11 @@ "require": { "php": ">=5.3.0", "php-curl-class/php-curl-class": "4.11.*", - "saft/saft-store": ">=0.2", + "saft/saft-store": ">=0.4", "ext-curl": "*" }, "require-dev": { - "phpunit/phpunit": "4.8.*" + "phpunit/phpunit": ">=4.8" }, "autoload": { "psr-4": { diff --git a/src/Saft/Addition/QueryCache/composer.json b/src/Saft/Addition/QueryCache/composer.json index ae910e8..51232c6 100644 --- a/src/Saft/Addition/QueryCache/composer.json +++ b/src/Saft/Addition/QueryCache/composer.json @@ -22,10 +22,10 @@ "require": { "php": ">=5.3.3", "zendframework/zend-cache": "2.6.*", - "saft/saft-store": ">=0.2" + "saft/saft-store": ">=0.4" }, "require-dev": { - "phpunit/phpunit": ">=4.8.*" + "phpunit/phpunit": ">=4.8" }, "autoload": { "psr-4": { diff --git a/src/Saft/Addition/Redland/composer.json b/src/Saft/Addition/Redland/composer.json index 5320363..77a9680 100644 --- a/src/Saft/Addition/Redland/composer.json +++ b/src/Saft/Addition/Redland/composer.json @@ -14,14 +14,14 @@ ], "require": { "php": ">=5.3.3", - "ext-redland": "*", - "saft/saft-data": "0.*", - "saft/saft-rdf": "0.*", - "saft/saft-store": "0.*" + "saft/saft-data": ">=0.4", + "saft/saft-rdf": ">=0.4", + "saft/saft-store": ">=0.4", + "ext-redland": "*" }, "require-dev": { - "phpunit/phpunit": "4.8.*", - "squizlabs/php_codesniffer": "2.5.*" + "phpunit/phpunit": ">=4.8", + "squizlabs/php_codesniffer": ">=2.5.*" }, "autoload": { "psr-4": { diff --git a/src/Saft/Addition/Virtuoso/composer.json b/src/Saft/Addition/Virtuoso/composer.json index f7e9234..edd9d7b 100644 --- a/src/Saft/Addition/Virtuoso/composer.json +++ b/src/Saft/Addition/Virtuoso/composer.json @@ -20,13 +20,13 @@ } ], "require": { - "php": ">=5.3.0", + "php": ">=5.3.3", + "saft/saft-store": ">=0.4", "ext-odbc": "*", "ext-pdo_odbc": "*", - "saft/saft-store": "0.*" }, "require-dev": { - "phpunit/phpunit": "4.8.*" + "phpunit/phpunit": ">=4.8" }, "autoload": { "psr-4": { diff --git a/src/Saft/Data/composer.json b/src/Saft/Data/composer.json index b615880..85cf6cf 100644 --- a/src/Saft/Data/composer.json +++ b/src/Saft/Data/composer.json @@ -20,11 +20,11 @@ ], "require": { "php": ">=5.3.3", - "saft/saft-rdf": "0.*" + "saft/saft-rdf": ">=0.4" }, "require-dev": { - "phpunit/phpunit": "4.8.*", - "squizlabs/php_codesniffer": "2.5.*" + "phpunit/phpunit": ">=4.8", + "squizlabs/php_codesniffer": ">=2.5.*" }, "autoload": { "psr-4": { diff --git a/src/Saft/Rdf/composer.json b/src/Saft/Rdf/composer.json index aa57c27..a2b1576 100644 --- a/src/Saft/Rdf/composer.json +++ b/src/Saft/Rdf/composer.json @@ -28,8 +28,8 @@ "php": ">5.3.3" }, "require-dev": { - "phpunit/phpunit": "4.8.*", - "squizlabs/php_codesniffer": "2.5.*" + "phpunit/phpunit": ">=4.8", + "squizlabs/php_codesniffer": ">=2.5.*" }, "autoload": { "psr-4": { diff --git a/src/Saft/Skeleton/composer.json b/src/Saft/Skeleton/composer.json index 9083543..7b5019e 100644 --- a/src/Saft/Skeleton/composer.json +++ b/src/Saft/Skeleton/composer.json @@ -18,7 +18,7 @@ ], "require": { "level-2/dice": "dev-v2.0-PHP5.4-5.5", - "saft/saft": ">=0.1.1", + "saft/saft": ">=0.4", "slim/slim": "3.2.*", "zendframework/zend-diactoros": "1.3.*", "zendframework/zend-cache": "2.6.*" @@ -31,7 +31,7 @@ "ext-redis": "Enables usage of Redis as cache backend." }, "require-dev": { - "phpunit/phpunit": "4.8.*" + "phpunit/phpunit": ">=4.8" }, "minimum-stability": "dev", "prefer-stable" : true, diff --git a/src/Saft/Sparql/composer.json b/src/Saft/Sparql/composer.json index 3f1cc90..0a72340 100644 --- a/src/Saft/Sparql/composer.json +++ b/src/Saft/Sparql/composer.json @@ -21,10 +21,10 @@ ], "require": { "php": ">=5.3.0", - "saft/saft-rdf": "0.*" + "saft/saft-rdf": ">=0.4" }, "require-dev": { - "phpunit/phpunit": "4.5.*" + "phpunit/phpunit": ">=4.8" }, "autoload": { "psr-4": { diff --git a/src/Saft/Store/composer.json b/src/Saft/Store/composer.json index f9169c0..f2ad486 100644 --- a/src/Saft/Store/composer.json +++ b/src/Saft/Store/composer.json @@ -25,11 +25,11 @@ } ], "require": { - "php": ">=5.3.0", - "saft/saft-rdf": "0.*" + "php": ">=5.3.3", + "saft/saft-rdf": ">=0.4" }, "require-dev": { - "phpunit/phpunit": "4.8.*" + "phpunit/phpunit": ">=4.8." }, "autoload": { "psr-4": { diff --git a/src/Saft/Test/composer.json b/src/Saft/Test/composer.json index 556d02a..69cafbf 100644 --- a/src/Saft/Test/composer.json +++ b/src/Saft/Test/composer.json @@ -19,12 +19,12 @@ } ], "require": { - "php": ">=5.3.0", - "saft/saft-rdf": "0.*", + "php": ">=5.3.3", + "saft/saft-rdf": ">=0.4", "symfony/yaml": "2.*" }, "require-dev": { - "phpunit/phpunit": "4.5.*" + "phpunit/phpunit": ">=4.8" }, "autoload": { "psr-4": {