Skip to content

Commit

Permalink
Update meta files
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Jun 20, 2016
1 parent f374d4d commit 6bbfc96
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<?php

$finder = PhpCsFixer\Finder::create()
->name('.php_cs')
->ignoreDotFiles(false)
->exclude('_helpers')
->exclude('_temp')
->in(__DIR__)
;
->in(__DIR__);

return PhpCsFixer\Config::create()
->setRules(array(
->setRules([
'@Symfony' => true,
'combine_consecutive_unsets' => true,
'linebreak_after_opening_tag' => true,
Expand All @@ -17,6 +18,5 @@ return PhpCsFixer\Config::create()
'ordered_imports' => true,
'phpdoc_order' => true,
'short_array_syntax' => true,
))
->finder($finder)
;
])
->finder($finder);
16 changes: 9 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
language: php
sudo: required
dist: trusty
group: edge

php:
- 5.5
- 5.6
- 7.0
- hhvm

matrix:
allow_failures:
- php: hhvm
- nightly
- hhvm-3.12
- hhvm-nightly

before_install:
- echo $TRAVIS_PHP_VERSION
- travis_retry composer self-update

install:
Expand All @@ -20,12 +22,12 @@ install:
- travis_retry composer update --no-interaction --prefer-source

before_script:
- if [ $TRAVIS_PHP_VERSION != "hhvm" ]; then coverage="--coverage-xml"; fi
- if [[ $TRAVIS_PHP_VERSION != hhvm* ]]; then coverage="--coverage-xml"; fi
- vendor/bin/codecept build

script:
- php-cs-fixer fix --dry-run
- vendor/bin/codecept run $coverage

after_script:
after_success:
- if [ $coverage != "" ]; then coveralls --verbose; fi
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Arachne/ExpressionLanguage
====

[![Build Status](https://img.shields.io/travis/Arachne/ExpressionLanguage.svg?style=flat-square)](https://travis-ci.org/Arachne/ExpressionLanguage)
[![Coverage Status](https://img.shields.io/coveralls/Arachne/ExpressionLanguage.svg?style=flat-square)](https://coveralls.io/github/Arachne/ExpressionLanguage)
[![Build Status](https://img.shields.io/travis/Arachne/ExpressionLanguage/master.svg?style=flat-square)](https://travis-ci.org/Arachne/ExpressionLanguage/branches)
[![Coverage Status](https://img.shields.io/coveralls/Arachne/ExpressionLanguage/master.svg?style=flat-square)](https://coveralls.io/github/Arachne/ExpressionLanguage?branch=master)
[![SensioLabs Insight](https://img.shields.io/sensiolabs/i/9da80aab-e05b-4160-a51e-75251b6a16b8.svg?style=flat-square)](https://insight.sensiolabs.com/projects/9da80aab-e05b-4160-a51e-75251b6a16b8)
[![VersionEye](https://img.shields.io/versioneye/d/php/arachne:expression-language.svg?style=flat-square)](https://www.versioneye.com/php/arachne:expression-language)
[![Latest stable](https://img.shields.io/packagist/v/arachne/expression-language.svg?style=flat-square)](https://packagist.org/packages/arachne/expression-language)
Expand Down

0 comments on commit 6bbfc96

Please sign in to comment.