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

Commit 14ddf7d

Browse files
PHP 7.2 (#166)
* DevKit updates * adjust and fix.travis.yml to enable php 7.2 checks * make stability flag global to dev * add possibility for 'each' in deprecation
1 parent 24b4b89 commit 14ddf7d

File tree

2 files changed

+11
-19
lines changed

2 files changed

+11
-19
lines changed

.travis.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: php
22

33
php:
44
- 7.1
5-
5+
- 7.2
66
sudo: required
77

88
cache:
@@ -13,37 +13,31 @@ cache:
1313

1414
env:
1515
env:
16-
matrix: SYMFONY_VERSION=^3.4@dev
16+
matrix: SYMFONY_VERSION=^4.0
1717
global:
18-
- SYMFONY_DEPRECATIONS_HELPER=0
18+
- SYMFONY_DEPRECATIONS_HELPER="/.*each.*/"
1919
- SYMFONY_PHPUNIT_DIR=.phpunit SYMFONY_PHPUNIT_REMOVE="symfony/yaml"
2020
- KERNEL_CLASS=Symfony\Cmf\Bundle\RoutingBundle\Tests\Fixtures\App\Kernel
2121
- SYMFONY_PHPUNIT_VERSION=5.7
2222
- TEST_INSTALLATION=false
2323
- LANG=php
2424
- NODE_RELEASE=6.x
25+
- STABILITY=dev
2526

2627
matrix:
2728
include:
28-
- php: 7.1
29+
- php: 7.2
2930
dist: trusty
3031
env:
3132
- LANG=js
3233
- NODE_RELEASE=6.x
33-
- STABILITY=dev
34-
- php: 7.1
35-
env: STABILITY=dev SYMFONY_VERSION=^4.0@dev
3634
- php: 7.1
37-
env: STABILITY=dev SYMFONY_VERSION=^3.4@dev
38-
- php: 7.1
39-
env: STABILITY=dev COMPOSER_FLAGS="--prefer-lowest" SYMFONY_VERSION=2.8.* SYMFONY_DEPRECATIONS_HELPER=weak
40-
- php: 7.1
41-
env: STABILITY=dev SYMFONY_VERSION=3.3.*
35+
env: COMPOSER_FLAGS="--prefer-lowest" SYMFONY_VERSION=2.8.* SYMFONY_DEPRECATIONS_HELPER=weak
36+
- php: 7.2
37+
env: SYMFONY_VERSION=3.3.*
4238
- env: TEST_INSTALLATION=true
4339
fast_finish: true
4440
allow_failures:
45-
- php: 7.1
46-
env: STABILITY=dev SYMFONY_VERSION=^4.0@dev
4741
- env: TEST_INSTALLATION=true
4842

4943
before_install:

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
Branch | Travis | Coveralls |
1212
------ | ------ | --------- |
13-
master | [![Build Status][travis_unstable_badge]][travis_unstable_link] | [![Coverage Status][coveralls_unstable_badge]][coveralls_unstable_link] |
13+
master | [![Build Status][travis_unstable_badge]][travis_link] | [![Coverage Status][coveralls_unstable_badge]][coveralls_unstable_link] |
1414

1515
This package is part of the [Symfony Content Management Framework (CMF)](http://cmf.symfony.com/) and licensed
1616
under the [MIT License](LICENSE).
@@ -20,7 +20,7 @@ The TreeBrowserBundle provides tree navigation for the Content Repository.
2020

2121
## Requirements
2222

23-
* PHP 7.1
23+
* PHP 7.1 / 7.2
2424
* Symfony 2.8 / 3.3 / 3.4 / 4.0
2525
* See also the `require` section of [composer.json](composer.json)
2626

@@ -57,11 +57,9 @@ Thanks to
5757
This package is available under the [MIT license](src/Resources/meta/LICENSE).
5858

5959
[travis_legacy_badge]: https://travis-ci.org/symfony-cmf/tree-browser-bundle.svg?branch=master
60-
[travis_legacy_link]: https://travis-ci.org/symfony-cmf/tree-browser-bundle
6160
[travis_stable_badge]: https://travis-ci.org/symfony-cmf/tree-browser-bundle.svg?branch=master
62-
[travis_stable_link]: https://travis-ci.org/symfony-cmf/tree-browser-bundle
6361
[travis_unstable_badge]: https://travis-ci.org/symfony-cmf/tree-browser-bundle.svg?branch=master
64-
[travis_unstable_link]: https://travis-ci.org/symfony-cmf/tree-browser-bundle
62+
[travis_link]: https://travis-ci.org/symfony-cmf/tree-browser-bundle
6563

6664
[coveralls_legacy_badge]: https://coveralls.io/repos/github/symfony-cmf/tree-browser-bundle/badge.svg?branch=master
6765
[coveralls_legacy_link]: https://coveralls.io/github/symfony-cmf/tree-browser-bundle?branch=master

0 commit comments

Comments
 (0)