Added allowExceptIn
, disallowIn
#135
Closed
spaze
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
You can now disallow methods, functions, constants, namespaces, classes, superglobals only in specified paths (#134)
Done with
allowExceptIn
,disallowIn
(which is just an alias ofallowExceptIn
), this allows to create an inverse ofallowIn
setup:This will disallow
PotentiallyDangerous\Logger::log()
calls in%rootDir%/../../../path/to/some/dir/*.php
.This discussion was created from the release Added `allowExceptIn`, `disallowIn`.
Beta Was this translation helpful? Give feedback.
All reactions