<?php
declare(strict_types=1);
/*
 * This file is part of PHPUnit.
 *
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
$whitelistClasses = [
    'PHPUnit\*',
    'SebastianBergmann\CodeCoverage\*',
    'PharIo\*',
    'PHP_Token*',
];

return [
    'whitelist' => $whitelistClasses,
];

<?php
declare(strict_types=1);
/*
 * This file is part of PHPUnit.
 *
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
$whitelistClasses = [
    'PHPUnit\*',
    'SebastianBergmann\CodeCoverage\*',
    'PharIo\*',
    'PHP_Token*',
    'Prophecy\*',
];

return [
    'whitelist' => $whitelistClasses,
];

Add 'Prophecy' namespace to the scoping whitelist
Add 'Prophecy' namespace to the scoping whitelist

In oder to setup or check test doubles with Prophecy it has to be
part of the public API of PHPUnit, even it not provided by PHPUnit
itself.

Issues:
- #3578 - Scoped PHAR Prophecy issue
