Skip to content

Commit 359688e

Browse files
authored
Fix running the tests with phpdbg (#276)
Remove the unnecessary run in separate process PHPUnit annotation for the `AddPrefixCommand` unit test and ignore `integration` (the PHPUnit group) tests.
1 parent 514edfb commit 359688e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build:
66
tests:
77
override:
88
-
9-
command: 'phpdbg -qrr -d zend.enable_gc=0 bin/phpunit --coverage-clover=coverage.clover'
9+
command: 'phpdbg -qrr bin/phpunit --coverage-clover=coverage.clover --exclude-group=integration'
1010
coverage:
1111
file: 'coverage.clover'
1212
format: 'clover'

tests/Console/Command/AddPrefixCommandTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131

3232
/**
3333
* @covers \Humbug\PhpScoper\Console\Command\AddPrefixCommand
34-
* @runTestsInSeparateProcesses
3534
*/
3635
class AddPrefixCommandTest extends FileSystemTestCase
3736
{

0 commit comments

Comments
 (0)