Skip to content

Commit

Permalink
Merge pull request #176 from regularjack/fix/dependencies
Browse files Browse the repository at this point in the history
Require needed dependencies only
  • Loading branch information
psrpinto authored Aug 21, 2016
2 parents 9a97749 + bd15bf2 commit a5d4262
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 18 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ before_install:
- if [[ $(phpenv version-name) == 5.3 ]]; then echo "memory_limit=-1" >> ~/.phpenv/versions/5.3/etc/conf.d/travis.ini; fi

install: composer update --prefer-dist
script: vendor/bin/phpunit
2 changes: 1 addition & 1 deletion Tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// Composer
if (file_exists(__DIR__.'/../vendor/autoload.php')) {
$loader = require_once __DIR__.'/../vendor/autoload.php';
$loader = require __DIR__.'/../vendor/autoload.php';

AnnotationRegistry::registerLoader(array($loader, 'loadClass'));

Expand Down
41 changes: 24 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,40 @@
{
"name": "Johannes M. Schmitt",
"email": "[email protected]"
},
{
"name": "Contributors",
"homepage": "https://github.com/schmittjoh/JMSPaymentCoreBundle/contributors"
}
],
"require": {
"php": ">=5.3.2",
"ext-mcrypt": "*",
"doctrine/common": "~2.3",
"doctrine/dbal": "~2.3",
"symfony/framework-bundle": "~2.0",
"ext-mcrypt": "*"
"doctrine/orm": "~2.3",
"symfony/browser-kit": "~2.0",
"symfony/config": "~2.0",
"symfony/dependency-injection": "~2.0",
"symfony/event-dispatcher": "~2.0",
"symfony/form": "~2.0",
"symfony/options-resolver": "~2.0",
"symfony/http-foundation": "~2.0",
"symfony/http-kernel": "~2.0",
"symfony/validator": "~2.0"
},
"require-dev": {
"phpunit/phpunit": "~4.8|~5.4",
"symfony/class-loader": "~2.0",
"symfony/twig-bundle": "~2.0",
"symfony/finder": "~2.0",
"symfony/browser-kit": "~2.0",
"symfony/css-selector": "~2.0",
"symfony/form": "~2.0",
"symfony/validator": "~2.0",
"symfony/process": "~2.0",
"symfony/routing": "~2.0",
"symfony/twig-bridge": "~2.0",
"symfony/yaml": "~2.0",
"sensio/framework-extra-bundle": "~3.0",
"doctrine/doctrine-bundle": "~1.6",
"doctrine/orm": "~2.4",
"jms/payment-paypal-bundle": "~1.0",
"jms/aop-bundle": "~1.2",
"jms/di-extra-bundle": "~1.7"
"jms/di-extra-bundle": "~1.7",
"jms/payment-paypal-bundle": "~1.0",
"sensio/framework-extra-bundle": "~3.0",
"symfony/dom-crawler": "~2.0",
"symfony/framework-bundle": "~2.0",
"symfony/routing": "~2.0",
"symfony/twig-bundle": "~2.0",
"symfony/twig-bridge": "~2.0"
},
"autoload": {
"psr-0": { "JMS\\Payment\\CoreBundle": "" }
Expand Down

0 comments on commit a5d4262

Please sign in to comment.