Skip to content

Commit 128840d

Browse files
lookymanondrejmirtes
authored andcommitted
Check composer requirements on Travis
1 parent 9dedb57 commit 128840d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ before_script:
1111
- if [ "$dependencies" = "highest" ]; then composer update --no-interaction; fi;
1212
script:
1313
- vendor/bin/phing
14+
- >
15+
wget https://github.com/maglnet/ComposerRequireChecker/releases/download/0.2.1/composer-require-checker.phar
16+
&& php composer-require-checker.phar check composer.json

src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function setTypeSpecifier(TypeSpecifier $typeSpecifier): void
3535

3636
public function getClass(): string
3737
{
38-
return \Webmozart\Assert\Assert::class;
38+
return 'Webmozart\Assert\Assert';
3939
}
4040

4141
public function isStaticMethodSupported(

0 commit comments

Comments
 (0)