Skip to content

Commit 9d00c89

Browse files
committed
wip
1 parent 09cfbb2 commit 9d00c89

22 files changed

+1332
-10
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
composer.phar
22
composer.lock
3-
vendor/composer
4-
vendor/php-http
53
.git

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,13 @@ The non-compiled code resides in the "`src`" and "`vendor`" directories.
122122

123123
## Dependencies
124124

125-
You can install all dependencies of this project using the following command:
125+
You can update all dependencies of this project using the following command:
126126

127-
php install.php
127+
php update.php
128128

129-
This script will install and run [Composer](https://getcomposer.org/) to install the required dependencies in the "`vendor`" directory.
129+
This script will install and run [Composer](https://getcomposer.org/) to update the required dependencies in the "`vendor`" directory.
130130

131-
NB: The install script will also patch the dependencies in the vendor directory for PHP 7.0 compatibility.
131+
NB: The update script will also patch the dependencies in the vendor directory for PHP 7.0 compatibility.
132132

133133
## Middleware
134134

update.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
$composer = file_get_contents('https://getcomposer.org/composer.phar');
77
file_put_contents('composer.phar', $composer);
88
}
9-
if (!file_exists('vendor')) {
10-
exec('php composer.phar install');
11-
}
9+
exec('php composer.phar update');
1210

1311
// patch files for PHP 7.0 compatibility
1412

vendor/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
require_once __DIR__ . '/composer/autoload_real.php';
66

7-
return ComposerAutoloaderInit5eeaf7f95bcc7609b7c64262f10ae8ae::getLoader();
7+
return ComposerAutoloaderInit3f8e3ef0f01cbb66788ae8adbae6c82c::getLoader();

0 commit comments

Comments
 (0)