Skip to content

Commit d6bbdfc

Browse files
committed
first packages with php 7.2
1 parent 5083b71 commit d6bbdfc

File tree

4 files changed

+45
-46
lines changed

4 files changed

+45
-46
lines changed

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@
2929
},
3030
"autoload": {
3131
"psr-4": { "Sonata\\DevKit\\": "src" }
32-
}
32+
},
33+
"prefer-stable": true
3334
}

config/projects.yml

+27-27
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ seo-bundle:
77
minimum_stability: dev
88
docs_path: 'bundles/seo'
99
test_kernel: 'Symfony\Cmf\Bundle\SeoBundle\Tests\Fixtures\App\Kernel'
10-
deprecation_warnings: 0
11-
php: ['7.1']
10+
deprecation_warnings: "/.*each.*/"
11+
php: ['7.1', '7.2']
1212
make_tasks:
1313
unit_tests: ~
1414
functional_tests_phpcr: ~
@@ -26,8 +26,8 @@ core-bundle:
2626
minimum_stability: dev
2727
docs_path: 'bundles/core'
2828
test_kernel: Symfony\Cmf\Bundle\CoreBundle\Tests\Fixtures\App\Kernel
29-
deprecation_warnings: 0
30-
php: ['7.1']
29+
deprecation_warnings: "/.*each.*/"
30+
php: ['7.1', '7.2']
3131
make_tasks:
3232
unit_tests: ~
3333
functional_tests_phpcr: ~
@@ -61,9 +61,9 @@ menu-bundle:
6161
master:
6262
minimum_stability: dev
6363
docs_path: 'bundles/menu'
64-
deprecation_warnings: 0
64+
deprecation_warnings: "/.*each.*/"
6565
test_kernel: Symfony\Cmf\Bundle\MenuBundle\Tests\Fixtures\App\Kernel
66-
php: ['7.1']
66+
php: ['7.1', '7.2']
6767
make_tasks:
6868
unit_tests: ~
6969
functional_tests_phpcr: ~
@@ -80,16 +80,16 @@ routing-bundle:
8080
master:
8181
minimum_stability: dev
8282
docs_path: 'bundles/routing'
83-
deprecation_warnings: 0
83+
deprecation_warnings: "/.*each.*/"
8484
test_kernel: Symfony\Cmf\Bundle\RoutingBundle\Tests\Fixtures\App\Kernel
85-
php: ['7.1']
85+
php: ['7.1', '7.2']
8686
make_tasks:
8787
unit_tests: ~
8888
functional_tests_phpcr: ~
8989
functional_tests_orm: ~
9090
test_installation: ~
9191
versions:
92-
symfony: ['2.8.*', '3.3.*', '3.4.*', '4.0.*', '4.0.*']
92+
symfony: ['2.8.*', '3.3.*', '3.4.*', '4.0.*']
9393
routing:
9494
description: |
9595
The Symfony CMF Routing component extends the Symfony routing component with additional features:
@@ -108,8 +108,8 @@ routing:
108108
master:
109109
minimum_stability: dev
110110
docs_path: 'components/routing'
111-
deprecation_warnings: 0
112-
php: ['7.1']
111+
deprecation_warnings: "/.*each.*/"
112+
php: ['7.1', '7.2']
113113
make_tasks:
114114
unit_tests: ~
115115
versions:
@@ -122,8 +122,8 @@ routing-auto:
122122
master:
123123
minimum_stability: dev
124124
docs_path: 'components/routing'
125-
deprecation_warnings: 0
126-
php: ['7.1']
125+
deprecation_warnings: "/.*each.*/"
126+
php: ['7.1', '7.2']
127127
make_tasks:
128128
unit_tests: ~
129129
versions:
@@ -135,9 +135,9 @@ content-bundle:
135135
master:
136136
minimum_stability: dev
137137
docs_path: 'bundles/routing'
138-
deprecation_warnings: 0
138+
deprecation_warnings: "/.*each.*/"
139139
test_kernel: Symfony\Cmf\Bundle\ContentBundle\Tests\Fixtures\App\Kernel
140-
php: ['7.1']
140+
php: ['7.1', '7.2']
141141
make_tasks:
142142
unit_tests: ~
143143
functional_tests_phpcr: ~
@@ -152,8 +152,8 @@ routing-auto-bundle:
152152
minimum_stability: dev
153153
docs_path: 'bundles/routing-auto-bundle'
154154
test_kernel: Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Fixtures\App\Kernel
155-
deprecation_warnings: 0
156-
php: ['7.1']
155+
deprecation_warnings: "/.*each.*/"
156+
php: ['7.1', '7.2']
157157
make_tasks:
158158
unit_tests: ~
159159
functional_tests_phpcr: ~
@@ -179,9 +179,9 @@ resource-rest-bundle:
179179
master:
180180
minimum_stability: dev
181181
docs_path: 'bundles/resource-rest'
182-
deprecation_warnings: 0
182+
deprecation_warnings: "/.*each.*/"
183183
test_kernel: Symfony\Cmf\Bundle\ResourceRestBundle\Tests\Fixtures\App\Kernel
184-
php: ['7.1']
184+
php: ['7.1', '7.2']
185185
make_tasks:
186186
unit_tests: ~
187187
test_installation: ~
@@ -211,9 +211,9 @@ resource-bundle:
211211
master:
212212
minimum_stability: dev
213213
docs_path: 'bundles/resource-rest'
214-
deprecation_warnings: 0
214+
deprecation_warnings: "/.*each.*/"
215215
test_kernel: Symfony\Cmf\Bundle\ResourceBundle\Tests\Fixtures\App\Kernel
216-
php: ['7.1']
216+
php: ['7.1', '7.2']
217217
make_tasks:
218218
unit_tests: ~
219219
functional_tests_phpcr: ~
@@ -249,8 +249,8 @@ resource:
249249
master:
250250
minimum_stability: dev
251251
docs_path: 'components/resource'
252-
deprecation_warnings: 0
253-
php: ['7.1']
252+
deprecation_warnings: "/.*each.*/"
253+
php: ['7.1', '7.2']
254254
make_tasks:
255255
unit_tests: ~
256256
testing:
@@ -262,8 +262,8 @@ testing:
262262
master:
263263
minimum_stability: dev
264264
docs_path: 'components/testing'
265-
deprecation_warnings: 0
266-
php: ['7.1']
265+
deprecation_warnings: "/.*each.*/"
266+
php: ['7.1', '7.2']
267267
make_tasks:
268268
unit_tests: ~
269269
versions:
@@ -278,8 +278,8 @@ tree-browser-bundle:
278278
master:
279279
minimum_stability: dev
280280
docs_path: 'bundle/tree-browser-bundle'
281-
deprecation_warnings: 0
282-
php: ['7.1']
281+
deprecation_warnings: "/.*each.*/"
282+
php: ['7.1', '7.2']
283283
make_tasks:
284284
unit_tests: ~
285285
test_installation: ~

