Skip to content

Releases: nikic/include-interceptor

IncludeInterceptor 0.1.2

27 Nov 22:46

Choose a tag to compare

  • Handle exception during unwrapped operation.

IncludeInterceptor 0.1.1

30 Dec 20:25

Choose a tag to compare

  • Fix handling on Windows paths when FileFilter is used.

IncludeInterceptor 0.1.0

29 Dec 11:14

Choose a tag to compare

Initial release. Relative to https://github.com/icewind1991/interceptor 0.3.0, the following changes have been made:

  • Remove support for PHP < 7.1. Add type annotations.
  • Fix notice that is thrown every time a non-absolute path is used outside include. (Main motivation for this fork...)
  • Don't call interception hook if the included file does not exist.
  • Perform pseudo-realpath resolution for phar:// paths to make filtering work.
  • Change the interceptor API to remove the FileFilter dependency. There now is only a single hook that both decides whether it wants to intercept and performs the interception. FileFilter is still provided as an optional convenience.
  • Add support for white/blacklisting single files in FileFilter.
  • Don't filter extensions by default in FileFilter.
  • Allow overriding overridden stream protocols in Interceptor constructor.