Skip to content

Commit ff2b15d

Browse files
committed
Merge pull request #114 from phpcr/dicontainer
[WIP] Refactoring to use container
2 parents d273468 + 06cd248 commit ff2b15d

File tree

232 files changed

+1352
-1120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+1352
-1120
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
language: php
22

3+
env:
4+
- BEHAT_SUITE=standalone
5+
- BEHAT_SUITE=embedded
6+
7+
38
php:
49
- 5.4
510

611
before_script:
7-
- composer install
12+
- composer install --dev
813
- bash tests/bin/travis_jackrabbit.sh
914

1015
script:
1116
- phpunit
12-
- php vendor/behat/behat/bin/behat
1317
- php vendor/bin/phpspec run
18+
- php vendor/behat/behat/bin/behat --suite=$BEHAT_SUITE

CHANGELOG.md

Lines changed: 1 addition & 0 deletions

behat.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
default:
2+
suites:
3+
standalone:
4+
contexts:
5+
- PHPCR\Shell\Test\StandaloneContext
6+
paths:
7+
- features/all
8+
- features/standalone
9+
- features/shell
10+
embedded:
11+
filter:
12+
tag: "~@standalone"
13+
contexts:
14+
- PHPCR\Shell\Test\EmbeddedContext
15+
paths:
16+
- features/all

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@
88
"phpcr/phpcr-utils": "~1.2",
99
"symfony/finder": "~2.3",
1010
"symfony/serializer": "~2.3",
11-
"symfony/yaml": "~2.3"
11+
"symfony/yaml": "~2.3",
12+
"symfony/dependency-injection": "~2.3"
1213
},
1314
"minimum-stability": "dev",
1415
"require-dev": {
16+
"symfony/symfony": "2.6",
1517
"symfony/process": "~2.3",
1618
"symfony/filesystem": "~2.3",
1719
"phpunit/phpunit": "~3.7.28",
18-
"behat/behat": "~2.5",
20+
"behat/behat": "~3.0.0",
1921
"phpspec/phpspec": "2.0",
2022
"jackalope/jackalope-doctrine-dbal": "~1.1",
2123
"jackalope/jackalope-jackrabbit": "~1.1"

0 commit comments

Comments
 (0)