project/.travis.yml.twig

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ env:
3131
global:
3232
{% endif %}
3333
{% if failing_allowed_versions.symfony|length > 0 or versions.symfony|length > 0 %}
34-
- SYMFONY_DEPRECATIONS_HELPER={{ deprecation_warnings }}
34+
- SYMFONY_DEPRECATIONS_HELPER="{{ deprecation_warnings }}"
3535
- SYMFONY_PHPUNIT_DIR=.phpunit SYMFONY_PHPUNIT_REMOVE="symfony/yaml"
3636
{% endif %}
3737
{% if test_kernel %}
@@ -81,7 +81,7 @@ matrix:
8181
before_install:
8282
- phpenv config-rm xdebug.ini || true
8383
- composer self-update
84-
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi;
84+
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; composer config prefer-stable true; fi;
8585
- if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION} --no-update; fi
8686
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
8787

project/README.md.twig

+14-16
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
Branch | Travis | Coveralls |
1212
------ | ------ | --------- |
1313
{% if legacy_branch != stable_branch %}
14-
{{ legacy_branch }} | [![Build Status][travis_legacy_badge]][travis_legacy_link] | [![Coverage Status][coveralls_legacy_badge]][coveralls_legacy_link] |
14+
{{ legacy_branch }} | [![Build Status][travis_legacy_badge]][travis_link] | [![Coverage Status][coveralls_legacy_badge]][coveralls_legacy_link] |
1515
{% endif %}
1616
{% if unstable_branch != stable_branch %}
17-
{{ stable_branch }} | [![Build Status][travis_stable_badge]][travis_stable_link] | [![Coverage Status][coveralls_stable_badge]][coveralls_stable_link] |
17+
{{ stable_branch }} | [![Build Status][travis_stable_badge]][travis_link] | [![Coverage Status][coveralls_stable_badge]][coveralls_stable_link] |
1818
{% endif %}
19-
{{ unstable_branch }} | [![Build Status][travis_unstable_badge]][travis_unstable_link] | [![Coverage Status][coveralls_unstable_badge]][coveralls_unstable_link] |
19+
{{ unstable_branch }} | [![Build Status][travis_unstable_badge]][travis_link] | [![Coverage Status][coveralls_unstable_badge]][coveralls_unstable_link] |
2020

