File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11vendor
22.idea
33composer.phar
4- clover.xml
4+ / clover.xml
55build
66/xhprof_report. *
7- benchmark-result.json
7+ benchmark-result.json
8+ /coverage.xml
Original file line number Diff line number Diff line change 1919before_script :
2020 - composer install --dev --no-interaction --prefer-dist
2121 - if ! [[ $(phpenv version-name) =~ 7.3 ]] ; then phpenv config-rm xdebug.ini || true ; fi
22- - if [[ $(phpenv version-name) =~ 7.2 ]] ; then test -f $HOME/.cache/composer/phpstan-0.11.8.phar || wget https://github.com/phpstan/phpstan/releases/download/0.11.8/phpstan.phar -O $HOME/.cache/composer/phpstan-0.11.8.phar; fi
2322
2423matrix :
2524 allow_failures :
@@ -28,7 +27,8 @@ matrix:
2827
2928script :
3029 - php -derror_reporting="E_ALL & ~E_DEPRECATED" ./vendor/bin/phpunit -v --configuration phpunit.xml --coverage-text --coverage-clover=coverage.xml
31- - if [[ $(phpenv version-name) =~ 7.2 ]] ; then php $HOME/.cache/composer/phpstan-0.11.8.phar analyze -l 7 -c phpstan.neon ./src; fi
30+ - if [[ $(phpenv version-name) =~ 7.3 ]] ; then make test-coverage; else make test; fi
31+ - if [[ $(phpenv version-name) =~ 7.2 ]] ; then make lint; fi
3232
3333after_script :
3434 - if [[ $(phpenv version-name) =~ 7.3 ]] ; then bash <(curl -s https://codecov.io/bash); fi
Original file line number Diff line number Diff line change 1+ PHPSTAN_VERSION ?= 0.11.15
2+
13deps :
24 @git submodule init && git submodule update
35
46lint :
5- @test -f $$ HOME/.cache/composer/phpstan-0.11.8. phar || wget https://github.com/phpstan/phpstan/releases/download/0.11.8 /phpstan.phar -O $$ HOME/.cache/composer/phpstan-0.11.8. phar
6- @php $$ HOME/.cache/composer/phpstan-0.11.8 .phar analyze -l 7 -c phpstan.neon ./src
7+ @test -f ${ HOME} /.cache/composer/phpstan-${PHPSTAN_VERSION} . phar || (mkdir -p ${HOME} /.cache/composer/ && wget https://github.com/phpstan/phpstan/releases/download/${PHPSTAN_VERSION} /phpstan.phar -O ${ HOME} /.cache/composer/phpstan-${PHPSTAN_VERSION} . phar)
8+ @php $$ HOME/.cache/composer/phpstan-${PHPSTAN_VERSION} .phar analyze -l 7 -c phpstan.neon ./src
79
810docker-lint :
911 @docker run -v $$ PWD:/app --rm phpstan/phpstan analyze -l 7 -c phpstan.neon ./src
1214 @php -derror_reporting=" E_ALL & ~E_DEPRECATED" vendor/bin/phpunit
1315
1416test-coverage :
15- @php -derror_reporting=" E_ALL & ~E_DEPRECATED" -dzend_extension=xdebug.so vendor/bin/phpunit --coverage-text
17+ @php -derror_reporting=" E_ALL & ~E_DEPRECATED" -dzend_extension=xdebug.so vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml
Original file line number Diff line number Diff line change 11parameters :
2+ inferPrivatePropertyTypeFromConstructor : true
23 ignoreErrors :
34 - '#Access to an undefined property static\ (Swaggest\\JsonSchema\\JsonSchema\ )\|Swaggest\\JsonSchema\\Constraint\\Properties:: #'
45 - ' #Access to an undefined property .+Swaggest\\JsonSchema\\NameMirror::.+ #'
You can’t perform that action at this time.
0 commit comments