Skip to content

Commit

Permalink
Merge pull request #119 from clue-labs/deps
Browse files Browse the repository at this point in the history
Bundle `StubGenerator` and `Extract` from legacy herrera-io/box v1.6.1
  • Loading branch information
SimonFrings authored Nov 29, 2021
2 parents ee0a2e4 + 9f2e78d commit 62c62b4
Show file tree
Hide file tree
Showing 8 changed files with 1,296 additions and 216 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,5 +309,9 @@ $ php vendor/bin/phpunit

This project is released under the permissive [MIT license](LICENSE).

This project bundles the `StubGenerator` and `Extract` classes with minor changes
from the original herrera-io/box v1.6.1 licensed under MIT which no longer has
an installable candidate. Copyright (c) 2013 Kevin Herrera.

> Did you know that I offer custom development services and issuing invoices for
sponsorships of releases and for contributions? Contact me (@clue) for details.
4 changes: 1 addition & 3 deletions bin/build.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@

passthru('
rm -rf build && mkdir build &&
cp -r bin/ src/ composer.json composer.lock LICENSE build/ && rm build/bin/build.php &&
cp -r bin/ src/ composer.json composer.lock LICENSE build/ && rm build/bin/build.php build/src/Clue/PharComposer/Box/Extract.php &&
sed -i \'s/@dev/' . $version .'/g\' build/src/Clue/PharComposer/App.php &&
composer install -d build/ --no-dev &&
cd build/vendor && rm -rf */*/tests/ */*/src/tests/ */*/docs/ */*/*.md */*/composer.* */*/phpunit.* */*/.gitignore */*/.*.yml */*/*.xml && cd - >/dev/null &&
cd build/vendor/symfony/ && rm -rf */Symfony/Component/*/Tests/ */Symfony/Component/*/*.md */Symfony/Component/*/composer.* */Symfony/Component/*/phpunit.* */Symfony/Component/*/.gitignore && cd ->/dev/null &&
cd build/vendor/guzzle/guzzle && rm -r phar-stub.php phing/ && cd ->/dev/null &&
cd build/vendor/herrera-io/box && rm -r res && cd ->/dev/null &&
cd build/vendor/phine/path && rm sami.php .travis-phpunit.xml && cd ->/dev/null &&
bin/phar-composer build build/ ' . escapeshellarg($out) . ' &&
echo -n "Reported version is: " && php ' . escapeshellarg($out) . ' --version', $code);
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
}
],
"require": {
"herrera-io/box": "^1.5",
"knplabs/packagist-api": "^1.0",
"symfony/console": "^5.0 || ^4.0 || ^3.0 || ^2.5",
"symfony/finder": "^5.0 || ^4.0 || ^3.0 || ^2.5",
Expand Down
214 changes: 3 additions & 211 deletions composer.lock

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

Loading

0 comments on commit 62c62b4

Please sign in to comment.