2121
This package is part of the [Symfony Content Management Framework (CMF)](http://cmf.symfony.com/) and licensed
2222
under the [MIT License](LICENSE).
@@ -63,16 +63,14 @@ Thanks to
6363

6464
This package is available under the [MIT license](src/Resources/meta/LICENSE).
6565

66-
[travis_legacy_badge]: https://travis-ci.org/{{ repository_name }}.svg?branch={{ legacy_branch }}
67-
[travis_legacy_link]: https://travis-ci.org/{{ packagist_name }}
68-
[travis_stable_badge]: https://travis-ci.org/{{ repository_name }}.svg?branch={{ stable_branch }}
69-
[travis_stable_link]: https://travis-ci.org/{{ packagist_name }}
70-
[travis_unstable_badge]: https://travis-ci.org/{{ repository_name }}.svg?branch={{ unstable_branch }}
71-
[travis_unstable_link]: https://travis-ci.org/{{ packagist_name }}
72-
73-
[coveralls_legacy_badge]: https://coveralls.io/repos/github/{{ repository_name }}/badge.svg?branch={{ legacy_branch }}
74-
[coveralls_legacy_link]: https://coveralls.io/github/{{ repository_name }}?branch={{ legacy_branch }}
75-
[coveralls_stable_badge]: https://coveralls.io/repos/github/{{ repository_name }}/badge.svg?branch={{ stable_branch }}
76-
[coveralls_stable_link]: https://coveralls.io/github/{{ repository_name }}?branch={{ stable_branch }}
77-
[coveralls_unstable_badge]: https://coveralls.io/repos/github/{{ repository_name }}/badge.svg?branch={{ unstable_branch }}
78-
[coveralls_unstable_link]: https://coveralls.io/github/{{ repository_name }}?branch={{ unstable_branch }}
66+
[travis_legacy_badge]: https://travis-ci.org/{{ packagist_name }}.svg?branch={{ legacy_branch }}
67+
[travis_stable_badge]: https://travis-ci.org/{{ packagist_name }}.svg?branch={{ stable_branch }}
68+
[travis_unstable_badge]: https://travis-ci.org/{{ packagist_name }}.svg?branch={{ unstable_branch }}
69+
[travis_link]: https://travis-ci.org/{{ packagist_name }}
70+
71+
[coveralls_legacy_badge]: https://coveralls.io/repos/github/{{ packagist_name }}/badge.svg?branch={{ legacy_branch }}
72+
[coveralls_legacy_link]: https://coveralls.io/github/{{ packagist_name }}?branch={{ legacy_branch }}
73+
[coveralls_stable_badge]: https://coveralls.io/repos/github/{{ packagist_name }}/badge.svg?branch={{ stable_branch }}
74+
[coveralls_stable_link]: https://coveralls.io/github/{{ packagist_name }}?branch={{ stable_branch }}
75+
[coveralls_unstable_badge]: https://coveralls.io/repos/github/{{ packagist_name }}/badge.svg?branch={{ unstable_branch }}
76+
[coveralls_unstable_link]: https://coveralls.io/github/{{ packagist_name }}?branch={{ unstable_branch }}

0 commit comments

Comments
 (0)