matteosister / GitElephant

An abstraction layer for git written in PHP
GNU Lesser General Public License v3.0
613 stars 74 forks source link

Upgrade to support PHP 8.2, initial branches other than 'master' #187

Closed GenieTim closed 2 years ago

GenieTim commented 2 years ago

This is a minor upgrade, having tests run with PHP 8.0-8.2, rather than 7.3/4.

The biggest change is the incorporation of supporting an initial branch name (possibly incompatible with certain git versions < 2.2, but only when called in that way), which was needed on my local device where the default branch name is called 'main' rather than 'master'.