├── .gitignore ├── .php_cs.dist ├── .travis.yml ├── LICENSE.md ├── README.md ├── composer.json ├── composer.lock ├── phpunit.xml ├── preview.gif ├── src ├── PrettyPrinter.php ├── PrettyPrinterForPhpUnit9.php └── PrettyPrinterTrait.php └── tests ├── Output.php └── PrinterTest.php /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/hot 3 | /public/storage 4 | /storage/*.key 5 | /vendor 6 | /.idea 7 | /.vscode 8 | /.vagrant 9 | Homestead.json 10 | Homestead.yaml 11 | npm-debug.log 12 | yarn-error.log 13 | .env 14 | .phpunit.result.cache 15 | .php_cs.cache -------------------------------------------------------------------------------- /.php_cs.dist: -------------------------------------------------------------------------------- 1 | exclude('tests/Fixtures') 5 | ->in(__DIR__); 6 | 7 | $config = PhpCsFixer\Config::create() 8 | ->setRiskyAllowed(true) 9 | ->setRules([ 10 | '@PSR2' => true, 11 | 'array_indentation' => true, 12 | 'trailing_comma_in_multiline_array' => true, 13 | 'method_chaining_indentation' => true, 14 | 'binary_operator_spaces' => true, 15 | 'strict_comparison' => true, 16 | 'standardize_not_equals' => true, 17 | 'strict_param' => true, 18 | 'concat_space' => ['spacing' => 'one'], 19 | 'array_syntax' => ['syntax' => 'short'], 20 | 'no_unused_imports' => true, 21 | 'no_useless_else' => true, 22 | 'blank_line_before_statement' => true, 23 | 'whitespace_after_comma_in_array' => true, 24 | ]) 25 | ->setFinder($finder); 26 | 27 | return $config; 28 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 7.4 5 | 6 | before_script: composer install 7 | 8 | script: 9 | - ./vendor/bin/phpunit 10 | - ./vendor/bin/php-cs-fixer fix src/ 11 | - ./vendor/bin/php-cs-fixer fix tests/ 12 | 13 | notifications: 14 | email: 15 | on_success: never 16 | on_failure: never 17 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Sempro AS 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. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # phpunit-pretty-print 2 | > ✅ Make your PHPUnit output beautiful 3 | 4 | [![Build Status](https://travis-ci.com/sempro/phpunit-pretty-print.svg?branch=master)](https://travis-ci.com/sempro/phpunit-pretty-print) 5 | [![Packagist](https://img.shields.io/packagist/dt/sempro/phpunit-pretty-print.svg)](https://packagist.org/packages/sempro/phpunit-pretty-print) 6 | [![Packagist](https://img.shields.io/packagist/v/sempro/phpunit-pretty-print.svg)](https://packagist.org/packages/sempro/phpunit-pretty-print) 7 | [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com) 8 | [![psr-2](https://img.shields.io/badge/code_style-PSR_2-blue.svg)](http://www.php-fig.org/psr/psr-2/) 9 | 10 | 11 | ### Installation 12 | ```bash 13 | composer require sempro/phpunit-pretty-print --dev 14 | ``` 15 | 16 | This package requires `>=7.0.0` of PHPUnit. 17 | 18 | If you're running on `6.x`, please use version `1.0.3`. 19 | 20 | If you are running on `9.x` use the `\Sempro\PHPUnitPrettyPrinter\PrettyPrinterForPhpUnit9` class 21 | 22 | ### Usage 23 | You can specify the printer to use on the phpunit command line: 24 | 25 | For PhpUnit < 9, use the following: 26 | ```bash 27 | php vendor/bin/phpunit --printer 'Sempro\PHPUnitPrettyPrinter\PrettyPrinter' tests/ 28 | ``` 29 | For PhpUnit >= 9, use the following: 30 | ```bash 31 | php vendor/bin/phpunit --printer 'Sempro\PHPUnitPrettyPrinter\PrettyPrinterForPhpUnit9' tests/ 32 | ``` 33 | 34 | Optionally, you can add it to your project's `phpunit.xml` file instead: 35 | 36 | ```xml 37 | 41 | ``` 42 | 43 | phpunit-pretty-print 44 | 45 | ### Optional 46 | 47 | To view progress while tests are running you can set `PHPUNIT_PRETTY_PRINT_PROGRESS=true` as environment variable on your server or within your `phpunit.xml` config file. 48 | ```xml 49 | 50 | 51 | 52 | 53 | 54 | ``` 55 | 56 | ### License 57 | MIT © [Sempro AS](http://www.sempro.no) 58 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sempro/phpunit-pretty-print", 3 | "version": "1.4.0", 4 | "description": "Prettify PHPUnit output", 5 | "type": "library", 6 | "license": "MIT", 7 | "minimum-stability": "dev", 8 | "prefer-stable": true, 9 | "require": { 10 | "php": ">=7.1.0", 11 | "phpunit/phpunit": "^7 || ^8 || ^9" 12 | }, 13 | "autoload": { 14 | "psr-4": { 15 | "Sempro\\PHPUnitPrettyPrinter\\": "src/" 16 | } 17 | }, 18 | "require-dev": { 19 | "friendsofphp/php-cs-fixer": "^2.16" 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#installing-dependencies", 5 | "This file is @generated automatically" 6 | ], 7 | "content-hash": "98b2e824a5595c2b2c409c9d82ab6ea6", 8 | "packages": [ 9 | { 10 | "name": "doctrine/instantiator", 11 | "version": "1.3.0", 12 | "source": { 13 | "type": "git", 14 | "url": "https://github.com/doctrine/instantiator.git", 15 | "reference": "ae466f726242e637cebdd526a7d991b9433bacf1" 16 | }, 17 | "dist": { 18 | "type": "zip", 19 | "url": "https://api.github.com/repos/doctrine/instantiator/zipball/ae466f726242e637cebdd526a7d991b9433bacf1", 20 | "reference": "ae466f726242e637cebdd526a7d991b9433bacf1", 21 | "shasum": "" 22 | }, 23 | "require": { 24 | "php": "^7.1" 25 | }, 26 | "require-dev": { 27 | "doctrine/coding-standard": "^6.0", 28 | "ext-pdo": "*", 29 | "ext-phar": "*", 30 | "phpbench/phpbench": "^0.13", 31 | "phpstan/phpstan-phpunit": "^0.11", 32 | "phpstan/phpstan-shim": "^0.11", 33 | "phpunit/phpunit": "^7.0" 34 | }, 35 | "type": "library", 36 | "extra": { 37 | "branch-alias": { 38 | "dev-master": "1.2.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://www.doctrine-project.org/projects/instantiator.html", 59 | "keywords": [ 60 | "constructor", 61 | "instantiate" 62 | ], 63 | "time": "2019-10-21T16:45:58+00:00" 64 | }, 65 | { 66 | "name": "myclabs/deep-copy", 67 | "version": "1.9.5", 68 | "source": { 69 | "type": "git", 70 | "url": "https://github.com/myclabs/DeepCopy.git", 71 | "reference": "b2c28789e80a97badd14145fda39b545d83ca3ef" 72 | }, 73 | "dist": { 74 | "type": "zip", 75 | "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/b2c28789e80a97badd14145fda39b545d83ca3ef", 76 | "reference": "b2c28789e80a97badd14145fda39b545d83ca3ef", 77 | "shasum": "" 78 | }, 79 | "require": { 80 | "php": "^7.1" 81 | }, 82 | "replace": { 83 | "myclabs/deep-copy": "self.version" 84 | }, 85 | "require-dev": { 86 | "doctrine/collections": "^1.0", 87 | "doctrine/common": "^2.6", 88 | "phpunit/phpunit": "^7.1" 89 | }, 90 | "type": "library", 91 | "autoload": { 92 | "psr-4": { 93 | "DeepCopy\\": "src/DeepCopy/" 94 | }, 95 | "files": [ 96 | "src/DeepCopy/deep_copy.php" 97 | ] 98 | }, 99 | "notification-url": "https://packagist.org/downloads/", 100 | "license": [ 101 | "MIT" 102 | ], 103 | "description": "Create deep copies (clones) of your objects", 104 | "keywords": [ 105 | "clone", 106 | "copy", 107 | "duplicate", 108 | "object", 109 | "object graph" 110 | ], 111 | "time": "2020-01-17T21:11:47+00:00" 112 | }, 113 | { 114 | "name": "phar-io/manifest", 115 | "version": "1.0.3", 116 | "source": { 117 | "type": "git", 118 | "url": "https://github.com/phar-io/manifest.git", 119 | "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4" 120 | }, 121 | "dist": { 122 | "type": "zip", 123 | "url": "https://api.github.com/repos/phar-io/manifest/zipball/7761fcacf03b4d4f16e7ccb606d4879ca431fcf4", 124 | "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4", 125 | "shasum": "" 126 | }, 127 | "require": { 128 | "ext-dom": "*", 129 | "ext-phar": "*", 130 | "phar-io/version": "^2.0", 131 | "php": "^5.6 || ^7.0" 132 | }, 133 | "type": "library", 134 | "extra": { 135 | "branch-alias": { 136 | "dev-master": "1.0.x-dev" 137 | } 138 | }, 139 | "autoload": { 140 | "classmap": [ 141 | "src/" 142 | ] 143 | }, 144 | "notification-url": "https://packagist.org/downloads/", 145 | "license": [ 146 | "BSD-3-Clause" 147 | ], 148 | "authors": [ 149 | { 150 | "name": "Arne Blankerts", 151 | "email": "arne@blankerts.de", 152 | "role": "Developer" 153 | }, 154 | { 155 | "name": "Sebastian Heuer", 156 | "email": "sebastian@phpeople.de", 157 | "role": "Developer" 158 | }, 159 | { 160 | "name": "Sebastian Bergmann", 161 | "email": "sebastian@phpunit.de", 162 | "role": "Developer" 163 | } 164 | ], 165 | "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", 166 | "time": "2018-07-08T19:23:20+00:00" 167 | }, 168 | { 169 | "name": "phar-io/version", 170 | "version": "2.0.1", 171 | "source": { 172 | "type": "git", 173 | "url": "https://github.com/phar-io/version.git", 174 | "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6" 175 | }, 176 | "dist": { 177 | "type": "zip", 178 | "url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6", 179 | "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6", 180 | "shasum": "" 181 | }, 182 | "require": { 183 | "php": "^5.6 || ^7.0" 184 | }, 185 | "type": "library", 186 | "autoload": { 187 | "classmap": [ 188 | "src/" 189 | ] 190 | }, 191 | "notification-url": "https://packagist.org/downloads/", 192 | "license": [ 193 | "BSD-3-Clause" 194 | ], 195 | "authors": [ 196 | { 197 | "name": "Arne Blankerts", 198 | "email": "arne@blankerts.de", 199 | "role": "Developer" 200 | }, 201 | { 202 | "name": "Sebastian Heuer", 203 | "email": "sebastian@phpeople.de", 204 | "role": "Developer" 205 | }, 206 | { 207 | "name": "Sebastian Bergmann", 208 | "email": "sebastian@phpunit.de", 209 | "role": "Developer" 210 | } 211 | ], 212 | "description": "Library for handling version information and constraints", 213 | "time": "2018-07-08T19:19:57+00:00" 214 | }, 215 | { 216 | "name": "phpdocumentor/reflection-common", 217 | "version": "2.1.0", 218 | "source": { 219 | "type": "git", 220 | "url": "https://github.com/phpDocumentor/ReflectionCommon.git", 221 | "reference": "6568f4687e5b41b054365f9ae03fcb1ed5f2069b" 222 | }, 223 | "dist": { 224 | "type": "zip", 225 | "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/6568f4687e5b41b054365f9ae03fcb1ed5f2069b", 226 | "reference": "6568f4687e5b41b054365f9ae03fcb1ed5f2069b", 227 | "shasum": "" 228 | }, 229 | "require": { 230 | "php": ">=7.1" 231 | }, 232 | "type": "library", 233 | "extra": { 234 | "branch-alias": { 235 | "dev-master": "2.x-dev" 236 | } 237 | }, 238 | "autoload": { 239 | "psr-4": { 240 | "phpDocumentor\\Reflection\\": "src/" 241 | } 242 | }, 243 | "notification-url": "https://packagist.org/downloads/", 244 | "license": [ 245 | "MIT" 246 | ], 247 | "authors": [ 248 | { 249 | "name": "Jaap van Otterdijk", 250 | "email": "opensource@ijaap.nl" 251 | } 252 | ], 253 | "description": "Common reflection classes used by phpdocumentor to reflect the code structure", 254 | "homepage": "http://www.phpdoc.org", 255 | "keywords": [ 256 | "FQSEN", 257 | "phpDocumentor", 258 | "phpdoc", 259 | "reflection", 260 | "static analysis" 261 | ], 262 | "time": "2020-04-27T09:25:28+00:00" 263 | }, 264 | { 265 | "name": "phpdocumentor/reflection-docblock", 266 | "version": "5.1.0", 267 | "source": { 268 | "type": "git", 269 | "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", 270 | "reference": "cd72d394ca794d3466a3b2fc09d5a6c1dc86b47e" 271 | }, 272 | "dist": { 273 | "type": "zip", 274 | "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/cd72d394ca794d3466a3b2fc09d5a6c1dc86b47e", 275 | "reference": "cd72d394ca794d3466a3b2fc09d5a6c1dc86b47e", 276 | "shasum": "" 277 | }, 278 | "require": { 279 | "ext-filter": "^7.1", 280 | "php": "^7.2", 281 | "phpdocumentor/reflection-common": "^2.0", 282 | "phpdocumentor/type-resolver": "^1.0", 283 | "webmozart/assert": "^1" 284 | }, 285 | "require-dev": { 286 | "doctrine/instantiator": "^1", 287 | "mockery/mockery": "^1" 288 | }, 289 | "type": "library", 290 | "extra": { 291 | "branch-alias": { 292 | "dev-master": "5.x-dev" 293 | } 294 | }, 295 | "autoload": { 296 | "psr-4": { 297 | "phpDocumentor\\Reflection\\": "src" 298 | } 299 | }, 300 | "notification-url": "https://packagist.org/downloads/", 301 | "license": [ 302 | "MIT" 303 | ], 304 | "authors": [ 305 | { 306 | "name": "Mike van Riel", 307 | "email": "me@mikevanriel.com" 308 | }, 309 | { 310 | "name": "Jaap van Otterdijk", 311 | "email": "account@ijaap.nl" 312 | } 313 | ], 314 | "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", 315 | "time": "2020-02-22T12:28:44+00:00" 316 | }, 317 | { 318 | "name": "phpdocumentor/type-resolver", 319 | "version": "1.1.0", 320 | "source": { 321 | "type": "git", 322 | "url": "https://github.com/phpDocumentor/TypeResolver.git", 323 | "reference": "7462d5f123dfc080dfdf26897032a6513644fc95" 324 | }, 325 | "dist": { 326 | "type": "zip", 327 | "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/7462d5f123dfc080dfdf26897032a6513644fc95", 328 | "reference": "7462d5f123dfc080dfdf26897032a6513644fc95", 329 | "shasum": "" 330 | }, 331 | "require": { 332 | "php": "^7.2", 333 | "phpdocumentor/reflection-common": "^2.0" 334 | }, 335 | "require-dev": { 336 | "ext-tokenizer": "^7.2", 337 | "mockery/mockery": "~1" 338 | }, 339 | "type": "library", 340 | "extra": { 341 | "branch-alias": { 342 | "dev-master": "1.x-dev" 343 | } 344 | }, 345 | "autoload": { 346 | "psr-4": { 347 | "phpDocumentor\\Reflection\\": "src" 348 | } 349 | }, 350 | "notification-url": "https://packagist.org/downloads/", 351 | "license": [ 352 | "MIT" 353 | ], 354 | "authors": [ 355 | { 356 | "name": "Mike van Riel", 357 | "email": "me@mikevanriel.com" 358 | } 359 | ], 360 | "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", 361 | "time": "2020-02-18T18:59:58+00:00" 362 | }, 363 | { 364 | "name": "phpspec/prophecy", 365 | "version": "v1.10.3", 366 | "source": { 367 | "type": "git", 368 | "url": "https://github.com/phpspec/prophecy.git", 369 | "reference": "451c3cd1418cf640de218914901e51b064abb093" 370 | }, 371 | "dist": { 372 | "type": "zip", 373 | "url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093", 374 | "reference": "451c3cd1418cf640de218914901e51b064abb093", 375 | "shasum": "" 376 | }, 377 | "require": { 378 | "doctrine/instantiator": "^1.0.2", 379 | "php": "^5.3|^7.0", 380 | "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0", 381 | "sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0", 382 | "sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0" 383 | }, 384 | "require-dev": { 385 | "phpspec/phpspec": "^2.5 || ^3.2", 386 | "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" 387 | }, 388 | "type": "library", 389 | "extra": { 390 | "branch-alias": { 391 | "dev-master": "1.10.x-dev" 392 | } 393 | }, 394 | "autoload": { 395 | "psr-4": { 396 | "Prophecy\\": "src/Prophecy" 397 | } 398 | }, 399 | "notification-url": "https://packagist.org/downloads/", 400 | "license": [ 401 | "MIT" 402 | ], 403 | "authors": [ 404 | { 405 | "name": "Konstantin Kudryashov", 406 | "email": "ever.zet@gmail.com", 407 | "homepage": "http://everzet.com" 408 | }, 409 | { 410 | "name": "Marcello Duarte", 411 | "email": "marcello.duarte@gmail.com" 412 | } 413 | ], 414 | "description": "Highly opinionated mocking framework for PHP 5.3+", 415 | "homepage": "https://github.com/phpspec/prophecy", 416 | "keywords": [ 417 | "Double", 418 | "Dummy", 419 | "fake", 420 | "mock", 421 | "spy", 422 | "stub" 423 | ], 424 | "time": "2020-03-05T15:02:03+00:00" 425 | }, 426 | { 427 | "name": "phpunit/php-code-coverage", 428 | "version": "8.0.2", 429 | "source": { 430 | "type": "git", 431 | "url": "https://github.com/sebastianbergmann/php-code-coverage.git", 432 | "reference": "ca6647ffddd2add025ab3f21644a441d7c146cdc" 433 | }, 434 | "dist": { 435 | "type": "zip", 436 | "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca6647ffddd2add025ab3f21644a441d7c146cdc", 437 | "reference": "ca6647ffddd2add025ab3f21644a441d7c146cdc", 438 | "shasum": "" 439 | }, 440 | "require": { 441 | "ext-dom": "*", 442 | "ext-xmlwriter": "*", 443 | "php": "^7.3", 444 | "phpunit/php-file-iterator": "^3.0", 445 | "phpunit/php-text-template": "^2.0", 446 | "phpunit/php-token-stream": "^4.0", 447 | "sebastian/code-unit-reverse-lookup": "^2.0", 448 | "sebastian/environment": "^5.0", 449 | "sebastian/version": "^3.0", 450 | "theseer/tokenizer": "^1.1.3" 451 | }, 452 | "require-dev": { 453 | "phpunit/phpunit": "^9.0" 454 | }, 455 | "suggest": { 456 | "ext-pcov": "*", 457 | "ext-xdebug": "*" 458 | }, 459 | "type": "library", 460 | "extra": { 461 | "branch-alias": { 462 | "dev-master": "8.0-dev" 463 | } 464 | }, 465 | "autoload": { 466 | "classmap": [ 467 | "src/" 468 | ] 469 | }, 470 | "notification-url": "https://packagist.org/downloads/", 471 | "license": [ 472 | "BSD-3-Clause" 473 | ], 474 | "authors": [ 475 | { 476 | "name": "Sebastian Bergmann", 477 | "email": "sebastian@phpunit.de", 478 | "role": "lead" 479 | } 480 | ], 481 | "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", 482 | "homepage": "https://github.com/sebastianbergmann/php-code-coverage", 483 | "keywords": [ 484 | "coverage", 485 | "testing", 486 | "xunit" 487 | ], 488 | "funding": [ 489 | { 490 | "url": "https://github.com/sebastianbergmann", 491 | "type": "github" 492 | } 493 | ], 494 | "time": "2020-05-23T08:02:54+00:00" 495 | }, 496 | { 497 | "name": "phpunit/php-file-iterator", 498 | "version": "3.0.1", 499 | "source": { 500 | "type": "git", 501 | "url": "https://github.com/sebastianbergmann/php-file-iterator.git", 502 | "reference": "4ac5b3e13df14829daa60a2eb4fdd2f2b7d33cf4" 503 | }, 504 | "dist": { 505 | "type": "zip", 506 | "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/4ac5b3e13df14829daa60a2eb4fdd2f2b7d33cf4", 507 | "reference": "4ac5b3e13df14829daa60a2eb4fdd2f2b7d33cf4", 508 | "shasum": "" 509 | }, 510 | "require": { 511 | "php": "^7.3" 512 | }, 513 | "require-dev": { 514 | "phpunit/phpunit": "^9.0" 515 | }, 516 | "type": "library", 517 | "extra": { 518 | "branch-alias": { 519 | "dev-master": "3.0-dev" 520 | } 521 | }, 522 | "autoload": { 523 | "classmap": [ 524 | "src/" 525 | ] 526 | }, 527 | "notification-url": "https://packagist.org/downloads/", 528 | "license": [ 529 | "BSD-3-Clause" 530 | ], 531 | "authors": [ 532 | { 533 | "name": "Sebastian Bergmann", 534 | "email": "sebastian@phpunit.de", 535 | "role": "lead" 536 | } 537 | ], 538 | "description": "FilterIterator implementation that filters files based on a list of suffixes.", 539 | "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", 540 | "keywords": [ 541 | "filesystem", 542 | "iterator" 543 | ], 544 | "funding": [ 545 | { 546 | "url": "https://github.com/sebastianbergmann", 547 | "type": "github" 548 | } 549 | ], 550 | "time": "2020-04-18T05:02:12+00:00" 551 | }, 552 | { 553 | "name": "phpunit/php-invoker", 554 | "version": "3.0.0", 555 | "source": { 556 | "type": "git", 557 | "url": "https://github.com/sebastianbergmann/php-invoker.git", 558 | "reference": "7579d5a1ba7f3ac11c80004d205877911315ae7a" 559 | }, 560 | "dist": { 561 | "type": "zip", 562 | "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/7579d5a1ba7f3ac11c80004d205877911315ae7a", 563 | "reference": "7579d5a1ba7f3ac11c80004d205877911315ae7a", 564 | "shasum": "" 565 | }, 566 | "require": { 567 | "php": "^7.3" 568 | }, 569 | "require-dev": { 570 | "ext-pcntl": "*", 571 | "phpunit/phpunit": "^9.0" 572 | }, 573 | "suggest": { 574 | "ext-pcntl": "*" 575 | }, 576 | "type": "library", 577 | "extra": { 578 | "branch-alias": { 579 | "dev-master": "3.0-dev" 580 | } 581 | }, 582 | "autoload": { 583 | "classmap": [ 584 | "src/" 585 | ] 586 | }, 587 | "notification-url": "https://packagist.org/downloads/", 588 | "license": [ 589 | "BSD-3-Clause" 590 | ], 591 | "authors": [ 592 | { 593 | "name": "Sebastian Bergmann", 594 | "email": "sebastian@phpunit.de", 595 | "role": "lead" 596 | } 597 | ], 598 | "description": "Invoke callables with a timeout", 599 | "homepage": "https://github.com/sebastianbergmann/php-invoker/", 600 | "keywords": [ 601 | "process" 602 | ], 603 | "time": "2020-02-07T06:06:11+00:00" 604 | }, 605 | { 606 | "name": "phpunit/php-text-template", 607 | "version": "2.0.0", 608 | "source": { 609 | "type": "git", 610 | "url": "https://github.com/sebastianbergmann/php-text-template.git", 611 | "reference": "526dc996cc0ebdfa428cd2dfccd79b7b53fee346" 612 | }, 613 | "dist": { 614 | "type": "zip", 615 | "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/526dc996cc0ebdfa428cd2dfccd79b7b53fee346", 616 | "reference": "526dc996cc0ebdfa428cd2dfccd79b7b53fee346", 617 | "shasum": "" 618 | }, 619 | "require": { 620 | "php": "^7.3" 621 | }, 622 | "type": "library", 623 | "extra": { 624 | "branch-alias": { 625 | "dev-master": "2.0-dev" 626 | } 627 | }, 628 | "autoload": { 629 | "classmap": [ 630 | "src/" 631 | ] 632 | }, 633 | "notification-url": "https://packagist.org/downloads/", 634 | "license": [ 635 | "BSD-3-Clause" 636 | ], 637 | "authors": [ 638 | { 639 | "name": "Sebastian Bergmann", 640 | "email": "sebastian@phpunit.de", 641 | "role": "lead" 642 | } 643 | ], 644 | "description": "Simple template engine.", 645 | "homepage": "https://github.com/sebastianbergmann/php-text-template/", 646 | "keywords": [ 647 | "template" 648 | ], 649 | "time": "2020-02-01T07:43:44+00:00" 650 | }, 651 | { 652 | "name": "phpunit/php-timer", 653 | "version": "3.1.4", 654 | "source": { 655 | "type": "git", 656 | "url": "https://github.com/sebastianbergmann/php-timer.git", 657 | "reference": "dc9368fae6ef2ffa57eba80a7410bcef81df6258" 658 | }, 659 | "dist": { 660 | "type": "zip", 661 | "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/dc9368fae6ef2ffa57eba80a7410bcef81df6258", 662 | "reference": "dc9368fae6ef2ffa57eba80a7410bcef81df6258", 663 | "shasum": "" 664 | }, 665 | "require": { 666 | "php": "^7.3" 667 | }, 668 | "require-dev": { 669 | "phpunit/phpunit": "^9.0" 670 | }, 671 | "type": "library", 672 | "extra": { 673 | "branch-alias": { 674 | "dev-master": "3.1-dev" 675 | } 676 | }, 677 | "autoload": { 678 | "classmap": [ 679 | "src/" 680 | ] 681 | }, 682 | "notification-url": "https://packagist.org/downloads/", 683 | "license": [ 684 | "BSD-3-Clause" 685 | ], 686 | "authors": [ 687 | { 688 | "name": "Sebastian Bergmann", 689 | "email": "sebastian@phpunit.de", 690 | "role": "lead" 691 | } 692 | ], 693 | "description": "Utility class for timing", 694 | "homepage": "https://github.com/sebastianbergmann/php-timer/", 695 | "keywords": [ 696 | "timer" 697 | ], 698 | "funding": [ 699 | { 700 | "url": "https://github.com/sebastianbergmann", 701 | "type": "github" 702 | } 703 | ], 704 | "time": "2020-04-20T06:00:37+00:00" 705 | }, 706 | { 707 | "name": "phpunit/php-token-stream", 708 | "version": "4.0.1", 709 | "source": { 710 | "type": "git", 711 | "url": "https://github.com/sebastianbergmann/php-token-stream.git", 712 | "reference": "cdc0db5aed8fbfaf475fbd95bfd7bab83c7a779c" 713 | }, 714 | "dist": { 715 | "type": "zip", 716 | "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/cdc0db5aed8fbfaf475fbd95bfd7bab83c7a779c", 717 | "reference": "cdc0db5aed8fbfaf475fbd95bfd7bab83c7a779c", 718 | "shasum": "" 719 | }, 720 | "require": { 721 | "ext-tokenizer": "*", 722 | "php": "^7.3" 723 | }, 724 | "require-dev": { 725 | "phpunit/phpunit": "^9.0" 726 | }, 727 | "type": "library", 728 | "extra": { 729 | "branch-alias": { 730 | "dev-master": "4.0-dev" 731 | } 732 | }, 733 | "autoload": { 734 | "classmap": [ 735 | "src/" 736 | ] 737 | }, 738 | "notification-url": "https://packagist.org/downloads/", 739 | "license": [ 740 | "BSD-3-Clause" 741 | ], 742 | "authors": [ 743 | { 744 | "name": "Sebastian Bergmann", 745 | "email": "sebastian@phpunit.de" 746 | } 747 | ], 748 | "description": "Wrapper around PHP's tokenizer extension.", 749 | "homepage": "https://github.com/sebastianbergmann/php-token-stream/", 750 | "keywords": [ 751 | "tokenizer" 752 | ], 753 | "funding": [ 754 | { 755 | "url": "https://github.com/sebastianbergmann", 756 | "type": "github" 757 | } 758 | ], 759 | "time": "2020-05-06T09:56:31+00:00" 760 | }, 761 | { 762 | "name": "phpunit/phpunit", 763 | "version": "9.1.5", 764 | "source": { 765 | "type": "git", 766 | "url": "https://github.com/sebastianbergmann/phpunit.git", 767 | "reference": "1b570cd7edbe136055bf5f651857dc8af6b829d2" 768 | }, 769 | "dist": { 770 | "type": "zip", 771 | "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1b570cd7edbe136055bf5f651857dc8af6b829d2", 772 | "reference": "1b570cd7edbe136055bf5f651857dc8af6b829d2", 773 | "shasum": "" 774 | }, 775 | "require": { 776 | "doctrine/instantiator": "^1.2.0", 777 | "ext-dom": "*", 778 | "ext-json": "*", 779 | "ext-libxml": "*", 780 | "ext-mbstring": "*", 781 | "ext-xml": "*", 782 | "ext-xmlwriter": "*", 783 | "myclabs/deep-copy": "^1.9.1", 784 | "phar-io/manifest": "^1.0.3", 785 | "phar-io/version": "^2.0.1", 786 | "php": "^7.3", 787 | "phpspec/prophecy": "^1.8.1", 788 | "phpunit/php-code-coverage": "^8.0.1", 789 | "phpunit/php-file-iterator": "^3.0", 790 | "phpunit/php-invoker": "^3.0", 791 | "phpunit/php-text-template": "^2.0", 792 | "phpunit/php-timer": "^3.1.4", 793 | "sebastian/code-unit": "^1.0.2", 794 | "sebastian/comparator": "^4.0", 795 | "sebastian/diff": "^4.0", 796 | "sebastian/environment": "^5.0.1", 797 | "sebastian/exporter": "^4.0", 798 | "sebastian/global-state": "^4.0", 799 | "sebastian/object-enumerator": "^4.0", 800 | "sebastian/resource-operations": "^3.0", 801 | "sebastian/type": "^2.0", 802 | "sebastian/version": "^3.0" 803 | }, 804 | "require-dev": { 805 | "ext-pdo": "*", 806 | "phpspec/prophecy-phpunit": "^2.0" 807 | }, 808 | "suggest": { 809 | "ext-soap": "*", 810 | "ext-xdebug": "*" 811 | }, 812 | "bin": [ 813 | "phpunit" 814 | ], 815 | "type": "library", 816 | "extra": { 817 | "branch-alias": { 818 | "dev-master": "9.1-dev" 819 | } 820 | }, 821 | "autoload": { 822 | "classmap": [ 823 | "src/" 824 | ], 825 | "files": [ 826 | "src/Framework/Assert/Functions.php" 827 | ] 828 | }, 829 | "notification-url": "https://packagist.org/downloads/", 830 | "license": [ 831 | "BSD-3-Clause" 832 | ], 833 | "authors": [ 834 | { 835 | "name": "Sebastian Bergmann", 836 | "email": "sebastian@phpunit.de", 837 | "role": "lead" 838 | } 839 | ], 840 | "description": "The PHP Unit Testing framework.", 841 | "homepage": "https://phpunit.de/", 842 | "keywords": [ 843 | "phpunit", 844 | "testing", 845 | "xunit" 846 | ], 847 | "funding": [ 848 | { 849 | "url": "https://phpunit.de/donate.html", 850 | "type": "custom" 851 | }, 852 | { 853 | "url": "https://github.com/sebastianbergmann", 854 | "type": "github" 855 | } 856 | ], 857 | "time": "2020-05-22T13:54:05+00:00" 858 | }, 859 | { 860 | "name": "sebastian/code-unit", 861 | "version": "1.0.2", 862 | "source": { 863 | "type": "git", 864 | "url": "https://github.com/sebastianbergmann/code-unit.git", 865 | "reference": "ac958085bc19fcd1d36425c781ef4cbb5b06e2a5" 866 | }, 867 | "dist": { 868 | "type": "zip", 869 | "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/ac958085bc19fcd1d36425c781ef4cbb5b06e2a5", 870 | "reference": "ac958085bc19fcd1d36425c781ef4cbb5b06e2a5", 871 | "shasum": "" 872 | }, 873 | "require": { 874 | "php": "^7.3" 875 | }, 876 | "require-dev": { 877 | "phpunit/phpunit": "^9.0" 878 | }, 879 | "type": "library", 880 | "extra": { 881 | "branch-alias": { 882 | "dev-master": "1.0-dev" 883 | } 884 | }, 885 | "autoload": { 886 | "classmap": [ 887 | "src/" 888 | ] 889 | }, 890 | "notification-url": "https://packagist.org/downloads/", 891 | "license": [ 892 | "BSD-3-Clause" 893 | ], 894 | "authors": [ 895 | { 896 | "name": "Sebastian Bergmann", 897 | "email": "sebastian@phpunit.de", 898 | "role": "lead" 899 | } 900 | ], 901 | "description": "Collection of value objects that represent the PHP code units", 902 | "homepage": "https://github.com/sebastianbergmann/code-unit", 903 | "funding": [ 904 | { 905 | "url": "https://github.com/sebastianbergmann", 906 | "type": "github" 907 | } 908 | ], 909 | "time": "2020-04-30T05:58:10+00:00" 910 | }, 911 | { 912 | "name": "sebastian/code-unit-reverse-lookup", 913 | "version": "2.0.0", 914 | "source": { 915 | "type": "git", 916 | "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", 917 | "reference": "5b5dbe0044085ac41df47e79d34911a15b96d82e" 918 | }, 919 | "dist": { 920 | "type": "zip", 921 | "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5b5dbe0044085ac41df47e79d34911a15b96d82e", 922 | "reference": "5b5dbe0044085ac41df47e79d34911a15b96d82e", 923 | "shasum": "" 924 | }, 925 | "require": { 926 | "php": "^7.3" 927 | }, 928 | "require-dev": { 929 | "phpunit/phpunit": "^9.0" 930 | }, 931 | "type": "library", 932 | "extra": { 933 | "branch-alias": { 934 | "dev-master": "2.0-dev" 935 | } 936 | }, 937 | "autoload": { 938 | "classmap": [ 939 | "src/" 940 | ] 941 | }, 942 | "notification-url": "https://packagist.org/downloads/", 943 | "license": [ 944 | "BSD-3-Clause" 945 | ], 946 | "authors": [ 947 | { 948 | "name": "Sebastian Bergmann", 949 | "email": "sebastian@phpunit.de" 950 | } 951 | ], 952 | "description": "Looks up which function or method a line of code belongs to", 953 | "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", 954 | "time": "2020-02-07T06:20:13+00:00" 955 | }, 956 | { 957 | "name": "sebastian/comparator", 958 | "version": "4.0.0", 959 | "source": { 960 | "type": "git", 961 | "url": "https://github.com/sebastianbergmann/comparator.git", 962 | "reference": "85b3435da967696ed618ff745f32be3ff4a2b8e8" 963 | }, 964 | "dist": { 965 | "type": "zip", 966 | "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/85b3435da967696ed618ff745f32be3ff4a2b8e8", 967 | "reference": "85b3435da967696ed618ff745f32be3ff4a2b8e8", 968 | "shasum": "" 969 | }, 970 | "require": { 971 | "php": "^7.3", 972 | "sebastian/diff": "^4.0", 973 | "sebastian/exporter": "^4.0" 974 | }, 975 | "require-dev": { 976 | "phpunit/phpunit": "^9.0" 977 | }, 978 | "type": "library", 979 | "extra": { 980 | "branch-alias": { 981 | "dev-master": "4.0-dev" 982 | } 983 | }, 984 | "autoload": { 985 | "classmap": [ 986 | "src/" 987 | ] 988 | }, 989 | "notification-url": "https://packagist.org/downloads/", 990 | "license": [ 991 | "BSD-3-Clause" 992 | ], 993 | "authors": [ 994 | { 995 | "name": "Sebastian Bergmann", 996 | "email": "sebastian@phpunit.de" 997 | }, 998 | { 999 | "name": "Jeff Welch", 1000 | "email": "whatthejeff@gmail.com" 1001 | }, 1002 | { 1003 | "name": "Volker Dusch", 1004 | "email": "github@wallbash.com" 1005 | }, 1006 | { 1007 | "name": "Bernhard Schussek", 1008 | "email": "bschussek@2bepublished.at" 1009 | } 1010 | ], 1011 | "description": "Provides the functionality to compare PHP values for equality", 1012 | "homepage": "https://github.com/sebastianbergmann/comparator", 1013 | "keywords": [ 1014 | "comparator", 1015 | "compare", 1016 | "equality" 1017 | ], 1018 | "time": "2020-02-07T06:08:51+00:00" 1019 | }, 1020 | { 1021 | "name": "sebastian/diff", 1022 | "version": "4.0.1", 1023 | "source": { 1024 | "type": "git", 1025 | "url": "https://github.com/sebastianbergmann/diff.git", 1026 | "reference": "3e523c576f29dacecff309f35e4cc5a5c168e78a" 1027 | }, 1028 | "dist": { 1029 | "type": "zip", 1030 | "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3e523c576f29dacecff309f35e4cc5a5c168e78a", 1031 | "reference": "3e523c576f29dacecff309f35e4cc5a5c168e78a", 1032 | "shasum": "" 1033 | }, 1034 | "require": { 1035 | "php": "^7.3" 1036 | }, 1037 | "require-dev": { 1038 | "phpunit/phpunit": "^9.0", 1039 | "symfony/process": "^4.2 || ^5" 1040 | }, 1041 | "type": "library", 1042 | "extra": { 1043 | "branch-alias": { 1044 | "dev-master": "4.0-dev" 1045 | } 1046 | }, 1047 | "autoload": { 1048 | "classmap": [ 1049 | "src/" 1050 | ] 1051 | }, 1052 | "notification-url": "https://packagist.org/downloads/", 1053 | "license": [ 1054 | "BSD-3-Clause" 1055 | ], 1056 | "authors": [ 1057 | { 1058 | "name": "Sebastian Bergmann", 1059 | "email": "sebastian@phpunit.de" 1060 | }, 1061 | { 1062 | "name": "Kore Nordmann", 1063 | "email": "mail@kore-nordmann.de" 1064 | } 1065 | ], 1066 | "description": "Diff implementation", 1067 | "homepage": "https://github.com/sebastianbergmann/diff", 1068 | "keywords": [ 1069 | "diff", 1070 | "udiff", 1071 | "unidiff", 1072 | "unified diff" 1073 | ], 1074 | "funding": [ 1075 | { 1076 | "url": "https://github.com/sebastianbergmann", 1077 | "type": "github" 1078 | } 1079 | ], 1080 | "time": "2020-05-08T05:01:12+00:00" 1081 | }, 1082 | { 1083 | "name": "sebastian/environment", 1084 | "version": "5.1.0", 1085 | "source": { 1086 | "type": "git", 1087 | "url": "https://github.com/sebastianbergmann/environment.git", 1088 | "reference": "c753f04d68cd489b6973cf9b4e505e191af3b05c" 1089 | }, 1090 | "dist": { 1091 | "type": "zip", 1092 | "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/c753f04d68cd489b6973cf9b4e505e191af3b05c", 1093 | "reference": "c753f04d68cd489b6973cf9b4e505e191af3b05c", 1094 | "shasum": "" 1095 | }, 1096 | "require": { 1097 | "php": "^7.3" 1098 | }, 1099 | "require-dev": { 1100 | "phpunit/phpunit": "^9.0" 1101 | }, 1102 | "suggest": { 1103 | "ext-posix": "*" 1104 | }, 1105 | "type": "library", 1106 | "extra": { 1107 | "branch-alias": { 1108 | "dev-master": "5.0-dev" 1109 | } 1110 | }, 1111 | "autoload": { 1112 | "classmap": [ 1113 | "src/" 1114 | ] 1115 | }, 1116 | "notification-url": "https://packagist.org/downloads/", 1117 | "license": [ 1118 | "BSD-3-Clause" 1119 | ], 1120 | "authors": [ 1121 | { 1122 | "name": "Sebastian Bergmann", 1123 | "email": "sebastian@phpunit.de" 1124 | } 1125 | ], 1126 | "description": "Provides functionality to handle HHVM/PHP environments", 1127 | "homepage": "http://www.github.com/sebastianbergmann/environment", 1128 | "keywords": [ 1129 | "Xdebug", 1130 | "environment", 1131 | "hhvm" 1132 | ], 1133 | "funding": [ 1134 | { 1135 | "url": "https://github.com/sebastianbergmann", 1136 | "type": "github" 1137 | } 1138 | ], 1139 | "time": "2020-04-14T13:36:52+00:00" 1140 | }, 1141 | { 1142 | "name": "sebastian/exporter", 1143 | "version": "4.0.0", 1144 | "source": { 1145 | "type": "git", 1146 | "url": "https://github.com/sebastianbergmann/exporter.git", 1147 | "reference": "80c26562e964016538f832f305b2286e1ec29566" 1148 | }, 1149 | "dist": { 1150 | "type": "zip", 1151 | "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/80c26562e964016538f832f305b2286e1ec29566", 1152 | "reference": "80c26562e964016538f832f305b2286e1ec29566", 1153 | "shasum": "" 1154 | }, 1155 | "require": { 1156 | "php": "^7.3", 1157 | "sebastian/recursion-context": "^4.0" 1158 | }, 1159 | "require-dev": { 1160 | "ext-mbstring": "*", 1161 | "phpunit/phpunit": "^9.0" 1162 | }, 1163 | "type": "library", 1164 | "extra": { 1165 | "branch-alias": { 1166 | "dev-master": "4.0-dev" 1167 | } 1168 | }, 1169 | "autoload": { 1170 | "classmap": [ 1171 | "src/" 1172 | ] 1173 | }, 1174 | "notification-url": "https://packagist.org/downloads/", 1175 | "license": [ 1176 | "BSD-3-Clause" 1177 | ], 1178 | "authors": [ 1179 | { 1180 | "name": "Sebastian Bergmann", 1181 | "email": "sebastian@phpunit.de" 1182 | }, 1183 | { 1184 | "name": "Jeff Welch", 1185 | "email": "whatthejeff@gmail.com" 1186 | }, 1187 | { 1188 | "name": "Volker Dusch", 1189 | "email": "github@wallbash.com" 1190 | }, 1191 | { 1192 | "name": "Adam Harvey", 1193 | "email": "aharvey@php.net" 1194 | }, 1195 | { 1196 | "name": "Bernhard Schussek", 1197 | "email": "bschussek@gmail.com" 1198 | } 1199 | ], 1200 | "description": "Provides the functionality to export PHP variables for visualization", 1201 | "homepage": "http://www.github.com/sebastianbergmann/exporter", 1202 | "keywords": [ 1203 | "export", 1204 | "exporter" 1205 | ], 1206 | "time": "2020-02-07T06:10:52+00:00" 1207 | }, 1208 | { 1209 | "name": "sebastian/global-state", 1210 | "version": "4.0.0", 1211 | "source": { 1212 | "type": "git", 1213 | "url": "https://github.com/sebastianbergmann/global-state.git", 1214 | "reference": "bdb1e7c79e592b8c82cb1699be3c8743119b8a72" 1215 | }, 1216 | "dist": { 1217 | "type": "zip", 1218 | "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bdb1e7c79e592b8c82cb1699be3c8743119b8a72", 1219 | "reference": "bdb1e7c79e592b8c82cb1699be3c8743119b8a72", 1220 | "shasum": "" 1221 | }, 1222 | "require": { 1223 | "php": "^7.3", 1224 | "sebastian/object-reflector": "^2.0", 1225 | "sebastian/recursion-context": "^4.0" 1226 | }, 1227 | "require-dev": { 1228 | "ext-dom": "*", 1229 | "phpunit/phpunit": "^9.0" 1230 | }, 1231 | "suggest": { 1232 | "ext-uopz": "*" 1233 | }, 1234 | "type": "library", 1235 | "extra": { 1236 | "branch-alias": { 1237 | "dev-master": "4.0-dev" 1238 | } 1239 | }, 1240 | "autoload": { 1241 | "classmap": [ 1242 | "src/" 1243 | ] 1244 | }, 1245 | "notification-url": "https://packagist.org/downloads/", 1246 | "license": [ 1247 | "BSD-3-Clause" 1248 | ], 1249 | "authors": [ 1250 | { 1251 | "name": "Sebastian Bergmann", 1252 | "email": "sebastian@phpunit.de" 1253 | } 1254 | ], 1255 | "description": "Snapshotting of global state", 1256 | "homepage": "http://www.github.com/sebastianbergmann/global-state", 1257 | "keywords": [ 1258 | "global state" 1259 | ], 1260 | "time": "2020-02-07T06:11:37+00:00" 1261 | }, 1262 | { 1263 | "name": "sebastian/object-enumerator", 1264 | "version": "4.0.0", 1265 | "source": { 1266 | "type": "git", 1267 | "url": "https://github.com/sebastianbergmann/object-enumerator.git", 1268 | "reference": "e67516b175550abad905dc952f43285957ef4363" 1269 | }, 1270 | "dist": { 1271 | "type": "zip", 1272 | "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/e67516b175550abad905dc952f43285957ef4363", 1273 | "reference": "e67516b175550abad905dc952f43285957ef4363", 1274 | "shasum": "" 1275 | }, 1276 | "require": { 1277 | "php": "^7.3", 1278 | "sebastian/object-reflector": "^2.0", 1279 | "sebastian/recursion-context": "^4.0" 1280 | }, 1281 | "require-dev": { 1282 | "phpunit/phpunit": "^9.0" 1283 | }, 1284 | "type": "library", 1285 | "extra": { 1286 | "branch-alias": { 1287 | "dev-master": "4.0-dev" 1288 | } 1289 | }, 1290 | "autoload": { 1291 | "classmap": [ 1292 | "src/" 1293 | ] 1294 | }, 1295 | "notification-url": "https://packagist.org/downloads/", 1296 | "license": [ 1297 | "BSD-3-Clause" 1298 | ], 1299 | "authors": [ 1300 | { 1301 | "name": "Sebastian Bergmann", 1302 | "email": "sebastian@phpunit.de" 1303 | } 1304 | ], 1305 | "description": "Traverses array structures and object graphs to enumerate all referenced objects", 1306 | "homepage": "https://github.com/sebastianbergmann/object-enumerator/", 1307 | "time": "2020-02-07T06:12:23+00:00" 1308 | }, 1309 | { 1310 | "name": "sebastian/object-reflector", 1311 | "version": "2.0.0", 1312 | "source": { 1313 | "type": "git", 1314 | "url": "https://github.com/sebastianbergmann/object-reflector.git", 1315 | "reference": "f4fd0835cabb0d4a6546d9fe291e5740037aa1e7" 1316 | }, 1317 | "dist": { 1318 | "type": "zip", 1319 | "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/f4fd0835cabb0d4a6546d9fe291e5740037aa1e7", 1320 | "reference": "f4fd0835cabb0d4a6546d9fe291e5740037aa1e7", 1321 | "shasum": "" 1322 | }, 1323 | "require": { 1324 | "php": "^7.3" 1325 | }, 1326 | "require-dev": { 1327 | "phpunit/phpunit": "^9.0" 1328 | }, 1329 | "type": "library", 1330 | "extra": { 1331 | "branch-alias": { 1332 | "dev-master": "2.0-dev" 1333 | } 1334 | }, 1335 | "autoload": { 1336 | "classmap": [ 1337 | "src/" 1338 | ] 1339 | }, 1340 | "notification-url": "https://packagist.org/downloads/", 1341 | "license": [ 1342 | "BSD-3-Clause" 1343 | ], 1344 | "authors": [ 1345 | { 1346 | "name": "Sebastian Bergmann", 1347 | "email": "sebastian@phpunit.de" 1348 | } 1349 | ], 1350 | "description": "Allows reflection of object attributes, including inherited and non-public ones", 1351 | "homepage": "https://github.com/sebastianbergmann/object-reflector/", 1352 | "time": "2020-02-07T06:19:40+00:00" 1353 | }, 1354 | { 1355 | "name": "sebastian/recursion-context", 1356 | "version": "4.0.0", 1357 | "source": { 1358 | "type": "git", 1359 | "url": "https://github.com/sebastianbergmann/recursion-context.git", 1360 | "reference": "cdd86616411fc3062368b720b0425de10bd3d579" 1361 | }, 1362 | "dist": { 1363 | "type": "zip", 1364 | "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cdd86616411fc3062368b720b0425de10bd3d579", 1365 | "reference": "cdd86616411fc3062368b720b0425de10bd3d579", 1366 | "shasum": "" 1367 | }, 1368 | "require": { 1369 | "php": "^7.3" 1370 | }, 1371 | "require-dev": { 1372 | "phpunit/phpunit": "^9.0" 1373 | }, 1374 | "type": "library", 1375 | "extra": { 1376 | "branch-alias": { 1377 | "dev-master": "4.0-dev" 1378 | } 1379 | }, 1380 | "autoload": { 1381 | "classmap": [ 1382 | "src/" 1383 | ] 1384 | }, 1385 | "notification-url": "https://packagist.org/downloads/", 1386 | "license": [ 1387 | "BSD-3-Clause" 1388 | ], 1389 | "authors": [ 1390 | { 1391 | "name": "Sebastian Bergmann", 1392 | "email": "sebastian@phpunit.de" 1393 | }, 1394 | { 1395 | "name": "Jeff Welch", 1396 | "email": "whatthejeff@gmail.com" 1397 | }, 1398 | { 1399 | "name": "Adam Harvey", 1400 | "email": "aharvey@php.net" 1401 | } 1402 | ], 1403 | "description": "Provides functionality to recursively process PHP variables", 1404 | "homepage": "http://www.github.com/sebastianbergmann/recursion-context", 1405 | "time": "2020-02-07T06:18:20+00:00" 1406 | }, 1407 | { 1408 | "name": "sebastian/resource-operations", 1409 | "version": "3.0.0", 1410 | "source": { 1411 | "type": "git", 1412 | "url": "https://github.com/sebastianbergmann/resource-operations.git", 1413 | "reference": "8c98bf0dfa1f9256d0468b9803a1e1df31b6fa98" 1414 | }, 1415 | "dist": { 1416 | "type": "zip", 1417 | "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/8c98bf0dfa1f9256d0468b9803a1e1df31b6fa98", 1418 | "reference": "8c98bf0dfa1f9256d0468b9803a1e1df31b6fa98", 1419 | "shasum": "" 1420 | }, 1421 | "require": { 1422 | "php": "^7.3" 1423 | }, 1424 | "require-dev": { 1425 | "phpunit/phpunit": "^9.0" 1426 | }, 1427 | "type": "library", 1428 | "extra": { 1429 | "branch-alias": { 1430 | "dev-master": "3.0-dev" 1431 | } 1432 | }, 1433 | "autoload": { 1434 | "classmap": [ 1435 | "src/" 1436 | ] 1437 | }, 1438 | "notification-url": "https://packagist.org/downloads/", 1439 | "license": [ 1440 | "BSD-3-Clause" 1441 | ], 1442 | "authors": [ 1443 | { 1444 | "name": "Sebastian Bergmann", 1445 | "email": "sebastian@phpunit.de" 1446 | } 1447 | ], 1448 | "description": "Provides a list of PHP built-in functions that operate on resources", 1449 | "homepage": "https://www.github.com/sebastianbergmann/resource-operations", 1450 | "time": "2020-02-07T06:13:02+00:00" 1451 | }, 1452 | { 1453 | "name": "sebastian/type", 1454 | "version": "2.0.0", 1455 | "source": { 1456 | "type": "git", 1457 | "url": "https://github.com/sebastianbergmann/type.git", 1458 | "reference": "9e8f42f740afdea51f5f4e8cec2035580e797ee1" 1459 | }, 1460 | "dist": { 1461 | "type": "zip", 1462 | "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/9e8f42f740afdea51f5f4e8cec2035580e797ee1", 1463 | "reference": "9e8f42f740afdea51f5f4e8cec2035580e797ee1", 1464 | "shasum": "" 1465 | }, 1466 | "require": { 1467 | "php": "^7.3" 1468 | }, 1469 | "require-dev": { 1470 | "phpunit/phpunit": "^9.0" 1471 | }, 1472 | "type": "library", 1473 | "extra": { 1474 | "branch-alias": { 1475 | "dev-master": "2.0-dev" 1476 | } 1477 | }, 1478 | "autoload": { 1479 | "classmap": [ 1480 | "src/" 1481 | ] 1482 | }, 1483 | "notification-url": "https://packagist.org/downloads/", 1484 | "license": [ 1485 | "BSD-3-Clause" 1486 | ], 1487 | "authors": [ 1488 | { 1489 | "name": "Sebastian Bergmann", 1490 | "email": "sebastian@phpunit.de", 1491 | "role": "lead" 1492 | } 1493 | ], 1494 | "description": "Collection of value objects that represent the types of the PHP type system", 1495 | "homepage": "https://github.com/sebastianbergmann/type", 1496 | "time": "2020-02-07T06:13:43+00:00" 1497 | }, 1498 | { 1499 | "name": "sebastian/version", 1500 | "version": "3.0.0", 1501 | "source": { 1502 | "type": "git", 1503 | "url": "https://github.com/sebastianbergmann/version.git", 1504 | "reference": "0411bde656dce64202b39c2f4473993a9081d39e" 1505 | }, 1506 | "dist": { 1507 | "type": "zip", 1508 | "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/0411bde656dce64202b39c2f4473993a9081d39e", 1509 | "reference": "0411bde656dce64202b39c2f4473993a9081d39e", 1510 | "shasum": "" 1511 | }, 1512 | "require": { 1513 | "php": "^7.3" 1514 | }, 1515 | "type": "library", 1516 | "extra": { 1517 | "branch-alias": { 1518 | "dev-master": "3.0-dev" 1519 | } 1520 | }, 1521 | "autoload": { 1522 | "classmap": [ 1523 | "src/" 1524 | ] 1525 | }, 1526 | "notification-url": "https://packagist.org/downloads/", 1527 | "license": [ 1528 | "BSD-3-Clause" 1529 | ], 1530 | "authors": [ 1531 | { 1532 | "name": "Sebastian Bergmann", 1533 | "email": "sebastian@phpunit.de", 1534 | "role": "lead" 1535 | } 1536 | ], 1537 | "description": "Library that helps with managing the version number of Git-hosted PHP projects", 1538 | "homepage": "https://github.com/sebastianbergmann/version", 1539 | "time": "2020-01-21T06:36:37+00:00" 1540 | }, 1541 | { 1542 | "name": "symfony/polyfill-ctype", 1543 | "version": "v1.17.0", 1544 | "source": { 1545 | "type": "git", 1546 | "url": "https://github.com/symfony/polyfill-ctype.git", 1547 | "reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9" 1548 | }, 1549 | "dist": { 1550 | "type": "zip", 1551 | "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e94c8b1bbe2bc77507a1056cdb06451c75b427f9", 1552 | "reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9", 1553 | "shasum": "" 1554 | }, 1555 | "require": { 1556 | "php": ">=5.3.3" 1557 | }, 1558 | "suggest": { 1559 | "ext-ctype": "For best performance" 1560 | }, 1561 | "type": "library", 1562 | "extra": { 1563 | "branch-alias": { 1564 | "dev-master": "1.17-dev" 1565 | } 1566 | }, 1567 | "autoload": { 1568 | "psr-4": { 1569 | "Symfony\\Polyfill\\Ctype\\": "" 1570 | }, 1571 | "files": [ 1572 | "bootstrap.php" 1573 | ] 1574 | }, 1575 | "notification-url": "https://packagist.org/downloads/", 1576 | "license": [ 1577 | "MIT" 1578 | ], 1579 | "authors": [ 1580 | { 1581 | "name": "Gert de Pagter", 1582 | "email": "BackEndTea@gmail.com" 1583 | }, 1584 | { 1585 | "name": "Symfony Community", 1586 | "homepage": "https://symfony.com/contributors" 1587 | } 1588 | ], 1589 | "description": "Symfony polyfill for ctype functions", 1590 | "homepage": "https://symfony.com", 1591 | "keywords": [ 1592 | "compatibility", 1593 | "ctype", 1594 | "polyfill", 1595 | "portable" 1596 | ], 1597 | "funding": [ 1598 | { 1599 | "url": "https://symfony.com/sponsor", 1600 | "type": "custom" 1601 | }, 1602 | { 1603 | "url": "https://github.com/fabpot", 1604 | "type": "github" 1605 | }, 1606 | { 1607 | "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", 1608 | "type": "tidelift" 1609 | } 1610 | ], 1611 | "time": "2020-05-12T16:14:59+00:00" 1612 | }, 1613 | { 1614 | "name": "theseer/tokenizer", 1615 | "version": "1.1.3", 1616 | "source": { 1617 | "type": "git", 1618 | "url": "https://github.com/theseer/tokenizer.git", 1619 | "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9" 1620 | }, 1621 | "dist": { 1622 | "type": "zip", 1623 | "url": "https://api.github.com/repos/theseer/tokenizer/zipball/11336f6f84e16a720dae9d8e6ed5019efa85a0f9", 1624 | "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9", 1625 | "shasum": "" 1626 | }, 1627 | "require": { 1628 | "ext-dom": "*", 1629 | "ext-tokenizer": "*", 1630 | "ext-xmlwriter": "*", 1631 | "php": "^7.0" 1632 | }, 1633 | "type": "library", 1634 | "autoload": { 1635 | "classmap": [ 1636 | "src/" 1637 | ] 1638 | }, 1639 | "notification-url": "https://packagist.org/downloads/", 1640 | "license": [ 1641 | "BSD-3-Clause" 1642 | ], 1643 | "authors": [ 1644 | { 1645 | "name": "Arne Blankerts", 1646 | "email": "arne@blankerts.de", 1647 | "role": "Developer" 1648 | } 1649 | ], 1650 | "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", 1651 | "time": "2019-06-13T22:48:21+00:00" 1652 | }, 1653 | { 1654 | "name": "webmozart/assert", 1655 | "version": "1.8.0", 1656 | "source": { 1657 | "type": "git", 1658 | "url": "https://github.com/webmozart/assert.git", 1659 | "reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6" 1660 | }, 1661 | "dist": { 1662 | "type": "zip", 1663 | "url": "https://api.github.com/repos/webmozart/assert/zipball/ab2cb0b3b559010b75981b1bdce728da3ee90ad6", 1664 | "reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6", 1665 | "shasum": "" 1666 | }, 1667 | "require": { 1668 | "php": "^5.3.3 || ^7.0", 1669 | "symfony/polyfill-ctype": "^1.8" 1670 | }, 1671 | "conflict": { 1672 | "vimeo/psalm": "<3.9.1" 1673 | }, 1674 | "require-dev": { 1675 | "phpunit/phpunit": "^4.8.36 || ^7.5.13" 1676 | }, 1677 | "type": "library", 1678 | "autoload": { 1679 | "psr-4": { 1680 | "Webmozart\\Assert\\": "src/" 1681 | } 1682 | }, 1683 | "notification-url": "https://packagist.org/downloads/", 1684 | "license": [ 1685 | "MIT" 1686 | ], 1687 | "authors": [ 1688 | { 1689 | "name": "Bernhard Schussek", 1690 | "email": "bschussek@gmail.com" 1691 | } 1692 | ], 1693 | "description": "Assertions to validate method input/output with nice error messages.", 1694 | "keywords": [ 1695 | "assert", 1696 | "check", 1697 | "validate" 1698 | ], 1699 | "time": "2020-04-18T12:12:48+00:00" 1700 | } 1701 | ], 1702 | "packages-dev": [ 1703 | { 1704 | "name": "composer/semver", 1705 | "version": "1.5.0", 1706 | "source": { 1707 | "type": "git", 1708 | "url": "https://github.com/composer/semver.git", 1709 | "reference": "46d9139568ccb8d9e7cdd4539cab7347568a5e2e" 1710 | }, 1711 | "dist": { 1712 | "type": "zip", 1713 | "url": "https://api.github.com/repos/composer/semver/zipball/46d9139568ccb8d9e7cdd4539cab7347568a5e2e", 1714 | "reference": "46d9139568ccb8d9e7cdd4539cab7347568a5e2e", 1715 | "shasum": "" 1716 | }, 1717 | "require": { 1718 | "php": "^5.3.2 || ^7.0" 1719 | }, 1720 | "require-dev": { 1721 | "phpunit/phpunit": "^4.5 || ^5.0.5", 1722 | "phpunit/phpunit-mock-objects": "2.3.0 || ^3.0" 1723 | }, 1724 | "type": "library", 1725 | "extra": { 1726 | "branch-alias": { 1727 | "dev-master": "1.x-dev" 1728 | } 1729 | }, 1730 | "autoload": { 1731 | "psr-4": { 1732 | "Composer\\Semver\\": "src" 1733 | } 1734 | }, 1735 | "notification-url": "https://packagist.org/downloads/", 1736 | "license": [ 1737 | "MIT" 1738 | ], 1739 | "authors": [ 1740 | { 1741 | "name": "Nils Adermann", 1742 | "email": "naderman@naderman.de", 1743 | "homepage": "http://www.naderman.de" 1744 | }, 1745 | { 1746 | "name": "Jordi Boggiano", 1747 | "email": "j.boggiano@seld.be", 1748 | "homepage": "http://seld.be" 1749 | }, 1750 | { 1751 | "name": "Rob Bast", 1752 | "email": "rob.bast@gmail.com", 1753 | "homepage": "http://robbast.nl" 1754 | } 1755 | ], 1756 | "description": "Semver library that offers utilities, version constraint parsing and validation.", 1757 | "keywords": [ 1758 | "semantic", 1759 | "semver", 1760 | "validation", 1761 | "versioning" 1762 | ], 1763 | "time": "2019-03-19T17:25:45+00:00" 1764 | }, 1765 | { 1766 | "name": "composer/xdebug-handler", 1767 | "version": "1.3.3", 1768 | "source": { 1769 | "type": "git", 1770 | "url": "https://github.com/composer/xdebug-handler.git", 1771 | "reference": "46867cbf8ca9fb8d60c506895449eb799db1184f" 1772 | }, 1773 | "dist": { 1774 | "type": "zip", 1775 | "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/46867cbf8ca9fb8d60c506895449eb799db1184f", 1776 | "reference": "46867cbf8ca9fb8d60c506895449eb799db1184f", 1777 | "shasum": "" 1778 | }, 1779 | "require": { 1780 | "php": "^5.3.2 || ^7.0", 1781 | "psr/log": "^1.0" 1782 | }, 1783 | "require-dev": { 1784 | "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" 1785 | }, 1786 | "type": "library", 1787 | "autoload": { 1788 | "psr-4": { 1789 | "Composer\\XdebugHandler\\": "src" 1790 | } 1791 | }, 1792 | "notification-url": "https://packagist.org/downloads/", 1793 | "license": [ 1794 | "MIT" 1795 | ], 1796 | "authors": [ 1797 | { 1798 | "name": "John Stevenson", 1799 | "email": "john-stevenson@blueyonder.co.uk" 1800 | } 1801 | ], 1802 | "description": "Restarts a process without xdebug.", 1803 | "keywords": [ 1804 | "Xdebug", 1805 | "performance" 1806 | ], 1807 | "time": "2019-05-27T17:52:04+00:00" 1808 | }, 1809 | { 1810 | "name": "doctrine/annotations", 1811 | "version": "v1.6.1", 1812 | "source": { 1813 | "type": "git", 1814 | "url": "https://github.com/doctrine/annotations.git", 1815 | "reference": "53120e0eb10355388d6ccbe462f1fea34ddadb24" 1816 | }, 1817 | "dist": { 1818 | "type": "zip", 1819 | "url": "https://api.github.com/repos/doctrine/annotations/zipball/53120e0eb10355388d6ccbe462f1fea34ddadb24", 1820 | "reference": "53120e0eb10355388d6ccbe462f1fea34ddadb24", 1821 | "shasum": "" 1822 | }, 1823 | "require": { 1824 | "doctrine/lexer": "1.*", 1825 | "php": "^7.1" 1826 | }, 1827 | "require-dev": { 1828 | "doctrine/cache": "1.*", 1829 | "phpunit/phpunit": "^6.4" 1830 | }, 1831 | "type": "library", 1832 | "extra": { 1833 | "branch-alias": { 1834 | "dev-master": "1.6.x-dev" 1835 | } 1836 | }, 1837 | "autoload": { 1838 | "psr-4": { 1839 | "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" 1840 | } 1841 | }, 1842 | "notification-url": "https://packagist.org/downloads/", 1843 | "license": [ 1844 | "MIT" 1845 | ], 1846 | "authors": [ 1847 | { 1848 | "name": "Roman Borschel", 1849 | "email": "roman@code-factory.org" 1850 | }, 1851 | { 1852 | "name": "Benjamin Eberlei", 1853 | "email": "kontakt@beberlei.de" 1854 | }, 1855 | { 1856 | "name": "Guilherme Blanco", 1857 | "email": "guilhermeblanco@gmail.com" 1858 | }, 1859 | { 1860 | "name": "Jonathan Wage", 1861 | "email": "jonwage@gmail.com" 1862 | }, 1863 | { 1864 | "name": "Johannes Schmitt", 1865 | "email": "schmittjoh@gmail.com" 1866 | } 1867 | ], 1868 | "description": "Docblock Annotations Parser", 1869 | "homepage": "http://www.doctrine-project.org", 1870 | "keywords": [ 1871 | "annotations", 1872 | "docblock", 1873 | "parser" 1874 | ], 1875 | "time": "2019-03-25T19:12:02+00:00" 1876 | }, 1877 | { 1878 | "name": "doctrine/lexer", 1879 | "version": "1.0.2", 1880 | "source": { 1881 | "type": "git", 1882 | "url": "https://github.com/doctrine/lexer.git", 1883 | "reference": "1febd6c3ef84253d7c815bed85fc622ad207a9f8" 1884 | }, 1885 | "dist": { 1886 | "type": "zip", 1887 | "url": "https://api.github.com/repos/doctrine/lexer/zipball/1febd6c3ef84253d7c815bed85fc622ad207a9f8", 1888 | "reference": "1febd6c3ef84253d7c815bed85fc622ad207a9f8", 1889 | "shasum": "" 1890 | }, 1891 | "require": { 1892 | "php": ">=5.3.2" 1893 | }, 1894 | "require-dev": { 1895 | "phpunit/phpunit": "^4.5" 1896 | }, 1897 | "type": "library", 1898 | "extra": { 1899 | "branch-alias": { 1900 | "dev-master": "1.0.x-dev" 1901 | } 1902 | }, 1903 | "autoload": { 1904 | "psr-4": { 1905 | "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" 1906 | } 1907 | }, 1908 | "notification-url": "https://packagist.org/downloads/", 1909 | "license": [ 1910 | "MIT" 1911 | ], 1912 | "authors": [ 1913 | { 1914 | "name": "Roman Borschel", 1915 | "email": "roman@code-factory.org" 1916 | }, 1917 | { 1918 | "name": "Guilherme Blanco", 1919 | "email": "guilhermeblanco@gmail.com" 1920 | }, 1921 | { 1922 | "name": "Johannes Schmitt", 1923 | "email": "schmittjoh@gmail.com" 1924 | } 1925 | ], 1926 | "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", 1927 | "homepage": "https://www.doctrine-project.org/projects/lexer.html", 1928 | "keywords": [ 1929 | "annotations", 1930 | "docblock", 1931 | "lexer", 1932 | "parser", 1933 | "php" 1934 | ], 1935 | "time": "2019-06-08T11:03:04+00:00" 1936 | }, 1937 | { 1938 | "name": "friendsofphp/php-cs-fixer", 1939 | "version": "v2.16.3", 1940 | "source": { 1941 | "type": "git", 1942 | "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", 1943 | "reference": "83baf823a33a1cbd5416c8626935cf3f843c10b0" 1944 | }, 1945 | "dist": { 1946 | "type": "zip", 1947 | "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/83baf823a33a1cbd5416c8626935cf3f843c10b0", 1948 | "reference": "83baf823a33a1cbd5416c8626935cf3f843c10b0", 1949 | "shasum": "" 1950 | }, 1951 | "require": { 1952 | "composer/semver": "^1.4", 1953 | "composer/xdebug-handler": "^1.2", 1954 | "doctrine/annotations": "^1.2", 1955 | "ext-json": "*", 1956 | "ext-tokenizer": "*", 1957 | "php": "^5.6 || ^7.0", 1958 | "php-cs-fixer/diff": "^1.3", 1959 | "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0", 1960 | "symfony/event-dispatcher": "^3.0 || ^4.0 || ^5.0", 1961 | "symfony/filesystem": "^3.0 || ^4.0 || ^5.0", 1962 | "symfony/finder": "^3.0 || ^4.0 || ^5.0", 1963 | "symfony/options-resolver": "^3.0 || ^4.0 || ^5.0", 1964 | "symfony/polyfill-php70": "^1.0", 1965 | "symfony/polyfill-php72": "^1.4", 1966 | "symfony/process": "^3.0 || ^4.0 || ^5.0", 1967 | "symfony/stopwatch": "^3.0 || ^4.0 || ^5.0" 1968 | }, 1969 | "require-dev": { 1970 | "johnkary/phpunit-speedtrap": "^1.1 || ^2.0 || ^3.0", 1971 | "justinrainbow/json-schema": "^5.0", 1972 | "keradus/cli-executor": "^1.2", 1973 | "mikey179/vfsstream": "^1.6", 1974 | "php-coveralls/php-coveralls": "^2.1", 1975 | "php-cs-fixer/accessible-object": "^1.0", 1976 | "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.1", 1977 | "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.1", 1978 | "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.1", 1979 | "phpunitgoodpractices/traits": "^1.8", 1980 | "symfony/phpunit-bridge": "^4.3 || ^5.0", 1981 | "symfony/yaml": "^3.0 || ^4.0 || ^5.0" 1982 | }, 1983 | "suggest": { 1984 | "ext-dom": "For handling output formats in XML", 1985 | "ext-mbstring": "For handling non-UTF8 characters in cache signature.", 1986 | "php-cs-fixer/phpunit-constraint-isidenticalstring": "For IsIdenticalString constraint.", 1987 | "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "For XmlMatchesXsd constraint.", 1988 | "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible." 1989 | }, 1990 | "bin": [ 1991 | "php-cs-fixer" 1992 | ], 1993 | "type": "application", 1994 | "autoload": { 1995 | "psr-4": { 1996 | "PhpCsFixer\\": "src/" 1997 | }, 1998 | "classmap": [ 1999 | "tests/Test/AbstractFixerTestCase.php", 2000 | "tests/Test/AbstractIntegrationCaseFactory.php", 2001 | "tests/Test/AbstractIntegrationTestCase.php", 2002 | "tests/Test/Assert/AssertTokensTrait.php", 2003 | "tests/Test/IntegrationCase.php", 2004 | "tests/Test/IntegrationCaseFactory.php", 2005 | "tests/Test/IntegrationCaseFactoryInterface.php", 2006 | "tests/Test/InternalIntegrationCaseFactory.php", 2007 | "tests/Test/IsIdenticalConstraint.php", 2008 | "tests/TestCase.php" 2009 | ] 2010 | }, 2011 | "notification-url": "https://packagist.org/downloads/", 2012 | "license": [ 2013 | "MIT" 2014 | ], 2015 | "authors": [ 2016 | { 2017 | "name": "Fabien Potencier", 2018 | "email": "fabien@symfony.com" 2019 | }, 2020 | { 2021 | "name": "Dariusz Rumiński", 2022 | "email": "dariusz.ruminski@gmail.com" 2023 | } 2024 | ], 2025 | "description": "A tool to automatically fix PHP code style", 2026 | "funding": [ 2027 | { 2028 | "url": "https://github.com/keradus", 2029 | "type": "github" 2030 | } 2031 | ], 2032 | "time": "2020-04-15T18:51:10+00:00" 2033 | }, 2034 | { 2035 | "name": "paragonie/random_compat", 2036 | "version": "v9.99.99", 2037 | "source": { 2038 | "type": "git", 2039 | "url": "https://github.com/paragonie/random_compat.git", 2040 | "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95" 2041 | }, 2042 | "dist": { 2043 | "type": "zip", 2044 | "url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", 2045 | "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", 2046 | "shasum": "" 2047 | }, 2048 | "require": { 2049 | "php": "^7" 2050 | }, 2051 | "require-dev": { 2052 | "phpunit/phpunit": "4.*|5.*", 2053 | "vimeo/psalm": "^1" 2054 | }, 2055 | "suggest": { 2056 | "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." 2057 | }, 2058 | "type": "library", 2059 | "notification-url": "https://packagist.org/downloads/", 2060 | "license": [ 2061 | "MIT" 2062 | ], 2063 | "authors": [ 2064 | { 2065 | "name": "Paragon Initiative Enterprises", 2066 | "email": "security@paragonie.com", 2067 | "homepage": "https://paragonie.com" 2068 | } 2069 | ], 2070 | "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", 2071 | "keywords": [ 2072 | "csprng", 2073 | "polyfill", 2074 | "pseudorandom", 2075 | "random" 2076 | ], 2077 | "time": "2018-07-02T15:55:56+00:00" 2078 | }, 2079 | { 2080 | "name": "php-cs-fixer/diff", 2081 | "version": "v1.3.0", 2082 | "source": { 2083 | "type": "git", 2084 | "url": "https://github.com/PHP-CS-Fixer/diff.git", 2085 | "reference": "78bb099e9c16361126c86ce82ec4405ebab8e756" 2086 | }, 2087 | "dist": { 2088 | "type": "zip", 2089 | "url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/78bb099e9c16361126c86ce82ec4405ebab8e756", 2090 | "reference": "78bb099e9c16361126c86ce82ec4405ebab8e756", 2091 | "shasum": "" 2092 | }, 2093 | "require": { 2094 | "php": "^5.6 || ^7.0" 2095 | }, 2096 | "require-dev": { 2097 | "phpunit/phpunit": "^5.7.23 || ^6.4.3", 2098 | "symfony/process": "^3.3" 2099 | }, 2100 | "type": "library", 2101 | "autoload": { 2102 | "classmap": [ 2103 | "src/" 2104 | ] 2105 | }, 2106 | "notification-url": "https://packagist.org/downloads/", 2107 | "license": [ 2108 | "BSD-3-Clause" 2109 | ], 2110 | "authors": [ 2111 | { 2112 | "name": "Kore Nordmann", 2113 | "email": "mail@kore-nordmann.de" 2114 | }, 2115 | { 2116 | "name": "Sebastian Bergmann", 2117 | "email": "sebastian@phpunit.de" 2118 | }, 2119 | { 2120 | "name": "SpacePossum" 2121 | } 2122 | ], 2123 | "description": "sebastian/diff v2 backport support for PHP5.6", 2124 | "homepage": "https://github.com/PHP-CS-Fixer", 2125 | "keywords": [ 2126 | "diff" 2127 | ], 2128 | "time": "2018-02-15T16:58:55+00:00" 2129 | }, 2130 | { 2131 | "name": "psr/container", 2132 | "version": "1.0.0", 2133 | "source": { 2134 | "type": "git", 2135 | "url": "https://github.com/php-fig/container.git", 2136 | "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" 2137 | }, 2138 | "dist": { 2139 | "type": "zip", 2140 | "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", 2141 | "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", 2142 | "shasum": "" 2143 | }, 2144 | "require": { 2145 | "php": ">=5.3.0" 2146 | }, 2147 | "type": "library", 2148 | "extra": { 2149 | "branch-alias": { 2150 | "dev-master": "1.0.x-dev" 2151 | } 2152 | }, 2153 | "autoload": { 2154 | "psr-4": { 2155 | "Psr\\Container\\": "src/" 2156 | } 2157 | }, 2158 | "notification-url": "https://packagist.org/downloads/", 2159 | "license": [ 2160 | "MIT" 2161 | ], 2162 | "authors": [ 2163 | { 2164 | "name": "PHP-FIG", 2165 | "homepage": "http://www.php-fig.org/" 2166 | } 2167 | ], 2168 | "description": "Common Container Interface (PHP FIG PSR-11)", 2169 | "homepage": "https://github.com/php-fig/container", 2170 | "keywords": [ 2171 | "PSR-11", 2172 | "container", 2173 | "container-interface", 2174 | "container-interop", 2175 | "psr" 2176 | ], 2177 | "time": "2017-02-14T16:28:37+00:00" 2178 | }, 2179 | { 2180 | "name": "psr/log", 2181 | "version": "1.1.0", 2182 | "source": { 2183 | "type": "git", 2184 | "url": "https://github.com/php-fig/log.git", 2185 | "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd" 2186 | }, 2187 | "dist": { 2188 | "type": "zip", 2189 | "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd", 2190 | "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd", 2191 | "shasum": "" 2192 | }, 2193 | "require": { 2194 | "php": ">=5.3.0" 2195 | }, 2196 | "type": "library", 2197 | "extra": { 2198 | "branch-alias": { 2199 | "dev-master": "1.0.x-dev" 2200 | } 2201 | }, 2202 | "autoload": { 2203 | "psr-4": { 2204 | "Psr\\Log\\": "Psr/Log/" 2205 | } 2206 | }, 2207 | "notification-url": "https://packagist.org/downloads/", 2208 | "license": [ 2209 | "MIT" 2210 | ], 2211 | "authors": [ 2212 | { 2213 | "name": "PHP-FIG", 2214 | "homepage": "http://www.php-fig.org/" 2215 | } 2216 | ], 2217 | "description": "Common interface for logging libraries", 2218 | "homepage": "https://github.com/php-fig/log", 2219 | "keywords": [ 2220 | "log", 2221 | "psr", 2222 | "psr-3" 2223 | ], 2224 | "time": "2018-11-20T15:27:04+00:00" 2225 | }, 2226 | { 2227 | "name": "symfony/console", 2228 | "version": "v4.3.2", 2229 | "source": { 2230 | "type": "git", 2231 | "url": "https://github.com/symfony/console.git", 2232 | "reference": "b592b26a24265a35172d8a2094d8b10f22b7cc39" 2233 | }, 2234 | "dist": { 2235 | "type": "zip", 2236 | "url": "https://api.github.com/repos/symfony/console/zipball/b592b26a24265a35172d8a2094d8b10f22b7cc39", 2237 | "reference": "b592b26a24265a35172d8a2094d8b10f22b7cc39", 2238 | "shasum": "" 2239 | }, 2240 | "require": { 2241 | "php": "^7.1.3", 2242 | "symfony/polyfill-mbstring": "~1.0", 2243 | "symfony/polyfill-php73": "^1.8", 2244 | "symfony/service-contracts": "^1.1" 2245 | }, 2246 | "conflict": { 2247 | "symfony/dependency-injection": "<3.4", 2248 | "symfony/event-dispatcher": "<4.3", 2249 | "symfony/process": "<3.3" 2250 | }, 2251 | "provide": { 2252 | "psr/log-implementation": "1.0" 2253 | }, 2254 | "require-dev": { 2255 | "psr/log": "~1.0", 2256 | "symfony/config": "~3.4|~4.0", 2257 | "symfony/dependency-injection": "~3.4|~4.0", 2258 | "symfony/event-dispatcher": "^4.3", 2259 | "symfony/lock": "~3.4|~4.0", 2260 | "symfony/process": "~3.4|~4.0", 2261 | "symfony/var-dumper": "^4.3" 2262 | }, 2263 | "suggest": { 2264 | "psr/log": "For using the console logger", 2265 | "symfony/event-dispatcher": "", 2266 | "symfony/lock": "", 2267 | "symfony/process": "" 2268 | }, 2269 | "type": "library", 2270 | "extra": { 2271 | "branch-alias": { 2272 | "dev-master": "4.3-dev" 2273 | } 2274 | }, 2275 | "autoload": { 2276 | "psr-4": { 2277 | "Symfony\\Component\\Console\\": "" 2278 | }, 2279 | "exclude-from-classmap": [ 2280 | "/Tests/" 2281 | ] 2282 | }, 2283 | "notification-url": "https://packagist.org/downloads/", 2284 | "license": [ 2285 | "MIT" 2286 | ], 2287 | "authors": [ 2288 | { 2289 | "name": "Fabien Potencier", 2290 | "email": "fabien@symfony.com" 2291 | }, 2292 | { 2293 | "name": "Symfony Community", 2294 | "homepage": "https://symfony.com/contributors" 2295 | } 2296 | ], 2297 | "description": "Symfony Console Component", 2298 | "homepage": "https://symfony.com", 2299 | "time": "2019-06-13T11:03:18+00:00" 2300 | }, 2301 | { 2302 | "name": "symfony/event-dispatcher", 2303 | "version": "v4.3.2", 2304 | "source": { 2305 | "type": "git", 2306 | "url": "https://github.com/symfony/event-dispatcher.git", 2307 | "reference": "d257021c1ab28d48d24a16de79dfab445ce93398" 2308 | }, 2309 | "dist": { 2310 | "type": "zip", 2311 | "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/d257021c1ab28d48d24a16de79dfab445ce93398", 2312 | "reference": "d257021c1ab28d48d24a16de79dfab445ce93398", 2313 | "shasum": "" 2314 | }, 2315 | "require": { 2316 | "php": "^7.1.3", 2317 | "symfony/event-dispatcher-contracts": "^1.1" 2318 | }, 2319 | "conflict": { 2320 | "symfony/dependency-injection": "<3.4" 2321 | }, 2322 | "provide": { 2323 | "psr/event-dispatcher-implementation": "1.0", 2324 | "symfony/event-dispatcher-implementation": "1.1" 2325 | }, 2326 | "require-dev": { 2327 | "psr/log": "~1.0", 2328 | "symfony/config": "~3.4|~4.0", 2329 | "symfony/dependency-injection": "~3.4|~4.0", 2330 | "symfony/expression-language": "~3.4|~4.0", 2331 | "symfony/http-foundation": "^3.4|^4.0", 2332 | "symfony/service-contracts": "^1.1", 2333 | "symfony/stopwatch": "~3.4|~4.0" 2334 | }, 2335 | "suggest": { 2336 | "symfony/dependency-injection": "", 2337 | "symfony/http-kernel": "" 2338 | }, 2339 | "type": "library", 2340 | "extra": { 2341 | "branch-alias": { 2342 | "dev-master": "4.3-dev" 2343 | } 2344 | }, 2345 | "autoload": { 2346 | "psr-4": { 2347 | "Symfony\\Component\\EventDispatcher\\": "" 2348 | }, 2349 | "exclude-from-classmap": [ 2350 | "/Tests/" 2351 | ] 2352 | }, 2353 | "notification-url": "https://packagist.org/downloads/", 2354 | "license": [ 2355 | "MIT" 2356 | ], 2357 | "authors": [ 2358 | { 2359 | "name": "Fabien Potencier", 2360 | "email": "fabien@symfony.com" 2361 | }, 2362 | { 2363 | "name": "Symfony Community", 2364 | "homepage": "https://symfony.com/contributors" 2365 | } 2366 | ], 2367 | "description": "Symfony EventDispatcher Component", 2368 | "homepage": "https://symfony.com", 2369 | "time": "2019-06-13T11:03:18+00:00" 2370 | }, 2371 | { 2372 | "name": "symfony/event-dispatcher-contracts", 2373 | "version": "v1.1.5", 2374 | "source": { 2375 | "type": "git", 2376 | "url": "https://github.com/symfony/event-dispatcher-contracts.git", 2377 | "reference": "c61766f4440ca687de1084a5c00b08e167a2575c" 2378 | }, 2379 | "dist": { 2380 | "type": "zip", 2381 | "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/c61766f4440ca687de1084a5c00b08e167a2575c", 2382 | "reference": "c61766f4440ca687de1084a5c00b08e167a2575c", 2383 | "shasum": "" 2384 | }, 2385 | "require": { 2386 | "php": "^7.1.3" 2387 | }, 2388 | "suggest": { 2389 | "psr/event-dispatcher": "", 2390 | "symfony/event-dispatcher-implementation": "" 2391 | }, 2392 | "type": "library", 2393 | "extra": { 2394 | "branch-alias": { 2395 | "dev-master": "1.1-dev" 2396 | } 2397 | }, 2398 | "autoload": { 2399 | "psr-4": { 2400 | "Symfony\\Contracts\\EventDispatcher\\": "" 2401 | } 2402 | }, 2403 | "notification-url": "https://packagist.org/downloads/", 2404 | "license": [ 2405 | "MIT" 2406 | ], 2407 | "authors": [ 2408 | { 2409 | "name": "Nicolas Grekas", 2410 | "email": "p@tchwork.com" 2411 | }, 2412 | { 2413 | "name": "Symfony Community", 2414 | "homepage": "https://symfony.com/contributors" 2415 | } 2416 | ], 2417 | "description": "Generic abstractions related to dispatching event", 2418 | "homepage": "https://symfony.com", 2419 | "keywords": [ 2420 | "abstractions", 2421 | "contracts", 2422 | "decoupling", 2423 | "interfaces", 2424 | "interoperability", 2425 | "standards" 2426 | ], 2427 | "time": "2019-06-20T06:46:26+00:00" 2428 | }, 2429 | { 2430 | "name": "symfony/filesystem", 2431 | "version": "v4.3.2", 2432 | "source": { 2433 | "type": "git", 2434 | "url": "https://github.com/symfony/filesystem.git", 2435 | "reference": "b9896d034463ad6fd2bf17e2bf9418caecd6313d" 2436 | }, 2437 | "dist": { 2438 | "type": "zip", 2439 | "url": "https://api.github.com/repos/symfony/filesystem/zipball/b9896d034463ad6fd2bf17e2bf9418caecd6313d", 2440 | "reference": "b9896d034463ad6fd2bf17e2bf9418caecd6313d", 2441 | "shasum": "" 2442 | }, 2443 | "require": { 2444 | "php": "^7.1.3", 2445 | "symfony/polyfill-ctype": "~1.8" 2446 | }, 2447 | "type": "library", 2448 | "extra": { 2449 | "branch-alias": { 2450 | "dev-master": "4.3-dev" 2451 | } 2452 | }, 2453 | "autoload": { 2454 | "psr-4": { 2455 | "Symfony\\Component\\Filesystem\\": "" 2456 | }, 2457 | "exclude-from-classmap": [ 2458 | "/Tests/" 2459 | ] 2460 | }, 2461 | "notification-url": "https://packagist.org/downloads/", 2462 | "license": [ 2463 | "MIT" 2464 | ], 2465 | "authors": [ 2466 | { 2467 | "name": "Fabien Potencier", 2468 | "email": "fabien@symfony.com" 2469 | }, 2470 | { 2471 | "name": "Symfony Community", 2472 | "homepage": "https://symfony.com/contributors" 2473 | } 2474 | ], 2475 | "description": "Symfony Filesystem Component", 2476 | "homepage": "https://symfony.com", 2477 | "time": "2019-06-23T08:51:25+00:00" 2478 | }, 2479 | { 2480 | "name": "symfony/finder", 2481 | "version": "v4.3.2", 2482 | "source": { 2483 | "type": "git", 2484 | "url": "https://github.com/symfony/finder.git", 2485 | "reference": "33c21f7d5d3dc8a140c282854a7e13aeb5d0f91a" 2486 | }, 2487 | "dist": { 2488 | "type": "zip", 2489 | "url": "https://api.github.com/repos/symfony/finder/zipball/33c21f7d5d3dc8a140c282854a7e13aeb5d0f91a", 2490 | "reference": "33c21f7d5d3dc8a140c282854a7e13aeb5d0f91a", 2491 | "shasum": "" 2492 | }, 2493 | "require": { 2494 | "php": "^7.1.3" 2495 | }, 2496 | "type": "library", 2497 | "extra": { 2498 | "branch-alias": { 2499 | "dev-master": "4.3-dev" 2500 | } 2501 | }, 2502 | "autoload": { 2503 | "psr-4": { 2504 | "Symfony\\Component\\Finder\\": "" 2505 | }, 2506 | "exclude-from-classmap": [ 2507 | "/Tests/" 2508 | ] 2509 | }, 2510 | "notification-url": "https://packagist.org/downloads/", 2511 | "license": [ 2512 | "MIT" 2513 | ], 2514 | "authors": [ 2515 | { 2516 | "name": "Fabien Potencier", 2517 | "email": "fabien@symfony.com" 2518 | }, 2519 | { 2520 | "name": "Symfony Community", 2521 | "homepage": "https://symfony.com/contributors" 2522 | } 2523 | ], 2524 | "description": "Symfony Finder Component", 2525 | "homepage": "https://symfony.com", 2526 | "time": "2019-06-13T11:03:18+00:00" 2527 | }, 2528 | { 2529 | "name": "symfony/options-resolver", 2530 | "version": "v4.3.2", 2531 | "source": { 2532 | "type": "git", 2533 | "url": "https://github.com/symfony/options-resolver.git", 2534 | "reference": "40762ead607c8f792ee4516881369ffa553fee6f" 2535 | }, 2536 | "dist": { 2537 | "type": "zip", 2538 | "url": "https://api.github.com/repos/symfony/options-resolver/zipball/40762ead607c8f792ee4516881369ffa553fee6f", 2539 | "reference": "40762ead607c8f792ee4516881369ffa553fee6f", 2540 | "shasum": "" 2541 | }, 2542 | "require": { 2543 | "php": "^7.1.3" 2544 | }, 2545 | "type": "library", 2546 | "extra": { 2547 | "branch-alias": { 2548 | "dev-master": "4.3-dev" 2549 | } 2550 | }, 2551 | "autoload": { 2552 | "psr-4": { 2553 | "Symfony\\Component\\OptionsResolver\\": "" 2554 | }, 2555 | "exclude-from-classmap": [ 2556 | "/Tests/" 2557 | ] 2558 | }, 2559 | "notification-url": "https://packagist.org/downloads/", 2560 | "license": [ 2561 | "MIT" 2562 | ], 2563 | "authors": [ 2564 | { 2565 | "name": "Fabien Potencier", 2566 | "email": "fabien@symfony.com" 2567 | }, 2568 | { 2569 | "name": "Symfony Community", 2570 | "homepage": "https://symfony.com/contributors" 2571 | } 2572 | ], 2573 | "description": "Symfony OptionsResolver Component", 2574 | "homepage": "https://symfony.com", 2575 | "keywords": [ 2576 | "config", 2577 | "configuration", 2578 | "options" 2579 | ], 2580 | "time": "2019-06-13T11:01:17+00:00" 2581 | }, 2582 | { 2583 | "name": "symfony/polyfill-mbstring", 2584 | "version": "v1.11.0", 2585 | "source": { 2586 | "type": "git", 2587 | "url": "https://github.com/symfony/polyfill-mbstring.git", 2588 | "reference": "fe5e94c604826c35a32fa832f35bd036b6799609" 2589 | }, 2590 | "dist": { 2591 | "type": "zip", 2592 | "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fe5e94c604826c35a32fa832f35bd036b6799609", 2593 | "reference": "fe5e94c604826c35a32fa832f35bd036b6799609", 2594 | "shasum": "" 2595 | }, 2596 | "require": { 2597 | "php": ">=5.3.3" 2598 | }, 2599 | "suggest": { 2600 | "ext-mbstring": "For best performance" 2601 | }, 2602 | "type": "library", 2603 | "extra": { 2604 | "branch-alias": { 2605 | "dev-master": "1.11-dev" 2606 | } 2607 | }, 2608 | "autoload": { 2609 | "psr-4": { 2610 | "Symfony\\Polyfill\\Mbstring\\": "" 2611 | }, 2612 | "files": [ 2613 | "bootstrap.php" 2614 | ] 2615 | }, 2616 | "notification-url": "https://packagist.org/downloads/", 2617 | "license": [ 2618 | "MIT" 2619 | ], 2620 | "authors": [ 2621 | { 2622 | "name": "Nicolas Grekas", 2623 | "email": "p@tchwork.com" 2624 | }, 2625 | { 2626 | "name": "Symfony Community", 2627 | "homepage": "https://symfony.com/contributors" 2628 | } 2629 | ], 2630 | "description": "Symfony polyfill for the Mbstring extension", 2631 | "homepage": "https://symfony.com", 2632 | "keywords": [ 2633 | "compatibility", 2634 | "mbstring", 2635 | "polyfill", 2636 | "portable", 2637 | "shim" 2638 | ], 2639 | "time": "2019-02-06T07:57:58+00:00" 2640 | }, 2641 | { 2642 | "name": "symfony/polyfill-php70", 2643 | "version": "v1.11.0", 2644 | "source": { 2645 | "type": "git", 2646 | "url": "https://github.com/symfony/polyfill-php70.git", 2647 | "reference": "bc4858fb611bda58719124ca079baff854149c89" 2648 | }, 2649 | "dist": { 2650 | "type": "zip", 2651 | "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/bc4858fb611bda58719124ca079baff854149c89", 2652 | "reference": "bc4858fb611bda58719124ca079baff854149c89", 2653 | "shasum": "" 2654 | }, 2655 | "require": { 2656 | "paragonie/random_compat": "~1.0|~2.0|~9.99", 2657 | "php": ">=5.3.3" 2658 | }, 2659 | "type": "library", 2660 | "extra": { 2661 | "branch-alias": { 2662 | "dev-master": "1.11-dev" 2663 | } 2664 | }, 2665 | "autoload": { 2666 | "psr-4": { 2667 | "Symfony\\Polyfill\\Php70\\": "" 2668 | }, 2669 | "files": [ 2670 | "bootstrap.php" 2671 | ], 2672 | "classmap": [ 2673 | "Resources/stubs" 2674 | ] 2675 | }, 2676 | "notification-url": "https://packagist.org/downloads/", 2677 | "license": [ 2678 | "MIT" 2679 | ], 2680 | "authors": [ 2681 | { 2682 | "name": "Nicolas Grekas", 2683 | "email": "p@tchwork.com" 2684 | }, 2685 | { 2686 | "name": "Symfony Community", 2687 | "homepage": "https://symfony.com/contributors" 2688 | } 2689 | ], 2690 | "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", 2691 | "homepage": "https://symfony.com", 2692 | "keywords": [ 2693 | "compatibility", 2694 | "polyfill", 2695 | "portable", 2696 | "shim" 2697 | ], 2698 | "time": "2019-02-06T07:57:58+00:00" 2699 | }, 2700 | { 2701 | "name": "symfony/polyfill-php72", 2702 | "version": "v1.11.0", 2703 | "source": { 2704 | "type": "git", 2705 | "url": "https://github.com/symfony/polyfill-php72.git", 2706 | "reference": "ab50dcf166d5f577978419edd37aa2bb8eabce0c" 2707 | }, 2708 | "dist": { 2709 | "type": "zip", 2710 | "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/ab50dcf166d5f577978419edd37aa2bb8eabce0c", 2711 | "reference": "ab50dcf166d5f577978419edd37aa2bb8eabce0c", 2712 | "shasum": "" 2713 | }, 2714 | "require": { 2715 | "php": ">=5.3.3" 2716 | }, 2717 | "type": "library", 2718 | "extra": { 2719 | "branch-alias": { 2720 | "dev-master": "1.11-dev" 2721 | } 2722 | }, 2723 | "autoload": { 2724 | "psr-4": { 2725 | "Symfony\\Polyfill\\Php72\\": "" 2726 | }, 2727 | "files": [ 2728 | "bootstrap.php" 2729 | ] 2730 | }, 2731 | "notification-url": "https://packagist.org/downloads/", 2732 | "license": [ 2733 | "MIT" 2734 | ], 2735 | "authors": [ 2736 | { 2737 | "name": "Nicolas Grekas", 2738 | "email": "p@tchwork.com" 2739 | }, 2740 | { 2741 | "name": "Symfony Community", 2742 | "homepage": "https://symfony.com/contributors" 2743 | } 2744 | ], 2745 | "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", 2746 | "homepage": "https://symfony.com", 2747 | "keywords": [ 2748 | "compatibility", 2749 | "polyfill", 2750 | "portable", 2751 | "shim" 2752 | ], 2753 | "time": "2019-02-06T07:57:58+00:00" 2754 | }, 2755 | { 2756 | "name": "symfony/polyfill-php73", 2757 | "version": "v1.11.0", 2758 | "source": { 2759 | "type": "git", 2760 | "url": "https://github.com/symfony/polyfill-php73.git", 2761 | "reference": "d1fb4abcc0c47be136208ad9d68bf59f1ee17abd" 2762 | }, 2763 | "dist": { 2764 | "type": "zip", 2765 | "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/d1fb4abcc0c47be136208ad9d68bf59f1ee17abd", 2766 | "reference": "d1fb4abcc0c47be136208ad9d68bf59f1ee17abd", 2767 | "shasum": "" 2768 | }, 2769 | "require": { 2770 | "php": ">=5.3.3" 2771 | }, 2772 | "type": "library", 2773 | "extra": { 2774 | "branch-alias": { 2775 | "dev-master": "1.11-dev" 2776 | } 2777 | }, 2778 | "autoload": { 2779 | "psr-4": { 2780 | "Symfony\\Polyfill\\Php73\\": "" 2781 | }, 2782 | "files": [ 2783 | "bootstrap.php" 2784 | ], 2785 | "classmap": [ 2786 | "Resources/stubs" 2787 | ] 2788 | }, 2789 | "notification-url": "https://packagist.org/downloads/", 2790 | "license": [ 2791 | "MIT" 2792 | ], 2793 | "authors": [ 2794 | { 2795 | "name": "Nicolas Grekas", 2796 | "email": "p@tchwork.com" 2797 | }, 2798 | { 2799 | "name": "Symfony Community", 2800 | "homepage": "https://symfony.com/contributors" 2801 | } 2802 | ], 2803 | "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", 2804 | "homepage": "https://symfony.com", 2805 | "keywords": [ 2806 | "compatibility", 2807 | "polyfill", 2808 | "portable", 2809 | "shim" 2810 | ], 2811 | "time": "2019-02-06T07:57:58+00:00" 2812 | }, 2813 | { 2814 | "name": "symfony/process", 2815 | "version": "v4.3.2", 2816 | "source": { 2817 | "type": "git", 2818 | "url": "https://github.com/symfony/process.git", 2819 | "reference": "856d35814cf287480465bb7a6c413bb7f5f5e69c" 2820 | }, 2821 | "dist": { 2822 | "type": "zip", 2823 | "url": "https://api.github.com/repos/symfony/process/zipball/856d35814cf287480465bb7a6c413bb7f5f5e69c", 2824 | "reference": "856d35814cf287480465bb7a6c413bb7f5f5e69c", 2825 | "shasum": "" 2826 | }, 2827 | "require": { 2828 | "php": "^7.1.3" 2829 | }, 2830 | "type": "library", 2831 | "extra": { 2832 | "branch-alias": { 2833 | "dev-master": "4.3-dev" 2834 | } 2835 | }, 2836 | "autoload": { 2837 | "psr-4": { 2838 | "Symfony\\Component\\Process\\": "" 2839 | }, 2840 | "exclude-from-classmap": [ 2841 | "/Tests/" 2842 | ] 2843 | }, 2844 | "notification-url": "https://packagist.org/downloads/", 2845 | "license": [ 2846 | "MIT" 2847 | ], 2848 | "authors": [ 2849 | { 2850 | "name": "Fabien Potencier", 2851 | "email": "fabien@symfony.com" 2852 | }, 2853 | { 2854 | "name": "Symfony Community", 2855 | "homepage": "https://symfony.com/contributors" 2856 | } 2857 | ], 2858 | "description": "Symfony Process Component", 2859 | "homepage": "https://symfony.com", 2860 | "time": "2019-05-30T16:10:05+00:00" 2861 | }, 2862 | { 2863 | "name": "symfony/service-contracts", 2864 | "version": "v1.1.5", 2865 | "source": { 2866 | "type": "git", 2867 | "url": "https://github.com/symfony/service-contracts.git", 2868 | "reference": "f391a00de78ec7ec8cf5cdcdae59ec7b883edb8d" 2869 | }, 2870 | "dist": { 2871 | "type": "zip", 2872 | "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f391a00de78ec7ec8cf5cdcdae59ec7b883edb8d", 2873 | "reference": "f391a00de78ec7ec8cf5cdcdae59ec7b883edb8d", 2874 | "shasum": "" 2875 | }, 2876 | "require": { 2877 | "php": "^7.1.3", 2878 | "psr/container": "^1.0" 2879 | }, 2880 | "suggest": { 2881 | "symfony/service-implementation": "" 2882 | }, 2883 | "type": "library", 2884 | "extra": { 2885 | "branch-alias": { 2886 | "dev-master": "1.1-dev" 2887 | } 2888 | }, 2889 | "autoload": { 2890 | "psr-4": { 2891 | "Symfony\\Contracts\\Service\\": "" 2892 | } 2893 | }, 2894 | "notification-url": "https://packagist.org/downloads/", 2895 | "license": [ 2896 | "MIT" 2897 | ], 2898 | "authors": [ 2899 | { 2900 | "name": "Nicolas Grekas", 2901 | "email": "p@tchwork.com" 2902 | }, 2903 | { 2904 | "name": "Symfony Community", 2905 | "homepage": "https://symfony.com/contributors" 2906 | } 2907 | ], 2908 | "description": "Generic abstractions related to writing services", 2909 | "homepage": "https://symfony.com", 2910 | "keywords": [ 2911 | "abstractions", 2912 | "contracts", 2913 | "decoupling", 2914 | "interfaces", 2915 | "interoperability", 2916 | "standards" 2917 | ], 2918 | "time": "2019-06-13T11:15:36+00:00" 2919 | }, 2920 | { 2921 | "name": "symfony/stopwatch", 2922 | "version": "v4.3.2", 2923 | "source": { 2924 | "type": "git", 2925 | "url": "https://github.com/symfony/stopwatch.git", 2926 | "reference": "6b100e9309e8979cf1978ac1778eb155c1f7d93b" 2927 | }, 2928 | "dist": { 2929 | "type": "zip", 2930 | "url": "https://api.github.com/repos/symfony/stopwatch/zipball/6b100e9309e8979cf1978ac1778eb155c1f7d93b", 2931 | "reference": "6b100e9309e8979cf1978ac1778eb155c1f7d93b", 2932 | "shasum": "" 2933 | }, 2934 | "require": { 2935 | "php": "^7.1.3", 2936 | "symfony/service-contracts": "^1.0" 2937 | }, 2938 | "type": "library", 2939 | "extra": { 2940 | "branch-alias": { 2941 | "dev-master": "4.3-dev" 2942 | } 2943 | }, 2944 | "autoload": { 2945 | "psr-4": { 2946 | "Symfony\\Component\\Stopwatch\\": "" 2947 | }, 2948 | "exclude-from-classmap": [ 2949 | "/Tests/" 2950 | ] 2951 | }, 2952 | "notification-url": "https://packagist.org/downloads/", 2953 | "license": [ 2954 | "MIT" 2955 | ], 2956 | "authors": [ 2957 | { 2958 | "name": "Fabien Potencier", 2959 | "email": "fabien@symfony.com" 2960 | }, 2961 | { 2962 | "name": "Symfony Community", 2963 | "homepage": "https://symfony.com/contributors" 2964 | } 2965 | ], 2966 | "description": "Symfony Stopwatch Component", 2967 | "homepage": "https://symfony.com", 2968 | "time": "2019-05-27T08:16:38+00:00" 2969 | } 2970 | ], 2971 | "aliases": [], 2972 | "minimum-stability": "dev", 2973 | "stability-flags": [], 2974 | "prefer-stable": true, 2975 | "prefer-lowest": false, 2976 | "platform": { 2977 | "php": ">=7.1.0" 2978 | }, 2979 | "platform-dev": [], 2980 | "plugin-api-version": "1.1.0" 2981 | } 2982 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | ./tests 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /preview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/indentno/phpunit-pretty-print/5c7c764a8ceac73105115532389cd1864d7f9ca3/preview.gif -------------------------------------------------------------------------------- /src/PrettyPrinter.php: -------------------------------------------------------------------------------- 1 | className = get_class($test); 25 | } 26 | 27 | public function endTest(Test $test, float $time): void 28 | { 29 | parent::endTest($test, $time); 30 | 31 | $testMethodName = \PHPUnit\Util\Test::describe($test); 32 | 33 | $parts = preg_split('/ with data set /', $testMethodName[1]); 34 | $methodName = array_shift($parts); 35 | $dataSet = array_shift($parts); 36 | 37 | // Convert capitalized words to lowercase 38 | $methodName = preg_replace_callback('/([A-Z]{2,})/', function ($matches) { 39 | return strtolower($matches[0]); 40 | }, $methodName); 41 | 42 | // Convert non-breaking method name to camelCase 43 | $methodName = str_replace(' ', '', ucwords($methodName, ' ')); 44 | 45 | // Convert snakeCase method name to camelCase 46 | $methodName = str_replace('_', '', ucwords($methodName, '_')); 47 | 48 | preg_match_all('/((?:^|[A-Z])[a-z0-9]+)/', $methodName, $matches); 49 | 50 | // Prepend all numbers with a space 51 | $replaced = preg_replace('/(\d+)/', ' $1', $matches[0]); 52 | 53 | $testNameArray = array_map('strtolower', $replaced); 54 | 55 | $name = implode(' ', $testNameArray); 56 | 57 | // check if prefix is test remove it 58 | $name = preg_replace('/^test /', '', $name, 1); 59 | 60 | // Get the data set name 61 | if ($dataSet) { 62 | // Note: Use preg_replace() instead of trim() because the dataset may end with a quote 63 | // (double quotes) and trim() would remove both from the end. This matches only a single 64 | // quote from the beginning and end of the dataset that was added by PHPUnit itself. 65 | $name .= ' [ ' . preg_replace('/^"|"$/', '', $dataSet) . ' ]'; 66 | } 67 | 68 | $color = 'fg-green'; 69 | if ($test->getStatus() !== 0) { 70 | $color = 'fg-red'; 71 | } 72 | 73 | $this->write(' '); 74 | 75 | switch ($test->getStatus()) { 76 | case BaseTestRunner::STATUS_PASSED: 77 | $this->writeWithColor('fg-green', $name, false); 78 | 79 | break; 80 | case BaseTestRunner::STATUS_SKIPPED: 81 | $this->writeWithColor('fg-yellow', $name, false); 82 | 83 | break; 84 | case BaseTestRunner::STATUS_INCOMPLETE: 85 | $this->writeWithColor('fg-blue', $name, false); 86 | 87 | break; 88 | case BaseTestRunner::STATUS_FAILURE: 89 | $this->writeWithColor('fg-red', $name, false); 90 | 91 | break; 92 | case BaseTestRunner::STATUS_ERROR: 93 | $this->writeWithColor('fg-red', $name, false); 94 | 95 | break; 96 | case BaseTestRunner::STATUS_RISKY: 97 | $this->writeWithColor('fg-magenta', $name, false); 98 | 99 | break; 100 | case BaseTestRunner::STATUS_WARNING: 101 | $this->writeWithColor('fg-yellow', $name, false); 102 | 103 | break; 104 | case BaseTestRunner::STATUS_UNKNOWN: 105 | default: 106 | $this->writeWithColor('fg-cyan', $name, false); 107 | 108 | break; 109 | } 110 | 111 | $this->write(' '); 112 | 113 | $timeColor = $time > 0.5 ? 'fg-yellow' : 'fg-white'; 114 | $this->writeWithColor($timeColor, '[' . number_format($time, 3) . 's]', true); 115 | } 116 | 117 | protected function writeProgress(string $progress): void 118 | { 119 | if ($this->previousClassName !== $this->className) { 120 | $this->write("\n"); 121 | $this->writeWithColor('bold', $this->className, false); 122 | $this->writeNewLine(); 123 | } 124 | 125 | $this->previousClassName = $this->className; 126 | 127 | $this->printProgress(); 128 | 129 | switch (strtoupper(preg_replace('#\\x1b[[][^A-Za-z]*[A-Za-z]#', '', $progress))) { 130 | case '.': 131 | $this->writeWithColor('fg-green', ' ✓', false); 132 | 133 | break; 134 | case 'S': 135 | $this->writeWithColor('fg-yellow', ' →', false); 136 | 137 | break; 138 | case 'I': 139 | $this->writeWithColor('fg-blue', ' ∅', false); 140 | 141 | break; 142 | case 'F': 143 | $this->writeWithColor('fg-red', ' x', false); 144 | 145 | break; 146 | case 'E': 147 | $this->writeWithColor('fg-red', ' ⚈', false); 148 | 149 | break; 150 | case 'R': 151 | $this->writeWithColor('fg-magenta', ' ⌽', false); 152 | 153 | break; 154 | case 'W': 155 | $this->writeWithColor('fg-yellow', ' ¤', false); 156 | 157 | break; 158 | default: 159 | $this->writeWithColor('fg-cyan', ' ≈', false); 160 | 161 | break; 162 | } 163 | } 164 | 165 | protected function printDefectTrace(TestFailure $defect): void 166 | { 167 | $this->write($this->formatExceptionMsg($defect->getExceptionAsString())); 168 | $trace = Filter::getFilteredStacktrace( 169 | $defect->thrownException() 170 | ); 171 | if (!empty($trace)) { 172 | $this->write("\n" . $trace); 173 | } 174 | $exception = $defect->thrownException()->getPrevious(); 175 | while ($exception) { 176 | $this->write( 177 | "\nCaused by\n" . 178 | TestFailure::exceptionToString($exception) . "\n" . 179 | Filter::getFilteredStacktrace($exception) 180 | ); 181 | $exception = $exception->getPrevious(); 182 | } 183 | } 184 | 185 | protected function formatExceptionMsg($exceptionMessage): string 186 | { 187 | $exceptionMessage = str_replace("+++ Actual\n", '', $exceptionMessage); 188 | $exceptionMessage = str_replace("--- Expected\n", '', $exceptionMessage); 189 | $exceptionMessage = str_replace('@@ @@', '', $exceptionMessage); 190 | 191 | if ($this->colors) { 192 | $exceptionMessage = preg_replace('/^(Exception.*)$/m', "\033[01;31m$1\033[0m", $exceptionMessage); 193 | $exceptionMessage = preg_replace('/(Failed.*)$/m', "\033[01;31m$1\033[0m", $exceptionMessage); 194 | $exceptionMessage = preg_replace("/(\-+.*)$/m", "\033[01;32m$1\033[0m", $exceptionMessage); 195 | $exceptionMessage = preg_replace("/(\++.*)$/m", "\033[01;31m$1\033[0m", $exceptionMessage); 196 | } 197 | 198 | return $exceptionMessage; 199 | } 200 | 201 | private function printProgress() 202 | { 203 | if (filter_var(getenv('PHPUNIT_PRETTY_PRINT_PROGRESS'), FILTER_VALIDATE_BOOLEAN)) { 204 | $this->numTestsRun++; 205 | 206 | $total = $this->numTests; 207 | $current = str_pad($this->numTestsRun, strlen($total), '0', STR_PAD_LEFT); 208 | 209 | $this->write("[{$current}/{$total}]"); 210 | } 211 | } 212 | } 213 | -------------------------------------------------------------------------------- /tests/Output.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 12 | } 13 | 14 | public function testFail(): void 15 | { 16 | $this->assertTrue(false); 17 | } 18 | 19 | public function testError(): void 20 | { 21 | throw new Exception('error'); 22 | } 23 | 24 | public function testRisky(): void 25 | { 26 | } 27 | 28 | public function testSkip(): void 29 | { 30 | $this->markTestSkipped('skipped'); 31 | } 32 | 33 | public function testIncomplete(): void 34 | { 35 | $this->markTestIncomplete('incomplete'); 36 | } 37 | 38 | public function testShouldConvertTitleCaseToLowercasedWords() 39 | { 40 | $this->assertTrue(true); 41 | } 42 | 43 | public function test_should_convert_snake_case_to_lowercased_words() 44 | { 45 | $this->assertTrue(true); 46 | } 47 | 48 | public function test should convert non breaking spaces to lowercased words() 49 | { 50 | $this->assertTrue(true); 51 | } 52 | 53 | public function testCanContain1Or99Numbers() 54 | { 55 | $this->assertTrue(true); 56 | } 57 | 58 | public function test123CanStartOrEndWithNumbers456() 59 | { 60 | $this->assertTrue(true); 61 | } 62 | 63 | public function test_should_preserve_CAPITALIZED_and_paRTiaLLY_CAPitaLIZed_words() 64 | { 65 | $this->assertTrue(true); 66 | } 67 | 68 | public function dataProvider() 69 | { 70 | yield 'dataset1' => ['test']; 71 | yield 'DataSet2' => ['test']; 72 | yield 'data set 3' => ['test']; 73 | } 74 | 75 | /** 76 | * @dataProvider dataProvider 77 | */ 78 | public function testWithNamedDatasets(string $value) 79 | { 80 | $this->assertEquals('test', $value); 81 | } 82 | 83 | } 84 | -------------------------------------------------------------------------------- /tests/PrinterTest.php: -------------------------------------------------------------------------------- 1 | getOutput(); 10 | 11 | $this->assertStringContainsString('✓ success', $lines[4]); 12 | } 13 | 14 | public function testSecondTestShouldFail() 15 | { 16 | $lines = $this->getOutput(); 17 | 18 | $this->assertStringContainsString('x fail', $lines[5]); 19 | } 20 | 21 | public function testThirdTestShouldThrowAnError() 22 | { 23 | $lines = $this->getOutput(); 24 | 25 | $this->assertStringContainsString('⚈ error', $lines[6]); 26 | } 27 | 28 | public function testFourthTestShouldBeRisked() 29 | { 30 | $lines = $this->getOutput(); 31 | 32 | $this->assertStringContainsString('⌽ risky', $lines[7]); 33 | } 34 | 35 | public function testFifthTestShouldBeSkipped() 36 | { 37 | $lines = $this->getOutput(); 38 | 39 | $this->assertStringContainsString('→ skip', $lines[8]); 40 | } 41 | 42 | public function testSixthTestShouldBeIncomplete() 43 | { 44 | $lines = $this->getOutput(); 45 | 46 | $this->assertStringContainsString('∅ incomplete', $lines[9]); 47 | } 48 | 49 | public function testTestNamesCanBeTitleCased() 50 | { 51 | $lines = $this->getOutput(); 52 | 53 | $this->assertStringContainsString('✓ should convert title case to lowercased words', $lines[10]); 54 | } 55 | 56 | public function testTestNameCanBeSnakeCased() 57 | { 58 | $lines = $this->getOutput(); 59 | 60 | $this->assertStringContainsString('✓ should convert snake case to lowercased words', $lines[11]); 61 | } 62 | 63 | public function testTestNameCanBeNonBreakingSpaced() 64 | { 65 | $lines = $this->getOutput(); 66 | 67 | $this->assertStringContainsString('✓ should convert non breaking spaces to lowercased words', $lines[12]); 68 | } 69 | 70 | public function testTestNameCanContainNumbers() 71 | { 72 | $lines = $this->getOutput(); 73 | 74 | $this->assertStringContainsString('✓ can contain 1 or 99 numbers', $lines[13]); 75 | } 76 | 77 | public function testTestNameCanStartOrEndWithANumber() 78 | { 79 | $lines = $this->getOutput(); 80 | 81 | $this->assertStringContainsString('✓ 123 can start or end with numbers 456', $lines[14]); 82 | } 83 | 84 | public function testTestNameCanContainCapitalizedWords() 85 | { 86 | $lines = $this->getOutput(); 87 | 88 | $this->assertStringContainsString('✓ should preserve capitalized and partially capitalized words', $lines[15]); 89 | } 90 | 91 | public function testItCanShowProgressWhileRunningTests() 92 | { 93 | putenv('PHPUNIT_PRETTY_PRINT_PROGRESS=true'); 94 | 95 | $lines = array_slice($this->getOutput(), 4, 15); 96 | $count = count($lines); 97 | 98 | foreach ($lines as $index => $line) { 99 | $this->assertStringContainsString(vsprintf('%s/%s', [$index + 1, $count]), $line); 100 | } 101 | 102 | putenv('PHPUNIT_PRETTY_PRINT_PROGRESS=false'); 103 | } 104 | 105 | public function testItShowsDatasetName() 106 | { 107 | $lines = $this->getOutput(); 108 | 109 | $this->assertStringContainsString('✓ with named datasets [ dataset1 ]', $lines[16]); 110 | $this->assertStringContainsString('✓ with named datasets [ DataSet2 ]', $lines[17]); 111 | $this->assertStringContainsString('✓ with named datasets [ data set 3 ]', $lines[18]); 112 | } 113 | 114 | private function getOutput(): array 115 | { 116 | $command = [ 117 | "vendor/bin/phpunit", 118 | "tests/Output.php", 119 | "--printer 'Sempro\PHPUnitPrettyPrinter\PrettyPrinterForPhpUnit9'", 120 | ]; 121 | 122 | exec(implode(' ', $command), $out); 123 | 124 | return $out; 125 | } 126 | } 127 | --------------------------------------------------------------------------------