Skip to content

Commit

Permalink
XOL-4975 Support for Symfony 3 (#12)
Browse files Browse the repository at this point in the history
* XOL-4975 removed `composer.lock` from version control

* XOL-4975 fixed Symfony 2.8 deprecations

* XOL-4975 upgraded to phpunit 7

* XOL-4975 fixed phpunit config issue

* XOL-4975 fixed phpunit `setUp` function signature

* XOL-4975 fixed phpunit `setUp` function signature

* XOL-4975 fixed phpunit `tearDown` function signature

* XOL-4975 do not fail on warnings
  • Loading branch information
anush authored Apr 7, 2020
1 parent 88cca4e commit 6d0f402
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 1,938 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/vendor/
composer.lock
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: php

php:
- 7.2
- 7.3
- 7.4

env:
- SYMFONY_VERSION="2.1"
- SYMFONY_VERSION="3.0"

before_script:
- composer self-update
- composer --version
- composer require symfony/framework-bundle:${SYMFONY_VERSION} --no-update
- composer install -n --dev --prefer-source

script: phpunit --configuration phpunit.xml.dist
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "xola/reportwriter-bundle",
"description": "A generic report writer",
"require": {
"php": ">=5.6",
"symfony/framework-bundle": "~2.1",
"php": ">=7.1",
"symfony/framework-bundle": ">=2.1 <4.0",
"psr/log": "~1.0",
"phpoffice/phpspreadsheet": "^1.3"
},
Expand All @@ -20,6 +20,6 @@
}
},
"require-dev": {
"phpunit/phpunit": "~4.4"
"phpunit/phpunit": "~7"
}
}
Loading

0 comments on commit 6d0f402

Please sign in to comment.