Skip to content

Commit

Permalink
Update disallowed calls in vendor
Browse files Browse the repository at this point in the history
efabrica/phpstan-latte now optionally uses shell_exec() and proc_open() has moved in Latte
  • Loading branch information
spaze committed Aug 31, 2023
1 parent 437eeb0 commit 460d198
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion site/phpstan-vendor.neon
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,14 @@ parameters:
-
function: 'proc_open()'
allowIn:
- vendor/latte/latte/src/Tools/Linter.php
- vendor/latte/latte/src/Latte/Compiler/PhpHelpers.php
- vendor/nette/tester/src/Runner/Job.php
- vendor/nette/tester/src/Runner/PhpInterpreter.php
- vendor/php-parallel-lint/php-parallel-lint/src/Process/Process.php
-
function: 'shell_exec()'
allowIn:
- vendor/efabrica/phpstan-latte/src/Rule/LatteTemplatesRule.php
# bundled disallowed-insecure-calls.neon
-
function: 'md5()'
Expand Down

0 comments on commit 460d198

Please sign in to comment.