File tree Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Expand file tree Collapse file tree 4 files changed +12
-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 1010 - 5.4
1111
1212sudo : false
13+ dist : trusty
1314
1415# # Cache composer bits
1516cache :
1920before_script :
2021 - composer install --dev --no-interaction --prefer-dist
2122 - 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
2323
2424matrix :
2525 allow_failures :
@@ -28,7 +28,8 @@ matrix:
2828
2929script :
3030 - 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
31+ - if [[ $(phpenv version-name) =~ 7.3 ]] ; then make test-coverage; else make test; fi
32+ - if [[ $(phpenv version-name) =~ 7.2 ]] ; then make lint; fi
3233
3334after_script :
3435 - 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