forked from tviho/SonataAdminBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
261 additions
and
168 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-ci.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
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 |
---|---|---|
@@ -1,17 +1,26 @@ | ||
# DO NOT EDIT THIS FILE! | ||
# | ||
# It's auto-generated by sonata-project/dev-kit package. | ||
# | ||
# Package `sllh/php-cs-fixer-styleci-bridge` is required to get it working. | ||
|
||
preset: symfony | ||
|
||
enabled: | ||
- align_double_arrow | ||
- newline_after_open_tag | ||
- ordered_use | ||
- long_array_syntax | ||
- php_unit_construct | ||
- php_unit_strict | ||
# Comment strict rules for the moment. Should be uncomment later to see StyleCI PR results | ||
# - strict | ||
# - strict_param | ||
# - php_unit_construct | ||
# - php_unit_strict | ||
|
||
disabled: | ||
- unalign_double_arrow | ||
- unalign_equals | ||
|
||
finder: | ||
exclude: | ||
- Tests/Fixtures | ||
- 'Tests/Fixtures' |
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,61 +1,69 @@ | ||
# DO NOT EDIT THIS FILE! | ||
# | ||
# It's auto-generated by sonata-project/dev-kit package. | ||
|
||
language: php | ||
|
||
php: | ||
- hhvm | ||
- '5.3' | ||
- '5.4' | ||
- '5.5' | ||
- '5.6' | ||
- '7.0' | ||
- nightly | ||
- hhvm | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache/files | ||
- $HOME/.cache/pip | ||
|
||
env: | ||
global: | ||
- PATH="$HOME/.composer/vendor/bin:$PATH" | ||
- PATH="$HOME/.composer/vendor/bin:$HOME/.local/bin:$PATH" | ||
- SYMFONY_DEPRECATIONS_HELPER=weak | ||
- TARGET=test | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- php: 7.0 | ||
- php: '7.0' | ||
env: TARGET=docs | ||
- php: 5.3 | ||
env: COMPOSER_FLAGS="--prefer-lowest --prefer-stable" | ||
- php: 7.0 | ||
- php: 5.6 | ||
- php: '5.3' | ||
env: COMPOSER_FLAGS="--prefer-lowest" | ||
- php: '7.0' | ||
env: SYMFONY_VERSION=2.3.* | ||
- php: 5.6 | ||
- php: '7.0' | ||
env: SYMFONY_VERSION=2.6.* | ||
- php: '7.0' | ||
env: SYMFONY_VERSION=2.7.* | ||
- php: 5.6 | ||
- php: '7.0' | ||
env: SYMFONY_VERSION=2.8.* | ||
- php: 5.5 | ||
- php: '7.0' | ||
env: SYMFONY_VERSION=3.0.* | ||
- php: 5.6 | ||
env: SYMFONY_VERSION=3.0.* | ||
- php: 7.0 | ||
env: SYMFONY_VERSION=3.0.* | ||
|
||
- php: '7.0' | ||
env: SYMFONY_VERSION=dev-master@dev | ||
- php: '7.0' | ||
env: SYMFONY_DEPRECATIONS_HELPER=0 | ||
allow_failures: | ||
- php: hhvm | ||
- php: nightly | ||
- php: hhvm | ||
- env: SYMFONY_DEPRECATIONS_HELPER=0 | ||
- env: SYMFONY_VERSION=dev-master@dev | ||
|
||
before_script: | ||
- (phpenv config-rm xdebug.ini || exit 0) | ||
- mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d && echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini | ||
- composer selfupdate | ||
- composer config -q -g github-oauth.github.com $GITHUB_OAUTH_TOKEN | ||
- composer global require phpunit/phpunit:@stable fabpot/php-cs-fixer --no-update | ||
- composer global update --prefer-dist --no-interaction | ||
before_install: | ||
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then mv "$HOME/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini" /tmp; fi; | ||
- composer config --quiet --global github-oauth.github.com $GITHUB_OAUTH_TOKEN | ||
- composer global require phpunit/phpunit:@stable --no-update | ||
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi; | ||
|
||
install: | ||
- travis_wait composer global update --prefer-dist --no-interaction | ||
- travis_wait composer update --prefer-dist --no-interaction $COMPOSER_FLAGS | ||
- export PATH=$HOME/.local/bin:$PATH | ||
- pip install -r Resources/doc/requirements.txt --user `whoami` | ||
|
||
script: | ||
- make $TARGET | ||
before_script: | ||
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then mv /tmp/xdebug.ini "$HOME/.phpenv/versions/$(phpenv version-name)/etc/conf.d"; fi; | ||
|
||
notifications: | ||
webhooks: https://sonata-project.org/bundles/admin/master/travis | ||
script: make $TARGET |
Oops, something went wrong.