diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 34 |
1 files changed, 22 insertions, 12 deletions
diff --git a/composer.json b/composer.json index 9dcb29a..9ba359c 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "docs": "https://github.com/glpi-project/doc" }, "require": { - "php": ">=5.4.0", + "php": ">=5.6.0", "ext-mysqli": "*", "ext-fileinfo": "*", "ext-json": "*", @@ -19,32 +19,42 @@ "ext-gd": "*", "ext-zlib": "*", "ext-curl": "*", - "ircmaxell/password-compat": "~1.0.0", "jasig/phpcas": "~1.3.0", "iamcal/lib_autolink": "~1.7", "phpmailer/phpmailer": "~5.2", - "sabre/vobject": "~3.4", + "sabre/vobject": "~4.1", "simplepie/simplepie": "^1.5", "tecnickcom/tcpdf": "~6.2", - "zendframework/zend-cache": "~2.4.0", - "zendframework/zend-i18n": "~2.4.0", - "zendframework/zend-loader": "~2.4.0", - "zetacomponents/graph": "~1.5", - "ramsey/array_column": "^1.1.3", + "zendframework/zend-cache": "^2.7", + "zendframework/zend-i18n": "^2.7", "michelf/php-markdown": "^1.6", - "true/punycode": "^2.1" + "true/punycode": "^2.1", + "paragonie/random_compat": "^2.0" }, "require-dev": { - "guzzlehttp/guzzle": "~5", - "phpunit/phpunit": "^4.8 || ^5.7 || ^6.0" + "guzzlehttp/guzzle": "~6", + "glpi-project/coding-standard": "0.6", + "consolidation/robo": "^1.0", + "natxet/CssMin": "^3.0", + "patchwork/jsqueeze": "^2.0", + "atoum/atoum": "^3.2" }, "suggest": { "ext-ldap": "Used ot provide LDAP authentication and synchronization", "ext-imap": "Used for collection from IMAP" }, "config": { + "optimize-autoloader": true, "platform": { - "php": "5.4.0" + "php": "5.6.0" } + }, + "scripts": { + "test": "vendor/bin/atoum --debug --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/units", + "testapi": "vendor/bin/atoum --debug --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/api", + "post-install-cmd": [ + "@php -r \"file_put_contents('.composer.hash', sha1_file('composer.lock'));\"" + ], + "post-update-cmd": "@php -r \"file_put_contents('.composer.hash', sha1_file('composer.lock'));\"" } } |