mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-20 11:51:32 +02:00
Upgrade phpstan, phpunit (#1923)
* Upgrade phpstan, phpunit * Fix phpunit deprecation * Fix hg tests * Fix php-console tests * Fix phpunit on 8.1 * Bump phpconsole
This commit is contained in:
@@ -263,7 +263,7 @@ STRING;
|
||||
#[DataProvider('provideMemoryValues')]
|
||||
public function testPreventOOMError($phpMemory, $expectedChunkSize): void
|
||||
{
|
||||
$previousValue = ini_set('memory_limit', $phpMemory);
|
||||
$previousValue = @ini_set('memory_limit', $phpMemory);
|
||||
|
||||
if ($previousValue === false) {
|
||||
$this->markTestSkipped('We could not set a memory limit that would trigger the error.');
|
||||
|
Reference in New Issue
Block a user