Releases: czproject/git-php
Releases · czproject/git-php
Version 4.3.0
RunnerResult
- accepts raw output & error output (#100)GitRepository
- methodrun()
is public now (#100)
Full Changelog: v4.2.0...v4.3.0
Version 4.2.0
- Git:
isRemoteUrlReadable()
- returnsTRUE
for empty repositories (#92)
Full Changelog: v4.1.0...v4.2.0
Version 4.1.0
Full Changelog: v4.0.5...v4.1.0
Version 4.0.5
GitRepository
: methodspull()
,push()
&fetch()
acceptsstring[]
in$remote
argument (#77)
Version 4.0.4
- GitRepository:
checkout()
- removed--end-of-options
option (#77)
Version 4.0.3
- uses
--end-of-options
after command options (for security reasons)
Version 4.0.2
GitRepository
: fixed parameters ingit log
commands (closes #70)
Version 4.0.1
- CliRunner: fixed reading of STDOUT (#69)
- GitRepository: uses
--no-color
option forgit branch
commands
Version 4.0.0
- removed interface
IGit
- changed namespace to
CzProject\GitPhp
GitRepository
- return-type changed tostatic
- requires PHP 5.6 or newer
- added factory
CzProject\GitPhp\Git
with methodsopen()
,init()
&cloneRepository()
GitRepository::execute()
uses variadics parametersexec()
replaced byproc_open()
(seeCzProject\GitPhp\Runners\CliRunner
)- improved command processing, throws exception for invalid value types
- rewritten tests
- removed
GitRepository::isChanges()
GitRepository::getLastCommitId()
returnsCzProject\GitPhp\CommitId
- added
GitRepository::getCommit()
- removed
GitRepository::getCommitAuthor()
(useGitRepository::getCommit()
instead) - removed
GitRepository::getCommitDate()
(useGitRepository::getCommit()
instead) - removed
GitRepository::getCommitMessage()
(useGitRepository::getCommit()
instead) - removed
GitRepository::getCommitData()
(useGitRepository::getCommit()
instead) - uses PhpStan
- coding style
Version 3.18.2
- return-type
self
changed toIGit
(#61)