Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b622e6a

Browse filesBrowse files
committed
[AsseticBundle] added skip if PHP_CodeSniffer is not installed (closes #14)
1 parent d7ea92a commit b622e6a
Copy full SHA for b622e6a

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

‎src/Symfony/Bundle/AsseticBundle/Tests/DependencyInjection/AsseticExtensionTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/AsseticBundle/Tests/DependencyInjection/AsseticExtensionTest.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ protected function setUp()
4343
$this->markTestSkipped('Assetic is not available.');
4444
}
4545

46+
if (false === @include 'PHP/CodeSniffer.php') {
47+
$this->markTestSkipped('PHP_CodeSniffer is not installed.');
48+
}
49+
4650
$this->kernel = $this->getMockBuilder('Symfony\\Component\\HttpKernel\\Kernel')
4751
->disableOriginalConstructor()
4852
->getMock();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.