1 | <?php |
||
8 | class UnsafeUnserialize extends AbstractFunctionCallAnalyzer |
||
9 | { |
||
10 | const DESCRIPTION = 'Checks for use of `unserialize()` without a 2nd parameter defining the allowed classes. Requires PHP 7.0+'; |
||
11 | |||
12 | public function pass(FuncCall $funcCall, Context $context) |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | 46 | public static function getMetadata() |
|
41 | } |
||
42 |