Skip to content

Commit e305bc6

Browse files
committed
Updated composer.json + others
1 parent 6aaa0b3 commit e305bc6

File tree

13 files changed

+31
-181
lines changed

13 files changed

+31
-181
lines changed

bootstrap/bootstrap.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@
2525
});
2626

2727
AnnotationRegistry::registerFile($vendorDir.'/doctrine/phpcr-odm/lib/Doctrine/ODM/PHPCR/Mapping/Annotations/DoctrineAnnotations.php');
28+
29+
define('CMF_TEST_ROOT_DIR', realpath(__DIR__.'/..'));
30+
define('CMF_TEST_CONFIG_DIR', CMF_TEST_ROOT_DIR.'/skeleton/app/config');

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
],
1111
"minimum-stability": "dev",
1212
"require": {
13-
"symfony/class-loader": ">=2.1,<2.3-dev",
14-
"symfony/yaml": ">=2.1,<2.3-dev",
15-
"symfony/form": ">=2.1,<2.3-dev",
16-
"symfony/finder": ">=2.1,<2.3-dev",
13+
"symfony/symfony": ">=2.1,<2.3-dev",
1714

1815
"doctrine/common": "2.3.x-dev",
1916
"doctrine/doctrine-bundle": "1.*",

skeleton/app/config/default.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
$loader->import('dist/parameters.yml');
4+
$loader->import('dist/framework.yml');
5+
$loader->import('dist/doctrine.yml');
6+
$loader->import('dist/phpcrodm.yml');

skeleton/app/config/default.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

skeleton/app/config/dist/doctrine.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,3 @@ doctrine:
33
driver: %database_driver%
44
path: %database_path%
55
charset: UTF8
6-
7-
doctrine_phpcr:
8-
# configure the PHPCR session
9-
session:
10-
backend: %phpcr_backend%
11-
workspace: %phpcr_workspace%
12-
username: %phpcr_user%
13-
password: %phpcr_pass%
14-
# enable the ODM layer
15-
odm:
16-
auto_mapping: true
17-
mappings:
18-
test:
19-
type: annotation
20-
prefix: Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\app\Document
21-
dir: %kernel.root_dir%/Document
22-
is_bundle: false
23-
auto_generate_proxy_classes: %kernel.debug%
24-
locales:
25-
en:
26-
- en
27-
- de
28-
- fr
29-
de:
30-
- de
31-
- en
32-
- fr
33-
fr:
34-
- fr
35-
- en
36-
- de

skeleton/app/config/dist/monolog.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

skeleton/app/config/dist/phpcrodm.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
doctrine_phpcr:
2+
# configure the PHPCR session
3+
session:
4+
backend: %phpcr_backend%
5+
workspace: %phpcr_workspace%
6+
username: %phpcr_user%
7+
password: %phpcr_pass%
8+
# enable the ODM layer
9+
odm:
10+
auto_mapping: true
11+
auto_generate_proxy_classes: %kernel.debug%
12+
locales:
13+
en:
14+
- de
15+
- fr
16+
de:
17+
- en
18+
- fr
19+
fr:
20+
- en
21+
- de

skeleton/app/config/dist/routing.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

skeleton/app/config/dist/routingautoroute.yml

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)