Changelog

2.0.4

2.0.3

2.0.2

2.0.1

2.0.0

  • Added support for the redefinition of PHP's internal functions.

1.4.3

1.4.2

1.4.1

  • Fixed: Correctly handle class instances.
  • Fixed: restoreAll() crashes with wildcards, multiple methods.
  • Autoloading is no longer used with Composer.

1.4.0

  • Wildcards are now supported, e.g. replace('App\*', ...).
  • Optional configuration files (patchwork.json) are now used to blacklist/whitelist files for preprocessing, suppress warnings and specify a cache path.
  • The cache used by Patchwork can now be primed by running patchwork.phar from the command line.
  • redefine, restore[All] and relay are now the main aliases of replace, undo[All] and callOriginal.
  • Fixed: issues with flock().

1.3.5

1.3.4

1.3.2

1.3.1

1.3.0

  • Wrapper-like behavior is now available to redefinitions using Patchwork\callOriginal().
  • Preprocessor output is now optionally cached.
  • Patchwork\replaceLater is now a @deprecated alias to Patchwork\replace, which now performs an existence check when a redefinition is being undone, or on shutdown.
  • HHVM is now supported.
  • No interference with opcode caches was detected.

1.2.9

1.2.8

1.2.7

1.2.6

1.2.5

1.2.4

1.2.3

  • Method redefinitions that are closures now have $this bound to the method's object.

1.2.2

1.2.1

  • No errors are thrown anymore if an opcode cache is enabled.
  • An error is now thrown when including Patchwork.php if PHP version is lower than 5.3.0.

1.2.0

1.1.3

1.1.2

1.1.1

1.1.0

  • Fixed: Error thrown from call interception code in namespaced anonymous functions.
  • Renamed public API functions: patchreplace, unpatchundo, escapepass.
  • Removed a specialized PHPUnit test case class.
  • Added Patchwork\undoAll.
  • Added Patchwork\replaceLater.

1.0.0

  • Initial public release.

AltStyle によって変換されたページ (->オリジナル) /