Issues (19)

src/PHPUnitCompat/AbstractTestCase6.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * This file is part of the phpunit-mink library.
4
 * For the full copyright and license information, please view
5
 * the LICENSE file that was distributed with this source code.
6
 *
7
 * @copyright Alexander Obuhovich <[email protected]>
8
 * @link      https://github.com/aik099/phpunit-mink
9
 */
10
11
namespace ConsoleHelpers\PHPUnitCompat;
12
13
14
use PHPUnit\Framework\TestCase;
0 ignored issues
show
The type PHPUnit\Framework\TestCase was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
15
16
/**
17
 * Implementation for PHPUnit 6
18
 */
19
abstract class AbstractTestCase extends TestCase
20
{
21
22
	use TAbstractTestCaseBody;
23
24
	/**
25
	 * @inheritDoc
26
	 */
27
	protected function onNotSuccessfulTest(\Throwable $t)
28
	{
29
		$this->onNotSuccessfulTestCompat($t);
30
31
		parent::onNotSuccessfulTest($t);
32
	}
33
34
}
35