mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
Add Safe PHP functions
This commit is contained in:
parent
04a956886a
commit
58cc098058
260 changed files with 49458 additions and 45 deletions
15
vendor/thecodingmachine/phpstan-safe-rule/tests/Utils/FunctionListLoaderTest.php
vendored
Normal file
15
vendor/thecodingmachine/phpstan-safe-rule/tests/Utils/FunctionListLoaderTest.php
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace TheCodingMachine\Safe\PHPStan\Utils;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class FunctionListLoaderTest extends TestCase
|
||||
{
|
||||
|
||||
public function testGetFunctionList()
|
||||
{
|
||||
$functions = FunctionListLoader::getFunctionList();
|
||||
$this->assertArrayHasKey('fopen', $functions);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue