From 0c5846ffc02e4cf081ad8de2f503b82db0fae72e Mon Sep 17 00:00:00 2001 From: Eugene Frost Date: Thu, 29 Aug 2019 11:23:37 +0300 Subject: [PATCH] Fix Class naming --- README.md | 2 +- src/GitPHP/{PHPGitBackend.php => Backend.php} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/GitPHP/{PHPGitBackend.php => Backend.php} (99%) diff --git a/README.md b/README.md index 99329c6..66937a9 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This library implements the work of git-http-backend from the php environment, t Just try: 1. Authorize your user using the engine methods. -2. Create an instance of the GitPHPBackend class. +2. Create an instance of the GitPHP\Backend class. 3. Call the "exec" method. 4. You have personal Git server! diff --git a/src/GitPHP/PHPGitBackend.php b/src/GitPHP/Backend.php similarity index 99% rename from src/GitPHP/PHPGitBackend.php rename to src/GitPHP/Backend.php index 18d0899..34bb94e 100644 --- a/src/GitPHP/PHPGitBackend.php +++ b/src/GitPHP/Backend.php @@ -5,7 +5,7 @@ use Monolog\Logger; use Psr\Log\LoggerInterface; -class PHPGitBackend { +class Backend { private $cmd = "/usr/lib/git-core/git-http-backend"; @@ -136,4 +136,4 @@ public function exec($send = true){ } -} \ No newline at end of file +}