Some more deprecation fixups

This commit is contained in:
Philipp 2023-07-05 22:20:52 +02:00
parent 00cd346255
commit f68dd99518
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
5 changed files with 20 additions and 5 deletions

View file

@ -37,7 +37,7 @@ class Intercept extends php_user_filter
public static $cache = '';
/** @noinspection PhpMissingParentCallCommonInspection */
public function filter($in, $out, &$consumed, $closing)
public function filter($in, $out, &$consumed, $closing): int
{
while ($bucket = stream_bucket_make_writeable($in)) {
self::$cache .= $bucket->data;

View file

@ -30,6 +30,15 @@ class DatabaseTest extends FixtureTest
{
use CreateDatabaseTrait;
/**
* @var Cache
*/
protected $configCache;
/**
* @var ConfigFileManager
*/
protected $configFileManager;
protected function setUp(): void
{
$this->setUpVfsDir();