Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Aubry <mattab@users.noreply.github.com>2016-07-21 04:53:15 +0300
committerGitHub <noreply@github.com>2016-07-21 04:53:15 +0300
commit4251c618888744593fbf54f56dfcbc1482a1f935 (patch)
treea337db4675576f1890cc67eb5247d60e6cbff7f2 /composer.json
parentef3e384b687d94f4f2612a5822b5b2ce05c296cf (diff)
Update composer libraries, while enforcing the minimum php in composer.json (#10334)
* Enforce the Minimum PHP version in composer.json using "platform" feature Added in https://github.com/composer/composer/commit/a57c51e8d78156612e49dec1c54d3184f260f144 It was found that this flag is very important to use to make sure the package we build and release will be compatible with this PHP version. Otherwise, the minimum PHP version enforced would be the version where our build script runs, which could be PHP 5.5 or PHP 7 which would have caused serious issues. * Update doctrine/cache, monolog,piwik/network, piwik/cache, piwik/php-tracker etc. https://github.com/piwik/piwik/issues/10058 * Release checklist to check that composer.json is correctly defined * Use latest travis scripts for https://github.com/piwik/travis-scripts/commit/30d7b16940058a3dcea37dd7e7ed7241090bf57a * .travis.yml file is out of date, auto-updating .travis.yml file. * Use latest travis scripts for https://github.com/piwik/travis-scripts/commit/63445cf4a53e6e115a31ecacd79327dc5bfb2494 * .travis.yml file is out of date, auto-updating .travis.yml file.
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json35
1 files changed, 20 insertions, 15 deletions
diff --git a/composer.json b/composer.json
index e691f270b1..f92c15c833 100644
--- a/composer.json
+++ b/composer.json
@@ -18,21 +18,9 @@
"wiki": "https://github.com/piwik/piwik/wiki",
"source": "https://github.com/piwik/piwik"
},
- "autoload": {
- "psr-4": {
- "Piwik\\Plugins\\": "plugins/",
- "Piwik\\": "core/"
- },
- "psr-0": {
- "Zend_": "libs/",
- "HTML_": "libs/",
- "PEAR_": "libs/",
- "Archive_": "libs/"
- }
- },
- "autoload-dev": {
- "psr-4": {
- "Piwik\\Tests\\": "tests/PHPUnit/"
+ "config":{
+ "platform": {
+ "php": "5.3.3"
}
},
"require": {
@@ -107,5 +95,22 @@
"post-install-cmd": [
"Piwik\\Composer\\ScriptHandler::buildXhprof"
]
+ },
+ "autoload": {
+ "psr-4": {
+ "Piwik\\Plugins\\": "plugins/",
+ "Piwik\\": "core/"
+ },
+ "psr-0": {
+ "Zend_": "libs/",
+ "HTML_": "libs/",
+ "PEAR_": "libs/",
+ "Archive_": "libs/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "Piwik\\Tests\\": "tests/PHPUnit/"
+ }
}
}