Skip to content

Releases: captainhook-git/captainhook

1.2.0

20 Sep 11:45

Choose a tag to compare

  • Add UnitTest Code Coverage action
  • Add possibility to execute static methods without any interface implementation

Example "Test Coverage"

{
  "action":  "\\sebastianfeldmann\\CaptainHook\\Hook\\PHP\\Action\\TestCoverage",
  "options": {
    "cloverXml": "build/logs/clover.xml"
  }
}

Example "Static Method Execution"

{
  "action": "\\MyName\\Foo::bar"
}

1.1.1

20 Sep 10:27

Choose a tag to compare

  • Add "removed" to imperative blacklist

1.1.0

13 Sep 15:13

Choose a tag to compare

  • Add new php lint action to perform a php syntax check
  • Enhance some error messages

1.0.4

12 Sep 14:56

Choose a tag to compare

Fix issue #1

If your application is in a sub directory of your repository you can now run f.e.

$ vendor/bin/captainhook install --git-directory=../.git

This way captainhook knows where to install the hook scripts and can use the correct paths to your composer autoloader and your configuration file

1.0.3

08 Sep 18:20

Choose a tag to compare

Add some basic config validation

1.0.2

08 Sep 14:42

Choose a tag to compare

Validate configured action options

1.0.1

07 Sep 00:59

Choose a tag to compare

Added new composer CheckLockFile action to make sure your composer.lock file us up to date

Thanks @PurpleBooth for the inspiration

1.0.0

31 Aug 17:00

Choose a tag to compare

First stable CaptainHook release