-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add compactors to compress the PHP and JSON code - Fix the licenses (Closes #192) - Bump the requirement checker on the library to ship #185
- Loading branch information
Showing
28 changed files
with
425 additions
and
2,348 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the box project. | ||
* | ||
* (c) Kevin Herrera <kevin@herrera.io> | ||
* Théo Fidry <theo.fidry@gmail.com> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
namespace _HumbugBox5addf3ce683e7\KevinGH\RequirementChecker; | ||
namespace _HumbugBox5aeb92ac2e46b\KevinGH\RequirementChecker; | ||
|
||
require __DIR__ . '/../vendor/autoload.php'; | ||
$checkPassed = \_HumbugBox5addf3ce683e7\KevinGH\RequirementChecker\Checker::checkRequirements(); | ||
if (\PHP_SAPI !== 'cli' && \PHP_SAPI !== 'phpdbg') { | ||
echo \PHP_EOL . 'The application may only be invoked from a command line' . \PHP_EOL; | ||
exit(1); | ||
} | ||
$checkPassed = \_HumbugBox5aeb92ac2e46b\KevinGH\RequirementChecker\Checker::checkRequirements(); | ||
if (\false === $checkPassed) { | ||
exit(1); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1 @@ | ||
{ | ||
"name": "humbug\/requirement-checker", | ||
"description": "A tool to check the PHARs dependency requirements.", | ||
"keywords": [ | ||
"phar" | ||
], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Th\u00e9o Fidry", | ||
"email": "theo.fidry@gmail.com" | ||
} | ||
], | ||
"bin": [ | ||
"bin\/check-requirements.php" | ||
], | ||
"autoload": { | ||
"psr-4": { | ||
"_HumbugBox5addf3ce683e7\\KevinGH\\RequirementChecker\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"_HumbugBox5addf3ce683e7\\KevinGH\\RequirementChecker\\": "tests" | ||
} | ||
}, | ||
"require": { | ||
"php": "^5.3 || ^7.0", | ||
"ext-phar": "*", | ||
"composer\/semver": "^1.4" | ||
}, | ||
"require-dev": { | ||
"phpunit\/phpunit": "^7.0" | ||
}, | ||
"config": { | ||
"bin-dir": "bin", | ||
"sort-packages": true | ||
} | ||
} | ||
{"name":"humbug\/requirement-checker","description":"A tool to check the PHARs dependency requirements.","keywords":["phar"],"license":"MIT","authors":[{"name":"Th\u00e9o Fidry","email":"theo.fidry@gmail.com"}],"bin":["bin\/check-requirements.php"],"autoload":{"psr-4":{"_HumbugBox5aeb92ac2e46b\\KevinGH\\RequirementChecker\\":"src"}},"autoload-dev":{"psr-4":{"_HumbugBox5aeb92ac2e46b\\KevinGH\\RequirementChecker\\":"tests"}},"require":{"php":"^5.3 || ^7.0","ext-phar":"*","composer\/semver":"^1.4"},"require-dev":{"phpunit\/phpunit":"^7.0"},"config":{"bin-dir":"bin","sort-packages":true}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.