Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.1.1 2020-01-08 #4

Merged
merged 3 commits into from
Jan 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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