Skip to content

Commit

Permalink
Merge pull request #4 from eclipxe13/development
Browse files Browse the repository at this point in the history
Version 2.1.1 2020-01-08
  • Loading branch information
eclipxe13 authored Jan 8, 2020
2 parents 31bb4c1 + 727bb20 commit efb3781
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ build:
tests:
override:
- php-scrutinizer-run --enable-security-analysis
- command: vendor/bin/phpunit --testdox --coverage-clover=coverage.clover
- command: vendor/bin/phpunit --verbose --coverage-clover=coverage.clover
coverage:
file: coverage.clover
format: clover
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ before_script:
script:
- vendor/bin/phpcs -sp src/ tests/
- vendor/bin/php-cs-fixer fix --using-cache=no --dry-run --verbose
- vendor/bin/phpunit --testdox --verbose
- vendor/bin/phpunit --verbose
- test $TRAVIS_PHP_VERSION != "7.0" && vendor/bin/phpstan analyse --no-progress --level max src/ tests/ || true
- test $TRAVIS_PHP_VERSION != "7.0" && vendor/bin/psalm --no-progress || true

Expand Down
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# eclipxe/xmlschemavalidator To Do
# eclipxe/XmlSchemaValidator To Do

- [ ] Document usage examples

Expand Down
2 changes: 1 addition & 1 deletion tests/XmlSchemaValidatorTests/LibXmlExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function () {
for ($previous = $foundException; null !== $previous; $previous = $previous->getPrevious()) {
$chain[] = $previous->getMessage();
}
$this->assertStringContainsString('Start tag expected', $foundException->getMessage());
$this->assertStringStartsWith('Start tag expected', $foundException->getMessage());
$this->assertCount(1, $chain, 'It should only exists 1 error');
}

Expand Down

0 comments on commit efb3781

Please sign in to comment.