Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
make everything under one composer project (incl. example)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita2206 committed Sep 9, 2016
1 parent 2b6e971 commit 4be1564
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 43 deletions.
55 changes: 30 additions & 25 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
{
"name": "nikita2206/symfony-request-converter",
"description": "Request converter converts request data to data-objects",
"type": "library",
"require": {
"symfony/dependency-injection": "^2.5",
"symfony/http-kernel": "^2.5",
"symfony/config": "^2.5",
"sensio/framework-extra-bundle": "^2.5 || ^3",
"doctrine/annotations": "^1.2",
"symfony/validator": "^2.5"
},
"require-dev": {
"phpunit/phpunit": "4.7"
},
"license": "MIT",
"authors": [
{
"name": "nikita2206",
"email": "inefedor@gmail.com"
}
],
"autoload": {
"psr-4": {"RequestConverter\\": "src", "Tests\\": "tests"}
},
"minimum-stability": "dev"
"name": "nikita2206/symfony-request-converter",
"description": "Request converter converts request data to data-objects",
"type": "library",
"require": {
"symfony/dependency-injection": "^2.5 || ^3",
"symfony/http-kernel": "^2.5 || ^3",
"symfony/config": "^2.5 || ^3",
"sensio/framework-extra-bundle": "^2.5 || ^3",
"doctrine/annotations": "^1.2",
"symfony/validator": "^2.5 || ^3"
},
"require-dev": {
"phpunit/phpunit": "4.7",
"symfony/symfony": "^3",
"sensio/framework-extra-bundle": "^3"
},
"license": "MIT",
"authors": [
{
"name": "nikita2206",
"email": "inefedor@gmail.com"
}
],
"autoload": {
"psr-4": {"RequestConverter\\": "src"}
},
"autoload-dev": {
"psr-4": {"Tests\\": "tests", "TodoExample\\": "example/src"}
},
"minimum-stability": "dev"
}
17 changes: 0 additions & 17 deletions example/composer.json

This file was deleted.

2 changes: 1 addition & 1 deletion example/symfony-app/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* @var ClassLoader $loader
*/
$loader = require __DIR__.'/../vendor/autoload.php';
$loader = require __DIR__.'/../../vendor/autoload.php';

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

Expand Down

0 comments on commit 4be1564

Please sign in to comment.