mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
22 lines
415 B
PHP
22 lines
415 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Psalm\Tests;
|
|
|
|
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
|
|
|
|
use function ini_get;
|
|
|
|
class TestEnvironmentTest extends PHPUnitTestCase
|
|
{
|
|
public function testIniSettings(): void
|
|
{
|
|
$this->assertSame(
|
|
'1',
|
|
ini_get('zend.assertions'),
|
|
'zend.assertions should be set to 1 to increase test strictness',
|
|
);
|
|
}
|
|
}
|