PHPGit
PHPGit copied to clipboard
A Git wrapper for PHP5.3+
Previously, if a repo was in detached head mode (git checkout ), the branch parser would trigger a fatal error when trying to access the 'current' key. I adjusted the...
[Symfony\Component\Debug\Exception\ContextErrorException] Warning: Missing argument 2 for Symfony\Component\OptionsResolver\OptionsResolver::setAllowedValues(), called in /home/2revlect2/vendor/kzykhys/git/src/PHPGit/Command/CommitCommand.php on line 84 and defined
OptionsResolverInterface is deprecated and was removed in Symfony 3.
In newest version I get this kind of error: ` PHP Catchable fatal error: Argument 1 passed to PHPGit\Command\LogCommand::setDefaultOptions() must be an instance of Symfony\Component\OptionsResolver\OptionsResolverInterface, instance of Symfony\Component\OptionsResolver\OptionsResolver given, called...
Here I have a strange situation where the branch command seems to stumble parsing all branches correctly. Here's a plain `git branch -a` result: ``` $repo = '/path/to/repo'; var_dump( `cd...
Does this wrapper works with submodules? For example: ``` git submodule add https://[email protected]/user/repo.git ```
Since the last release 10 commits have been made. Would it be ok to make a new release for these changes? I'm using one of them but I dislike using...
If you're not in a branch and try to get the current branch, a notice error is raised "Undefined index: current" in BranchCommand.php around line 69. This is a problem...