All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
PRs and issues are linked, so you can find more about it. Thanks to ChangelogLinker.
- #171 Update documentation with timeout example, Thanks to @kallehauge
- #167 Update head method to seperate args, Thanks to @Hodgy
- #165 Update
GitProcess
, Thanks to @Big-Shark - #164 Update testEvent for symfony process 3.4+, Thanks to @Big-Shark
- #163 Update .travis.yml, Thanks to @Big-Shark
- #160 bump Symfony to 4.1, ECS to 5.1, PHPStan
- #158 Bump dependencies, code styling and static analysis fixes
- #151 PHPUnit 7, Thanks to @carusogabriel
- #146 Add a test with lowest dependencies, Thanks to @Soullivaneuh
- #144 Symfony 4 compatibility improvement., Thanks to @allansun
- #139 Refactoring tests, Thanks to @carusogabriel
- #140 Use Symplify preset config file, Thanks to @carusogabriel
- #142 Pass the previous exception on git exception, Thanks to @Soullivaneuh
- #150 Do not override Process::run, Thanks to @Soullivaneuh
v2.0.0 - 2017-12-31
- #137 Added PHP 7.1 typehints, Thanks to @TomasVotruba
- #137 Added EasyCodingStandard to CI, Thanks to @TomasVotruba
- #137 Added PHPStan to CI, Thanks to @TomasVotruba
- #138 Added Null Coalesce Operator use, Thanks to @carusogabriel
- #136 Added
executeRaw()
method for executing arbitrary git commands, Thanks to @cpliakas - #124 Added support for listing tags, Thanks to @martwana
-
#136 Symfony 4.0 and PHP 7.1 support + min. requirement added, Thanks to @cpliakas
-
#130 Bump to PHP 7.0 min. requirement, cleanup of meta utils, Thanks to @TomasVotruba
-
#137 Make use of PHP 5.6 feature variadics and to make
Command
API better. Also dropcreateInstance()
helper method thanks to that, Thanks to @TomasVotrubaBefore
array_unshift($argsAndOptions, 'name'); GitCommand::createInstance($argsAndOptions);
After
new GitCommand('name', $argsAndOptions);
-
#137 Removed
getOutput()
and__toString()
magic methods, now output is returned right away, Thanks to @TomasVotrubaBefore
$output = $git->add('*')->getOutput(); $output = (string) $git->add('*');
After
$output = $git->add('*');
-
#137 Removed fluent interfaces to support 1 way to do things, also more
git
alike, Thanks to @TomasVotrubaBefore
$git->add('*') ->commit('Initial commit.');
After
$git->add('*'); $git->commit('Initial commit.');
-
#137 Removed
clone()
helper method, to drop magic it was build on. UsecloneRepository()
instead, Thanks to @TomasVotrubaBefore
$gitWrapper->clone(...);
After
$gitWrapper->cloneRepository(...);
- misc