Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update composer.json, use require-dev

  • Loading branch information...
commit 8943f81b8d1dbcad66a2fd9aacbe9a299044da86 1 parent 5cbd92b
@igorw authored
Showing with 146 additions and 141 deletions.
  1. +2 −1  README.md
  2. +7 −5 composer.json
  3. +137 −135 composer.lock
View
3  README.md
@@ -6,7 +6,7 @@ simple pastebin written in PHP
set up dependencies:
- curl -s http://getcomposer.org/installer | php
+ curl -s https://getcomposer.org/installer | php
php composer.phar install
install and start [redis](http://redis.io):
@@ -22,6 +22,7 @@ fork, branch, hack, pull request. thanks!
phpunit is required for the tests.
+ composer install --dev
phpunit
## using
View
12 composer.json
@@ -1,11 +1,13 @@
{
"require": {
"silex/silex": "1.0.*@dev",
- "symfony/browser-kit": "2.1.*",
- "symfony/css-selector": "2.1.*",
- "symfony/finder": "2.1.*",
- "twig/twig": "1.8.*",
- "predis/service-provider": ">=0.2.0"
+ "symfony/finder": "~2.1",
+ "twig/twig": "~1.8",
+ "predis/service-provider": "0.3.*"
+ },
+ "require-dev": {
+ "symfony/browser-kit": "~2.1",
+ "symfony/css-selector": "~2.1"
},
"autoload": {
"psr-0": { "Igorw\\Trashbin": "src" }
View
272 composer.lock
@@ -1,5 +1,5 @@
{
- "hash": "30611a6b16e3451660bfb42aa1ee2667",
+ "hash": "6448d82c9a8284e933ee92981a87565e",
"packages": [
{
"name": "pimple/pimple",
@@ -217,37 +217,36 @@
]
},
{
- "name": "symfony/browser-kit",
+ "name": "symfony/event-dispatcher",
"version": "v2.1.6",
- "target-dir": "Symfony/Component/BrowserKit",
+ "target-dir": "Symfony/Component/EventDispatcher",
"source": {
"type": "git",
- "url": "https://github.com/symfony/BrowserKit",
+ "url": "https://github.com/symfony/EventDispatcher",
"reference": "v2.1.6"
},
"dist": {
"type": "zip",
- "url": "https://github.com/symfony/BrowserKit/archive/v2.1.6.zip",
+ "url": "https://github.com/symfony/EventDispatcher/archive/v2.1.6.zip",
"reference": "v2.1.6",
"shasum": ""
},
"require": {
- "php": ">=5.3.3",
- "symfony/dom-crawler": "2.1.*"
+ "php": ">=5.3.3"
},
"require-dev": {
- "symfony/process": "2.1.*",
- "symfony/css-selector": "2.1.*"
+ "symfony/dependency-injection": "2.1.*"
},
"suggest": {
- "symfony/process": "2.1.*"
+ "symfony/dependency-injection": "2.1.*",
+ "symfony/http-kernel": "2.1.*"
},
"time": "2012-12-06 10:00:55",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
- "Symfony\\Component\\BrowserKit": ""
+ "Symfony\\Component\\EventDispatcher": ""
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -264,33 +263,33 @@
"homepage": "http://symfony.com/contributors"
}
],
- "description": "Symfony BrowserKit Component",
+ "description": "Symfony EventDispatcher Component",
"homepage": "http://symfony.com"
},
{
- "name": "symfony/css-selector",
+ "name": "symfony/finder",
"version": "v2.1.6",
- "target-dir": "Symfony/Component/CssSelector",
+ "target-dir": "Symfony/Component/Finder",
"source": {
"type": "git",
- "url": "https://github.com/symfony/CssSelector",
+ "url": "https://github.com/symfony/Finder",
"reference": "v2.1.6"
},
"dist": {
"type": "zip",
- "url": "https://github.com/symfony/CssSelector/archive/v2.1.6.zip",
+ "url": "https://github.com/symfony/Finder/archive/v2.1.6.zip",
"reference": "v2.1.6",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
- "time": "2012-12-11 10:33:11",
+ "time": "2012-12-10 12:46:54",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
- "Symfony\\Component\\CssSelector": ""
+ "Symfony\\Component\\Finder": ""
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -307,39 +306,34 @@
"homepage": "http://symfony.com/contributors"
}
],
- "description": "Symfony CssSelector Component",
+ "description": "Symfony Finder Component",
"homepage": "http://symfony.com"
},
{
- "name": "symfony/dom-crawler",
+ "name": "symfony/http-foundation",
"version": "v2.1.6",
- "target-dir": "Symfony/Component/DomCrawler",
+ "target-dir": "Symfony/Component/HttpFoundation",
"source": {
"type": "git",
- "url": "https://github.com/symfony/DomCrawler",
+ "url": "https://github.com/symfony/HttpFoundation",
"reference": "v2.1.6"
},
"dist": {
"type": "zip",
- "url": "https://github.com/symfony/DomCrawler/archive/v2.1.6.zip",
+ "url": "https://github.com/symfony/HttpFoundation/archive/v2.1.6.zip",
"reference": "v2.1.6",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
- "require-dev": {
- "symfony/css-selector": "2.1.*"
- },
- "suggest": {
- "symfony/css-selector": "2.1.*"
- },
- "time": "2012-12-06 10:00:55",
+ "time": "2012-12-14 21:03:29",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
- "Symfony\\Component\\DomCrawler": ""
+ "Symfony\\Component\\HttpFoundation": "",
+ "SessionHandlerInterface": "Symfony/Component/HttpFoundation/Resources/stubs"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -356,40 +350,53 @@
"homepage": "http://symfony.com/contributors"
}
],
- "description": "Symfony DomCrawler Component",
+ "description": "Symfony HttpFoundation Component",
"homepage": "http://symfony.com"
},
{
- "name": "symfony/event-dispatcher",
- "version": "v2.1.6",
- "target-dir": "Symfony/Component/EventDispatcher",
+ "name": "symfony/http-kernel",
+ "version": "v2.1.7",
+ "target-dir": "Symfony/Component/HttpKernel",
"source": {
"type": "git",
- "url": "https://github.com/symfony/EventDispatcher",
- "reference": "v2.1.6"
+ "url": "https://github.com/symfony/HttpKernel",
+ "reference": "v2.1.7"
},
"dist": {
"type": "zip",
- "url": "https://github.com/symfony/EventDispatcher/archive/v2.1.6.zip",
- "reference": "v2.1.6",
+ "url": "https://github.com/symfony/HttpKernel/archive/v2.1.7.zip",
+ "reference": "v2.1.7",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=5.3.3",
+ "symfony/event-dispatcher": "2.1.*",
+ "symfony/http-foundation": "2.1.*"
},
"require-dev": {
- "symfony/dependency-injection": "2.1.*"
+ "symfony/browser-kit": "2.1.*",
+ "symfony/class-loader": "2.1.*",
+ "symfony/config": "2.1.*",
+ "symfony/console": "2.1.*",
+ "symfony/dependency-injection": "2.1.*",
+ "symfony/finder": "2.1.*",
+ "symfony/process": "2.1.*",
+ "symfony/routing": "2.1.*"
},
"suggest": {
+ "symfony/browser-kit": "2.1.*",
+ "symfony/class-loader": "2.1.*",
+ "symfony/config": "2.1.*",
+ "symfony/console": "2.1.*",
"symfony/dependency-injection": "2.1.*",
- "symfony/http-kernel": "2.1.*"
+ "symfony/finder": "2.1.*"
},
- "time": "2012-12-06 10:00:55",
+ "time": "2012-12-21 10:24:53",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
- "Symfony\\Component\\EventDispatcher": ""
+ "Symfony\\Component\\HttpKernel": ""
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -406,33 +413,44 @@
"homepage": "http://symfony.com/contributors"
}
],
- "description": "Symfony EventDispatcher Component",
+ "description": "Symfony HttpKernel Component",
"homepage": "http://symfony.com"
},
{
- "name": "symfony/finder",
+ "name": "symfony/routing",
"version": "v2.1.6",
- "target-dir": "Symfony/Component/Finder",
+ "target-dir": "Symfony/Component/Routing",
"source": {
"type": "git",
- "url": "https://github.com/symfony/Finder",
+ "url": "https://github.com/symfony/Routing",
"reference": "v2.1.6"
},
"dist": {
"type": "zip",
- "url": "https://github.com/symfony/Finder/archive/v2.1.6.zip",
+ "url": "https://github.com/symfony/Routing/archive/v2.1.6.zip",
"reference": "v2.1.6",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
- "time": "2012-12-10 12:46:54",
+ "require-dev": {
+ "symfony/config": "2.1.*",
+ "symfony/yaml": "2.1.*",
+ "symfony/http-kernel": "2.1.*",
+ "doctrine/common": ">=2.2,<2.4-dev"
+ },
+ "suggest": {
+ "symfony/config": "2.1.*",
+ "symfony/yaml": "2.1.*",
+ "doctrine/common": ">=2.2,<2.4-dev"
+ },
+ "time": "2012-12-11 10:40:22",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
- "Symfony\\Component\\Finder": ""
+ "Symfony\\Component\\Routing": ""
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -449,39 +467,42 @@
"homepage": "http://symfony.com/contributors"
}
],
- "description": "Symfony Finder Component",
+ "description": "Symfony Routing Component",
"homepage": "http://symfony.com"
},
{
- "name": "symfony/http-foundation",
- "version": "v2.1.6",
- "target-dir": "Symfony/Component/HttpFoundation",
+ "name": "twig/twig",
+ "version": "v1.11.1",
"source": {
"type": "git",
- "url": "https://github.com/symfony/HttpFoundation",
- "reference": "v2.1.6"
+ "url": "git://github.com/fabpot/Twig.git",
+ "reference": "v1.11.1"
},
"dist": {
"type": "zip",
- "url": "https://github.com/symfony/HttpFoundation/archive/v2.1.6.zip",
- "reference": "v2.1.6",
+ "url": "https://github.com/fabpot/Twig/archive/v1.11.1.zip",
+ "reference": "v1.11.1",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=5.2.4"
},
- "time": "2012-12-14 21:03:29",
+ "time": "2012-11-11 17:17:59",
"type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.11-dev"
+ }
+ },
"installation-source": "dist",
"autoload": {
"psr-0": {
- "Symfony\\Component\\HttpFoundation": "",
- "SessionHandlerInterface": "Symfony/Component/HttpFoundation/Resources/stubs"
+ "Twig_": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3"
],
"authors": [
{
@@ -489,57 +510,50 @@
"email": "fabien@symfony.com"
},
{
- "name": "Symfony Community",
- "homepage": "http://symfony.com/contributors"
+ "name": "Armin Ronacher",
+ "email": "armin.ronacher@active-4.com"
}
],
- "description": "Symfony HttpFoundation Component",
- "homepage": "http://symfony.com"
- },
+ "description": "Twig, the flexible, fast, and secure template language for PHP",
+ "homepage": "http://twig.sensiolabs.org",
+ "keywords": [
+ "templating"
+ ]
+ }
+ ],
+ "packages-dev": [
{
- "name": "symfony/http-kernel",
- "version": "v2.1.7",
- "target-dir": "Symfony/Component/HttpKernel",
+ "name": "symfony/browser-kit",
+ "version": "v2.1.6",
+ "target-dir": "Symfony/Component/BrowserKit",
"source": {
"type": "git",
- "url": "https://github.com/symfony/HttpKernel",
- "reference": "v2.1.7"
+ "url": "https://github.com/symfony/BrowserKit",
+ "reference": "v2.1.6"
},
"dist": {
"type": "zip",
- "url": "https://github.com/symfony/HttpKernel/archive/v2.1.7.zip",
- "reference": "v2.1.7",
+ "url": "https://github.com/symfony/BrowserKit/archive/v2.1.6.zip",
+ "reference": "v2.1.6",
"shasum": ""
},
"require": {
"php": ">=5.3.3",
- "symfony/event-dispatcher": "2.1.*",
- "symfony/http-foundation": "2.1.*"
+ "symfony/dom-crawler": "2.1.*"
},
"require-dev": {
- "symfony/browser-kit": "2.1.*",
- "symfony/class-loader": "2.1.*",
- "symfony/config": "2.1.*",
- "symfony/console": "2.1.*",
- "symfony/dependency-injection": "2.1.*",
- "symfony/finder": "2.1.*",
"symfony/process": "2.1.*",
- "symfony/routing": "2.1.*"
+ "symfony/css-selector": "2.1.*"
},
"suggest": {
- "symfony/browser-kit": "2.1.*",
- "symfony/class-loader": "2.1.*",
- "symfony/config": "2.1.*",
- "symfony/console": "2.1.*",
- "symfony/dependency-injection": "2.1.*",
- "symfony/finder": "2.1.*"
+ "symfony/process": "2.1.*"
},
- "time": "2012-12-21 10:24:53",
+ "time": "2012-12-06 10:00:55",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
- "Symfony\\Component\\HttpKernel": ""
+ "Symfony\\Component\\BrowserKit": ""
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -556,44 +570,33 @@
"homepage": "http://symfony.com/contributors"
}
],
- "description": "Symfony HttpKernel Component",
+ "description": "Symfony BrowserKit Component",
"homepage": "http://symfony.com"
},
{
- "name": "symfony/routing",
+ "name": "symfony/css-selector",
"version": "v2.1.6",
- "target-dir": "Symfony/Component/Routing",
+ "target-dir": "Symfony/Component/CssSelector",
"source": {
"type": "git",
- "url": "https://github.com/symfony/Routing",
+ "url": "https://github.com/symfony/CssSelector",
"reference": "v2.1.6"
},
"dist": {
"type": "zip",
- "url": "https://github.com/symfony/Routing/archive/v2.1.6.zip",
+ "url": "https://github.com/symfony/CssSelector/archive/v2.1.6.zip",
"reference": "v2.1.6",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
- "require-dev": {
- "symfony/config": "2.1.*",
- "symfony/yaml": "2.1.*",
- "symfony/http-kernel": "2.1.*",
- "doctrine/common": ">=2.2,<2.4-dev"
- },
- "suggest": {
- "symfony/config": "2.1.*",
- "symfony/yaml": "2.1.*",
- "doctrine/common": ">=2.2,<2.4-dev"
- },
- "time": "2012-12-11 10:40:22",
+ "time": "2012-12-11 10:33:11",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
- "Symfony\\Component\\Routing": ""
+ "Symfony\\Component\\CssSelector": ""
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -610,41 +613,44 @@
"homepage": "http://symfony.com/contributors"
}
],
- "description": "Symfony Routing Component",
+ "description": "Symfony CssSelector Component",
"homepage": "http://symfony.com"
},
{
- "name": "twig/twig",
- "version": "v1.8.3",
+ "name": "symfony/dom-crawler",
+ "version": "v2.1.6",
+ "target-dir": "Symfony/Component/DomCrawler",
"source": {
"type": "git",
- "url": "git://github.com/fabpot/Twig.git",
- "reference": "v1.8.3"
+ "url": "https://github.com/symfony/DomCrawler",
+ "reference": "v2.1.6"
},
"dist": {
"type": "zip",
- "url": "https://github.com/fabpot/Twig/zipball/v1.8.3",
- "reference": "v1.8.3",
+ "url": "https://github.com/symfony/DomCrawler/archive/v2.1.6.zip",
+ "reference": "v2.1.6",
"shasum": ""
},
"require": {
- "php": ">=5.2.4"
+ "php": ">=5.3.3"
},
- "time": "2012-06-17 11:48:16",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8-dev"
- }
+ "require-dev": {
+ "symfony/css-selector": "2.1.*"
+ },
+ "suggest": {
+ "symfony/css-selector": "2.1.*"
},
+ "time": "2012-12-06 10:00:55",
+ "type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
- "Twig_": "lib/"
+ "Symfony\\Component\\DomCrawler": ""
}
},
+ "notification-url": "https://packagist.org/downloads/",
"license": [
- "BSD-3"
+ "MIT"
],
"authors": [
{
@@ -652,18 +658,14 @@
"email": "fabien@symfony.com"
},
{
- "name": "Armin Ronacher",
- "email": "armin.ronacher@active-4.com"
+ "name": "Symfony Community",
+ "homepage": "http://symfony.com/contributors"
}
],
- "description": "Twig, the flexible, fast, and secure template language for PHP",
- "homepage": "http://twig.sensiolabs.org",
- "keywords": [
- "templating"
- ]
+ "description": "Symfony DomCrawler Component",
+ "homepage": "http://symfony.com"
}
],
- "packages-dev": null,
"aliases": [
],
Please sign in to comment.
Something went wrong with that request. Please try again.