-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
243 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# do not include this files on git | ||
/vendor | ||
/build | ||
/composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
filter: | ||
excluded_paths: | ||
- 'tests/*' | ||
- 'vendor/*' | ||
excluded_paths: | ||
- 'tests/' | ||
- 'vendor/' | ||
|
||
checks: | ||
build: | ||
dependencies: | ||
override: | ||
- composer self-update --no-interaction --no-progress | ||
- composer install --no-interaction | ||
nodes: | ||
php: | ||
code_rating: true | ||
duplication: true | ||
|
||
tools: | ||
php_code_sniffer: | ||
config: | ||
standard: "PSR2" | ||
external_code_coverage: true | ||
tests: | ||
override: | ||
- php-scrutinizer-run --enable-security-analysis | ||
- command: vendor/bin/phpunit --testdox --coverage-clover=coverage.clover | ||
coverage: | ||
file: coverage.clover | ||
format: clover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,21 @@ | ||
language: php | ||
|
||
# php compatibility | ||
php: | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
|
||
# This triggers builds to run on the new TravisCI infrastructure. | ||
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/ | ||
sudo: false | ||
dist: xenial | ||
|
||
env: | ||
- FULL_BUILD_PHP_VERSION="7.3" | ||
# php compatibility | ||
php: ["7.0", "7.1", "7.2", "7.3", "7.4"] | ||
|
||
before_script: | ||
- phpenv config-rm xdebug.ini | ||
- phpenv config-rm xdebug.ini || true | ||
- travis_retry composer install --no-interaction --no-progress --prefer-dist | ||
|
||
script: | ||
- mkdir -p build/tests/ | ||
- vendor/bin/phplint | ||
- vendor/bin/phpcs -sp src/ tests/ | ||
- vendor/bin/php-cs-fixer fix --using-cache=no --dry-run --verbose | ||
- | | ||
if [[ $TRAVIS_PHP_VERSION == $FULL_BUILD_PHP_VERSION ]]; then | ||
php -dzend_extension=xdebug.so vendor/bin/phpunit --testdox --verbose --coverage-text --coverage-clover=build/tests/coverage.xml | ||
vendor/bin/phpstan.phar analyse --no-progress --level max src/ tests/ | ||
else | ||
vendor/bin/phpunit --testdox --verbose | ||
fi | ||
after_script: | ||
- | | ||
if [[ $TRAVIS_PHP_VERSION == $FULL_BUILD_PHP_VERSION ]]; then | ||
wget https://scrutinizer-ci.com/ocular.phar | ||
php ocular.phar code-coverage:upload --format=php-clover build/tests/coverage.xml | ||
fi | ||
- vendor/bin/phpunit --testdox --verbose | ||
- vendor/bin/phpstan analyse --no-progress --level max src/ tests/ | ||
- vendor/bin/psalm --no-progress | ||
|
||
notifications: | ||
email: false | ||
email: | ||
if: branch = master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# eclipxe13/xmlschemavalidator To Do | ||
# eclipxe/xmlschemavalidator To Do | ||
|
||
- [ ] Document usage examples | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0"?> | ||
<psalm | ||
totallyTyped="true" | ||
resolveFromConfigFile="true" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://getpsalm.org/schema/config" | ||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | ||
> | ||
<projectFiles> | ||
<directory name="src" /> | ||
<ignoreFiles> | ||
<directory name="vendor" /> | ||
</ignoreFiles> | ||
</projectFiles> | ||
|
||
<issueHandlers> | ||
<LessSpecificReturnType errorLevel="info" /> | ||
</issueHandlers> | ||
</psalm> |
Oops, something went wrong.