File tree Expand file tree Collapse file tree 7 files changed +9
-15
lines changed Expand file tree Collapse file tree 7 files changed +9
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ stages:
1515 - Code style & static analysis
1616
1717before_install :
18- - phpenv config-rm xdebug.ini || echo "Unable to remove xDebug"
1918 - if [ "$SYMFONY_REQUIRE" != "" ]; then composer global require symfony/flex; fi
2019
2120install :
2221 - composer update --no-interaction --no-suggest --prefer-dist --prefer-stable
2322
2423script :
25- - vendor/bin/phpunit
24+ - vendor/bin/phpunit --coverage-clover=build/coverage-report.xml
25+ - bash <(curl -s https://codecov.io/bash) -f build/coverage-report.xml
2626
2727jobs :
2828 include :
4040 SYMFONY_REQUIRE : 4.4
4141 - env :
4242 SYMFONY_REQUIRE : 5
43- - name : Code coverage
44- php : 7.3
45- before_install : []
46- script :
47- - vendor/bin/phpunit --verbose --coverage-clover=build/logs/clover.xml
48- after_success :
49- - vendor/bin/php-coveralls -v
5043 - stage : Code style & static analysis
5144 name : PHP CS Fixer
5245 script : vendor/bin/php-cs-fixer fix --verbose --diff --dry-run
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66## Unreleased
77 * Fix Symfony 5 compatibility [ #3 ] ( https://github.com/facile-it/symfony-functional-testcase/pull/3 )
88 * Improve CI testing [ #3 ] ( https://github.com/facile-it/symfony-functional-testcase/pull/3 )
9+ * Increase PHPStan level to maximum (8) [ 0952653] ( https://github.com/facile-it/symfony-functional-testcase/commit/095265358f7494ed95cd0c4fc20fe6e38e5f72fe )
910
1011## 0.1.2 [ 2020-02-24]
1112### Added
Original file line number Diff line number Diff line change 33[ ![ Build status] [ Travis Master image ]] [ Travis Master ]
44[ ![ Latest Stable Version] ( https://poser.pugx.org/facile-it/symfony-functional-testcase/v/stable )] ( https://packagist.org/packages/facile-it/symfony-functional-testcase )
55[ ![ Latest Unstable Version] ( https://poser.pugx.org/facile-it/symfony-functional-testcase/v/unstable )] ( https://packagist.org/packages/facile-it/symfony-functional-testcase )
6- [ ![ Coverage Status ] ( https://coveralls .io/repos/github/ facile-it/symfony-functional-testcase/badge.svg )] ( https://coveralls .io/github /facile-it/symfony-functional-testcase )
6+ [ ![ Codecov coverage status ] ( https://codecov .io/gh/ facile-it/symfony-functional-testcase/branch/master/graph/ badge.svg )] ( https://codecov .io/gh /facile-it/symfony-functional-testcase )
77
88This is a small base TestCase for PHPUnit functional tests in Symfony that provides a simple ` getContainer() ` helper,
99alongside with some small caching to speed up the tests.
Original file line number Diff line number Diff line change 1+ comment : false
Original file line number Diff line number Diff line change 2626 "require-dev" : {
2727 "facile-it/facile-coding-standard" : " ^0.3.1" ,
2828 "jangregor/phpstan-prophecy" : " ^0.6.2" ,
29- "php-coveralls/php-coveralls" : " ^2.1" ,
3029 "phpstan/extension-installer" : " ^1.0" ,
3130 "phpstan/phpstan" : " ^0.12.18" ,
3231 "phpstan/phpstan-phpunit" : " ^0.12.6" ,
3332 "phpunit/phpunit" : " ^7.5.20|^8.5.2" ,
3433 "symfony/browser-kit" : " ^3.4|^4.0|^5.0" ,
34+ "symfony/console" : " ^3.4|^4.0|^5.0" ,
3535 "symfony/monolog-bridge" : " >=3" ,
3636 "symfony/monolog-bundle" : " ^3.0" ,
3737 "symfony/phpunit-bridge" : " ^5.0" ,
3838 "symfony/security-bundle" : " ^3.4|^4.0|^5.0" ,
39- "symfony/security-core" : " ^3.4|^4.0|^5.0"
39+ "symfony/security-core" : " ^3.4|^4.0|^5.0" ,
40+ "symfony/yaml" : " ^3.4|^4.0|^5.0"
4041 },
4142 "suggest" : {
4243 "facile-it/paraunit" : " A PHPUnit wrapper to execute tests in parallel"
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ abstract class WebTestCase extends BaseWebTestCase
2626
2727 /**
2828 * Builds up the environment to run the given command.
29+ *
2930 * @param array<string, mixed> $params
3031 */
3132 protected function runCommand (string $ name , array $ params = [], bool $ reuseKernel = false ): CommandTester
You can’t perform that action at this time.
0 commit comments