Conversation

jrfnl

Related to #57, follow up on #70, this PR adds unit tests for the Security.BadFunctions.NoEvals sniff.

Commit Summary

BadFunctions/NoEvals: add unit tests

BadFunctions/NoEvals: error message precision

eval() is a language construct, not a function.

Ref: https://www.php.net/manual/en/function.eval.php

BadFunctions/NoEvals: remove redundant function call

$tokens is not used, so no need to declare it.

@jrfnljrfnl force-pushed the feature/noevals-add-unit-tests branch from ea2d7bc to 171dc78 Compare March 16, 2020 06:08
@jrfnljrfnl force-pushed the feature/noevals-add-unit-tests branch from 171dc78 to 0c57997 Compare March 16, 2020 06:12
@jrfnl

Anything I can do to move this PR forward ?

Sign up for free to join this conversation on . Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

@jrfnl