mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Cleanup build files
This commit is contained in:
@@ -27,18 +27,9 @@ jobs:
|
|||||||
- travis_retry php phive.phar --no-progress install --trust-gpg-keys E82B2FB314E9906E php-coveralls/php-coveralls && ./tools/php-coveralls --verbose
|
- travis_retry php phive.phar --no-progress install --trust-gpg-keys E82B2FB314E9906E php-coveralls/php-coveralls && ./tools/php-coveralls --verbose
|
||||||
- travis_retry wget --no-verbose https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
|
- travis_retry wget --no-verbose https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
|
||||||
|
|
||||||
- stage: lint
|
|
||||||
php: 7.1
|
|
||||||
before_script:
|
|
||||||
- travis_retry php phive.phar --no-progress install --trust-gpg-keys 8E730BA25823D8B5 phpstan
|
|
||||||
script:
|
|
||||||
- ./tools/phpstan analyse src --level max --configuration phpstan.neon
|
|
||||||
- composer create-project symplify/easy-coding-standard temp/ecs ^3 && temp/ecs/bin/ecs check src tests
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.composer/cache/files
|
- $HOME/.composer/cache/files
|
||||||
- $HOME/.phive
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc: "irc.freenode.org#phpdocumentor"
|
irc: "irc.freenode.org#phpdocumentor"
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
includes:
|
|
||||||
- temp/ecs/config/clean-code.neon
|
|
||||||
- temp/ecs/config/psr2.neon
|
|
||||||
- temp/ecs/config/common.neon
|
|
||||||
|
|
||||||
parameters:
|
|
||||||
exclude_checkers:
|
|
||||||
# from temp/ecs/config/common.neon
|
|
||||||
- PhpCsFixer\Fixer\ClassNotation\OrderedClassElementsFixer
|
|
||||||
- PhpCsFixer\Fixer\PhpUnit\PhpUnitStrictFixer
|
|
||||||
- PhpCsFixer\Fixer\ControlStructure\YodaStyleFixer
|
|
||||||
# from temp/ecs/config/spaces.neon
|
|
||||||
- PhpCsFixer\Fixer\Operator\NotOperatorWithSuccessorSpaceFixer
|
|
||||||
|
|
||||||
skip:
|
|
||||||
SlevomatCodingStandard\Sniffs\Classes\UnusedPrivateElementsSniff:
|
|
||||||
# WIP code
|
|
||||||
- src/DocBlock/StandardTagFactory.php
|
|
||||||
PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis\EmptyStatementSniff:
|
|
||||||
# WIP code
|
|
||||||
- src/DocBlock/StandardTagFactory.php
|
|
||||||
PHP_CodeSniffer\Standards\Squiz\Sniffs\Classes\ValidClassNameSniff:
|
|
||||||
- src/DocBlock/Tags/Return_.php
|
|
||||||
- src/DocBlock/Tags/Var_.php
|
|
||||||
PHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions\CamelCapsFunctionNameSniff:
|
|
||||||
- */tests/**
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<phive xmlns="https://phar.io/phive">
|
|
||||||
<phar name="phpstan" version="^0.9.1" installed="0.9.1" location="./tools/phpstan"/>
|
|
||||||
<phar name="phpunit" version="^6.5.5" installed="6.5.5" location="./tools/phpunit"/>
|
|
||||||
</phive>
|
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<psalm
|
||||||
|
totallyTyped="false"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xmlns="https://getpsalm.org/schema/config"
|
||||||
|
xsi:schemaLocation="https://getpsalm.org/schema/config file:///composer/vendor/vimeo/psalm/config.xsd"
|
||||||
|
>
|
||||||
|
<projectFiles>
|
||||||
|
<directory name="src" />
|
||||||
|
<ignoreFiles>
|
||||||
|
<directory name="vendor" />
|
||||||
|
</ignoreFiles>
|
||||||
|
</projectFiles>
|
||||||
|
|
||||||
|
<issueHandlers>
|
||||||
|
<LessSpecificReturnType errorLevel="info" />
|
||||||
|
</issueHandlers>
|
||||||
|
</psalm>
|
||||||
Reference in New Issue
Block a user