Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 24b4b89

Browse files
Allow Symfony 4.0 (#165)
* DevKit updates * DevKit updates * DevKit updates * DevKit updates * DevKit updates * DevKit updates * DevKit updates * DevKit updates * DevKit updates * DevKit updates * DevKit updates * DevKit updates * use min stability as in other packages * use dev stability everywhere
1 parent e710f24 commit 24b4b89

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,27 +30,28 @@ matrix:
3030
env:
3131
- LANG=js
3232
- NODE_RELEASE=6.x
33+
- STABILITY=dev
3334
- php: 7.1
34-
env: DEPS=dev SYMFONY_VERSION=^4.0@dev
35+
env: STABILITY=dev SYMFONY_VERSION=^4.0@dev
3536
- php: 7.1
36-
env: DEPS=dev SYMFONY_VERSION=^3.4@dev
37+
env: STABILITY=dev SYMFONY_VERSION=^3.4@dev
3738
- php: 7.1
38-
env: COMPOSER_FLAGS="--prefer-lowest" SYMFONY_VERSION=2.8.* SYMFONY_DEPRECATIONS_HELPER=weak
39+
env: STABILITY=dev COMPOSER_FLAGS="--prefer-lowest" SYMFONY_VERSION=2.8.* SYMFONY_DEPRECATIONS_HELPER=weak
3940
- php: 7.1
40-
env: SYMFONY_VERSION=3.3.*
41+
env: STABILITY=dev SYMFONY_VERSION=3.3.*
4142
- env: TEST_INSTALLATION=true
4243
fast_finish: true
4344
allow_failures:
4445
- php: 7.1
45-
env: DEPS=dev SYMFONY_VERSION=^4.0@dev
46+
env: STABILITY=dev SYMFONY_VERSION=^4.0@dev
4647
- env: TEST_INSTALLATION=true
4748

4849
before_install:
4950
- if [ "$LANG" = "js" ]; then npm run travis:install; fi
5051
- if [ "$LANG" = "php" ]; then phpenv config-rm xdebug.ini || true; fi
5152
- phpenv config-rm xdebug.ini || true
5253
- composer self-update
53-
- if [ "$DEPS" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi
54+
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; composer config prefer-stable true; fi;
5455
- if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION} --no-update; fi
5556
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
5657

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The TreeBrowserBundle provides tree navigation for the Content Repository.
2121
## Requirements
2222

2323
* PHP 7.1
24-
* Symfony 2.8 / ^3.4@dev
24+
* Symfony 2.8 / 3.3 / 3.4 / 4.0
2525
* See also the `require` section of [composer.json](composer.json)
2626

2727
## Documentation
@@ -42,7 +42,7 @@ For general support and questions, please use [StackOverflow](http://stackoverfl
4242
## Contributing
4343

4444
Pull requests are welcome. Please see our
45-
[CONTRIBUTING](https://github.com/symfony-cmf/symfony-cmf/blob/master/CONTRIBUTING.md)
45+
[CONTRIBUTING](https://github.com/symfony-cmf/blob/master/CONTRIBUTING.md)
4646
guide.
4747

4848
Unit and/or functional tests exist for this package. See the

composer.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
"name": "symfony-cmf/tree-browser-bundle",
33
"type": "symfony-bundle",
44
"description": "Symfony CMF Tree Browser Bundle",
5-
"keywords": ["Symfony CMF", "tree", "phpcr"],
5+
"keywords": [
6+
"Symfony CMF",
7+
"tree",
8+
"phpcr"
9+
],
610
"homepage": "http://cmf.symfony.com",
711
"license": "MIT",
812
"authors": [
@@ -16,9 +20,9 @@
1620
"symfony-cmf/resource-rest-bundle": "^1.0"
1721
},
1822
"require-dev": {
19-
"symfony/form": "^2.8|^3.3",
23+
"symfony/form": "^2.8 || ^3.3 || ^4.0",
2024
"symfony-cmf/testing": "^2.1@dev",
21-
"symfony/phpunit-bridge": "^3.3.10"
25+
"symfony/phpunit-bridge": "^3.3 || ^4.0"
2226
},
2327
"autoload": {
2428
"psr-4": {
@@ -34,7 +38,5 @@
3438
"branch-alias": {
3539
"dev-master": "2.1-dev"
3640
}
37-
},
38-
"minimum-stability":"dev",
39-
"prefer-stable": true
41+
}
4042
}

0 commit comments

Comments
 (0)