Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
14 changed files
with
245 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
indent_style = space | ||
charset = utf-8 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.{yml,twig,php}] | ||
indent_size = 4 | ||
|
||
[*.{js,json,scss,css}] | ||
indent_size = 2 | ||
|
||
[.travis.yml] | ||
indent_size = 2 | ||
|
||
[composer.json] | ||
indent_size = 4 | ||
|
||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.* export-ignore | ||
*.md export-ignore | ||
Tests/* export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!-- | ||
Before you open an issue, make sure this one does not already exist. | ||
Please also read the "guidelines for contributing" link above before posting. | ||
--> | ||
|
||
<!-- | ||
If you are reporting a bug, please try to fill in the following. | ||
Otherwise remove it. | ||
--> | ||
|
||
### Environment | ||
|
||
#### Symfony packages | ||
|
||
``` | ||
$ composer show --latest 'symfony/*' | ||
``` | ||
|
||
#### Symfony CMF packages | ||
|
||
``` | ||
$ composer show --latest 'symfony-cmf/*' | ||
``` | ||
|
||
## Subject | ||
|
||
<!-- | ||
Give here as many details as possible. | ||
Next sections are for ERRORS only. | ||
--> | ||
|
||
## Steps to reproduce | ||
|
||
## Expected results | ||
|
||
## Actual results | ||
|
||
<!-- | ||
If it's an error message or piece of code, use code block tags, | ||
and make sure you provide the whole stack trace(s), | ||
not just the first error message you can see. | ||
More details here: https://github.com/symfony-cmf/Routing/blob/master/CONTRIBUTING.md#issues | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
| Q | A | ||
| ------------- | --- | ||
| Branch? | "master" for new features / the branch of the current release for fixes | ||
| Bug fix? | yes/no | ||
| New feature? | yes/no | ||
| BC breaks? | yes/no | ||
| Deprecations? | yes/no | ||
| Fixed tickets | comma-separated list of tickets fixed by the PR, if any | ||
| License | MIT | ||
| Doc PR | reference to the documentation PR, if any |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,29 @@ | ||
####################################################### | ||
# DO NOT EDIT THIS FILE! # | ||
# # | ||
# It's auto-generated by symfony-cmf/dev-kit package. # | ||
####################################################### | ||
|
||
############################################################################ | ||
# This file is part of the Symfony CMF package. # | ||
# # | ||
# (c) 2011-2017 Symfony CMF # | ||
# # | ||
# For the full copyright and license information, please view the LICENSE # | ||
# file that was distributed with this source code. # | ||
############################################################################ | ||
|
||
|
||
preset: symfony | ||
|
||
enabled: | ||
- alpha_ordered_imports | ||
- combine_consecutive_unsets | ||
- short_array_syntax | ||
|
||
- newline_after_open_tag | ||
- no_php4_constructor | ||
- no_useless_else | ||
- ordered_use | ||
- strict | ||
- php_unit_construct | ||
|
||
disabled: [single_line_class_definition] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,68 @@ | ||
####################################################### | ||
# DO NOT EDIT THIS FILE! # | ||
# # | ||
# It's auto-generated by symfony-cmf/dev-kit package. # | ||
####################################################### | ||
|
||
############################################################################ | ||
# This file is part of the Symfony CMF package. # | ||
# # | ||
# (c) 2011-2017 Symfony CMF # | ||
# # | ||
# For the full copyright and license information, please view the LICENSE # | ||
# file that was distributed with this source code. # | ||
############################################################################ | ||
|
||
language: php | ||
|
||
php: | ||
- 7.0 | ||
- 7.1 | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- .phpunit | ||
- $HOME/.composer/cache/files | ||
|
||
env: | ||
matrix: | ||
- SYMFONY_VERSION=3.2.* | ||
matrix: SYMFONY_VERSION=3.4 | ||
global: | ||
- SYMFONY_PHPUNIT_DIR=.phpunit | ||
- SYMFONY_PHPUNIT_REMOVE="symfony/yaml" | ||
- SYMFONY_PHPUNIT_VERSION=5.6 | ||
- SYMFONY_DEPRECATIONS_HELPER=48 | ||
- SYMFONY_PHPUNIT_DIR=.phpunit SYMFONY_PHPUNIT_REMOVE="symfony/yaml" SYMFONY_PHPUNIT_VERSION=5.7 | ||
- TEST_INSTALLATION=false | ||
|
||
matrix: | ||
include: | ||
- php: 7.1 | ||
env: SYMFONY_VERSION=3.3.* DEPS=dev | ||
- php: 5.6 | ||
env: SYMFONY_VERSION=2.8.* COMPOSER_FLAGS="--prefer-lowest" | ||
env: SYMFONY_VERSION=3.4.* | ||
- php: 7.1 | ||
env: DEPS=dev SYMFONY_VERSION=3.3.* | ||
- php: 5.6 | ||
env: COMPOSER_FLAGS="--prefer-lowest" SYMFONY_VERSION=2.8.* SYMFONY_DEPRECATIONS_HELPER=weak | ||
- php: 7.0 | ||
env: SYMFONY_VERSION=3.1.* | ||
- php: hhvm | ||
dist: trusty | ||
finish_fast: true | ||
- php: 7.0 | ||
env: SYMFONY_VERSION=3.2.* | ||
|
||
fast_finish: true | ||
allow_failures: | ||
- php: 7.1 | ||
env: SYMFONY_VERSION=3.4.* | ||
|
||
|
||
before_install: | ||
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi | ||
- phpenv config-rm xdebug.ini || true | ||
- composer self-update | ||
- if [ "$DEPS" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi | ||
- if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION} --no-update; fi | ||
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi) | ||
|
||
install: composer update --prefer-dist $COMPOSER_FLAGS | ||
install: travis_wait composer update --prefer-dist $COMPOSER_FLAGS | ||
|
||
script: vendor/bin/simple-phpunit | ||
script: | ||
- if [ "${TEST_INSTALLATION}" == true ]; then make test_installation; else make test; fi | ||
|
||
notifications: | ||
irc: "irc.freenode.org#symfony-cmf" | ||
email: "symfony-cmf-devs@googlegroups.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
Changelog | ||
========= | ||
|
||
* **2017-10-23**: Dropped php hhvm support | ||
|
||
2.0.0 | ||
----- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
####################################################### | ||
# DO NOT EDIT THIS FILE! # | ||
# # | ||
# It's auto-generated by symfony-cmf/dev-kit package. # | ||
####################################################### | ||
|
||
############################################################################ | ||
# This file is part of the Symfony CMF package. # | ||
# # | ||
# (c) 2011-2017 Symfony CMF # | ||
# # | ||
# For the full copyright and license information, please view the LICENSE # | ||
# file that was distributed with this source code. # | ||
############################################################################ | ||
|
||
TESTING_SCRIPTS_DIR=vendor/symfony-cmf/testing/bin | ||
CONSOLE=${TESTING_SCRIPTS_DIR}/console | ||
VERSION=dev-master | ||
ifdef BRANCH | ||
VERSION=dev-${BRANCH} | ||
endif | ||
PACKAGE=symfony-cmf/routing | ||
|
||
list: | ||
@echo 'test: will run all tests' | ||
@echo 'unit_tests: will run unit tests only' | ||
|
||
|
||
|
||
include ${TESTING_SCRIPTS_DIR}/make/unit_tests.mk | ||
|
||
test: unit_tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Symfony Cmf Routing | ||
|
||
The MIT License | ||
|
||
Copyright (c) 2011-2017 Symfony CMF | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
Oops, something went wrong.