diff options
Diffstat (limited to 'assets/php/vendor/nubs/random-name-generator')
24 files changed, 4545 insertions, 0 deletions
diff --git a/assets/php/vendor/nubs/random-name-generator/.coveralls.yml b/assets/php/vendor/nubs/random-name-generator/.coveralls.yml new file mode 100644 index 0000000..4eecff5 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/.coveralls.yml @@ -0,0 +1,3 @@ +service_name: travis-ci +coverage_clover: clover.xml +json_path: coveralls-upload.json diff --git a/assets/php/vendor/nubs/random-name-generator/.gitignore b/assets/php/vendor/nubs/random-name-generator/.gitignore new file mode 100644 index 0000000..c98f719 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/.gitignore @@ -0,0 +1,2 @@ +/coverage/ +/vendor/ diff --git a/assets/php/vendor/nubs/random-name-generator/.scrutinizer.yml b/assets/php/vendor/nubs/random-name-generator/.scrutinizer.yml new file mode 100644 index 0000000..4efaf59 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/.scrutinizer.yml @@ -0,0 +1,19 @@ +filter: + excluded_paths: + - 'vendor/*' + - 'tests/*' +before_commands: + - 'composer install' +tools: + php_analyzer: true + php_mess_detector: true + php_code_sniffer: + config: + standard: PSR1 + sensiolabs_security_checker: true + php_loc: + excluded_dirs: + - vendor + - tests + php_pdepend: true + php_sim: true diff --git a/assets/php/vendor/nubs/random-name-generator/.travis.yml b/assets/php/vendor/nubs/random-name-generator/.travis.yml new file mode 100644 index 0000000..eca1932 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/.travis.yml @@ -0,0 +1,9 @@ +language: php +sudo: false +php: + - 5.6 + - 7.0 + - hhvm +install: composer install +script: ./vendor/bin/phpunit --coverage-clover clover.xml +after_success: sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/coveralls -v; fi' diff --git a/assets/php/vendor/nubs/random-name-generator/CONTRIBUTING.md b/assets/php/vendor/nubs/random-name-generator/CONTRIBUTING.md new file mode 100644 index 0000000..478fae4 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/CONTRIBUTING.md @@ -0,0 +1,38 @@ +# Contribution Guidelines +This project is wide open to contributions. You can use GitHub to [report +issues][issues] or [submit pull requests][pull-requests]. When opening pull +requests, it is recommended to follow these guidelines in order to grease the +wheels, so to speak. + +Please include as many details as you can in any issues and pull requests. +Understanding how you are using the library and exactly what problems you are +having can also help make things move quickly. + +## Building +There is an included [build script][build-script] that you can execute locally +to run the code through the [PSR-1 coding standard][psr-1] and the +[PHPUnit][phpunit] test suite. Code coverage is kept at 100% according to +PHPUnit's code coverage report. This is inforced using +[coveralls][coveralls]. + +Alternatively, you can use [Docker][docker] and/or [Docker +Compose][docker-compose] to execute the build: +```bash +docker-compose run build +``` + +## Automated builds +Pull requests will automatically have a build kicked off on [Travis +CI][travis-ci] and [Scrutinizer CI][scrutinizer-ci]. The results of these +builds are monitored closely for all pull requests. + +[issues]: https://github.com/nubs/random-name-generator/issues +[pull-requests]: https://github.com/nubs/random-name-generator/pulls +[build-script]: https://github.com/nubs/random-name-generator/blob/master/build.php +[psr-1]: http://www.php-fig.org/psr/psr-1/ "PSR-1 - Basic Coding Standard" +[phpunit]: http://phpunit.de/ "PHPUnit - The PHP Testing Framework" +[travis-ci]: https://travis-ci.org/nubs/random-name-generator +[scrutinizer-ci]: https://scrutinizer-ci.com/g/nubs/random-name-generator/ +[coveralls]: https://coveralls.io/github/nubs/random-name-generator +[docker]: https://docker.com/ "Docker - Build, Ship, and Run Any App, Anywhere" +[docker-compose]: https://www.docker.com/docker-compose diff --git a/assets/php/vendor/nubs/random-name-generator/Dockerfile.tests b/assets/php/vendor/nubs/random-name-generator/Dockerfile.tests new file mode 100644 index 0000000..50b01c1 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/Dockerfile.tests @@ -0,0 +1,5 @@ +FROM nubs/phpunit + +MAINTAINER Spencer Rinehart <anubis@overthemonkey.com> + +CMD ["./build.php"] diff --git a/assets/php/vendor/nubs/random-name-generator/LICENSE b/assets/php/vendor/nubs/random-name-generator/LICENSE new file mode 100644 index 0000000..4efa9e9 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014-2016 Spencer Rinehart + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/assets/php/vendor/nubs/random-name-generator/README.md b/assets/php/vendor/nubs/random-name-generator/README.md new file mode 100644 index 0000000..70d76cf --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/README.md @@ -0,0 +1,91 @@ +# Random Name Generator +A PHP library to create interesting, sometimes entertaining, random names. + +[](https://travis-ci.org/nubs/random-name-generator) +[](https://scrutinizer-ci.com/g/nubs/random-name-generator/) +[](https://coveralls.io/github/nubs/random-name-generator?branch=master) + +[](https://packagist.org/packages/nubs/random-name-generator) +[](https://packagist.org/packages/nubs/random-name-generator) +[](https://packagist.org/packages/nubs/random-name-generator) + +[](https://www.versioneye.com/user/projects/537d561814c15855aa000019) + +## Requirements +This library requires PHP 5.6, or newer. + +## Installation +This package uses [composer](https://getcomposer.org) so you can just add +`nubs/random-name-generator` as a dependency to your `composer.json` file or +execute the following command: + +```bash +composer require nubs/random-name-generator +``` + +## Generators + +### All +The "all" generator will utilize all other configured generators to generate +random names. It will select from the list of generators randomly and then +use them to generate a random name using their functionality. + +#### Usage +```php +$generator = \Nubs\RandomNameGenerator\All::create(); +echo $generator->getName(); +``` + +Alternatively, if you want to configure/build the generators to use instead of +using all of the available generators, you can construct them yourself: + +```php +$generator = new \Nubs\RandomNameGenerator\All( + [ + new \Nubs\RandomNameGenerator\Alliteration(), + new \Nubs\RandomNameGenerator\Vgng() + ] +); +``` + +### Video Game Names +The video game name generator is based off of [prior](http://videogamena.me/) +[art](https://github.com/nullpuppy/vgng). It will generate unique names based +off of "typical" video games. + +#### Examples +* *Kamikaze Bubblegum Warrior* +* *Rockin' Valkyrie Gaiden* +* *Neurotic Jackhammer Detective* +* *My Little Mountain Climber Conflict* +* *Small-Time Princess vs. The Space Mutants* + +You can also use [this web example](http://sam.sbat.com/) to see more example +video game names generated by this library. + +#### Usage +```php +$generator = new \Nubs\RandomNameGenerator\Vgng(); +echo $generator->getName(); +``` + +## Alliterative Names +The alliteration name generator is based off of a list of +[adjectives](http://grammar.yourdictionary.com/parts-of-speech/adjectives/list-of-adjective-words.html) +and a list of [animals](https://animalcorner.co.uk/animals/). + +#### Examples +* *Agreeable Anaconda* +* *Disturbed Duck* +* *Misty Meerkat* +* *Prickly Pig* + +#### Usage +```php +$generator = new \Nubs\RandomNameGenerator\Alliteration(); +echo $generator->getName(); +``` + +## License +random-name-generator is licensed under the MIT license. See +[LICENSE](LICENSE) for the full license text. diff --git a/assets/php/vendor/nubs/random-name-generator/build.php b/assets/php/vendor/nubs/random-name-generator/build.php new file mode 100755 index 0000000..f285d55 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/build.php @@ -0,0 +1,25 @@ +#!/usr/bin/env php +<?php +require 'vendor/autoload.php'; + +$phpcsCLI = new PHP_CodeSniffer_CLI(); +$phpcsViolations = $phpcsCLI->process(['standard' => ['PSR1'], 'files' => ['src', 'tests', 'build.php']]); +if ($phpcsViolations > 0) { + exit(1); +} + +$phpunitConfiguration = PHPUnit_Util_Configuration::getInstance(__DIR__ . '/phpunit.xml'); +$phpunitArguments = ['coverageHtml' => __DIR__ . '/coverage', 'configuration' => $phpunitConfiguration]; +$testRunner = new PHPUnit_TextUI_TestRunner(); +$result = $testRunner->doRun($phpunitConfiguration->getTestSuiteConfiguration(), $phpunitArguments, false); +if (!$result->wasSuccessful()) { + exit(1); +} + +$coverageReport = $result->getCodeCoverage()->getReport(); +if ($coverageReport->getNumExecutedLines() !== $coverageReport->getNumExecutableLines()) { + file_put_contents('php://stderr', "Code coverage was NOT 100%\n"); + exit(1); +} + +file_put_contents('php://stderr', "Code coverage was 100%\n"); diff --git a/assets/php/vendor/nubs/random-name-generator/composer.json b/assets/php/vendor/nubs/random-name-generator/composer.json new file mode 100644 index 0000000..d91fbff --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/composer.json @@ -0,0 +1,30 @@ +{ + "name": "nubs/random-name-generator", + "description": "A library to create interesting, sometimes entertaining, random names.", + "keywords": ["random", "generator", "video game", "alliteration"], + "authors": [ + { + "name": "Spencer Rinehart", + "email": "anubis@overthemonkey.com", + "role": "Developer" + } + ], + "license": "MIT", + "require": { + "php": "~5.6 || ~7.0" + }, + "require-dev": { + "phpunit/phpunit": "~5.0", + "satooshi/php-coveralls": "~1.0", + "cinam/randomizer": ">=1.1.1,<2.0", + "squizlabs/php_codesniffer": "~2.3" + }, + "autoload": { + "psr-4": { + "Nubs\\RandomNameGenerator\\": "src" + } + }, + "scripts": { + "test": "./build.php" + } +} diff --git a/assets/php/vendor/nubs/random-name-generator/composer.lock b/assets/php/vendor/nubs/random-name-generator/composer.lock new file mode 100644 index 0000000..77d0fdb --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/composer.lock @@ -0,0 +1,1963 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "This file is @generated automatically" + ], + "hash": "4b2c771eec058567f987575b9b3199a2", + "content-hash": "826850e9b398ef46a5bc5fec486788f6", + "packages": [], + "packages-dev": [ + { + "name": "cinam/randomizer", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/cinam/randomizer.git", + "reference": "beca7e3ad5b93cebdb897cd47247b19a109b970f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cinam/randomizer/zipball/beca7e3ad5b93cebdb897cd47247b19a109b970f", + "reference": "beca7e3ad5b93cebdb897cd47247b19a109b970f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "3.7.*" + }, + "type": "library", + "autoload": { + "psr-4": { + "Cinam\\Randomizer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "cinam", + "email": "cinam@hotmail.com" + } + ], + "description": "Tools for generating random values.", + "homepage": "http://github.com/cinam/randomizer", + "keywords": [ + "random", + "random numbers", + "random values" + ], + "time": "2014-06-01 07:27:32" + }, + { + "name": "doctrine/instantiator", + "version": "1.0.5", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", + "shasum": "" + }, + "require": { + "php": ">=5.3,<8.0-DEV" + }, + "require-dev": { + "athletic/athletic": "~0.1.8", + "ext-pdo": "*", + "ext-phar": "*", + "phpunit/phpunit": "~4.0", + "squizlabs/php_codesniffer": "~2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://ocramius.github.com/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://github.com/doctrine/instantiator", + "keywords": [ + "constructor", + "instantiate" + ], + "time": "2015-06-14 21:17:01" + }, + { + "name": "guzzle/guzzle", + "version": "v3.9.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle3.git", + "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle3/zipball/0645b70d953bc1c067bbc8d5bc53194706b628d9", + "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "php": ">=5.3.3", + "symfony/event-dispatcher": "~2.1" + }, + "replace": { + "guzzle/batch": "self.version", + "guzzle/cache": "self.version", + "guzzle/common": "self.version", + "guzzle/http": "self.version", + "guzzle/inflection": "self.version", + "guzzle/iterator": "self.version", + "guzzle/log": "self.version", + "guzzle/parser": "self.version", + "guzzle/plugin": "self.version", + "guzzle/plugin-async": "self.version", + "guzzle/plugin-backoff": "self.version", + "guzzle/plugin-cache": "self.version", + "guzzle/plugin-cookie": "self.version", + "guzzle/plugin-curlauth": "self.version", + "guzzle/plugin-error-response": "self.version", + "guzzle/plugin-history": "self.version", + "guzzle/plugin-log": "self.version", + "guzzle/plugin-md5": "self.version", + "guzzle/plugin-mock": "self.version", + "guzzle/plugin-oauth": "self.version", + "guzzle/service": "self.version", + "guzzle/stream": "self.version" + }, + "require-dev": { + "doctrine/cache": "~1.3", + "monolog/monolog": "~1.0", + "phpunit/phpunit": "3.7.*", + "psr/log": "~1.0", + "symfony/class-loader": "~2.1", + "zendframework/zend-cache": "2.*,<2.3", + "zendframework/zend-log": "2.*,<2.3" + }, + "suggest": { + "guzzlehttp/guzzle": "Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.9-dev" + } + }, + "autoload": { + "psr-0": { + "Guzzle": "src/", + "Guzzle\\Tests": "tests/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Guzzle Community", + "homepage": "https://github.com/guzzle/guzzle/contributors" + } + ], + "description": "PHP HTTP client. This library is deprecated in favor of https://packagist.org/packages/guzzlehttp/guzzle", + "homepage": "http://guzzlephp.org/", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "rest", + "web service" + ], + "abandoned": "guzzlehttp/guzzle", + "time": "2015-03-18 18:23:50" + }, + { + "name": "myclabs/deep-copy", + "version": "1.5.1", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "a8773992b362b58498eed24bf85005f363c34771" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/a8773992b362b58498eed24bf85005f363c34771", + "reference": "a8773992b362b58498eed24bf85005f363c34771", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "require-dev": { + "doctrine/collections": "1.*", + "phpunit/phpunit": "~4.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "homepage": "https://github.com/myclabs/DeepCopy", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "time": "2015-11-20 12:04:31" + }, + { + "name": "phpdocumentor/reflection-common", + "version": "1.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "phpunit/phpunit": "^4.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "time": "2015-12-27 11:43:31" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "3.1.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "9270140b940ff02e58ec577c237274e92cd40cdd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9270140b940ff02e58ec577c237274e92cd40cdd", + "reference": "9270140b940ff02e58ec577c237274e92cd40cdd", + "shasum": "" + }, + "require": { + "php": ">=5.5", + "phpdocumentor/reflection-common": "^1.0@dev", + "phpdocumentor/type-resolver": "^0.2.0", + "webmozart/assert": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^4.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "time": "2016-06-10 09:48:41" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "0.2", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/b39c7a5b194f9ed7bd0dd345c751007a41862443", + "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443", + "shasum": "" + }, + "require": { + "php": ">=5.5", + "phpdocumentor/reflection-common": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^5.2||^4.8.24" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "time": "2016-06-10 07:14:17" + }, + { + "name": "phpspec/prophecy", + "version": "v1.6.1", + "source": { + "type": "git", + "url": "https://github.com/phpspec/prophecy.git", + "reference": "58a8137754bc24b25740d4281399a4a3596058e0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/58a8137754bc24b25740d4281399a4a3596058e0", + "reference": "58a8137754bc24b25740d4281399a4a3596058e0", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.2", + "php": "^5.3|^7.0", + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", + "sebastian/comparator": "^1.1", + "sebastian/recursion-context": "^1.0" + }, + "require-dev": { + "phpspec/phpspec": "^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.6.x-dev" + } + }, + "autoload": { + "psr-0": { + "Prophecy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + }, + { + "name": "Marcello Duarte", + "email": "marcello.duarte@gmail.com" + } + ], + "description": "Highly opinionated mocking framework for PHP 5.3+", + "homepage": "https://github.com/phpspec/prophecy", + "keywords": [ + "Double", + "Dummy", + "fake", + "mock", + "spy", + "stub" + ], + "time": "2016-06-07 08:13:47" + }, + { + "name": "phpunit/php-code-coverage", + "version": "4.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "5f3f7e736d6319d5f1fc402aff8b026da26709a3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/5f3f7e736d6319d5f1fc402aff8b026da26709a3", + "reference": "5f3f7e736d6319d5f1fc402aff8b026da26709a3", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0", + "phpunit/php-file-iterator": "~1.3", + "phpunit/php-text-template": "~1.2", + "phpunit/php-token-stream": "^1.4.2", + "sebastian/code-unit-reverse-lookup": "~1.0", + "sebastian/environment": "^1.3.2 || ^2.0", + "sebastian/version": "~1.0|~2.0" + }, + "require-dev": { + "ext-xdebug": ">=2.1.4", + "phpunit/phpunit": "^5.4" + }, + "suggest": { + "ext-dom": "*", + "ext-xdebug": ">=2.4.0", + "ext-xmlwriter": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "time": "2016-07-26 14:39:29" + }, + { + "name": "phpunit/php-file-iterator", + "version": "1.4.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/6150bf2c35d3fc379e50c7602b75caceaa39dbf0", + "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "time": "2015-06-21 13:08:43" + }, + { + "name": "phpunit/php-text-template", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "time": "2015-06-21 13:50:34" + }, + { + "name": "phpunit/php-timer", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "38e9124049cf1a164f1e4537caf19c99bf1eb260" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/38e9124049cf1a164f1e4537caf19c99bf1eb260", + "reference": "38e9124049cf1a164f1e4537caf19c99bf1eb260", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4|~5" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "time": "2016-05-12 18:03:57" + }, + { + "name": "phpunit/php-token-stream", + "version": "1.4.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-token-stream.git", + "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da", + "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Wrapper around PHP's tokenizer extension.", + "homepage": "https://github.com/sebastianbergmann/php-token-stream/", + "keywords": [ + "tokenizer" + ], + "time": "2015-09-15 10:49:45" + }, + { + "name": "phpunit/phpunit", + "version": "5.5.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "46ec2d1522ae8c9a12aca6b7650e0be78bbb0502" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46ec2d1522ae8c9a12aca6b7650e0be78bbb0502", + "reference": "46ec2d1522ae8c9a12aca6b7650e0be78bbb0502", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-json": "*", + "ext-pcre": "*", + "ext-reflection": "*", + "ext-spl": "*", + "myclabs/deep-copy": "~1.3", + "php": "^5.6 || ^7.0", + "phpspec/prophecy": "^1.3.1", + "phpunit/php-code-coverage": "^4.0.1", + "phpunit/php-file-iterator": "~1.4", + "phpunit/php-text-template": "~1.2", + "phpunit/php-timer": "^1.0.6", + "phpunit/phpunit-mock-objects": "^3.2", + "sebastian/comparator": "~1.1", + "sebastian/diff": "~1.2", + "sebastian/environment": "^1.3 || ^2.0", + "sebastian/exporter": "~1.2", + "sebastian/global-state": "~1.0", + "sebastian/object-enumerator": "~1.0", + "sebastian/resource-operations": "~1.0", + "sebastian/version": "~1.0|~2.0", + "symfony/yaml": "~2.1|~3.0" + }, + "conflict": { + "phpdocumentor/reflection-docblock": "3.0.2" + }, + "suggest": { + "phpunit/php-invoker": "~1.1" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.5.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "time": "2016-08-18 11:10:44" + }, + { + "name": "phpunit/phpunit-mock-objects", + "version": "3.2.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", + "reference": "4e83390f64e7ce04fcaec2ce95cd72823b431d19" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/4e83390f64e7ce04fcaec2ce95cd72823b431d19", + "reference": "4e83390f64e7ce04fcaec2ce95cd72823b431d19", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.2", + "php": "^5.6 || ^7.0", + "phpunit/php-text-template": "^1.2", + "sebastian/exporter": "^1.2" + }, + "conflict": { + "phpunit/phpunit": "<5.4.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.4" + }, + "suggest": { + "ext-soap": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.2.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Mock Object library for PHPUnit", + "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", + "keywords": [ + "mock", + "xunit" + ], + "time": "2016-08-17 09:33:51" + }, + { + "name": "psr/log", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/fe0936ee26643249e916849d48e3a51d5f5e278b", + "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b", + "shasum": "" + }, + "type": "library", + "autoload": { + "psr-0": { + "Psr\\Log\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "time": "2012-12-21 11:40:51" + }, + { + "name": "satooshi/php-coveralls", + "version": "v1.0.1", + "source": { + "type": "git", + "url": "https://github.com/satooshi/php-coveralls.git", + "reference": "da51d304fe8622bf9a6da39a8446e7afd432115c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/satooshi/php-coveralls/zipball/da51d304fe8622bf9a6da39a8446e7afd432115c", + "reference": "da51d304fe8622bf9a6da39a8446e7afd432115c", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-simplexml": "*", + "guzzle/guzzle": "^2.8|^3.0", + "php": ">=5.3.3", + "psr/log": "^1.0", + "symfony/config": "^2.1|^3.0", + "symfony/console": "^2.1|^3.0", + "symfony/stopwatch": "^2.0|^3.0", + "symfony/yaml": "^2.0|^3.0" + }, + "suggest": { + "symfony/http-kernel": "Allows Symfony integration" + }, + "bin": [ + "bin/coveralls" + ], + "type": "library", + "autoload": { + "psr-4": { + "Satooshi\\": "src/Satooshi/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kitamura Satoshi", + "email": "with.no.parachute@gmail.com", + "homepage": "https://www.facebook.com/satooshi.jp" + } + ], + "description": "PHP client library for Coveralls API", + "homepage": "https://github.com/satooshi/php-coveralls", + "keywords": [ + "ci", + "coverage", + "github", + "test" + ], + "time": "2016-01-20 17:35:46" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "c36f5e7cfce482fde5bf8d10d41a53591e0198fe" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/c36f5e7cfce482fde5bf8d10d41a53591e0198fe", + "reference": "c36f5e7cfce482fde5bf8d10d41a53591e0198fe", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "phpunit/phpunit": "~5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "time": "2016-02-13 06:45:14" + }, + { + "name": "sebastian/comparator", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "937efb279bd37a375bcadf584dec0726f84dbf22" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/937efb279bd37a375bcadf584dec0726f84dbf22", + "reference": "937efb279bd37a375bcadf584dec0726f84dbf22", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "sebastian/diff": "~1.2", + "sebastian/exporter": "~1.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "http://www.github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "time": "2015-07-26 15:48:44" + }, + { + "name": "sebastian/diff", + "version": "1.4.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e", + "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff" + ], + "time": "2015-12-08 07:14:41" + }, + { + "name": "sebastian/environment", + "version": "1.3.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea", + "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8 || ^5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "time": "2016-08-18 05:49:44" + }, + { + "name": "sebastian/exporter", + "version": "1.2.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4", + "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "sebastian/recursion-context": "~1.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "http://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "time": "2016-06-17 09:04:28" + }, + { + "name": "sebastian/global-state", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4", + "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.2" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "time": "2015-10-12 03:26:01" + }, + { + "name": "sebastian/object-enumerator", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "d4ca2fb70344987502567bc50081c03e6192fb26" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/d4ca2fb70344987502567bc50081c03e6192fb26", + "reference": "d4ca2fb70344987502567bc50081c03e6192fb26", + "shasum": "" + }, + "require": { + "php": ">=5.6", + "sebastian/recursion-context": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "time": "2016-01-28 13:25:10" + }, + { + "name": "sebastian/recursion-context", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "913401df809e99e4f47b27cdd781f4a258d58791" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/913401df809e99e4f47b27cdd781f4a258d58791", + "reference": "913401df809e99e4f47b27cdd781f4a258d58791", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "time": "2015-11-11 19:50:13" + }, + { + "name": "sebastian/resource-operations", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", + "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", + "shasum": "" + }, + "require": { + "php": ">=5.6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "time": "2015-07-28 20:34:47" + }, + { + "name": "sebastian/version", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c829badbd8fdf16a0bad8aa7fa7971c029f1b9c5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c829badbd8fdf16a0bad8aa7fa7971c029f1b9c5", + "reference": "c829badbd8fdf16a0bad8aa7fa7971c029f1b9c5", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "time": "2016-02-04 12:56:52" + }, + { + "name": "squizlabs/php_codesniffer", + "version": "2.6.2", + "source": { + "type": "git", + "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", + "reference": "4edb770cb853def6e60c93abb088ad5ac2010c83" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/4edb770cb853def6e60c93abb088ad5ac2010c83", + "reference": "4edb770cb853def6e60c93abb088ad5ac2010c83", + "shasum": "" + }, + "require": { + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": ">=5.1.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "bin": [ + "scripts/phpcs", + "scripts/phpcbf" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "autoload": { + "classmap": [ + "CodeSniffer.php", + "CodeSniffer/CLI.php", + "CodeSniffer/Exception.php", + "CodeSniffer/File.php", + "CodeSniffer/Fixer.php", + "CodeSniffer/Report.php", + "CodeSniffer/Reporting.php", + "CodeSniffer/Sniff.php", + "CodeSniffer/Tokens.php", + "CodeSniffer/Reports/", + "CodeSniffer/Tokenizers/", + "CodeSniffer/DocGenerators/", + "CodeSniffer/Standards/AbstractPatternSniff.php", + "CodeSniffer/Standards/AbstractScopeSniff.php", + "CodeSniffer/Standards/AbstractVariableSniff.php", + "CodeSniffer/Standards/IncorrectPatternException.php", + "CodeSniffer/Standards/Generic/Sniffs/", + "CodeSniffer/Standards/MySource/Sniffs/", + "CodeSniffer/Standards/PEAR/Sniffs/", + "CodeSniffer/Standards/PSR1/Sniffs/", + "CodeSniffer/Standards/PSR2/Sniffs/", + "CodeSniffer/Standards/Squiz/Sniffs/", + "CodeSniffer/Standards/Zend/Sniffs/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Greg Sherwood", + "role": "lead" + } + ], + "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "homepage": "http://www.squizlabs.com/php-codesniffer", + "keywords": [ + "phpcs", + "standards" + ], + "time": "2016-07-13 23:29:13" + }, + { + "name": "symfony/config", + "version": "v3.1.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/config.git", + "reference": "a7630397b91be09cdd2fe57fd13612e258700598" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/config/zipball/a7630397b91be09cdd2fe57fd13612e258700598", + "reference": "a7630397b91be09cdd2fe57fd13612e258700598", + "shasum": "" + }, + "require": { + "php": ">=5.5.9", + "symfony/filesystem": "~2.8|~3.0" + }, + "suggest": { + "symfony/yaml": "To use the yaml reference dumper" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Config\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Config Component", + "homepage": "https://symfony.com", + "time": "2016-07-26 08:04:17" + }, + { + "name": "symfony/console", + "version": "v3.1.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "f9e638e8149e9e41b570ff092f8007c477ef0ce5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/f9e638e8149e9e41b570ff092f8007c477ef0ce5", + "reference": "f9e638e8149e9e41b570ff092f8007c477ef0ce5", + "shasum": "" + }, + "require": { + "php": ">=5.5.9", + "symfony/polyfill-mbstring": "~1.0" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/event-dispatcher": "~2.8|~3.0", + "symfony/process": "~2.8|~3.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/process": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Console Component", + "homepage": "https://symfony.com", + "time": "2016-07-26 08:04:17" + }, + { + "name": "symfony/event-dispatcher", + "version": "v2.8.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "889983a79a043dfda68f38c38b6dba092dd49cd8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/889983a79a043dfda68f38c38b6dba092dd49cd8", + "reference": "889983a79a043dfda68f38c38b6dba092dd49cd8", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~2.0,>=2.0.5|~3.0.0", + "symfony/dependency-injection": "~2.6|~3.0.0", + "symfony/expression-language": "~2.6|~3.0.0", + "symfony/stopwatch": "~2.3|~3.0.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony EventDispatcher Component", + "homepage": "https://symfony.com", + "time": "2016-07-28 16:56:28" + }, + { + "name": "symfony/filesystem", + "version": "v3.1.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/filesystem.git", + "reference": "bb29adceb552d202b6416ede373529338136e84f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/bb29adceb552d202b6416ede373529338136e84f", + "reference": "bb29adceb552d202b6416ede373529338136e84f", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Filesystem\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Filesystem Component", + "homepage": "https://symfony.com", + "time": "2016-07-20 05:44:26" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "dff51f72b0706335131b00a7f49606168c582594" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/dff51f72b0706335131b00a7f49606168c582594", + "reference": "dff51f72b0706335131b00a7f49606168c582594", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "time": "2016-05-18 14:26:46" + }, + { + "name": "symfony/stopwatch", + "version": "v3.1.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/stopwatch.git", + "reference": "bb42806b12c5f89db4ebf64af6741afe6d8457e1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/bb42806b12c5f89db4ebf64af6741afe6d8457e1", + "reference": "bb42806b12c5f89db4ebf64af6741afe6d8457e1", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Stopwatch\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Stopwatch Component", + "homepage": "https://symfony.com", + "time": "2016-06-29 05:41:56" + }, + { + "name": "symfony/yaml", + "version": "v3.1.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "1819adf2066880c7967df7180f4f662b6f0567ac" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/1819adf2066880c7967df7180f4f662b6f0567ac", + "reference": "1819adf2066880c7967df7180f4f662b6f0567ac", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Yaml Component", + "homepage": "https://symfony.com", + "time": "2016-07-17 14:02:08" + }, + { + "name": "webmozart/assert", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/webmozart/assert.git", + "reference": "bb2d123231c095735130cc8f6d31385a44c7b308" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/assert/zipball/bb2d123231c095735130cc8f6d31385a44c7b308", + "reference": "bb2d123231c095735130cc8f6d31385a44c7b308", + "shasum": "" + }, + "require": { + "php": "^5.3.3|^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.6", + "sebastian/version": "^1.0.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "time": "2016-08-09 15:02:57" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": "~5.6 || ~7.0" + }, + "platform-dev": [] +} diff --git a/assets/php/vendor/nubs/random-name-generator/docker-compose.yml b/assets/php/vendor/nubs/random-name-generator/docker-compose.yml new file mode 100644 index 0000000..e52fe45 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/docker-compose.yml @@ -0,0 +1,8 @@ +version: "2" +services: + build: + build: + context: . + dockerfile: Dockerfile.tests + volumes: + - .:/code diff --git a/assets/php/vendor/nubs/random-name-generator/phpunit.xml b/assets/php/vendor/nubs/random-name-generator/phpunit.xml new file mode 100644 index 0000000..dc845da --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/phpunit.xml @@ -0,0 +1,10 @@ +<phpunit colors="true" forceCoversAnnotation="true" strict="true"> + <testsuite name="Unit Tests"> + <directory>./tests</directory> + </testsuite> + <filter> + <whitelist> + <directory>src</directory> + </whitelist> + </filter> +</phpunit> diff --git a/assets/php/vendor/nubs/random-name-generator/src/AbstractGenerator.php b/assets/php/vendor/nubs/random-name-generator/src/AbstractGenerator.php new file mode 100644 index 0000000..abfae12 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/src/AbstractGenerator.php @@ -0,0 +1,19 @@ +<?php +namespace Nubs\RandomNameGenerator; + +abstract class AbstractGenerator implements Generator +{ + /** + * Alias for getName so that the generator can be directly stringified. + * + * Note that this will return a different name everytime it is cast to a + * string. + * + * @api + * @return string A random name. + */ + public function __toString() + { + return $this->getName(); + } +} diff --git a/assets/php/vendor/nubs/random-name-generator/src/All.php b/assets/php/vendor/nubs/random-name-generator/src/All.php new file mode 100644 index 0000000..d044c74 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/src/All.php @@ -0,0 +1,62 @@ +<?php +namespace Nubs\RandomNameGenerator; + +use Cinam\Randomizer\Randomizer; + +/** + * A generator that uses all of the other generators randomly. + */ +class All extends AbstractGenerator implements Generator +{ + /** @type array The other generators to use. */ + protected $_generators; + + /** @type Cinam\Randomizer\Randomizer The random number generator. */ + protected $_randomizer; + + /** + * Initializes the All Generator with the list of generators to choose from. + * + * @api + * @param array $generators The random generators to use. + * @param \Cinam\Randomizer\Randomizer $randomizer The random number generator. + */ + public function __construct(array $generators, Randomizer $randomizer = null) + { + $this->_generators = $generators; + $this->_randomizer = $randomizer; + } + + /** + * Constructs an All Generator using the default list of generators. + * + * @api + * @param \Cinam\Randomizer\Randomizer $randomizer The random number generator. + * @return \Nubs\RandomNameGenerator\All The constructed generator. + */ + public static function create(Randomizer $randomizer = null) + { + return new self([new Alliteration($randomizer), new Vgng($randomizer)], $randomizer); + } + + /** + * Gets a randomly generated name using the configured generators. + * + * @api + * @return string A random name. + */ + public function getName() + { + return $this->_getRandomGenerator()->getName(); + } + + /** + * Get a random generator from the list of generators. + * + * @return \Nubs\RandomNameGenerator\Generator A random generator. + */ + protected function _getRandomGenerator() + { + return $this->_randomizer ? $this->_randomizer->getArrayValue($this->_generators) : $this->_generators[array_rand($this->_generators)]; + } +} diff --git a/assets/php/vendor/nubs/random-name-generator/src/Alliteration.php b/assets/php/vendor/nubs/random-name-generator/src/Alliteration.php new file mode 100644 index 0000000..68ef3a2 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/src/Alliteration.php @@ -0,0 +1,59 @@ +<?php +namespace Nubs\RandomNameGenerator; + +use Cinam\Randomizer\Randomizer; + +/** + * Defines an alliterative name generator. + */ +class Alliteration extends AbstractGenerator implements Generator +{ + /** @type array The definition of the potential adjectives. */ + protected $_adjectives; + + /** @type array The definition of the potential nouns. */ + protected $_nouns; + + /** @type Cinam\Randomizer\Randomizer The random number generator. */ + protected $_randomizer; + + /** + * Initializes the Alliteration Generator with the default word lists. + * + * @api + * @param \Cinam\Randomizer\Randomizer $randomizer The random number generator. + */ + public function __construct(Randomizer $randomizer = null) + { + $this->_randomizer = $randomizer; + $this->_adjectives = file(__DIR__ . '/adjectives.txt', FILE_IGNORE_NEW_LINES); + $this->_nouns = file(__DIR__ . '/nouns.txt', FILE_IGNORE_NEW_LINES); + } + + /** + * Gets a randomly generated alliterative name. + * + * @api + * @return string A random alliterative name. + */ + public function getName() + { + $adjective = $this->_getRandomWord($this->_adjectives); + $noun = $this->_getRandomWord($this->_nouns, $adjective[0]); + + return ucwords("{$adjective} {$noun}"); + } + + /** + * Get a random word from the list of words, optionally filtering by starting letter. + * + * @param array $words An array of words to choose from. + * @param string $startingLetter The desired starting letter of the word. + * @return string The random word. + */ + protected function _getRandomWord(array $words, $startingLetter = null) + { + $wordsToSearch = $startingLetter === null ? $words : preg_grep("/^{$startingLetter}/", $words); + return $this->_randomizer ? $this->_randomizer->getArrayValue($wordsToSearch) : $wordsToSearch[array_rand($wordsToSearch)]; + } +} diff --git a/assets/php/vendor/nubs/random-name-generator/src/Generator.php b/assets/php/vendor/nubs/random-name-generator/src/Generator.php new file mode 100644 index 0000000..572c990 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/src/Generator.php @@ -0,0 +1,16 @@ +<?php +namespace Nubs\RandomNameGenerator; + +/** + * Defines the standard interface for all the random name generators. + */ +interface Generator +{ + /** + * Gets a randomly generated name. + * + * @api + * @return string A random name. + */ + public function getName(); +} diff --git a/assets/php/vendor/nubs/random-name-generator/src/Vgng.php b/assets/php/vendor/nubs/random-name-generator/src/Vgng.php new file mode 100644 index 0000000..2c43224 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/src/Vgng.php @@ -0,0 +1,138 @@ +<?php +namespace Nubs\RandomNameGenerator; + +use Cinam\Randomizer\Randomizer; + +/** + * Defines a video game name generator based off of + * https://github.com/nullpuppy/vgng which in turn is based off of + * http://videogamena.me/vgng.js. + */ +class Vgng extends AbstractGenerator implements Generator +{ + /** @type array The definition of the potential names. */ + protected $_definitionSets; + + /** @type Cinam\Randomizer\Randomizer The random number generator. */ + protected $_randomizer; + + /** + * Initializes the Video Game Name Generator from the default word list. + * + * @api + * @param \Cinam\Randomizer\Randomizer $randomizer The random number generator. + */ + public function __construct(Randomizer $randomizer = null) + { + $this->_randomizer = $randomizer; + $this->_definitionSets = array_map( + [$this, '_parseSection'], + $this->_getSections($this->_getFileContents()) + ); + } + + /** + * Gets a randomly generated video game name. + * + * @api + * @return string A random video game name. + */ + public function getName() + { + $similarWords = []; + $words = []; + + foreach ($this->_definitionSets as $definitionSet) { + $word = $this->_getUniqueWord($definitionSet, $similarWords); + $words[] = $word['word']; + $similarWords[] = $word['word']; + $similarWords = array_merge($similarWords, $word['similarWords']); + } + + return implode(' ', $words); + } + + /** + * Get a definition from the definitions that does not exist already. + * + * @param array $definitions The word list to pick from. + * @param array $existingWords The already-chosen words to avoid. + * @return array The definition of a previously unchosen word. + */ + protected function _getUniqueWord(array $definitions, array $existingWords) + { + $definition = $this->_randomizer ? $this->_randomizer->getArrayValue($definitions) : $definitions[array_rand($definitions)]; + + if (array_search($definition['word'], $existingWords) === false) { + return $definition; + } + + return $this->_getUniqueWord($definitions, $existingWords); + } + + /** + * Gets the file contents of the video_game_names.txt file. + * + * @return string The video_game_names.txt contents. + */ + protected function _getFileContents() + { + return file_get_contents(__DIR__ . '/video_game_names.txt'); + } + + /** + * Separates the contents into each of the word list sections. + * + * This builder operates by picking a random word from each of a consecutive + * list of word lists. These separate lists are separated by a line + * consisting of four hyphens in the file. + * + * @param string $contents The file contents. + * @return array Each section split into its own string. + */ + protected function _getSections($contents) + { + return array_map('trim', explode('----', $contents)); + } + + /** + * Parses the given section into the final definitions. + * + * @param string $section The newline-separated list of words in a section. + * @return array The parsed section into its final form. + */ + protected function _parseSection($section) + { + return array_map( + [$this, '_parseDefinition'], + $this->_getDefinitionsFromSection($section) + ); + } + + /** + * Gets the separate definitions from the given section. + * + * @param string $section The newline-separated list of words in a section. + * @return array Each word split out, but unparsed. + */ + protected function _getDefinitionsFromSection($section) + { + return array_map('trim', explode("\n", $section)); + } + + /** + * Parses a single definition into its component pieces. + * + * The format of a definition in a file is word[^similarWord|...]. + * + * @param string $definition The definition. + * @return array The formatted definition. + */ + protected function _parseDefinition($definition) + { + $word = strtok($definition, '^'); + $similarWords = array_filter(explode('|', strtok('^'))); + + return ['word' => $word, 'similarWords' => $similarWords]; + } +} diff --git a/assets/php/vendor/nubs/random-name-generator/src/adjectives.txt b/assets/php/vendor/nubs/random-name-generator/src/adjectives.txt new file mode 100644 index 0000000..f8d3247 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/src/adjectives.txt @@ -0,0 +1,233 @@ +adorable +adventurous +aggressive +agreeable +alert +alive +amused +angry +annoyed +annoying +anxious +arrogant +ashamed +attractive +average +awful +bad +beautiful +better +bewildered +black +bloody +blue +blue-eyed +blushing +bored +brainy +brave +breakable +bright +busy +calm +careful +cautious +charming +cheerful +clean +clear +clever +cloudy +clumsy +colorful +combative +comfortable +concerned +condemned +confused +cooperative +courageous +crazy +creepy +crowded +cruel +curious +cute +dangerous +dark +dead +defeated +defiant +delightful +depressed +determined +different +difficult +disgusted +distinct +disturbed +dizzy +doubtful +drab +dull +eager +easy +elated +elegant +embarrassed +enchanting +encouraging +energetic +enthusiastic +envious +evil +excited +expensive +exuberant +fair +faithful +famous +fancy +fantastic +fierce +filthy +fine +foolish +fragile +frail +frantic +friendly +frightened +funny +gentle +gifted +glamorous +gleaming +glorious +good +gorgeous +graceful +grieving +grotesque +grumpy +handsome +happy +healthy +helpful +helpless +hilarious +homeless +homely +horrible +hungry +hurt +ill +important +impossible +inexpensive +innocent +inquisitive +itchy +jealous +jittery +jolly +joyous +kind +lazy +light +lively +lonely +long +lovely +lucky +magnificent +misty +modern +motionless +muddy +mushy +mysterious +nasty +naughty +nervous +nice +nutty +obedient +obnoxious +odd +old-fashioned +open +outrageous +outstanding +panicky +perfect +plain +pleasant +poised +poor +powerful +precious +prickly +proud +puzzled +quaint +real +relieved +repulsive +rich +scary +selfish +shiny +shy +silly +sleepy +smiling +smoggy +sore +sparkling +splendid +spotless +stormy +strange +stupid +successful +super +talented +tame +tender +tense +terrible +testy +thankful +thoughtful +thoughtless +tired +tough +troubled +ugliest +ugly +uninterested +unsightly +unusual +upset +uptight +vast +victorious +vivacious +wandering +weary +wicked +wide-eyed +wild +witty +worrisome +worried +wrong +xenophobic +xanthous +xerothermic +yawning +yellowed +yucky +zany +zealous diff --git a/assets/php/vendor/nubs/random-name-generator/src/nouns.txt b/assets/php/vendor/nubs/random-name-generator/src/nouns.txt new file mode 100644 index 0000000..4e4adc2 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/src/nouns.txt @@ -0,0 +1,313 @@ +aardvark +addax +albatross +alligator +alpaca +anaconda +angelfish +anteater +antelope +ant +ape +armadillo +baboon +badger +barracuda +bat +batfish +bear +beaver +bee +beetle +bird +bison +boar +booby +buffalo +bug +butterfly +buzzard +caiman +camel +capuchin +capybara +caracal +cardinal +caribou +cassowary +cat +caterpillar +centipede +chamois +cheetah +chicken +chimpanzee +chinchilla +chipmunk +cicada +civet +cobra +cockroach +cod +constrictor +copperhead +cormorant +corncrake +cottonmouth +cowfish +cow +coyote +crab +crane +crayfish +crocodile +crossbill +curlew +deer +dingo +dog +dogfish +dolphin +donkey +dormouse +dotterel +dove +dragonfly +duck +dugong +dunlin +eagle +earthworm +echidna +eel +eland +elephant +elk +emu +falcon +ferret +finch +fish +flamingo +flatworm +fly +fowl +fox +frog +gannet +gaur +gazelle +gecko +gemsbok +gentoo +gerbil +gerenuk +gharial +gibbon +giraffe +gnat +gnu +goat +goldfinch +goosander +goose +gorilla +goshawk +grasshopper +grebe +grivet +grouse +guanaco +gull +hamerkop +hamster +hare +hawk +hedgehog +heron +herring +hippopotamus +hoopoe +hornet +horse +hummingbird +hyena +ibex +ibis +iguana +impala +jackal +jaguar +jay +jellyfish +kangaroo +katipo +kea +kestrel +kingfisher +kinkajou +kitten +koala +kookaburra +kouprey +kudu +ladybird +lapwing +lark +lemur +leopard +lion +lizard +llama +lobster +locust +loris +louse +lynx +lyrebird +macaque +macaw +magpie +mallard +mamba +manatee +mandrill +mantis +manx +markhor +marten +meerkat +millipede +mink +mockingbird +mole +mongoose +monkey +moose +mosquito +moth +mouse +narwhal +newt +nightingale +ocelot +octopus +okapi +opossum +orangutan +oryx +osprey +ostrich +otter +owl +ox +oyster +oystercatcher +panda +panther +parrot +partridge +peacock +peafowl +peccary +pelican +penguin +petrel +pheasant +pig +pigeon +pintail +piranha +platypus +plover +polecat +pollan +pony +porcupine +porpoise +puffin +puma +pygmy +quagga +quail +quelea +quetzal +quoll +rabbit +raccoon +rat +ratel +rattlesnake +raven +ray +reindeer +rhinoceros +rook +sable +salamander +salmon +sandpiper +sardine +scarab +seahorse +seal +serval +shark +sheep +shrew +shrike +skimmer +skipper +skunk +skylark +sloth +snail +snake +spider +squirrel +stag +starling +stoat +stork +swan +swiftlet +tamarin +tapir +tarantula +tarsier +teira +termite +tern +thrush +tiger +toad +tortoise +toucan +trout +tuatara +turkey +turtle +unicorn +vendace +vicuña +vole +vulture +wallaby +walrus +warbler +wasp +weasel +weevil +whale +wildebeest +willet +wolf +wolverine +wombat +worm +wren +wryneck +xenomorph +yacare +yak +zebra diff --git a/assets/php/vendor/nubs/random-name-generator/src/video_game_names.txt b/assets/php/vendor/nubs/random-name-generator/src/video_game_names.txt new file mode 100644 index 0000000..a2bcaa2 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/src/video_game_names.txt @@ -0,0 +1,1276 @@ +3D +8-Bit +A Boy and His +Action +Advanced^Advance +Adventures of the^Adventure +Aero +African^in Africa +Alcoholic +Alien +Allied +All-American +All-Night +All-Star^Star|Starring Mickey Mouse|Stars|Superstar +Almighty +Amateur +Amazing +Amazon +American +Amish +Amphibious +Ancient +Android^Cyborg +Angry +Apathetic +Aquatic +Arcane +Armored +Art of +Asian +Astral +Attack of the^Attack +Atomic^Nuclear +Australian +Awesome +Barbie's +Battle^Battleship|Battalion +Battlefield:^Battle|Battleship|Battalion +Beautiful^Beautician +Bewildering +Biblical +Big^Big Game Hunter +Big Bird's^Big Game Hunter +Big-Time^Big Game Hunter +Bionic +Bizarre +Bizarro +Black +Blasphemous +Blazing +Bling Bling +Blissful +Blocky +Bloody^Blood|Bloodbath|of the Blood God +Bonk's +Boring +Bouncin' +Brain-Damaged +British +Britney Spears' +BudgetSoft Presents: +Caesar's +Canadian +Cantankerous +Caribbean +Catholic +Celebrity +Celtic +Charlie Brown's +Children of the +Chillin' +Chinese +Chocolate +Christian +Claustrophobic +College +Colonial +Combat +Communist +Confusing +Cool +Corporate +Cosmic +Crazy +Create Your Own^Creator +Creepy +Cthulhu's +Curse of the +Custom +Cyber +Cybernetic +Cyborg^Android +Dance Dance^Breakdancing|Dance|Dance Mix|Dance Party|Dancers|Square Dancing +Dangerous +Darkest +Day of the +Dead or Alive^Death|Deathmatch|of Death|of the Dead +Deadly^Death|Deathmatch|of Death|of the Dead +Death-Defying^Death|Deathmatch|of Death|of the Dead +Deep Space^of the Deep +Def Jam +Demonic +Depressing +Deranged +Derek Smart's +Dirty +Disney's +Distinguished +Disturbing +Divine +Donkey Kong's +Double +Downtown +Dr. +Dracula's +Drug-Induced +Drunken +Duke Nukem: +Dwarven^Dwarf|Gnome|Midget +Dynamite +Ebony +Eco-Friendly +Educational +Elderly +Electric +Elegant +Elite +Elmo's +Emo +Endless +Enormous +Enraged +Epic +Erotic +Escape from the +Eternal +European +Everybody Hates the +Everybody Loves the +Exciting +Excruciating +Explosive^Explosion +Exquisite +Extreme^X-Treme +Fabulous +Fancy +Fantastic +Fantasy +Fatal +Feverish +Fiery +Final +Final Fantasy^Fantasy +First-Person +Fisher Price +Flamboyant +Fluffy +Flying +Forbidden +Forgotten +Frankenstein's +French +Frisky +Fruity +Full Metal +Funky^Funk +Furry +Future +Galactic +Generic +Geriatric +German +Ghetto +Giant +Glowing +Go Go +God of +Golden +Gothic^Goth +Grand +Great +Grimy +Guitar +Happy +Hardcore +Haunted +Hazardous +Heavy +Heavy Metal^Metal +Heinous +Helicopter +Heroic^Hero|Heroes +Hidden +Hideous +High-Speed^Speed +Hillbilly +Hindu +Hip-Hop^Hippo +History of the +Hitler's^Nazi +Ho-Hum +Holy +Horrifying +Hyper +Imperial +Impossible +In Search of +In Search of the +In the Lost Kingdom of +In Your Face +Inappropriate +Inbred +Incomprehensible +Incredible +Indian +Indiana Jones and the +Inept +Infinite +Ingenious +Insane +Intellectual +Intelligent +Intense +Interactive +International +Internet +Interstellar +Invisible +Irish +Iron +Irresistible +Irritating +Islamic +Italian +It's a Mad, Mad^Madness +Jackie Chan's +Jamaican +Japanese +Jedi +Jewish +Johnny Turbo's +John Romero's +Kabuki +Kamikaze +Kermit's +Killer +Kinect +King of^King|Kingdom +Kinky +Kirby's +Kosher +Kung-fu +Jack Thompson's +Lair of the +Latino +Lazy +Legacy of +Legend of^Legend|Legends +Legend of the^Legend|Legends +Legendary^Legend|Legends +Leisure Suit +Lethal +Little +Looney Tunes +Lord of the^Lord +Lost +Lovely^Love|of Love|Romance +Low G +Lucky +Luigi's +M.C. Escher's +Madden +Magic^of Magic|of Might and Magic +Magical^Magic|of Magic|of Might and Magic +Magnetic +Major +Manic^Mania|Maniac +Maniac^Mania +Mario's +Mary Kate and Ashley's +Master Chief's^Master +Masters of^Master +Masters of the^Master +Maximum +Mechanized +Medieval +Mega +Mega Man's +Merciless +Metal +Mexican +Michael Jackson's +Mickey's +Micro +Middle-Eastern^in the Middle East +Mighty +Mind-Bending +Miniature^Dwarf|Gnome|Midget +Miracle +Monster^Monster Truck +Monty Python's +Morbid +Morbidly Obese +Mr. +MTV's +Muppet +Musical^DJ|Music +My First +My Little +My Very Own +Mysterious^of Mystery +Mystery^of Mystery +Mystic^of Mystery +Mystical^of Mystery +Mythical +Narcoleptic +Nasty +National Lampoon's +Naughty +NBA +NCAA +Nerf +Neo +Neon +Neurotic +New +Night of the^Knights|Night|Nightmare +Nighttime^Knights|Night|Nightmare +Nihilistic +Ninja +No One Can Stop the +Nostalgic +Nuclear^Atomic +Nudist +Obsessive-Compulsive +Occult +Olympic +Omega +Orbital +Pagan +Panzer +Papal +Paranoid +Pathetic +Peaceful +Perfect +Perverted +Phoenix Wright: +Pixellated +Planet of the^Planet +Political +Post-Apocalyptic +Prehistoric +Preschool +Presidential +Primal +Pro +Profane +Professional^Pro +Psychedelic +Psycho +Queen of the^Princess +Quiet +Rad +Radical +Radioactive +Raging^Rage +Real +Red Hot +Regal +Relentless +Religious +Remote +Renegade +Retarded +Retro +Return of^Returns|Strikes Again|Strikes Back +Return of the^Returns|Strikes Again|Strikes Back +Revenge of^Revenge|- The Revenge +Revenge of the^Revenge|- The Revenge +Rise of the +Robot +Robotic^Robot +Rock 'n' Roll +Rocket-Powered +Rockin' +Rogue +Romantic +Royal +Rural +Rushing^Rush +Russian +Samba de +Samurai +Satan's +Savage +Save Yourself from the +Scandinavian +Scooby Doo and the +Scottish +Screaming +Search for the +Secret of the +Sensual^Sex +Sexy^Sex +Shadow of the^Shadow +Shady +Shameful +Shrunken^Midget +Sid Meier's +Silent +Silly +Sim^Simulator +Sinister +Sleazy +Sleepy +Small-Time +Sonic's +Soviet +Space +Special^Special Edition +Spectacular +Spectral^Ghost +Spirit of the +Spooky +Spunky +Star^All-Stars|Starring Mickey Mouse|Stars|Superstar +Star Trek^All-Stars|Star|Starring Mickey Mouse|Stars|Superstar +Star Wars^All-Stars|Star|Starring Mickey Mouse|Stars|Superstar +Stealth +Stoic +Strategic +Street +Stupendous +Stylish +Subatomic +Subterranean^Underground|Underworld +Summer +Super +Super Sexy^Sex|Superstar +Supreme +Surprise +Tactical^Tactics +Tasteless +Team +Teenage +Telekinetic +Terrible +The +The Care Bears' +The Castle of +The Castle of the +The Glory of +The Great +The Harlem Globetrotters: +The Hunt For the +The Incredible +The Infernal +The Last +The Muppets^Muppets +The Quest for the^Quest +The Secret Weapon of the +The Simpsons' +The Sims: +The Six Million Dollar +Third-World +Throbbing +Tiger Woods' +Tiny^Midget +Tom Clancy's +Tony Hawk's +Topsy-Turvy +Toxic +Transvestite +Trendy +Tribal +Tropical +True Crime: +Turbo +Twin +Twisted +Ultimate +Ultra +Ultraviolent^Ultra +Unbelievable +Undead +Undercover^Under Fire|Underwear|Underground|Underworld +Underground^Under Fire|Underwear|Underground|Underworld +Underwater^Under Fire|Underwear|Underground|Underworld +Unforgettable +Unholy +Unpleasant +Unreal +Unremarkable +Unstoppable +Urban +Vampire +Vegetarian +Viking +Violent +Virtua +Virtual +Wacky +Wandering +War of the^Warfare|Warrior|Wars|- Total War +We Love +Weary +Wild^Gone Wild +Wonderous +Wooden +World^World Cup|World Tour +World of^World|World Cup|World Tour +Wrath of the +WWII^Warfare|Warrior|Wars|World|World Cup|World Tour|- Total War +Ye Olde +Yoshi's +Zany +Zombie^Zombies +---- +3D +Acid +Aerobics +Afro +Alien +Alligator +Amish +Android +Animal +Arcade +Architecture +Army +Assault +Axe +Badminton^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Baking +Ballet +Balloon +Banana +Bandicoot +Banjo +Barbarian +Barcode +Baseball^Base|Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Basketball^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Bass +Batman +Battle^Battalion +Battleship^Battle|Battalion +Bazooka +Beach +Beast +Beat +Beautician +Bedtime +Bible +Big Game Hunter^Hunt|Hunter +Bimbo +Bingo +Biplane +Blade +Blimp +Blood^Bloodbath|of the Blood God +BMX +Bobsled +Bomb +Bomberman +Bong +Bongo +Booty +Bow Hunter^Hunt|Hunter +Bowling^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Boxing^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Breakdancing^Dance Mix|Dance Party|Dancers +Bubble +Bubblegum +Buddhist +Bungie +Burger +Business +Cannibal +Car +Cardboard +Carnival +Casino +Castlevania +Catapult +Caveman^Man +Chainsaw +Chase +Cheese +Chef +Chess +Chicken +Chipmunk +Chocobo +Circus +City +College +Combat +Computer +Conga +Cookie +Cooking +Cowboy +Cricket^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Croquet^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Crowbar +Crystal +Cyborg +Dance^Dance Mix|Dance Party|Dancers +Dating +Death^Deathmatch|of Death|of the Dead +Deer Hunter +Demon +Dentist +Desert^in the Desert +Devil +Dinosaur +Disco +Dodgeball^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Dog +Donkey +Dragon +Driving +Drug-Dealing +Duck +Dungeon +Dwarf +Elevator +Equestrian +Fashion +Fantasy +Farm^Farmer +Fencing +Fighter^Fight|Fight Club +Fire +Fishing^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Flatulence +Florist +Football^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Forklift +Frisbee +Frog +Fun +Fun Noodle +Funk +Furry +Ghost +Gimp +Gnome +Go-Kart +Goblin +Godzilla +Golf +Gopher +Goth +Graveyard +Grizzly Bear +Guitar +Gun +Hair Salon +Hammer +Hamster +Handgun +Hang Glider +Hardware +Harpoon +Harvest +Helicopter +Hillbilly +Hippo +Hitman^Man +Hobo +Hockey +Hoedown^Beatdown|Showdown|Smackdown|Takedown +Hovercraft +Horse Racing^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Ice +Ice Cream +Indian +Insect +Internet +Jackhammer +Janitor +Jazz +Jetpack +Jetski +Juggalo +Jungle +Kabuki +Kangaroo +Karaoke +Karate +Kart +Katana +Kitchen +Kung-fu +Lacrosse^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Landmine +Laser +Lawnmower +Lego +Leisure Suit +Lightning +Limbo +Lizard +Llama +Love^of Love|Romance +Lowrider +Mafia +Magic^of Magic|of Might and Magic +Mahjong +Makeout +Makeover +Mall +Manlove +Matador +Math +Maze +Mech +Metal +Midget +Military +Mind Control +Monkey +Monster +Monster Truck +Moon +Moped +Motorcycle +Motocross +Mountain Climber +Mummy +Mushroom +Music^DJ +Mutant +NASCAR +Nazi +Night^Knights|Nightmare +Ninja +Nuclear +Nudist +Octopus +Office +Ostrich +Outlaw +Pachinko +Paintball^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Penguin +Piano +Pinball^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Ping Pong^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Pirate +Platypus +Plumber +Plunger +Pogo +Pokemon +Police +Polka +Pony +Porn +Princess +Prison +Programming +Punching +Puppy +Puzzle +Quantum +Quiz +Rabbit +Raccoon +Racing^Racer +Railroad +Rainbow +River +Robot +Rocket +Rodeo +Rollerball^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Rugby^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Sailboat +Sailor +Samurai +Sandwich +Scooter +Scorched Earth +Sewer +Sex +Shadow +Shark +Shaving +Shock +Shopping +Shotgun +Skate +Skydiving +Sloth +Sniper +Snowboard +Soccer +Software +Spatula +Speed +Spelling +Spelunking +Spider +Spork +Square Dancing^Dance Mix|Dance Party|Dancers +Squirrel +Stapler +STD +Stick +Stunt +Submarine +Sumo +Sudoku +Sunshine +Surf +Surgery +Sushi +Sword +Tank +Techno +Tennis +Terrorist +Tetris +Theme Park^Park +Thief +Thunder +Toon +Trailer Park^Park +Train +Trampoline +Transvestite +Tricycle +Turtle +Typing +UFO +Underwear^Under Fire|Underground|Underworld +Unicorn +Unicycle +Valkyrie +Vampire +Vegetarian +Vigilante +Viking +Vocabulary +Volleyball^Baseball|Basketball|Boxing|Football|Paintbrawl|Pinball|Polo +Wagon +Walrus +Wedding +Weight Loss +Werewolf +Whale +Wheelchair +Wizard +Workout +Worm +Wrestling +Writing +WWE +WWII^Warfare|Warrior|Wars|World|World Cup|World Tour|- Total War +Yak +Yeti +Yoga +Zamboni +Zombie^Zombies +---- +- 2nd Impact +- 3rd Strike +1942 +25th Anniversary Edition +2K +2000 +3000 +3D +64 +95 +Academy +Advance +Adventure +Agent +All-Stars +Alpha +Anarchy +Annihilation +Anthology +Apocalypse +Arena +Armada +Armageddon +Assassins +Assault +at the Olympics +Attack +Babies +Bandit +Bandits +Bastards +Battle +Battalion +Base +Baseball +Basketball +Beatdown +Beta +Blast +Blaster +Bloodbath +Boxing +Boy +Brawl +Brothers +Camp +Caper +Carnage +Castle +CD +Challenge +Championship +Chase +Choreographer +Chronicles +City +Co-Op +Collection +- Collector's Edition +College +Colosseum +Combat +Commander +Commando +Competition +Conflict +Connection +Conquest +Conspiracy +Conundrum +Corps +Country +Creator +Crime Scene Investigation +Crisis +Crusade +Crusader +Dance Mix +Dance Party +Dancers +Daredevils +Dash +Deathmatch +Deluxe +Demolition +Derby +Desperadoes +Destruction +Detective +Diesel +Disaster +DJ +Domination +Dreamland +DS +Dudes +Dungeon +DX +Dynasty +Dystopia +Empire +Encounter +Enforcer +Epidemic +Espionage +EX +Exhibition +Experience +Expert +Explorer +Explosion +Express +Extra +Extravaganza +Factory +Family +Fandango +Fantasy +Farmer +Fest +Feud +Fever +Fiasco +Fiesta +Fight +Fight Club +Fighter +Football +For Kids +Force +Forever +Fortress +Freak +Frenzy +from Hell +from Mars +from Outer Space +from Planet X +Fun +Gaiden +Gang +Girl +Gold +Gone Wild +Gladiator +Groove +GT +Havoc +Hell +Hero +Heroes +Hoedown +Hop-A-Bout +Horde +Horror +Hospital +- Hot Pursuit +House +Hunt +Hunter +II +III +Ignition +in Africa +in Busytown +in Crazyland +in Middle-Earth +in My Pocket +in Space +in the Bayou +in the Dark +in the Desert +in the Hood +in the Magic Kingdom +in the Middle East +in the Outback +in the Salad Kingdom +in the Sky +in Toyland +in Vegas +Incident +Inferno +Insanity +Inspector +Insurrection +Interactive +Interceptor +Invaders +Invasion +Island +Jam +Jamboree +Jihad +Joe +Journey +Jr. +Kid +Kids +King +Kingdom +Knights +Kombat +Legend +Legends +- Limited Edition +Live +Lord +Machine +Madness +Man +Mania +Maniac +Mansion +Marines +Massacre +Master +Maxx +Mayhem +Melee +Mission +Munchers +Nation +Nightmare +Nitro +Odyssey +of Death +of Doom +of Fury +of Love +of Magic +of Might and Magic +of Mystery +of the Blood God +of the Damned +of the Dead +of the Deep +of the Third Reich +on the Oregon Trail +Offensive +Omega +on the High Seas +On The Road +on Wheels +Online +Onslaught +Operation +Operatives +Oppression +Orchestra +Over Normandy +Overdrive +Overload +Overlords +Paintbrawl +Palace +Panic +Paratroopers +Park +Party +Patrol +Phonics +Pimps +Pinball +Pioneer +Planet +Playhouse +Plus +Police +Polo +Posse +Power +Preacher +Princess +Pro +Project +Prophecy +Psychiatrist +Punch-Out!! +Punishment +Quest +Quiz +Racer +Rage +Raider +Rally +Rampage +Rangers +Ransom +Rave +Rebellion +Reloaded +Remix +Rescue +Restaurant +Returns +Revenge +Revisited +Revolution +Rider +Riders +Rocket +Romance +Romp +Roundup +Runner +Rush +Safari +Saga +Saloon +Scam +Scandal +School +Shack +Shoot +Shootout +Showdown +Siege +Simulator +Sisters +Slam +Slaughter +Slayer +Smackdown +Smash +Smuggler +Solid +Soldier +Special Edition +Spectacular +Spies +Spree +Squadron +Stadium +Starring Mickey Mouse +Stars +Story +Strike Force +Strikes Again +Strikes Back +Struggle +Studio +Summit +Summoner +Superstar +Symphony +Syndicate +Syndrome +Tactics +Takedown +Tale +Task Force +Temple +Terror +Thieves +- The Card Game +- The Dark Project +- The Gathering Storm +- The Lost Levels +- The Movie +- The Next Generation +- The Quickening +- The Resistance +- The Revenge +Through Time +Throwdown +- Total War +Tournament +Trader +Train +Trainer +Training +Tribe +Trilogy +Trivia +Troopers +Turbo +Tycoon +Ultra +Unit +Uncensored +Underground +Underworld +Universe +Unleashed +Uprising +Vengeance +Voyage +vs. Capcom +vs. Street Fighter +vs. The Space Mutants +Warfare +Warrior +Wars +Wasteland +with Friends +World +World Cup +World Tour +Wranglers +X +XP +XXX +X-treme +Yoga +Z +Zombies +Zone diff --git a/assets/php/vendor/nubs/random-name-generator/tests/AllTest.php b/assets/php/vendor/nubs/random-name-generator/tests/AllTest.php new file mode 100644 index 0000000..8049ab7 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/tests/AllTest.php @@ -0,0 +1,72 @@ +<?php +namespace Nubs\RandomNameGenerator; + +use PHPUnit_Framework_TestCase; +use Cinam\Randomizer\Randomizer; + +/** + * @coversDefaultClass \Nubs\RandomNameGenerator\All + * @covers ::<protected> + */ +class AllTest extends PHPUnit_Framework_TestCase +{ + /** + * Verify basic behavior of getName(). + * + * @test + * @covers ::__construct + * @covers ::create + * @covers ::getName + * @uses \Nubs\RandomNameGenerator\Alliteration + * @uses \Nubs\RandomNameGenerator\Vgng + * + * @return void + */ + public function getNameBasic() + { + $generator = All::create(); + $name = $generator->getName(); + $this->assertRegexp('/.+/', $name); + } + + /** + * Verify basic behavior of getName() with a forced random generator. + * + * @test + * @covers ::__construct + * @covers ::create + * @covers ::getName + * @uses \Nubs\RandomNameGenerator\Alliteration + * + * @return void + */ + public function getNameForced() + { + $numberGenerator = $this->createMock('\Cinam\Randomizer\NumberGenerator'); + $numberGenerator->expects($this->exactly(2))->method('getInt')->will($this->onConsecutiveCalls(20, 5)); + $randomizer = new Randomizer($numberGenerator); + + $generator = new All([new Alliteration($randomizer)]); + $this->assertSame('Black Bear', $generator->getName()); + } + + /** + * Verify basic behavior of __toString(). + * + * @test + * @covers ::__construct + * @covers ::create + * @covers ::__toString + * @covers ::getName + * @uses \Nubs\RandomNameGenerator\Alliteration + * @uses \Nubs\RandomNameGenerator\Vgng + * + * @return void + */ + public function toStringBasic() + { + $generator = All::create(); + $name = (string)$generator; + $this->assertRegexp('/.+/', $name); + } +} diff --git a/assets/php/vendor/nubs/random-name-generator/tests/AlliterationTest.php b/assets/php/vendor/nubs/random-name-generator/tests/AlliterationTest.php new file mode 100644 index 0000000..0b47343 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/tests/AlliterationTest.php @@ -0,0 +1,66 @@ +<?php +namespace Nubs\RandomNameGenerator; + +use PHPUnit_Framework_TestCase; +use Cinam\Randomizer\Randomizer; + +/** + * @coversDefaultClass \Nubs\RandomNameGenerator\Alliteration + * @covers ::<protected> + */ +class AlliterationTest extends PHPUnit_Framework_TestCase +{ + /** + * Verify basic behavior of getName(). + * + * @test + * @covers ::__construct + * @covers ::getName + * + * @return void + */ + public function getNameBasic() + { + $generator = new Alliteration(); + $parts = explode(' ', $generator->getName()); + $this->assertSame(2, count($parts)); + $this->assertSame($parts[0][0], $parts[1][0]); + } + + /** + * Verify basic behavior of getName() with a forced random generator. + * + * @test + * @covers ::__construct + * @covers ::getName + * + * @return void + */ + public function getNameForced() + { + $numberGenerator = $this->createMock('\Cinam\Randomizer\NumberGenerator'); + $numberGenerator->expects($this->exactly(2))->method('getInt')->will($this->onConsecutiveCalls(20, 5)); + $randomizer = new Randomizer($numberGenerator); + + $generator = new Alliteration($randomizer); + $this->assertSame('Black Bear', $generator->getName()); + } + + /** + * Verify basic behavior of __toString(). + * + * @test + * @covers ::__construct + * @covers ::__toString + * @covers ::getName + * + * @return void + */ + public function toStringBasic() + { + $generator = new Alliteration(); + $parts = explode(' ', (string)$generator); + $this->assertSame(2, count($parts)); + $this->assertSame($parts[0][0], $parts[1][0]); + } +} diff --git a/assets/php/vendor/nubs/random-name-generator/tests/VgngTest.php b/assets/php/vendor/nubs/random-name-generator/tests/VgngTest.php new file mode 100644 index 0000000..a301b81 --- /dev/null +++ b/assets/php/vendor/nubs/random-name-generator/tests/VgngTest.php @@ -0,0 +1,67 @@ +<?php +namespace Nubs\RandomNameGenerator; + +use PHPUnit_Framework_TestCase; +use Cinam\Randomizer\Randomizer; + +/** + * @coversDefaultClass \Nubs\RandomNameGenerator\Vgng + * @covers ::<protected> + */ +class VgngTest extends PHPUnit_Framework_TestCase +{ + /** + * Verify that getName returns the expected name. + * + * @test + * @covers ::__construct + * @covers ::getName + */ + public function getNameBasic() + { + $numberGenerator = $this->createMock('\Cinam\Randomizer\NumberGenerator'); + $numberGenerator->expects($this->exactly(3))->method('getInt')->will($this->returnValue(1)); + $randomizer = new Randomizer($numberGenerator); + + $vgng = new Vgng($randomizer); + + $this->assertSame('8-Bit Acid - 3rd Strike', $vgng->getName()); + } + + /** + * Verify that getName returns a name without similar strings. + * + * @test + * @covers ::__construct + * @covers ::getName + */ + public function getNameSimilarName() + { + $numberGenerator = $this->createMock('\Cinam\Randomizer\NumberGenerator'); + $numberGenerator->expects($this->exactly(4))->method('getInt')->will($this->onConsecutiveCalls(0, 0, 2, 10)); + $randomizer = new Randomizer($numberGenerator); + + $vgng = new Vgng($randomizer); + + $this->assertSame('3D Aerobics Academy', $vgng->getName()); + } + + /** + * Verify that toString returns the expected name. + * + * @test + * @covers ::__construct + * @covers ::__toString + * @covers ::getName + */ + public function toStringBasic() + { + $numberGenerator = $this->createMock('\Cinam\Randomizer\NumberGenerator'); + $numberGenerator->expects($this->exactly(3))->method('getInt')->will($this->returnValue(1)); + $randomizer = new Randomizer($numberGenerator); + + $vgng = new Vgng($randomizer); + + $this->assertSame('8-Bit Acid - 3rd Strike', (string)$vgng); + } +} |