Skip to content

Commit

Permalink
fix tests, psr-12
Browse files Browse the repository at this point in the history
  • Loading branch information
hummer2k committed Dec 26, 2019
1 parent 26530cc commit 2f8264c
Show file tree
Hide file tree
Showing 33 changed files with 3,612 additions and 240 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/vendor/
/vendor/
.phpunit.result.cache
.idea
13 changes: 4 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
language: php

php:
- 5.5
- 5.6
- 7.0
- hhvm
- 7.2
- 7.3
- 7.4

before_script:
- composer self-update
- composer update --prefer-dist

script:
- ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
- ./vendor/bin/phpcs --standard=PSR2 ./src/ ./tests/
- ./vendor/bin/phpcs --standard=PSR12 ./src/ ./tests/

after_script:
- ./vendor/bin/coveralls -v

matrix:
allow_failures:
- php: hhvm
23 changes: 13 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "hummer2k/convarnish",
"description": "ZF2 varnish integration using ConLayout for ESI blocks.",
"license": "MIT",
"config": {
"sort-packages": true
},
"keywords": [
"zf2",
"cache",
Expand All @@ -16,22 +19,22 @@
}
],
"require": {
"php": ">=5.5.0",
"zendframework/zend-mvc": "2.*",
"zendframework/zend-eventmanager": "2.*",
"zendframework/zend-modulemanager": "2.*",
"zendframework/zend-servicemanager": "2.*",
"zendframework/zend-view": "2.*",
"zendframework/zend-console": "2.*"
"php": "^7.2",
"squizlabs/php_codesniffer": "^3.5",
"zendframework/zend-console": "2.*",
"zendframework/zend-eventmanager": "^3.0",
"zendframework/zend-modulemanager": "^2.7",
"zendframework/zend-mvc": "^3.0",
"zendframework/zend-servicemanager": "^3.4",
"zendframework/zend-view": "^2.11"
},
"require-dev": {
"zendframework/zend-serializer": "2.*",
"zendframework/zend-log": "2.*",
"zendframework/zend-i18n": "2.*",
"hummer2k/conlayout": "3.*",
"hummer2k/conlayout": "dev-zf3",
"satooshi/php-coveralls": "~0.6",
"squizlabs/php_codesniffer": "~2.0",
"phpunit/phpunit": "4.*"
"phpunit/phpunit": "^8.5"
},
"suggest": {
"hummer2k/conlayout": "To use ESI processing feature."
Expand Down
Loading

0 comments on commit 2f8264c

Please sign in to comment.