From abe63da41f3e8414bbbc175aa02d15f0b5b64c97 Mon Sep 17 00:00:00 2001 From: Kore Nordmann Date: Mon, 4 Oct 2010 13:03:10 +0200 Subject: [PATCH] # Removed orphaned exaple files --- src/examples/post-commit | 24 ----------------------- src/examples/pre-commit | 42 ---------------------------------------- 2 files changed, 66 deletions(-) delete mode 100755 src/examples/post-commit delete mode 100755 src/examples/pre-commit diff --git a/src/examples/post-commit b/src/examples/post-commit deleted file mode 100755 index 694ac00..0000000 --- a/src/examples/post-commit +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env php -setReporter( new pchReporterDispatcher( $reporter ) ); -$runner->run( new pchRepositoryVersion( $argv[1], $argv[2] ) ); - diff --git a/src/examples/pre-commit b/src/examples/pre-commit deleted file mode 100755 index 2717043..0000000 --- a/src/examples/pre-commit +++ /dev/null @@ -1,42 +0,0 @@ -#!/usr/bin/env php -register( new pchLintCheck() ); - - $runner->register( new pchCommitMessageCheck( array( - 'Refs' => pchCommitMessageCheck::REQUIRED, - 'Fixed' => pchCommitMessageCheck::REQUIRED, - 'Closed' => pchCommitMessageCheck::REQUIRED, - 'Implemented' => pchCommitMessageCheck::OPTIONAL, - 'Documented' => pchCommitMessageCheck::OPTIONAL, - 'Tested' => pchCommitMessageCheck::PROHIBITED, - 'Added' => pchCommitMessageCheck::PROHIBITED, - 'Updated' => pchCommitMessageCheck::PROHIBITED, - ) ) ); -} - -$runner->setReporter( new pchReporterDispatcher( array( - new pchCliReporter(), - new pchExitCodeReporter(), -) ) ); - -$runner->run( new pchRepositoryTransaction( $argv[1], $argv[2] ) ); -