Skip to content

Commit

Permalink
Build lock file with php 5.6 for better compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-1-anderson committed Sep 21, 2017
1 parent 5760f8f commit fad51fb
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 14 deletions.
8 changes: 8 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,13 @@
"@cs",
"@lint"
]
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"platform": {
"php": "5.6"
}
}
}
23 changes: 13 additions & 10 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
class Checker {

/**
* Check that Git, Composer, and Hub are available on the filesystem.
*/
* Check that Git, Composer, and Hub are available on the filesystem.
*/
public static function check_executables() {
$execs = array( 'git', 'composer', 'hub' );
foreach( $execs as $exec ) {
Expand Down
3 changes: 1 addition & 2 deletions src/Cloner.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Cloner {

/**
/**
* Clone the repository.
*
* @param string $repo_url
Expand All @@ -24,5 +24,4 @@ public function cloneRepo( $repo_url ) {

return $repo_local_working_copy;
}

}

0 comments on commit fad51fb

Please sign in to comment.