├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── phpunit.xml ├── src └── ClassNames.php └── tests └── ClassNamesTest.php /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | 3 | /vendor/ 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | php: 3 | - 7.0 4 | - 7.1 5 | install: composer install --dev 6 | script: phpunit 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Chris Stroud 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # classnames-php 2 | 3 | [](https://travis-ci.org/CJStroud/classnames-php) 4 | 5 | 6 | PHP port of the JavaScript classNames utility. https://github.com/JedWatson/classnames 7 | 8 | ## Installation 9 | 10 | ``` 11 | composer require cjstroud/classnames-php 12 | ``` 13 | 14 | The classNames can be accessed anywhere. 15 | 16 | ``` 17 | classNames('foo', ['bar' => true]); // 'foo bar' 18 | ``` 19 | 20 | ## Usage 21 | 22 | The `classNames` function takes any number of arguments which can be a string or array. 23 | When using an array, if the value associated with a given key is falsy, that key won't be included in the output. 24 | If no value is given the true is assumed. 25 | 26 | ``` 27 | classNames('foo'); // 'foo' 28 | classNames(['foo' => true]); // 'foo' 29 | classNames('foo', ['bar' => false, 'baz' => true]); // 'foo baz' 30 | classNames(['foo', 'bar' => true]) // 'foo bar' 31 | 32 | // Falsy values get ignored 33 | classNames('foo', null, 0, false, 1); // 'foo 1' 34 | ``` 35 | 36 | Objects and functions will be ignored, unless the object has __toString() function. 37 | If it does that will be called and the string value used. 38 | 39 | ``` 40 | class ExampleObject { 41 | function __toString() 42 | { 43 | return 'bar'; 44 | } 45 | } 46 | 47 | classNames('foo', function() {}, new stdClass(), new ExampleObject()); // 'foo bar' 48 | ``` 49 | 50 | ## Laravel Blade 51 | 52 | ``` 53 |
54 | 55 | 56 | ``` 57 | 58 | ## License 59 | 60 | [MIT](LICENSE). Copyright (c) 2017 Chris Stroud. 61 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cjstroud/classnames-php", 3 | "description": "A simple PHP utility for conditionally joining classNames together", 4 | "require-dev": { 5 | "phpunit/phpunit": "^6.1" 6 | }, 7 | "license": "MIT", 8 | "autoload": { 9 | "files": [ 10 | "src/ClassNames.php" 11 | ] 12 | }, 13 | "authors": [ 14 | { 15 | "name": "Chris Stroud", 16 | "email": "chris.stroud00@gmail.com" 17 | } 18 | ], 19 | "require": {} 20 | } 21 | -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- 1 | { 2 | "_readme": [ 3 | "This file locks the dependencies of your project to a known state", 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", 5 | "This file is @generated automatically" 6 | ], 7 | "hash": "3947940d44f29f76a1dbc93c45b6d18f", 8 | "content-hash": "bc36717a25df1f039997e69ccd7f4c6f", 9 | "packages": [], 10 | "packages-dev": [ 11 | { 12 | "name": "doctrine/instantiator", 13 | "version": "1.0.5", 14 | "source": { 15 | "type": "git", 16 | "url": "https://github.com/doctrine/instantiator.git", 17 | "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" 18 | }, 19 | "dist": { 20 | "type": "zip", 21 | "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", 22 | "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", 23 | "shasum": "" 24 | }, 25 | "require": { 26 | "php": ">=5.3,<8.0-DEV" 27 | }, 28 | "require-dev": { 29 | "athletic/athletic": "~0.1.8", 30 | "ext-pdo": "*", 31 | "ext-phar": "*", 32 | "phpunit/phpunit": "~4.0", 33 | "squizlabs/php_codesniffer": "~2.0" 34 | }, 35 | "type": "library", 36 | "extra": { 37 | "branch-alias": { 38 | "dev-master": "1.0.x-dev" 39 | } 40 | }, 41 | "autoload": { 42 | "psr-4": { 43 | "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" 44 | } 45 | }, 46 | "notification-url": "https://packagist.org/downloads/", 47 | "license": [ 48 | "MIT" 49 | ], 50 | "authors": [ 51 | { 52 | "name": "Marco Pivetta", 53 | "email": "ocramius@gmail.com", 54 | "homepage": "http://ocramius.github.com/" 55 | } 56 | ], 57 | "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", 58 | "homepage": "https://github.com/doctrine/instantiator", 59 | "keywords": [ 60 | "constructor", 61 | "instantiate" 62 | ], 63 | "time": "2015-06-14 21:17:01" 64 | }, 65 | { 66 | "name": "myclabs/deep-copy", 67 | "version": "1.6.1", 68 | "source": { 69 | "type": "git", 70 | "url": "https://github.com/myclabs/DeepCopy.git", 71 | "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102" 72 | }, 73 | "dist": { 74 | "type": "zip", 75 | "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8e6e04167378abf1ddb4d3522d8755c5fd90d102", 76 | "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102", 77 | "shasum": "" 78 | }, 79 | "require": { 80 | "php": ">=5.4.0" 81 | }, 82 | "require-dev": { 83 | "doctrine/collections": "1.*", 84 | "phpunit/phpunit": "~4.1" 85 | }, 86 | "type": "library", 87 | "autoload": { 88 | "psr-4": { 89 | "DeepCopy\\": "src/DeepCopy/" 90 | } 91 | }, 92 | "notification-url": "https://packagist.org/downloads/", 93 | "license": [ 94 | "MIT" 95 | ], 96 | "description": "Create deep copies (clones) of your objects", 97 | "homepage": "https://github.com/myclabs/DeepCopy", 98 | "keywords": [ 99 | "clone", 100 | "copy", 101 | "duplicate", 102 | "object", 103 | "object graph" 104 | ], 105 | "time": "2017-04-12 18:52:22" 106 | }, 107 | { 108 | "name": "phar-io/manifest", 109 | "version": "1.0.1", 110 | "source": { 111 | "type": "git", 112 | "url": "https://github.com/phar-io/manifest.git", 113 | "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0" 114 | }, 115 | "dist": { 116 | "type": "zip", 117 | "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0", 118 | "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0", 119 | "shasum": "" 120 | }, 121 | "require": { 122 | "ext-dom": "*", 123 | "ext-phar": "*", 124 | "phar-io/version": "^1.0.1", 125 | "php": "^5.6 || ^7.0" 126 | }, 127 | "type": "library", 128 | "extra": { 129 | "branch-alias": { 130 | "dev-master": "1.0.x-dev" 131 | } 132 | }, 133 | "autoload": { 134 | "classmap": [ 135 | "src/" 136 | ] 137 | }, 138 | "notification-url": "https://packagist.org/downloads/", 139 | "license": [ 140 | "BSD-3-Clause" 141 | ], 142 | "authors": [ 143 | { 144 | "name": "Arne Blankerts", 145 | "email": "arne@blankerts.de", 146 | "role": "Developer" 147 | }, 148 | { 149 | "name": "Sebastian Heuer", 150 | "email": "sebastian@phpeople.de", 151 | "role": "Developer" 152 | }, 153 | { 154 | "name": "Sebastian Bergmann", 155 | "email": "sebastian@phpunit.de", 156 | "role": "Developer" 157 | } 158 | ], 159 | "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", 160 | "time": "2017-03-05 18:14:27" 161 | }, 162 | { 163 | "name": "phar-io/version", 164 | "version": "1.0.1", 165 | "source": { 166 | "type": "git", 167 | "url": "https://github.com/phar-io/version.git", 168 | "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df" 169 | }, 170 | "dist": { 171 | "type": "zip", 172 | "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df", 173 | "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df", 174 | "shasum": "" 175 | }, 176 | "require": { 177 | "php": "^5.6 || ^7.0" 178 | }, 179 | "type": "library", 180 | "autoload": { 181 | "classmap": [ 182 | "src/" 183 | ] 184 | }, 185 | "notification-url": "https://packagist.org/downloads/", 186 | "license": [ 187 | "BSD-3-Clause" 188 | ], 189 | "authors": [ 190 | { 191 | "name": "Arne Blankerts", 192 | "email": "arne@blankerts.de", 193 | "role": "Developer" 194 | }, 195 | { 196 | "name": "Sebastian Heuer", 197 | "email": "sebastian@phpeople.de", 198 | "role": "Developer" 199 | }, 200 | { 201 | "name": "Sebastian Bergmann", 202 | "email": "sebastian@phpunit.de", 203 | "role": "Developer" 204 | } 205 | ], 206 | "description": "Library for handling version information and constraints", 207 | "time": "2017-03-05 17:38:23" 208 | }, 209 | { 210 | "name": "phpdocumentor/reflection-common", 211 | "version": "1.0", 212 | "source": { 213 | "type": "git", 214 | "url": "https://github.com/phpDocumentor/ReflectionCommon.git", 215 | "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" 216 | }, 217 | "dist": { 218 | "type": "zip", 219 | "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", 220 | "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", 221 | "shasum": "" 222 | }, 223 | "require": { 224 | "php": ">=5.5" 225 | }, 226 | "require-dev": { 227 | "phpunit/phpunit": "^4.6" 228 | }, 229 | "type": "library", 230 | "extra": { 231 | "branch-alias": { 232 | "dev-master": "1.0.x-dev" 233 | } 234 | }, 235 | "autoload": { 236 | "psr-4": { 237 | "phpDocumentor\\Reflection\\": [ 238 | "src" 239 | ] 240 | } 241 | }, 242 | "notification-url": "https://packagist.org/downloads/", 243 | "license": [ 244 | "MIT" 245 | ], 246 | "authors": [ 247 | { 248 | "name": "Jaap van Otterdijk", 249 | "email": "opensource@ijaap.nl" 250 | } 251 | ], 252 | "description": "Common reflection classes used by phpdocumentor to reflect the code structure", 253 | "homepage": "http://www.phpdoc.org", 254 | "keywords": [ 255 | "FQSEN", 256 | "phpDocumentor", 257 | "phpdoc", 258 | "reflection", 259 | "static analysis" 260 | ], 261 | "time": "2015-12-27 11:43:31" 262 | }, 263 | { 264 | "name": "phpdocumentor/reflection-docblock", 265 | "version": "3.1.1", 266 | "source": { 267 | "type": "git", 268 | "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", 269 | "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e" 270 | }, 271 | "dist": { 272 | "type": "zip", 273 | "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e", 274 | "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e", 275 | "shasum": "" 276 | }, 277 | "require": { 278 | "php": ">=5.5", 279 | "phpdocumentor/reflection-common": "^1.0@dev", 280 | "phpdocumentor/type-resolver": "^0.2.0", 281 | "webmozart/assert": "^1.0" 282 | }, 283 | "require-dev": { 284 | "mockery/mockery": "^0.9.4", 285 | "phpunit/phpunit": "^4.4" 286 | }, 287 | "type": "library", 288 | "autoload": { 289 | "psr-4": { 290 | "phpDocumentor\\Reflection\\": [ 291 | "src/" 292 | ] 293 | } 294 | }, 295 | "notification-url": "https://packagist.org/downloads/", 296 | "license": [ 297 | "MIT" 298 | ], 299 | "authors": [ 300 | { 301 | "name": "Mike van Riel", 302 | "email": "me@mikevanriel.com" 303 | } 304 | ], 305 | "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", 306 | "time": "2016-09-30 07:12:33" 307 | }, 308 | { 309 | "name": "phpdocumentor/type-resolver", 310 | "version": "0.2.1", 311 | "source": { 312 | "type": "git", 313 | "url": "https://github.com/phpDocumentor/TypeResolver.git", 314 | "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb" 315 | }, 316 | "dist": { 317 | "type": "zip", 318 | "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", 319 | "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", 320 | "shasum": "" 321 | }, 322 | "require": { 323 | "php": ">=5.5", 324 | "phpdocumentor/reflection-common": "^1.0" 325 | }, 326 | "require-dev": { 327 | "mockery/mockery": "^0.9.4", 328 | "phpunit/phpunit": "^5.2||^4.8.24" 329 | }, 330 | "type": "library", 331 | "extra": { 332 | "branch-alias": { 333 | "dev-master": "1.0.x-dev" 334 | } 335 | }, 336 | "autoload": { 337 | "psr-4": { 338 | "phpDocumentor\\Reflection\\": [ 339 | "src/" 340 | ] 341 | } 342 | }, 343 | "notification-url": "https://packagist.org/downloads/", 344 | "license": [ 345 | "MIT" 346 | ], 347 | "authors": [ 348 | { 349 | "name": "Mike van Riel", 350 | "email": "me@mikevanriel.com" 351 | } 352 | ], 353 | "time": "2016-11-25 06:54:22" 354 | }, 355 | { 356 | "name": "phpspec/prophecy", 357 | "version": "v1.7.0", 358 | "source": { 359 | "type": "git", 360 | "url": "https://github.com/phpspec/prophecy.git", 361 | "reference": "93d39f1f7f9326d746203c7c056f300f7f126073" 362 | }, 363 | "dist": { 364 | "type": "zip", 365 | "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073", 366 | "reference": "93d39f1f7f9326d746203c7c056f300f7f126073", 367 | "shasum": "" 368 | }, 369 | "require": { 370 | "doctrine/instantiator": "^1.0.2", 371 | "php": "^5.3|^7.0", 372 | "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", 373 | "sebastian/comparator": "^1.1|^2.0", 374 | "sebastian/recursion-context": "^1.0|^2.0|^3.0" 375 | }, 376 | "require-dev": { 377 | "phpspec/phpspec": "^2.5|^3.2", 378 | "phpunit/phpunit": "^4.8 || ^5.6.5" 379 | }, 380 | "type": "library", 381 | "extra": { 382 | "branch-alias": { 383 | "dev-master": "1.6.x-dev" 384 | } 385 | }, 386 | "autoload": { 387 | "psr-0": { 388 | "Prophecy\\": "src/" 389 | } 390 | }, 391 | "notification-url": "https://packagist.org/downloads/", 392 | "license": [ 393 | "MIT" 394 | ], 395 | "authors": [ 396 | { 397 | "name": "Konstantin Kudryashov", 398 | "email": "ever.zet@gmail.com", 399 | "homepage": "http://everzet.com" 400 | }, 401 | { 402 | "name": "Marcello Duarte", 403 | "email": "marcello.duarte@gmail.com" 404 | } 405 | ], 406 | "description": "Highly opinionated mocking framework for PHP 5.3+", 407 | "homepage": "https://github.com/phpspec/prophecy", 408 | "keywords": [ 409 | "Double", 410 | "Dummy", 411 | "fake", 412 | "mock", 413 | "spy", 414 | "stub" 415 | ], 416 | "time": "2017-03-02 20:05:34" 417 | }, 418 | { 419 | "name": "phpunit/php-code-coverage", 420 | "version": "5.2.1", 421 | "source": { 422 | "type": "git", 423 | "url": "https://github.com/sebastianbergmann/php-code-coverage.git", 424 | "reference": "dc421f9ca5082a0c0cb04afb171c765f79add85b" 425 | }, 426 | "dist": { 427 | "type": "zip", 428 | "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/dc421f9ca5082a0c0cb04afb171c765f79add85b", 429 | "reference": "dc421f9ca5082a0c0cb04afb171c765f79add85b", 430 | "shasum": "" 431 | }, 432 | "require": { 433 | "ext-dom": "*", 434 | "ext-xmlwriter": "*", 435 | "php": "^7.0", 436 | "phpunit/php-file-iterator": "^1.3", 437 | "phpunit/php-text-template": "^1.2", 438 | "phpunit/php-token-stream": "^1.4.11 || ^2.0", 439 | "sebastian/code-unit-reverse-lookup": "^1.0", 440 | "sebastian/environment": "^3.0", 441 | "sebastian/version": "^2.0", 442 | "theseer/tokenizer": "^1.1" 443 | }, 444 | "require-dev": { 445 | "ext-xdebug": "^2.5", 446 | "phpunit/phpunit": "^6.0" 447 | }, 448 | "suggest": { 449 | "ext-xdebug": "^2.5.3" 450 | }, 451 | "type": "library", 452 | "extra": { 453 | "branch-alias": { 454 | "dev-master": "5.2.x-dev" 455 | } 456 | }, 457 | "autoload": { 458 | "classmap": [ 459 | "src/" 460 | ] 461 | }, 462 | "notification-url": "https://packagist.org/downloads/", 463 | "license": [ 464 | "BSD-3-Clause" 465 | ], 466 | "authors": [ 467 | { 468 | "name": "Sebastian Bergmann", 469 | "email": "sb@sebastian-bergmann.de", 470 | "role": "lead" 471 | } 472 | ], 473 | "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", 474 | "homepage": "https://github.com/sebastianbergmann/php-code-coverage", 475 | "keywords": [ 476 | "coverage", 477 | "testing", 478 | "xunit" 479 | ], 480 | "time": "2017-04-21 08:03:57" 481 | }, 482 | { 483 | "name": "phpunit/php-file-iterator", 484 | "version": "1.4.2", 485 | "source": { 486 | "type": "git", 487 | "url": "https://github.com/sebastianbergmann/php-file-iterator.git", 488 | "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5" 489 | }, 490 | "dist": { 491 | "type": "zip", 492 | "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5", 493 | "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5", 494 | "shasum": "" 495 | }, 496 | "require": { 497 | "php": ">=5.3.3" 498 | }, 499 | "type": "library", 500 | "extra": { 501 | "branch-alias": { 502 | "dev-master": "1.4.x-dev" 503 | } 504 | }, 505 | "autoload": { 506 | "classmap": [ 507 | "src/" 508 | ] 509 | }, 510 | "notification-url": "https://packagist.org/downloads/", 511 | "license": [ 512 | "BSD-3-Clause" 513 | ], 514 | "authors": [ 515 | { 516 | "name": "Sebastian Bergmann", 517 | "email": "sb@sebastian-bergmann.de", 518 | "role": "lead" 519 | } 520 | ], 521 | "description": "FilterIterator implementation that filters files based on a list of suffixes.", 522 | "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", 523 | "keywords": [ 524 | "filesystem", 525 | "iterator" 526 | ], 527 | "time": "2016-10-03 07:40:28" 528 | }, 529 | { 530 | "name": "phpunit/php-text-template", 531 | "version": "1.2.1", 532 | "source": { 533 | "type": "git", 534 | "url": "https://github.com/sebastianbergmann/php-text-template.git", 535 | "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" 536 | }, 537 | "dist": { 538 | "type": "zip", 539 | "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", 540 | "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", 541 | "shasum": "" 542 | }, 543 | "require": { 544 | "php": ">=5.3.3" 545 | }, 546 | "type": "library", 547 | "autoload": { 548 | "classmap": [ 549 | "src/" 550 | ] 551 | }, 552 | "notification-url": "https://packagist.org/downloads/", 553 | "license": [ 554 | "BSD-3-Clause" 555 | ], 556 | "authors": [ 557 | { 558 | "name": "Sebastian Bergmann", 559 | "email": "sebastian@phpunit.de", 560 | "role": "lead" 561 | } 562 | ], 563 | "description": "Simple template engine.", 564 | "homepage": "https://github.com/sebastianbergmann/php-text-template/", 565 | "keywords": [ 566 | "template" 567 | ], 568 | "time": "2015-06-21 13:50:34" 569 | }, 570 | { 571 | "name": "phpunit/php-timer", 572 | "version": "1.0.9", 573 | "source": { 574 | "type": "git", 575 | "url": "https://github.com/sebastianbergmann/php-timer.git", 576 | "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f" 577 | }, 578 | "dist": { 579 | "type": "zip", 580 | "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", 581 | "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", 582 | "shasum": "" 583 | }, 584 | "require": { 585 | "php": "^5.3.3 || ^7.0" 586 | }, 587 | "require-dev": { 588 | "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" 589 | }, 590 | "type": "library", 591 | "extra": { 592 | "branch-alias": { 593 | "dev-master": "1.0-dev" 594 | } 595 | }, 596 | "autoload": { 597 | "classmap": [ 598 | "src/" 599 | ] 600 | }, 601 | "notification-url": "https://packagist.org/downloads/", 602 | "license": [ 603 | "BSD-3-Clause" 604 | ], 605 | "authors": [ 606 | { 607 | "name": "Sebastian Bergmann", 608 | "email": "sb@sebastian-bergmann.de", 609 | "role": "lead" 610 | } 611 | ], 612 | "description": "Utility class for timing", 613 | "homepage": "https://github.com/sebastianbergmann/php-timer/", 614 | "keywords": [ 615 | "timer" 616 | ], 617 | "time": "2017-02-26 11:10:40" 618 | }, 619 | { 620 | "name": "phpunit/php-token-stream", 621 | "version": "1.4.11", 622 | "source": { 623 | "type": "git", 624 | "url": "https://github.com/sebastianbergmann/php-token-stream.git", 625 | "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7" 626 | }, 627 | "dist": { 628 | "type": "zip", 629 | "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7", 630 | "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7", 631 | "shasum": "" 632 | }, 633 | "require": { 634 | "ext-tokenizer": "*", 635 | "php": ">=5.3.3" 636 | }, 637 | "require-dev": { 638 | "phpunit/phpunit": "~4.2" 639 | }, 640 | "type": "library", 641 | "extra": { 642 | "branch-alias": { 643 | "dev-master": "1.4-dev" 644 | } 645 | }, 646 | "autoload": { 647 | "classmap": [ 648 | "src/" 649 | ] 650 | }, 651 | "notification-url": "https://packagist.org/downloads/", 652 | "license": [ 653 | "BSD-3-Clause" 654 | ], 655 | "authors": [ 656 | { 657 | "name": "Sebastian Bergmann", 658 | "email": "sebastian@phpunit.de" 659 | } 660 | ], 661 | "description": "Wrapper around PHP's tokenizer extension.", 662 | "homepage": "https://github.com/sebastianbergmann/php-token-stream/", 663 | "keywords": [ 664 | "tokenizer" 665 | ], 666 | "time": "2017-02-27 10:12:30" 667 | }, 668 | { 669 | "name": "phpunit/phpunit", 670 | "version": "6.1.3", 671 | "source": { 672 | "type": "git", 673 | "url": "https://github.com/sebastianbergmann/phpunit.git", 674 | "reference": "824d02024916525a36b2db21847a5ef91db9e4a8" 675 | }, 676 | "dist": { 677 | "type": "zip", 678 | "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/824d02024916525a36b2db21847a5ef91db9e4a8", 679 | "reference": "824d02024916525a36b2db21847a5ef91db9e4a8", 680 | "shasum": "" 681 | }, 682 | "require": { 683 | "ext-dom": "*", 684 | "ext-json": "*", 685 | "ext-libxml": "*", 686 | "ext-mbstring": "*", 687 | "ext-xml": "*", 688 | "myclabs/deep-copy": "^1.3", 689 | "phar-io/manifest": "^1.0.1", 690 | "phar-io/version": "^1.0", 691 | "php": "^7.0", 692 | "phpspec/prophecy": "^1.7", 693 | "phpunit/php-code-coverage": "^5.2", 694 | "phpunit/php-file-iterator": "^1.4", 695 | "phpunit/php-text-template": "^1.2", 696 | "phpunit/php-timer": "^1.0.6", 697 | "phpunit/phpunit-mock-objects": "^4.0", 698 | "sebastian/comparator": "^2.0", 699 | "sebastian/diff": "^1.2", 700 | "sebastian/environment": "^3.0.1", 701 | "sebastian/exporter": "^3.1", 702 | "sebastian/global-state": "^1.1 || ^2.0", 703 | "sebastian/object-enumerator": "^3.0.2", 704 | "sebastian/resource-operations": "^1.0", 705 | "sebastian/version": "^2.0" 706 | }, 707 | "conflict": { 708 | "phpdocumentor/reflection-docblock": "3.0.2", 709 | "phpunit/dbunit": "<3.0" 710 | }, 711 | "require-dev": { 712 | "ext-pdo": "*" 713 | }, 714 | "suggest": { 715 | "ext-xdebug": "*", 716 | "phpunit/php-invoker": "^1.1" 717 | }, 718 | "bin": [ 719 | "phpunit" 720 | ], 721 | "type": "library", 722 | "extra": { 723 | "branch-alias": { 724 | "dev-master": "6.1.x-dev" 725 | } 726 | }, 727 | "autoload": { 728 | "classmap": [ 729 | "src/" 730 | ] 731 | }, 732 | "notification-url": "https://packagist.org/downloads/", 733 | "license": [ 734 | "BSD-3-Clause" 735 | ], 736 | "authors": [ 737 | { 738 | "name": "Sebastian Bergmann", 739 | "email": "sebastian@phpunit.de", 740 | "role": "lead" 741 | } 742 | ], 743 | "description": "The PHP Unit Testing framework.", 744 | "homepage": "https://phpunit.de/", 745 | "keywords": [ 746 | "phpunit", 747 | "testing", 748 | "xunit" 749 | ], 750 | "time": "2017-04-29 10:40:17" 751 | }, 752 | { 753 | "name": "phpunit/phpunit-mock-objects", 754 | "version": "4.0.1", 755 | "source": { 756 | "type": "git", 757 | "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", 758 | "reference": "eabce450df194817a7d7e27e19013569a903a2bf" 759 | }, 760 | "dist": { 761 | "type": "zip", 762 | "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/eabce450df194817a7d7e27e19013569a903a2bf", 763 | "reference": "eabce450df194817a7d7e27e19013569a903a2bf", 764 | "shasum": "" 765 | }, 766 | "require": { 767 | "doctrine/instantiator": "^1.0.2", 768 | "php": "^7.0", 769 | "phpunit/php-text-template": "^1.2", 770 | "sebastian/exporter": "^3.0" 771 | }, 772 | "conflict": { 773 | "phpunit/phpunit": "<6.0" 774 | }, 775 | "require-dev": { 776 | "phpunit/phpunit": "^6.0" 777 | }, 778 | "suggest": { 779 | "ext-soap": "*" 780 | }, 781 | "type": "library", 782 | "extra": { 783 | "branch-alias": { 784 | "dev-master": "4.0.x-dev" 785 | } 786 | }, 787 | "autoload": { 788 | "classmap": [ 789 | "src/" 790 | ] 791 | }, 792 | "notification-url": "https://packagist.org/downloads/", 793 | "license": [ 794 | "BSD-3-Clause" 795 | ], 796 | "authors": [ 797 | { 798 | "name": "Sebastian Bergmann", 799 | "email": "sb@sebastian-bergmann.de", 800 | "role": "lead" 801 | } 802 | ], 803 | "description": "Mock Object library for PHPUnit", 804 | "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", 805 | "keywords": [ 806 | "mock", 807 | "xunit" 808 | ], 809 | "time": "2017-03-03 06:30:20" 810 | }, 811 | { 812 | "name": "sebastian/code-unit-reverse-lookup", 813 | "version": "1.0.1", 814 | "source": { 815 | "type": "git", 816 | "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", 817 | "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18" 818 | }, 819 | "dist": { 820 | "type": "zip", 821 | "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", 822 | "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", 823 | "shasum": "" 824 | }, 825 | "require": { 826 | "php": "^5.6 || ^7.0" 827 | }, 828 | "require-dev": { 829 | "phpunit/phpunit": "^5.7 || ^6.0" 830 | }, 831 | "type": "library", 832 | "extra": { 833 | "branch-alias": { 834 | "dev-master": "1.0.x-dev" 835 | } 836 | }, 837 | "autoload": { 838 | "classmap": [ 839 | "src/" 840 | ] 841 | }, 842 | "notification-url": "https://packagist.org/downloads/", 843 | "license": [ 844 | "BSD-3-Clause" 845 | ], 846 | "authors": [ 847 | { 848 | "name": "Sebastian Bergmann", 849 | "email": "sebastian@phpunit.de" 850 | } 851 | ], 852 | "description": "Looks up which function or method a line of code belongs to", 853 | "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", 854 | "time": "2017-03-04 06:30:41" 855 | }, 856 | { 857 | "name": "sebastian/comparator", 858 | "version": "2.0.0", 859 | "source": { 860 | "type": "git", 861 | "url": "https://github.com/sebastianbergmann/comparator.git", 862 | "reference": "20f84f468cb67efee293246e6a09619b891f55f0" 863 | }, 864 | "dist": { 865 | "type": "zip", 866 | "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/20f84f468cb67efee293246e6a09619b891f55f0", 867 | "reference": "20f84f468cb67efee293246e6a09619b891f55f0", 868 | "shasum": "" 869 | }, 870 | "require": { 871 | "php": "^7.0", 872 | "sebastian/diff": "^1.2", 873 | "sebastian/exporter": "^3.0" 874 | }, 875 | "require-dev": { 876 | "phpunit/phpunit": "^6.0" 877 | }, 878 | "type": "library", 879 | "extra": { 880 | "branch-alias": { 881 | "dev-master": "2.0.x-dev" 882 | } 883 | }, 884 | "autoload": { 885 | "classmap": [ 886 | "src/" 887 | ] 888 | }, 889 | "notification-url": "https://packagist.org/downloads/", 890 | "license": [ 891 | "BSD-3-Clause" 892 | ], 893 | "authors": [ 894 | { 895 | "name": "Jeff Welch", 896 | "email": "whatthejeff@gmail.com" 897 | }, 898 | { 899 | "name": "Volker Dusch", 900 | "email": "github@wallbash.com" 901 | }, 902 | { 903 | "name": "Bernhard Schussek", 904 | "email": "bschussek@2bepublished.at" 905 | }, 906 | { 907 | "name": "Sebastian Bergmann", 908 | "email": "sebastian@phpunit.de" 909 | } 910 | ], 911 | "description": "Provides the functionality to compare PHP values for equality", 912 | "homepage": "http://www.github.com/sebastianbergmann/comparator", 913 | "keywords": [ 914 | "comparator", 915 | "compare", 916 | "equality" 917 | ], 918 | "time": "2017-03-03 06:26:08" 919 | }, 920 | { 921 | "name": "sebastian/diff", 922 | "version": "1.4.1", 923 | "source": { 924 | "type": "git", 925 | "url": "https://github.com/sebastianbergmann/diff.git", 926 | "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e" 927 | }, 928 | "dist": { 929 | "type": "zip", 930 | "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e", 931 | "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e", 932 | "shasum": "" 933 | }, 934 | "require": { 935 | "php": ">=5.3.3" 936 | }, 937 | "require-dev": { 938 | "phpunit/phpunit": "~4.8" 939 | }, 940 | "type": "library", 941 | "extra": { 942 | "branch-alias": { 943 | "dev-master": "1.4-dev" 944 | } 945 | }, 946 | "autoload": { 947 | "classmap": [ 948 | "src/" 949 | ] 950 | }, 951 | "notification-url": "https://packagist.org/downloads/", 952 | "license": [ 953 | "BSD-3-Clause" 954 | ], 955 | "authors": [ 956 | { 957 | "name": "Kore Nordmann", 958 | "email": "mail@kore-nordmann.de" 959 | }, 960 | { 961 | "name": "Sebastian Bergmann", 962 | "email": "sebastian@phpunit.de" 963 | } 964 | ], 965 | "description": "Diff implementation", 966 | "homepage": "https://github.com/sebastianbergmann/diff", 967 | "keywords": [ 968 | "diff" 969 | ], 970 | "time": "2015-12-08 07:14:41" 971 | }, 972 | { 973 | "name": "sebastian/environment", 974 | "version": "3.0.2", 975 | "source": { 976 | "type": "git", 977 | "url": "https://github.com/sebastianbergmann/environment.git", 978 | "reference": "11e7710b7724d42c62249b0e9d3030240398949d" 979 | }, 980 | "dist": { 981 | "type": "zip", 982 | "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/11e7710b7724d42c62249b0e9d3030240398949d", 983 | "reference": "11e7710b7724d42c62249b0e9d3030240398949d", 984 | "shasum": "" 985 | }, 986 | "require": { 987 | "php": "^7.0" 988 | }, 989 | "require-dev": { 990 | "phpunit/phpunit": "^6.1" 991 | }, 992 | "type": "library", 993 | "extra": { 994 | "branch-alias": { 995 | "dev-master": "3.0.x-dev" 996 | } 997 | }, 998 | "autoload": { 999 | "classmap": [ 1000 | "src/" 1001 | ] 1002 | }, 1003 | "notification-url": "https://packagist.org/downloads/", 1004 | "license": [ 1005 | "BSD-3-Clause" 1006 | ], 1007 | "authors": [ 1008 | { 1009 | "name": "Sebastian Bergmann", 1010 | "email": "sebastian@phpunit.de" 1011 | } 1012 | ], 1013 | "description": "Provides functionality to handle HHVM/PHP environments", 1014 | "homepage": "http://www.github.com/sebastianbergmann/environment", 1015 | "keywords": [ 1016 | "Xdebug", 1017 | "environment", 1018 | "hhvm" 1019 | ], 1020 | "time": "2017-04-21 14:40:32" 1021 | }, 1022 | { 1023 | "name": "sebastian/exporter", 1024 | "version": "3.1.0", 1025 | "source": { 1026 | "type": "git", 1027 | "url": "https://github.com/sebastianbergmann/exporter.git", 1028 | "reference": "234199f4528de6d12aaa58b612e98f7d36adb937" 1029 | }, 1030 | "dist": { 1031 | "type": "zip", 1032 | "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937", 1033 | "reference": "234199f4528de6d12aaa58b612e98f7d36adb937", 1034 | "shasum": "" 1035 | }, 1036 | "require": { 1037 | "php": "^7.0", 1038 | "sebastian/recursion-context": "^3.0" 1039 | }, 1040 | "require-dev": { 1041 | "ext-mbstring": "*", 1042 | "phpunit/phpunit": "^6.0" 1043 | }, 1044 | "type": "library", 1045 | "extra": { 1046 | "branch-alias": { 1047 | "dev-master": "3.1.x-dev" 1048 | } 1049 | }, 1050 | "autoload": { 1051 | "classmap": [ 1052 | "src/" 1053 | ] 1054 | }, 1055 | "notification-url": "https://packagist.org/downloads/", 1056 | "license": [ 1057 | "BSD-3-Clause" 1058 | ], 1059 | "authors": [ 1060 | { 1061 | "name": "Jeff Welch", 1062 | "email": "whatthejeff@gmail.com" 1063 | }, 1064 | { 1065 | "name": "Volker Dusch", 1066 | "email": "github@wallbash.com" 1067 | }, 1068 | { 1069 | "name": "Bernhard Schussek", 1070 | "email": "bschussek@2bepublished.at" 1071 | }, 1072 | { 1073 | "name": "Sebastian Bergmann", 1074 | "email": "sebastian@phpunit.de" 1075 | }, 1076 | { 1077 | "name": "Adam Harvey", 1078 | "email": "aharvey@php.net" 1079 | } 1080 | ], 1081 | "description": "Provides the functionality to export PHP variables for visualization", 1082 | "homepage": "http://www.github.com/sebastianbergmann/exporter", 1083 | "keywords": [ 1084 | "export", 1085 | "exporter" 1086 | ], 1087 | "time": "2017-04-03 13:19:02" 1088 | }, 1089 | { 1090 | "name": "sebastian/global-state", 1091 | "version": "2.0.0", 1092 | "source": { 1093 | "type": "git", 1094 | "url": "https://github.com/sebastianbergmann/global-state.git", 1095 | "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4" 1096 | }, 1097 | "dist": { 1098 | "type": "zip", 1099 | "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", 1100 | "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", 1101 | "shasum": "" 1102 | }, 1103 | "require": { 1104 | "php": "^7.0" 1105 | }, 1106 | "require-dev": { 1107 | "phpunit/phpunit": "^6.0" 1108 | }, 1109 | "suggest": { 1110 | "ext-uopz": "*" 1111 | }, 1112 | "type": "library", 1113 | "extra": { 1114 | "branch-alias": { 1115 | "dev-master": "2.0-dev" 1116 | } 1117 | }, 1118 | "autoload": { 1119 | "classmap": [ 1120 | "src/" 1121 | ] 1122 | }, 1123 | "notification-url": "https://packagist.org/downloads/", 1124 | "license": [ 1125 | "BSD-3-Clause" 1126 | ], 1127 | "authors": [ 1128 | { 1129 | "name": "Sebastian Bergmann", 1130 | "email": "sebastian@phpunit.de" 1131 | } 1132 | ], 1133 | "description": "Snapshotting of global state", 1134 | "homepage": "http://www.github.com/sebastianbergmann/global-state", 1135 | "keywords": [ 1136 | "global state" 1137 | ], 1138 | "time": "2017-04-27 15:39:26" 1139 | }, 1140 | { 1141 | "name": "sebastian/object-enumerator", 1142 | "version": "3.0.2", 1143 | "source": { 1144 | "type": "git", 1145 | "url": "https://github.com/sebastianbergmann/object-enumerator.git", 1146 | "reference": "31dd3379d16446c5d86dec32ab1ad1f378581ad8" 1147 | }, 1148 | "dist": { 1149 | "type": "zip", 1150 | "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/31dd3379d16446c5d86dec32ab1ad1f378581ad8", 1151 | "reference": "31dd3379d16446c5d86dec32ab1ad1f378581ad8", 1152 | "shasum": "" 1153 | }, 1154 | "require": { 1155 | "php": "^7.0", 1156 | "sebastian/object-reflector": "^1.0", 1157 | "sebastian/recursion-context": "^3.0" 1158 | }, 1159 | "require-dev": { 1160 | "phpunit/phpunit": "^6.0" 1161 | }, 1162 | "type": "library", 1163 | "extra": { 1164 | "branch-alias": { 1165 | "dev-master": "3.0.x-dev" 1166 | } 1167 | }, 1168 | "autoload": { 1169 | "classmap": [ 1170 | "src/" 1171 | ] 1172 | }, 1173 | "notification-url": "https://packagist.org/downloads/", 1174 | "license": [ 1175 | "BSD-3-Clause" 1176 | ], 1177 | "authors": [ 1178 | { 1179 | "name": "Sebastian Bergmann", 1180 | "email": "sebastian@phpunit.de" 1181 | } 1182 | ], 1183 | "description": "Traverses array structures and object graphs to enumerate all referenced objects", 1184 | "homepage": "https://github.com/sebastianbergmann/object-enumerator/", 1185 | "time": "2017-03-12 15:17:29" 1186 | }, 1187 | { 1188 | "name": "sebastian/object-reflector", 1189 | "version": "1.1.1", 1190 | "source": { 1191 | "type": "git", 1192 | "url": "https://github.com/sebastianbergmann/object-reflector.git", 1193 | "reference": "773f97c67f28de00d397be301821b06708fca0be" 1194 | }, 1195 | "dist": { 1196 | "type": "zip", 1197 | "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be", 1198 | "reference": "773f97c67f28de00d397be301821b06708fca0be", 1199 | "shasum": "" 1200 | }, 1201 | "require": { 1202 | "php": "^7.0" 1203 | }, 1204 | "require-dev": { 1205 | "phpunit/phpunit": "^6.0" 1206 | }, 1207 | "type": "library", 1208 | "extra": { 1209 | "branch-alias": { 1210 | "dev-master": "1.1-dev" 1211 | } 1212 | }, 1213 | "autoload": { 1214 | "classmap": [ 1215 | "src/" 1216 | ] 1217 | }, 1218 | "notification-url": "https://packagist.org/downloads/", 1219 | "license": [ 1220 | "BSD-3-Clause" 1221 | ], 1222 | "authors": [ 1223 | { 1224 | "name": "Sebastian Bergmann", 1225 | "email": "sebastian@phpunit.de" 1226 | } 1227 | ], 1228 | "description": "Allows reflection of object attributes, including inherited and non-public ones", 1229 | "homepage": "https://github.com/sebastianbergmann/object-reflector/", 1230 | "time": "2017-03-29 09:07:27" 1231 | }, 1232 | { 1233 | "name": "sebastian/recursion-context", 1234 | "version": "3.0.0", 1235 | "source": { 1236 | "type": "git", 1237 | "url": "https://github.com/sebastianbergmann/recursion-context.git", 1238 | "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8" 1239 | }, 1240 | "dist": { 1241 | "type": "zip", 1242 | "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8", 1243 | "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8", 1244 | "shasum": "" 1245 | }, 1246 | "require": { 1247 | "php": "^7.0" 1248 | }, 1249 | "require-dev": { 1250 | "phpunit/phpunit": "^6.0" 1251 | }, 1252 | "type": "library", 1253 | "extra": { 1254 | "branch-alias": { 1255 | "dev-master": "3.0.x-dev" 1256 | } 1257 | }, 1258 | "autoload": { 1259 | "classmap": [ 1260 | "src/" 1261 | ] 1262 | }, 1263 | "notification-url": "https://packagist.org/downloads/", 1264 | "license": [ 1265 | "BSD-3-Clause" 1266 | ], 1267 | "authors": [ 1268 | { 1269 | "name": "Jeff Welch", 1270 | "email": "whatthejeff@gmail.com" 1271 | }, 1272 | { 1273 | "name": "Sebastian Bergmann", 1274 | "email": "sebastian@phpunit.de" 1275 | }, 1276 | { 1277 | "name": "Adam Harvey", 1278 | "email": "aharvey@php.net" 1279 | } 1280 | ], 1281 | "description": "Provides functionality to recursively process PHP variables", 1282 | "homepage": "http://www.github.com/sebastianbergmann/recursion-context", 1283 | "time": "2017-03-03 06:23:57" 1284 | }, 1285 | { 1286 | "name": "sebastian/resource-operations", 1287 | "version": "1.0.0", 1288 | "source": { 1289 | "type": "git", 1290 | "url": "https://github.com/sebastianbergmann/resource-operations.git", 1291 | "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52" 1292 | }, 1293 | "dist": { 1294 | "type": "zip", 1295 | "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", 1296 | "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", 1297 | "shasum": "" 1298 | }, 1299 | "require": { 1300 | "php": ">=5.6.0" 1301 | }, 1302 | "type": "library", 1303 | "extra": { 1304 | "branch-alias": { 1305 | "dev-master": "1.0.x-dev" 1306 | } 1307 | }, 1308 | "autoload": { 1309 | "classmap": [ 1310 | "src/" 1311 | ] 1312 | }, 1313 | "notification-url": "https://packagist.org/downloads/", 1314 | "license": [ 1315 | "BSD-3-Clause" 1316 | ], 1317 | "authors": [ 1318 | { 1319 | "name": "Sebastian Bergmann", 1320 | "email": "sebastian@phpunit.de" 1321 | } 1322 | ], 1323 | "description": "Provides a list of PHP built-in functions that operate on resources", 1324 | "homepage": "https://www.github.com/sebastianbergmann/resource-operations", 1325 | "time": "2015-07-28 20:34:47" 1326 | }, 1327 | { 1328 | "name": "sebastian/version", 1329 | "version": "2.0.1", 1330 | "source": { 1331 | "type": "git", 1332 | "url": "https://github.com/sebastianbergmann/version.git", 1333 | "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019" 1334 | }, 1335 | "dist": { 1336 | "type": "zip", 1337 | "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019", 1338 | "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019", 1339 | "shasum": "" 1340 | }, 1341 | "require": { 1342 | "php": ">=5.6" 1343 | }, 1344 | "type": "library", 1345 | "extra": { 1346 | "branch-alias": { 1347 | "dev-master": "2.0.x-dev" 1348 | } 1349 | }, 1350 | "autoload": { 1351 | "classmap": [ 1352 | "src/" 1353 | ] 1354 | }, 1355 | "notification-url": "https://packagist.org/downloads/", 1356 | "license": [ 1357 | "BSD-3-Clause" 1358 | ], 1359 | "authors": [ 1360 | { 1361 | "name": "Sebastian Bergmann", 1362 | "email": "sebastian@phpunit.de", 1363 | "role": "lead" 1364 | } 1365 | ], 1366 | "description": "Library that helps with managing the version number of Git-hosted PHP projects", 1367 | "homepage": "https://github.com/sebastianbergmann/version", 1368 | "time": "2016-10-03 07:35:21" 1369 | }, 1370 | { 1371 | "name": "theseer/tokenizer", 1372 | "version": "1.1.0", 1373 | "source": { 1374 | "type": "git", 1375 | "url": "https://github.com/theseer/tokenizer.git", 1376 | "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b" 1377 | }, 1378 | "dist": { 1379 | "type": "zip", 1380 | "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b", 1381 | "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b", 1382 | "shasum": "" 1383 | }, 1384 | "require": { 1385 | "ext-dom": "*", 1386 | "ext-tokenizer": "*", 1387 | "ext-xmlwriter": "*", 1388 | "php": "^7.0" 1389 | }, 1390 | "type": "library", 1391 | "autoload": { 1392 | "classmap": [ 1393 | "src/" 1394 | ] 1395 | }, 1396 | "notification-url": "https://packagist.org/downloads/", 1397 | "license": [ 1398 | "BSD-3-Clause" 1399 | ], 1400 | "authors": [ 1401 | { 1402 | "name": "Arne Blankerts", 1403 | "email": "arne@blankerts.de", 1404 | "role": "Developer" 1405 | } 1406 | ], 1407 | "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", 1408 | "time": "2017-04-07 12:08:54" 1409 | }, 1410 | { 1411 | "name": "webmozart/assert", 1412 | "version": "1.2.0", 1413 | "source": { 1414 | "type": "git", 1415 | "url": "https://github.com/webmozart/assert.git", 1416 | "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f" 1417 | }, 1418 | "dist": { 1419 | "type": "zip", 1420 | "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f", 1421 | "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f", 1422 | "shasum": "" 1423 | }, 1424 | "require": { 1425 | "php": "^5.3.3 || ^7.0" 1426 | }, 1427 | "require-dev": { 1428 | "phpunit/phpunit": "^4.6", 1429 | "sebastian/version": "^1.0.1" 1430 | }, 1431 | "type": "library", 1432 | "extra": { 1433 | "branch-alias": { 1434 | "dev-master": "1.3-dev" 1435 | } 1436 | }, 1437 | "autoload": { 1438 | "psr-4": { 1439 | "Webmozart\\Assert\\": "src/" 1440 | } 1441 | }, 1442 | "notification-url": "https://packagist.org/downloads/", 1443 | "license": [ 1444 | "MIT" 1445 | ], 1446 | "authors": [ 1447 | { 1448 | "name": "Bernhard Schussek", 1449 | "email": "bschussek@gmail.com" 1450 | } 1451 | ], 1452 | "description": "Assertions to validate method input/output with nice error messages.", 1453 | "keywords": [ 1454 | "assert", 1455 | "check", 1456 | "validate" 1457 | ], 1458 | "time": "2016-11-23 20:04:58" 1459 | } 1460 | ], 1461 | "aliases": [], 1462 | "minimum-stability": "stable", 1463 | "stability-flags": [], 1464 | "prefer-stable": false, 1465 | "prefer-lowest": false, 1466 | "platform": [], 1467 | "platform-dev": [] 1468 | } 1469 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 |