├── .github
└── workflows
│ └── phpci.yaml
├── .gitignore
├── Makefile
├── README.md
├── composer.json
├── composer.lock
├── phpcs.xml
├── phpunit.xml
├── src
└── Pairs.php
└── tests
└── PairsTest.php
/.github/workflows/phpci.yaml:
--------------------------------------------------------------------------------
1 | name: PHP CI
2 |
3 | on:
4 | - push
5 | - pull_request
6 |
7 | jobs:
8 | build:
9 | runs-on: ubuntu-latest
10 |
11 | strategy:
12 | matrix:
13 | php-versions: ['7.4', '8.1']
14 |
15 | steps:
16 | - uses: actions/checkout@v2
17 |
18 | - name: Set up PHP ${{ matrix.php-versions }}
19 | uses: shivammathur/setup-php@v2
20 | with:
21 | php-version: ${{ matrix.php-versions }}
22 |
23 | - name: Install
24 | run: make install
25 |
26 | - name: Check lint
27 | run: make lint
28 |
29 | - name: Execute tests
30 | run: make test
31 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | vendor
2 | *.cache
3 |
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | install:
2 | composer install
3 |
4 | test:
5 | composer phpunit tests
6 |
7 | lint:
8 | composer phpcs src tests
9 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # php-pairs
2 |
3 | [](../../actions)
4 |
5 | Functions for working with Pairs.
6 |
7 | ## Examples
8 |
9 | ```php
10 | =7.4 || >=8.1"
18 | },
19 | "autoload": {
20 | "files": [
21 | "src/Pairs.php"
22 | ]
23 | },
24 | "require-dev": {
25 | "phpunit/phpunit": "^9.5",
26 | "squizlabs/php_codesniffer": "^3.6"
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/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": "4942c8788fbf9a34d5232313dbc8307e",
8 | "packages": [],
9 | "packages-dev": [
10 | {
11 | "name": "doctrine/instantiator",
12 | "version": "1.4.0",
13 | "source": {
14 | "type": "git",
15 | "url": "https://github.com/doctrine/instantiator.git",
16 | "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b"
17 | },
18 | "dist": {
19 | "type": "zip",
20 | "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b",
21 | "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b",
22 | "shasum": ""
23 | },
24 | "require": {
25 | "php": "^7.1 || ^8.0"
26 | },
27 | "require-dev": {
28 | "doctrine/coding-standard": "^8.0",
29 | "ext-pdo": "*",
30 | "ext-phar": "*",
31 | "phpbench/phpbench": "^0.13 || 1.0.0-alpha2",
32 | "phpstan/phpstan": "^0.12",
33 | "phpstan/phpstan-phpunit": "^0.12",
34 | "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
35 | },
36 | "type": "library",
37 | "autoload": {
38 | "psr-4": {
39 | "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
40 | }
41 | },
42 | "notification-url": "https://packagist.org/downloads/",
43 | "license": [
44 | "MIT"
45 | ],
46 | "authors": [
47 | {
48 | "name": "Marco Pivetta",
49 | "email": "ocramius@gmail.com",
50 | "homepage": "https://ocramius.github.io/"
51 | }
52 | ],
53 | "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
54 | "homepage": "https://www.doctrine-project.org/projects/instantiator.html",
55 | "keywords": [
56 | "constructor",
57 | "instantiate"
58 | ],
59 | "support": {
60 | "issues": "https://github.com/doctrine/instantiator/issues",
61 | "source": "https://github.com/doctrine/instantiator/tree/1.4.0"
62 | },
63 | "funding": [
64 | {
65 | "url": "https://www.doctrine-project.org/sponsorship.html",
66 | "type": "custom"
67 | },
68 | {
69 | "url": "https://www.patreon.com/phpdoctrine",
70 | "type": "patreon"
71 | },
72 | {
73 | "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
74 | "type": "tidelift"
75 | }
76 | ],
77 | "time": "2020-11-10T18:47:58+00:00"
78 | },
79 | {
80 | "name": "myclabs/deep-copy",
81 | "version": "1.10.2",
82 | "source": {
83 | "type": "git",
84 | "url": "https://github.com/myclabs/DeepCopy.git",
85 | "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220"
86 | },
87 | "dist": {
88 | "type": "zip",
89 | "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220",
90 | "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220",
91 | "shasum": ""
92 | },
93 | "require": {
94 | "php": "^7.1 || ^8.0"
95 | },
96 | "require-dev": {
97 | "doctrine/collections": "^1.0",
98 | "doctrine/common": "^2.6",
99 | "phpunit/phpunit": "^7.1"
100 | },
101 | "type": "library",
102 | "autoload": {
103 | "psr-4": {
104 | "DeepCopy\\": "src/DeepCopy/"
105 | },
106 | "files": [
107 | "src/DeepCopy/deep_copy.php"
108 | ]
109 | },
110 | "notification-url": "https://packagist.org/downloads/",
111 | "license": [
112 | "MIT"
113 | ],
114 | "description": "Create deep copies (clones) of your objects",
115 | "keywords": [
116 | "clone",
117 | "copy",
118 | "duplicate",
119 | "object",
120 | "object graph"
121 | ],
122 | "support": {
123 | "issues": "https://github.com/myclabs/DeepCopy/issues",
124 | "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2"
125 | },
126 | "funding": [
127 | {
128 | "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
129 | "type": "tidelift"
130 | }
131 | ],
132 | "time": "2020-11-13T09:40:50+00:00"
133 | },
134 | {
135 | "name": "nikic/php-parser",
136 | "version": "v4.13.2",
137 | "source": {
138 | "type": "git",
139 | "url": "https://github.com/nikic/PHP-Parser.git",
140 | "reference": "210577fe3cf7badcc5814d99455df46564f3c077"
141 | },
142 | "dist": {
143 | "type": "zip",
144 | "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/210577fe3cf7badcc5814d99455df46564f3c077",
145 | "reference": "210577fe3cf7badcc5814d99455df46564f3c077",
146 | "shasum": ""
147 | },
148 | "require": {
149 | "ext-tokenizer": "*",
150 | "php": ">=7.0"
151 | },
152 | "require-dev": {
153 | "ircmaxell/php-yacc": "^0.0.7",
154 | "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"
155 | },
156 | "bin": [
157 | "bin/php-parse"
158 | ],
159 | "type": "library",
160 | "extra": {
161 | "branch-alias": {
162 | "dev-master": "4.9-dev"
163 | }
164 | },
165 | "autoload": {
166 | "psr-4": {
167 | "PhpParser\\": "lib/PhpParser"
168 | }
169 | },
170 | "notification-url": "https://packagist.org/downloads/",
171 | "license": [
172 | "BSD-3-Clause"
173 | ],
174 | "authors": [
175 | {
176 | "name": "Nikita Popov"
177 | }
178 | ],
179 | "description": "A PHP parser written in PHP",
180 | "keywords": [
181 | "parser",
182 | "php"
183 | ],
184 | "support": {
185 | "issues": "https://github.com/nikic/PHP-Parser/issues",
186 | "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.2"
187 | },
188 | "time": "2021-11-30T19:35:32+00:00"
189 | },
190 | {
191 | "name": "phar-io/manifest",
192 | "version": "2.0.3",
193 | "source": {
194 | "type": "git",
195 | "url": "https://github.com/phar-io/manifest.git",
196 | "reference": "97803eca37d319dfa7826cc2437fc020857acb53"
197 | },
198 | "dist": {
199 | "type": "zip",
200 | "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53",
201 | "reference": "97803eca37d319dfa7826cc2437fc020857acb53",
202 | "shasum": ""
203 | },
204 | "require": {
205 | "ext-dom": "*",
206 | "ext-phar": "*",
207 | "ext-xmlwriter": "*",
208 | "phar-io/version": "^3.0.1",
209 | "php": "^7.2 || ^8.0"
210 | },
211 | "type": "library",
212 | "extra": {
213 | "branch-alias": {
214 | "dev-master": "2.0.x-dev"
215 | }
216 | },
217 | "autoload": {
218 | "classmap": [
219 | "src/"
220 | ]
221 | },
222 | "notification-url": "https://packagist.org/downloads/",
223 | "license": [
224 | "BSD-3-Clause"
225 | ],
226 | "authors": [
227 | {
228 | "name": "Arne Blankerts",
229 | "email": "arne@blankerts.de",
230 | "role": "Developer"
231 | },
232 | {
233 | "name": "Sebastian Heuer",
234 | "email": "sebastian@phpeople.de",
235 | "role": "Developer"
236 | },
237 | {
238 | "name": "Sebastian Bergmann",
239 | "email": "sebastian@phpunit.de",
240 | "role": "Developer"
241 | }
242 | ],
243 | "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
244 | "support": {
245 | "issues": "https://github.com/phar-io/manifest/issues",
246 | "source": "https://github.com/phar-io/manifest/tree/2.0.3"
247 | },
248 | "time": "2021-07-20T11:28:43+00:00"
249 | },
250 | {
251 | "name": "phar-io/version",
252 | "version": "3.1.0",
253 | "source": {
254 | "type": "git",
255 | "url": "https://github.com/phar-io/version.git",
256 | "reference": "bae7c545bef187884426f042434e561ab1ddb182"
257 | },
258 | "dist": {
259 | "type": "zip",
260 | "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182",
261 | "reference": "bae7c545bef187884426f042434e561ab1ddb182",
262 | "shasum": ""
263 | },
264 | "require": {
265 | "php": "^7.2 || ^8.0"
266 | },
267 | "type": "library",
268 | "autoload": {
269 | "classmap": [
270 | "src/"
271 | ]
272 | },
273 | "notification-url": "https://packagist.org/downloads/",
274 | "license": [
275 | "BSD-3-Clause"
276 | ],
277 | "authors": [
278 | {
279 | "name": "Arne Blankerts",
280 | "email": "arne@blankerts.de",
281 | "role": "Developer"
282 | },
283 | {
284 | "name": "Sebastian Heuer",
285 | "email": "sebastian@phpeople.de",
286 | "role": "Developer"
287 | },
288 | {
289 | "name": "Sebastian Bergmann",
290 | "email": "sebastian@phpunit.de",
291 | "role": "Developer"
292 | }
293 | ],
294 | "description": "Library for handling version information and constraints",
295 | "support": {
296 | "issues": "https://github.com/phar-io/version/issues",
297 | "source": "https://github.com/phar-io/version/tree/3.1.0"
298 | },
299 | "time": "2021-02-23T14:00:09+00:00"
300 | },
301 | {
302 | "name": "phpdocumentor/reflection-common",
303 | "version": "2.2.0",
304 | "source": {
305 | "type": "git",
306 | "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
307 | "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b"
308 | },
309 | "dist": {
310 | "type": "zip",
311 | "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b",
312 | "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b",
313 | "shasum": ""
314 | },
315 | "require": {
316 | "php": "^7.2 || ^8.0"
317 | },
318 | "type": "library",
319 | "extra": {
320 | "branch-alias": {
321 | "dev-2.x": "2.x-dev"
322 | }
323 | },
324 | "autoload": {
325 | "psr-4": {
326 | "phpDocumentor\\Reflection\\": "src/"
327 | }
328 | },
329 | "notification-url": "https://packagist.org/downloads/",
330 | "license": [
331 | "MIT"
332 | ],
333 | "authors": [
334 | {
335 | "name": "Jaap van Otterdijk",
336 | "email": "opensource@ijaap.nl"
337 | }
338 | ],
339 | "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
340 | "homepage": "http://www.phpdoc.org",
341 | "keywords": [
342 | "FQSEN",
343 | "phpDocumentor",
344 | "phpdoc",
345 | "reflection",
346 | "static analysis"
347 | ],
348 | "support": {
349 | "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues",
350 | "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x"
351 | },
352 | "time": "2020-06-27T09:03:43+00:00"
353 | },
354 | {
355 | "name": "phpdocumentor/reflection-docblock",
356 | "version": "5.3.0",
357 | "source": {
358 | "type": "git",
359 | "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
360 | "reference": "622548b623e81ca6d78b721c5e029f4ce664f170"
361 | },
362 | "dist": {
363 | "type": "zip",
364 | "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170",
365 | "reference": "622548b623e81ca6d78b721c5e029f4ce664f170",
366 | "shasum": ""
367 | },
368 | "require": {
369 | "ext-filter": "*",
370 | "php": "^7.2 || ^8.0",
371 | "phpdocumentor/reflection-common": "^2.2",
372 | "phpdocumentor/type-resolver": "^1.3",
373 | "webmozart/assert": "^1.9.1"
374 | },
375 | "require-dev": {
376 | "mockery/mockery": "~1.3.2",
377 | "psalm/phar": "^4.8"
378 | },
379 | "type": "library",
380 | "extra": {
381 | "branch-alias": {
382 | "dev-master": "5.x-dev"
383 | }
384 | },
385 | "autoload": {
386 | "psr-4": {
387 | "phpDocumentor\\Reflection\\": "src"
388 | }
389 | },
390 | "notification-url": "https://packagist.org/downloads/",
391 | "license": [
392 | "MIT"
393 | ],
394 | "authors": [
395 | {
396 | "name": "Mike van Riel",
397 | "email": "me@mikevanriel.com"
398 | },
399 | {
400 | "name": "Jaap van Otterdijk",
401 | "email": "account@ijaap.nl"
402 | }
403 | ],
404 | "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
405 | "support": {
406 | "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
407 | "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0"
408 | },
409 | "time": "2021-10-19T17:43:47+00:00"
410 | },
411 | {
412 | "name": "phpdocumentor/type-resolver",
413 | "version": "1.6.0",
414 | "source": {
415 | "type": "git",
416 | "url": "https://github.com/phpDocumentor/TypeResolver.git",
417 | "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706"
418 | },
419 | "dist": {
420 | "type": "zip",
421 | "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/93ebd0014cab80c4ea9f5e297ea48672f1b87706",
422 | "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706",
423 | "shasum": ""
424 | },
425 | "require": {
426 | "php": "^7.2 || ^8.0",
427 | "phpdocumentor/reflection-common": "^2.0"
428 | },
429 | "require-dev": {
430 | "ext-tokenizer": "*",
431 | "psalm/phar": "^4.8"
432 | },
433 | "type": "library",
434 | "extra": {
435 | "branch-alias": {
436 | "dev-1.x": "1.x-dev"
437 | }
438 | },
439 | "autoload": {
440 | "psr-4": {
441 | "phpDocumentor\\Reflection\\": "src"
442 | }
443 | },
444 | "notification-url": "https://packagist.org/downloads/",
445 | "license": [
446 | "MIT"
447 | ],
448 | "authors": [
449 | {
450 | "name": "Mike van Riel",
451 | "email": "me@mikevanriel.com"
452 | }
453 | ],
454 | "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
455 | "support": {
456 | "issues": "https://github.com/phpDocumentor/TypeResolver/issues",
457 | "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.0"
458 | },
459 | "time": "2022-01-04T19:58:01+00:00"
460 | },
461 | {
462 | "name": "phpspec/prophecy",
463 | "version": "v1.15.0",
464 | "source": {
465 | "type": "git",
466 | "url": "https://github.com/phpspec/prophecy.git",
467 | "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13"
468 | },
469 | "dist": {
470 | "type": "zip",
471 | "url": "https://api.github.com/repos/phpspec/prophecy/zipball/bbcd7380b0ebf3961ee21409db7b38bc31d69a13",
472 | "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13",
473 | "shasum": ""
474 | },
475 | "require": {
476 | "doctrine/instantiator": "^1.2",
477 | "php": "^7.2 || ~8.0, <8.2",
478 | "phpdocumentor/reflection-docblock": "^5.2",
479 | "sebastian/comparator": "^3.0 || ^4.0",
480 | "sebastian/recursion-context": "^3.0 || ^4.0"
481 | },
482 | "require-dev": {
483 | "phpspec/phpspec": "^6.0 || ^7.0",
484 | "phpunit/phpunit": "^8.0 || ^9.0"
485 | },
486 | "type": "library",
487 | "extra": {
488 | "branch-alias": {
489 | "dev-master": "1.x-dev"
490 | }
491 | },
492 | "autoload": {
493 | "psr-4": {
494 | "Prophecy\\": "src/Prophecy"
495 | }
496 | },
497 | "notification-url": "https://packagist.org/downloads/",
498 | "license": [
499 | "MIT"
500 | ],
501 | "authors": [
502 | {
503 | "name": "Konstantin Kudryashov",
504 | "email": "ever.zet@gmail.com",
505 | "homepage": "http://everzet.com"
506 | },
507 | {
508 | "name": "Marcello Duarte",
509 | "email": "marcello.duarte@gmail.com"
510 | }
511 | ],
512 | "description": "Highly opinionated mocking framework for PHP 5.3+",
513 | "homepage": "https://github.com/phpspec/prophecy",
514 | "keywords": [
515 | "Double",
516 | "Dummy",
517 | "fake",
518 | "mock",
519 | "spy",
520 | "stub"
521 | ],
522 | "support": {
523 | "issues": "https://github.com/phpspec/prophecy/issues",
524 | "source": "https://github.com/phpspec/prophecy/tree/v1.15.0"
525 | },
526 | "time": "2021-12-08T12:19:24+00:00"
527 | },
528 | {
529 | "name": "phpunit/php-code-coverage",
530 | "version": "9.2.10",
531 | "source": {
532 | "type": "git",
533 | "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
534 | "reference": "d5850aaf931743067f4bfc1ae4cbd06468400687"
535 | },
536 | "dist": {
537 | "type": "zip",
538 | "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d5850aaf931743067f4bfc1ae4cbd06468400687",
539 | "reference": "d5850aaf931743067f4bfc1ae4cbd06468400687",
540 | "shasum": ""
541 | },
542 | "require": {
543 | "ext-dom": "*",
544 | "ext-libxml": "*",
545 | "ext-xmlwriter": "*",
546 | "nikic/php-parser": "^4.13.0",
547 | "php": ">=7.3",
548 | "phpunit/php-file-iterator": "^3.0.3",
549 | "phpunit/php-text-template": "^2.0.2",
550 | "sebastian/code-unit-reverse-lookup": "^2.0.2",
551 | "sebastian/complexity": "^2.0",
552 | "sebastian/environment": "^5.1.2",
553 | "sebastian/lines-of-code": "^1.0.3",
554 | "sebastian/version": "^3.0.1",
555 | "theseer/tokenizer": "^1.2.0"
556 | },
557 | "require-dev": {
558 | "phpunit/phpunit": "^9.3"
559 | },
560 | "suggest": {
561 | "ext-pcov": "*",
562 | "ext-xdebug": "*"
563 | },
564 | "type": "library",
565 | "extra": {
566 | "branch-alias": {
567 | "dev-master": "9.2-dev"
568 | }
569 | },
570 | "autoload": {
571 | "classmap": [
572 | "src/"
573 | ]
574 | },
575 | "notification-url": "https://packagist.org/downloads/",
576 | "license": [
577 | "BSD-3-Clause"
578 | ],
579 | "authors": [
580 | {
581 | "name": "Sebastian Bergmann",
582 | "email": "sebastian@phpunit.de",
583 | "role": "lead"
584 | }
585 | ],
586 | "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
587 | "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
588 | "keywords": [
589 | "coverage",
590 | "testing",
591 | "xunit"
592 | ],
593 | "support": {
594 | "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
595 | "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.10"
596 | },
597 | "funding": [
598 | {
599 | "url": "https://github.com/sebastianbergmann",
600 | "type": "github"
601 | }
602 | ],
603 | "time": "2021-12-05T09:12:13+00:00"
604 | },
605 | {
606 | "name": "phpunit/php-file-iterator",
607 | "version": "3.0.6",
608 | "source": {
609 | "type": "git",
610 | "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
611 | "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf"
612 | },
613 | "dist": {
614 | "type": "zip",
615 | "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf",
616 | "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf",
617 | "shasum": ""
618 | },
619 | "require": {
620 | "php": ">=7.3"
621 | },
622 | "require-dev": {
623 | "phpunit/phpunit": "^9.3"
624 | },
625 | "type": "library",
626 | "extra": {
627 | "branch-alias": {
628 | "dev-master": "3.0-dev"
629 | }
630 | },
631 | "autoload": {
632 | "classmap": [
633 | "src/"
634 | ]
635 | },
636 | "notification-url": "https://packagist.org/downloads/",
637 | "license": [
638 | "BSD-3-Clause"
639 | ],
640 | "authors": [
641 | {
642 | "name": "Sebastian Bergmann",
643 | "email": "sebastian@phpunit.de",
644 | "role": "lead"
645 | }
646 | ],
647 | "description": "FilterIterator implementation that filters files based on a list of suffixes.",
648 | "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
649 | "keywords": [
650 | "filesystem",
651 | "iterator"
652 | ],
653 | "support": {
654 | "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
655 | "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6"
656 | },
657 | "funding": [
658 | {
659 | "url": "https://github.com/sebastianbergmann",
660 | "type": "github"
661 | }
662 | ],
663 | "time": "2021-12-02T12:48:52+00:00"
664 | },
665 | {
666 | "name": "phpunit/php-invoker",
667 | "version": "3.1.1",
668 | "source": {
669 | "type": "git",
670 | "url": "https://github.com/sebastianbergmann/php-invoker.git",
671 | "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67"
672 | },
673 | "dist": {
674 | "type": "zip",
675 | "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
676 | "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
677 | "shasum": ""
678 | },
679 | "require": {
680 | "php": ">=7.3"
681 | },
682 | "require-dev": {
683 | "ext-pcntl": "*",
684 | "phpunit/phpunit": "^9.3"
685 | },
686 | "suggest": {
687 | "ext-pcntl": "*"
688 | },
689 | "type": "library",
690 | "extra": {
691 | "branch-alias": {
692 | "dev-master": "3.1-dev"
693 | }
694 | },
695 | "autoload": {
696 | "classmap": [
697 | "src/"
698 | ]
699 | },
700 | "notification-url": "https://packagist.org/downloads/",
701 | "license": [
702 | "BSD-3-Clause"
703 | ],
704 | "authors": [
705 | {
706 | "name": "Sebastian Bergmann",
707 | "email": "sebastian@phpunit.de",
708 | "role": "lead"
709 | }
710 | ],
711 | "description": "Invoke callables with a timeout",
712 | "homepage": "https://github.com/sebastianbergmann/php-invoker/",
713 | "keywords": [
714 | "process"
715 | ],
716 | "support": {
717 | "issues": "https://github.com/sebastianbergmann/php-invoker/issues",
718 | "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1"
719 | },
720 | "funding": [
721 | {
722 | "url": "https://github.com/sebastianbergmann",
723 | "type": "github"
724 | }
725 | ],
726 | "time": "2020-09-28T05:58:55+00:00"
727 | },
728 | {
729 | "name": "phpunit/php-text-template",
730 | "version": "2.0.4",
731 | "source": {
732 | "type": "git",
733 | "url": "https://github.com/sebastianbergmann/php-text-template.git",
734 | "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28"
735 | },
736 | "dist": {
737 | "type": "zip",
738 | "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
739 | "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
740 | "shasum": ""
741 | },
742 | "require": {
743 | "php": ">=7.3"
744 | },
745 | "require-dev": {
746 | "phpunit/phpunit": "^9.3"
747 | },
748 | "type": "library",
749 | "extra": {
750 | "branch-alias": {
751 | "dev-master": "2.0-dev"
752 | }
753 | },
754 | "autoload": {
755 | "classmap": [
756 | "src/"
757 | ]
758 | },
759 | "notification-url": "https://packagist.org/downloads/",
760 | "license": [
761 | "BSD-3-Clause"
762 | ],
763 | "authors": [
764 | {
765 | "name": "Sebastian Bergmann",
766 | "email": "sebastian@phpunit.de",
767 | "role": "lead"
768 | }
769 | ],
770 | "description": "Simple template engine.",
771 | "homepage": "https://github.com/sebastianbergmann/php-text-template/",
772 | "keywords": [
773 | "template"
774 | ],
775 | "support": {
776 | "issues": "https://github.com/sebastianbergmann/php-text-template/issues",
777 | "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4"
778 | },
779 | "funding": [
780 | {
781 | "url": "https://github.com/sebastianbergmann",
782 | "type": "github"
783 | }
784 | ],
785 | "time": "2020-10-26T05:33:50+00:00"
786 | },
787 | {
788 | "name": "phpunit/php-timer",
789 | "version": "5.0.3",
790 | "source": {
791 | "type": "git",
792 | "url": "https://github.com/sebastianbergmann/php-timer.git",
793 | "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2"
794 | },
795 | "dist": {
796 | "type": "zip",
797 | "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
798 | "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
799 | "shasum": ""
800 | },
801 | "require": {
802 | "php": ">=7.3"
803 | },
804 | "require-dev": {
805 | "phpunit/phpunit": "^9.3"
806 | },
807 | "type": "library",
808 | "extra": {
809 | "branch-alias": {
810 | "dev-master": "5.0-dev"
811 | }
812 | },
813 | "autoload": {
814 | "classmap": [
815 | "src/"
816 | ]
817 | },
818 | "notification-url": "https://packagist.org/downloads/",
819 | "license": [
820 | "BSD-3-Clause"
821 | ],
822 | "authors": [
823 | {
824 | "name": "Sebastian Bergmann",
825 | "email": "sebastian@phpunit.de",
826 | "role": "lead"
827 | }
828 | ],
829 | "description": "Utility class for timing",
830 | "homepage": "https://github.com/sebastianbergmann/php-timer/",
831 | "keywords": [
832 | "timer"
833 | ],
834 | "support": {
835 | "issues": "https://github.com/sebastianbergmann/php-timer/issues",
836 | "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3"
837 | },
838 | "funding": [
839 | {
840 | "url": "https://github.com/sebastianbergmann",
841 | "type": "github"
842 | }
843 | ],
844 | "time": "2020-10-26T13:16:10+00:00"
845 | },
846 | {
847 | "name": "phpunit/phpunit",
848 | "version": "9.5.11",
849 | "source": {
850 | "type": "git",
851 | "url": "https://github.com/sebastianbergmann/phpunit.git",
852 | "reference": "2406855036db1102126125537adb1406f7242fdd"
853 | },
854 | "dist": {
855 | "type": "zip",
856 | "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2406855036db1102126125537adb1406f7242fdd",
857 | "reference": "2406855036db1102126125537adb1406f7242fdd",
858 | "shasum": ""
859 | },
860 | "require": {
861 | "doctrine/instantiator": "^1.3.1",
862 | "ext-dom": "*",
863 | "ext-json": "*",
864 | "ext-libxml": "*",
865 | "ext-mbstring": "*",
866 | "ext-xml": "*",
867 | "ext-xmlwriter": "*",
868 | "myclabs/deep-copy": "^1.10.1",
869 | "phar-io/manifest": "^2.0.3",
870 | "phar-io/version": "^3.0.2",
871 | "php": ">=7.3",
872 | "phpspec/prophecy": "^1.12.1",
873 | "phpunit/php-code-coverage": "^9.2.7",
874 | "phpunit/php-file-iterator": "^3.0.5",
875 | "phpunit/php-invoker": "^3.1.1",
876 | "phpunit/php-text-template": "^2.0.3",
877 | "phpunit/php-timer": "^5.0.2",
878 | "sebastian/cli-parser": "^1.0.1",
879 | "sebastian/code-unit": "^1.0.6",
880 | "sebastian/comparator": "^4.0.5",
881 | "sebastian/diff": "^4.0.3",
882 | "sebastian/environment": "^5.1.3",
883 | "sebastian/exporter": "^4.0.3",
884 | "sebastian/global-state": "^5.0.1",
885 | "sebastian/object-enumerator": "^4.0.3",
886 | "sebastian/resource-operations": "^3.0.3",
887 | "sebastian/type": "^2.3.4",
888 | "sebastian/version": "^3.0.2"
889 | },
890 | "require-dev": {
891 | "ext-pdo": "*",
892 | "phpspec/prophecy-phpunit": "^2.0.1"
893 | },
894 | "suggest": {
895 | "ext-soap": "*",
896 | "ext-xdebug": "*"
897 | },
898 | "bin": [
899 | "phpunit"
900 | ],
901 | "type": "library",
902 | "extra": {
903 | "branch-alias": {
904 | "dev-master": "9.5-dev"
905 | }
906 | },
907 | "autoload": {
908 | "classmap": [
909 | "src/"
910 | ],
911 | "files": [
912 | "src/Framework/Assert/Functions.php"
913 | ]
914 | },
915 | "notification-url": "https://packagist.org/downloads/",
916 | "license": [
917 | "BSD-3-Clause"
918 | ],
919 | "authors": [
920 | {
921 | "name": "Sebastian Bergmann",
922 | "email": "sebastian@phpunit.de",
923 | "role": "lead"
924 | }
925 | ],
926 | "description": "The PHP Unit Testing framework.",
927 | "homepage": "https://phpunit.de/",
928 | "keywords": [
929 | "phpunit",
930 | "testing",
931 | "xunit"
932 | ],
933 | "support": {
934 | "issues": "https://github.com/sebastianbergmann/phpunit/issues",
935 | "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.11"
936 | },
937 | "funding": [
938 | {
939 | "url": "https://phpunit.de/sponsors.html",
940 | "type": "custom"
941 | },
942 | {
943 | "url": "https://github.com/sebastianbergmann",
944 | "type": "github"
945 | }
946 | ],
947 | "time": "2021-12-25T07:07:57+00:00"
948 | },
949 | {
950 | "name": "sebastian/cli-parser",
951 | "version": "1.0.1",
952 | "source": {
953 | "type": "git",
954 | "url": "https://github.com/sebastianbergmann/cli-parser.git",
955 | "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2"
956 | },
957 | "dist": {
958 | "type": "zip",
959 | "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2",
960 | "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2",
961 | "shasum": ""
962 | },
963 | "require": {
964 | "php": ">=7.3"
965 | },
966 | "require-dev": {
967 | "phpunit/phpunit": "^9.3"
968 | },
969 | "type": "library",
970 | "extra": {
971 | "branch-alias": {
972 | "dev-master": "1.0-dev"
973 | }
974 | },
975 | "autoload": {
976 | "classmap": [
977 | "src/"
978 | ]
979 | },
980 | "notification-url": "https://packagist.org/downloads/",
981 | "license": [
982 | "BSD-3-Clause"
983 | ],
984 | "authors": [
985 | {
986 | "name": "Sebastian Bergmann",
987 | "email": "sebastian@phpunit.de",
988 | "role": "lead"
989 | }
990 | ],
991 | "description": "Library for parsing CLI options",
992 | "homepage": "https://github.com/sebastianbergmann/cli-parser",
993 | "support": {
994 | "issues": "https://github.com/sebastianbergmann/cli-parser/issues",
995 | "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1"
996 | },
997 | "funding": [
998 | {
999 | "url": "https://github.com/sebastianbergmann",
1000 | "type": "github"
1001 | }
1002 | ],
1003 | "time": "2020-09-28T06:08:49+00:00"
1004 | },
1005 | {
1006 | "name": "sebastian/code-unit",
1007 | "version": "1.0.8",
1008 | "source": {
1009 | "type": "git",
1010 | "url": "https://github.com/sebastianbergmann/code-unit.git",
1011 | "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120"
1012 | },
1013 | "dist": {
1014 | "type": "zip",
1015 | "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120",
1016 | "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120",
1017 | "shasum": ""
1018 | },
1019 | "require": {
1020 | "php": ">=7.3"
1021 | },
1022 | "require-dev": {
1023 | "phpunit/phpunit": "^9.3"
1024 | },
1025 | "type": "library",
1026 | "extra": {
1027 | "branch-alias": {
1028 | "dev-master": "1.0-dev"
1029 | }
1030 | },
1031 | "autoload": {
1032 | "classmap": [
1033 | "src/"
1034 | ]
1035 | },
1036 | "notification-url": "https://packagist.org/downloads/",
1037 | "license": [
1038 | "BSD-3-Clause"
1039 | ],
1040 | "authors": [
1041 | {
1042 | "name": "Sebastian Bergmann",
1043 | "email": "sebastian@phpunit.de",
1044 | "role": "lead"
1045 | }
1046 | ],
1047 | "description": "Collection of value objects that represent the PHP code units",
1048 | "homepage": "https://github.com/sebastianbergmann/code-unit",
1049 | "support": {
1050 | "issues": "https://github.com/sebastianbergmann/code-unit/issues",
1051 | "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8"
1052 | },
1053 | "funding": [
1054 | {
1055 | "url": "https://github.com/sebastianbergmann",
1056 | "type": "github"
1057 | }
1058 | ],
1059 | "time": "2020-10-26T13:08:54+00:00"
1060 | },
1061 | {
1062 | "name": "sebastian/code-unit-reverse-lookup",
1063 | "version": "2.0.3",
1064 | "source": {
1065 | "type": "git",
1066 | "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
1067 | "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5"
1068 | },
1069 | "dist": {
1070 | "type": "zip",
1071 | "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
1072 | "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
1073 | "shasum": ""
1074 | },
1075 | "require": {
1076 | "php": ">=7.3"
1077 | },
1078 | "require-dev": {
1079 | "phpunit/phpunit": "^9.3"
1080 | },
1081 | "type": "library",
1082 | "extra": {
1083 | "branch-alias": {
1084 | "dev-master": "2.0-dev"
1085 | }
1086 | },
1087 | "autoload": {
1088 | "classmap": [
1089 | "src/"
1090 | ]
1091 | },
1092 | "notification-url": "https://packagist.org/downloads/",
1093 | "license": [
1094 | "BSD-3-Clause"
1095 | ],
1096 | "authors": [
1097 | {
1098 | "name": "Sebastian Bergmann",
1099 | "email": "sebastian@phpunit.de"
1100 | }
1101 | ],
1102 | "description": "Looks up which function or method a line of code belongs to",
1103 | "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
1104 | "support": {
1105 | "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
1106 | "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3"
1107 | },
1108 | "funding": [
1109 | {
1110 | "url": "https://github.com/sebastianbergmann",
1111 | "type": "github"
1112 | }
1113 | ],
1114 | "time": "2020-09-28T05:30:19+00:00"
1115 | },
1116 | {
1117 | "name": "sebastian/comparator",
1118 | "version": "4.0.6",
1119 | "source": {
1120 | "type": "git",
1121 | "url": "https://github.com/sebastianbergmann/comparator.git",
1122 | "reference": "55f4261989e546dc112258c7a75935a81a7ce382"
1123 | },
1124 | "dist": {
1125 | "type": "zip",
1126 | "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382",
1127 | "reference": "55f4261989e546dc112258c7a75935a81a7ce382",
1128 | "shasum": ""
1129 | },
1130 | "require": {
1131 | "php": ">=7.3",
1132 | "sebastian/diff": "^4.0",
1133 | "sebastian/exporter": "^4.0"
1134 | },
1135 | "require-dev": {
1136 | "phpunit/phpunit": "^9.3"
1137 | },
1138 | "type": "library",
1139 | "extra": {
1140 | "branch-alias": {
1141 | "dev-master": "4.0-dev"
1142 | }
1143 | },
1144 | "autoload": {
1145 | "classmap": [
1146 | "src/"
1147 | ]
1148 | },
1149 | "notification-url": "https://packagist.org/downloads/",
1150 | "license": [
1151 | "BSD-3-Clause"
1152 | ],
1153 | "authors": [
1154 | {
1155 | "name": "Sebastian Bergmann",
1156 | "email": "sebastian@phpunit.de"
1157 | },
1158 | {
1159 | "name": "Jeff Welch",
1160 | "email": "whatthejeff@gmail.com"
1161 | },
1162 | {
1163 | "name": "Volker Dusch",
1164 | "email": "github@wallbash.com"
1165 | },
1166 | {
1167 | "name": "Bernhard Schussek",
1168 | "email": "bschussek@2bepublished.at"
1169 | }
1170 | ],
1171 | "description": "Provides the functionality to compare PHP values for equality",
1172 | "homepage": "https://github.com/sebastianbergmann/comparator",
1173 | "keywords": [
1174 | "comparator",
1175 | "compare",
1176 | "equality"
1177 | ],
1178 | "support": {
1179 | "issues": "https://github.com/sebastianbergmann/comparator/issues",
1180 | "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6"
1181 | },
1182 | "funding": [
1183 | {
1184 | "url": "https://github.com/sebastianbergmann",
1185 | "type": "github"
1186 | }
1187 | ],
1188 | "time": "2020-10-26T15:49:45+00:00"
1189 | },
1190 | {
1191 | "name": "sebastian/complexity",
1192 | "version": "2.0.2",
1193 | "source": {
1194 | "type": "git",
1195 | "url": "https://github.com/sebastianbergmann/complexity.git",
1196 | "reference": "739b35e53379900cc9ac327b2147867b8b6efd88"
1197 | },
1198 | "dist": {
1199 | "type": "zip",
1200 | "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88",
1201 | "reference": "739b35e53379900cc9ac327b2147867b8b6efd88",
1202 | "shasum": ""
1203 | },
1204 | "require": {
1205 | "nikic/php-parser": "^4.7",
1206 | "php": ">=7.3"
1207 | },
1208 | "require-dev": {
1209 | "phpunit/phpunit": "^9.3"
1210 | },
1211 | "type": "library",
1212 | "extra": {
1213 | "branch-alias": {
1214 | "dev-master": "2.0-dev"
1215 | }
1216 | },
1217 | "autoload": {
1218 | "classmap": [
1219 | "src/"
1220 | ]
1221 | },
1222 | "notification-url": "https://packagist.org/downloads/",
1223 | "license": [
1224 | "BSD-3-Clause"
1225 | ],
1226 | "authors": [
1227 | {
1228 | "name": "Sebastian Bergmann",
1229 | "email": "sebastian@phpunit.de",
1230 | "role": "lead"
1231 | }
1232 | ],
1233 | "description": "Library for calculating the complexity of PHP code units",
1234 | "homepage": "https://github.com/sebastianbergmann/complexity",
1235 | "support": {
1236 | "issues": "https://github.com/sebastianbergmann/complexity/issues",
1237 | "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2"
1238 | },
1239 | "funding": [
1240 | {
1241 | "url": "https://github.com/sebastianbergmann",
1242 | "type": "github"
1243 | }
1244 | ],
1245 | "time": "2020-10-26T15:52:27+00:00"
1246 | },
1247 | {
1248 | "name": "sebastian/diff",
1249 | "version": "4.0.4",
1250 | "source": {
1251 | "type": "git",
1252 | "url": "https://github.com/sebastianbergmann/diff.git",
1253 | "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d"
1254 | },
1255 | "dist": {
1256 | "type": "zip",
1257 | "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d",
1258 | "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d",
1259 | "shasum": ""
1260 | },
1261 | "require": {
1262 | "php": ">=7.3"
1263 | },
1264 | "require-dev": {
1265 | "phpunit/phpunit": "^9.3",
1266 | "symfony/process": "^4.2 || ^5"
1267 | },
1268 | "type": "library",
1269 | "extra": {
1270 | "branch-alias": {
1271 | "dev-master": "4.0-dev"
1272 | }
1273 | },
1274 | "autoload": {
1275 | "classmap": [
1276 | "src/"
1277 | ]
1278 | },
1279 | "notification-url": "https://packagist.org/downloads/",
1280 | "license": [
1281 | "BSD-3-Clause"
1282 | ],
1283 | "authors": [
1284 | {
1285 | "name": "Sebastian Bergmann",
1286 | "email": "sebastian@phpunit.de"
1287 | },
1288 | {
1289 | "name": "Kore Nordmann",
1290 | "email": "mail@kore-nordmann.de"
1291 | }
1292 | ],
1293 | "description": "Diff implementation",
1294 | "homepage": "https://github.com/sebastianbergmann/diff",
1295 | "keywords": [
1296 | "diff",
1297 | "udiff",
1298 | "unidiff",
1299 | "unified diff"
1300 | ],
1301 | "support": {
1302 | "issues": "https://github.com/sebastianbergmann/diff/issues",
1303 | "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4"
1304 | },
1305 | "funding": [
1306 | {
1307 | "url": "https://github.com/sebastianbergmann",
1308 | "type": "github"
1309 | }
1310 | ],
1311 | "time": "2020-10-26T13:10:38+00:00"
1312 | },
1313 | {
1314 | "name": "sebastian/environment",
1315 | "version": "5.1.3",
1316 | "source": {
1317 | "type": "git",
1318 | "url": "https://github.com/sebastianbergmann/environment.git",
1319 | "reference": "388b6ced16caa751030f6a69e588299fa09200ac"
1320 | },
1321 | "dist": {
1322 | "type": "zip",
1323 | "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/388b6ced16caa751030f6a69e588299fa09200ac",
1324 | "reference": "388b6ced16caa751030f6a69e588299fa09200ac",
1325 | "shasum": ""
1326 | },
1327 | "require": {
1328 | "php": ">=7.3"
1329 | },
1330 | "require-dev": {
1331 | "phpunit/phpunit": "^9.3"
1332 | },
1333 | "suggest": {
1334 | "ext-posix": "*"
1335 | },
1336 | "type": "library",
1337 | "extra": {
1338 | "branch-alias": {
1339 | "dev-master": "5.1-dev"
1340 | }
1341 | },
1342 | "autoload": {
1343 | "classmap": [
1344 | "src/"
1345 | ]
1346 | },
1347 | "notification-url": "https://packagist.org/downloads/",
1348 | "license": [
1349 | "BSD-3-Clause"
1350 | ],
1351 | "authors": [
1352 | {
1353 | "name": "Sebastian Bergmann",
1354 | "email": "sebastian@phpunit.de"
1355 | }
1356 | ],
1357 | "description": "Provides functionality to handle HHVM/PHP environments",
1358 | "homepage": "http://www.github.com/sebastianbergmann/environment",
1359 | "keywords": [
1360 | "Xdebug",
1361 | "environment",
1362 | "hhvm"
1363 | ],
1364 | "support": {
1365 | "issues": "https://github.com/sebastianbergmann/environment/issues",
1366 | "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3"
1367 | },
1368 | "funding": [
1369 | {
1370 | "url": "https://github.com/sebastianbergmann",
1371 | "type": "github"
1372 | }
1373 | ],
1374 | "time": "2020-09-28T05:52:38+00:00"
1375 | },
1376 | {
1377 | "name": "sebastian/exporter",
1378 | "version": "4.0.4",
1379 | "source": {
1380 | "type": "git",
1381 | "url": "https://github.com/sebastianbergmann/exporter.git",
1382 | "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9"
1383 | },
1384 | "dist": {
1385 | "type": "zip",
1386 | "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9",
1387 | "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9",
1388 | "shasum": ""
1389 | },
1390 | "require": {
1391 | "php": ">=7.3",
1392 | "sebastian/recursion-context": "^4.0"
1393 | },
1394 | "require-dev": {
1395 | "ext-mbstring": "*",
1396 | "phpunit/phpunit": "^9.3"
1397 | },
1398 | "type": "library",
1399 | "extra": {
1400 | "branch-alias": {
1401 | "dev-master": "4.0-dev"
1402 | }
1403 | },
1404 | "autoload": {
1405 | "classmap": [
1406 | "src/"
1407 | ]
1408 | },
1409 | "notification-url": "https://packagist.org/downloads/",
1410 | "license": [
1411 | "BSD-3-Clause"
1412 | ],
1413 | "authors": [
1414 | {
1415 | "name": "Sebastian Bergmann",
1416 | "email": "sebastian@phpunit.de"
1417 | },
1418 | {
1419 | "name": "Jeff Welch",
1420 | "email": "whatthejeff@gmail.com"
1421 | },
1422 | {
1423 | "name": "Volker Dusch",
1424 | "email": "github@wallbash.com"
1425 | },
1426 | {
1427 | "name": "Adam Harvey",
1428 | "email": "aharvey@php.net"
1429 | },
1430 | {
1431 | "name": "Bernhard Schussek",
1432 | "email": "bschussek@gmail.com"
1433 | }
1434 | ],
1435 | "description": "Provides the functionality to export PHP variables for visualization",
1436 | "homepage": "https://www.github.com/sebastianbergmann/exporter",
1437 | "keywords": [
1438 | "export",
1439 | "exporter"
1440 | ],
1441 | "support": {
1442 | "issues": "https://github.com/sebastianbergmann/exporter/issues",
1443 | "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4"
1444 | },
1445 | "funding": [
1446 | {
1447 | "url": "https://github.com/sebastianbergmann",
1448 | "type": "github"
1449 | }
1450 | ],
1451 | "time": "2021-11-11T14:18:36+00:00"
1452 | },
1453 | {
1454 | "name": "sebastian/global-state",
1455 | "version": "5.0.3",
1456 | "source": {
1457 | "type": "git",
1458 | "url": "https://github.com/sebastianbergmann/global-state.git",
1459 | "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49"
1460 | },
1461 | "dist": {
1462 | "type": "zip",
1463 | "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/23bd5951f7ff26f12d4e3242864df3e08dec4e49",
1464 | "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49",
1465 | "shasum": ""
1466 | },
1467 | "require": {
1468 | "php": ">=7.3",
1469 | "sebastian/object-reflector": "^2.0",
1470 | "sebastian/recursion-context": "^4.0"
1471 | },
1472 | "require-dev": {
1473 | "ext-dom": "*",
1474 | "phpunit/phpunit": "^9.3"
1475 | },
1476 | "suggest": {
1477 | "ext-uopz": "*"
1478 | },
1479 | "type": "library",
1480 | "extra": {
1481 | "branch-alias": {
1482 | "dev-master": "5.0-dev"
1483 | }
1484 | },
1485 | "autoload": {
1486 | "classmap": [
1487 | "src/"
1488 | ]
1489 | },
1490 | "notification-url": "https://packagist.org/downloads/",
1491 | "license": [
1492 | "BSD-3-Clause"
1493 | ],
1494 | "authors": [
1495 | {
1496 | "name": "Sebastian Bergmann",
1497 | "email": "sebastian@phpunit.de"
1498 | }
1499 | ],
1500 | "description": "Snapshotting of global state",
1501 | "homepage": "http://www.github.com/sebastianbergmann/global-state",
1502 | "keywords": [
1503 | "global state"
1504 | ],
1505 | "support": {
1506 | "issues": "https://github.com/sebastianbergmann/global-state/issues",
1507 | "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.3"
1508 | },
1509 | "funding": [
1510 | {
1511 | "url": "https://github.com/sebastianbergmann",
1512 | "type": "github"
1513 | }
1514 | ],
1515 | "time": "2021-06-11T13:31:12+00:00"
1516 | },
1517 | {
1518 | "name": "sebastian/lines-of-code",
1519 | "version": "1.0.3",
1520 | "source": {
1521 | "type": "git",
1522 | "url": "https://github.com/sebastianbergmann/lines-of-code.git",
1523 | "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc"
1524 | },
1525 | "dist": {
1526 | "type": "zip",
1527 | "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc",
1528 | "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc",
1529 | "shasum": ""
1530 | },
1531 | "require": {
1532 | "nikic/php-parser": "^4.6",
1533 | "php": ">=7.3"
1534 | },
1535 | "require-dev": {
1536 | "phpunit/phpunit": "^9.3"
1537 | },
1538 | "type": "library",
1539 | "extra": {
1540 | "branch-alias": {
1541 | "dev-master": "1.0-dev"
1542 | }
1543 | },
1544 | "autoload": {
1545 | "classmap": [
1546 | "src/"
1547 | ]
1548 | },
1549 | "notification-url": "https://packagist.org/downloads/",
1550 | "license": [
1551 | "BSD-3-Clause"
1552 | ],
1553 | "authors": [
1554 | {
1555 | "name": "Sebastian Bergmann",
1556 | "email": "sebastian@phpunit.de",
1557 | "role": "lead"
1558 | }
1559 | ],
1560 | "description": "Library for counting the lines of code in PHP source code",
1561 | "homepage": "https://github.com/sebastianbergmann/lines-of-code",
1562 | "support": {
1563 | "issues": "https://github.com/sebastianbergmann/lines-of-code/issues",
1564 | "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3"
1565 | },
1566 | "funding": [
1567 | {
1568 | "url": "https://github.com/sebastianbergmann",
1569 | "type": "github"
1570 | }
1571 | ],
1572 | "time": "2020-11-28T06:42:11+00:00"
1573 | },
1574 | {
1575 | "name": "sebastian/object-enumerator",
1576 | "version": "4.0.4",
1577 | "source": {
1578 | "type": "git",
1579 | "url": "https://github.com/sebastianbergmann/object-enumerator.git",
1580 | "reference": "5c9eeac41b290a3712d88851518825ad78f45c71"
1581 | },
1582 | "dist": {
1583 | "type": "zip",
1584 | "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71",
1585 | "reference": "5c9eeac41b290a3712d88851518825ad78f45c71",
1586 | "shasum": ""
1587 | },
1588 | "require": {
1589 | "php": ">=7.3",
1590 | "sebastian/object-reflector": "^2.0",
1591 | "sebastian/recursion-context": "^4.0"
1592 | },
1593 | "require-dev": {
1594 | "phpunit/phpunit": "^9.3"
1595 | },
1596 | "type": "library",
1597 | "extra": {
1598 | "branch-alias": {
1599 | "dev-master": "4.0-dev"
1600 | }
1601 | },
1602 | "autoload": {
1603 | "classmap": [
1604 | "src/"
1605 | ]
1606 | },
1607 | "notification-url": "https://packagist.org/downloads/",
1608 | "license": [
1609 | "BSD-3-Clause"
1610 | ],
1611 | "authors": [
1612 | {
1613 | "name": "Sebastian Bergmann",
1614 | "email": "sebastian@phpunit.de"
1615 | }
1616 | ],
1617 | "description": "Traverses array structures and object graphs to enumerate all referenced objects",
1618 | "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
1619 | "support": {
1620 | "issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
1621 | "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4"
1622 | },
1623 | "funding": [
1624 | {
1625 | "url": "https://github.com/sebastianbergmann",
1626 | "type": "github"
1627 | }
1628 | ],
1629 | "time": "2020-10-26T13:12:34+00:00"
1630 | },
1631 | {
1632 | "name": "sebastian/object-reflector",
1633 | "version": "2.0.4",
1634 | "source": {
1635 | "type": "git",
1636 | "url": "https://github.com/sebastianbergmann/object-reflector.git",
1637 | "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7"
1638 | },
1639 | "dist": {
1640 | "type": "zip",
1641 | "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
1642 | "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
1643 | "shasum": ""
1644 | },
1645 | "require": {
1646 | "php": ">=7.3"
1647 | },
1648 | "require-dev": {
1649 | "phpunit/phpunit": "^9.3"
1650 | },
1651 | "type": "library",
1652 | "extra": {
1653 | "branch-alias": {
1654 | "dev-master": "2.0-dev"
1655 | }
1656 | },
1657 | "autoload": {
1658 | "classmap": [
1659 | "src/"
1660 | ]
1661 | },
1662 | "notification-url": "https://packagist.org/downloads/",
1663 | "license": [
1664 | "BSD-3-Clause"
1665 | ],
1666 | "authors": [
1667 | {
1668 | "name": "Sebastian Bergmann",
1669 | "email": "sebastian@phpunit.de"
1670 | }
1671 | ],
1672 | "description": "Allows reflection of object attributes, including inherited and non-public ones",
1673 | "homepage": "https://github.com/sebastianbergmann/object-reflector/",
1674 | "support": {
1675 | "issues": "https://github.com/sebastianbergmann/object-reflector/issues",
1676 | "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4"
1677 | },
1678 | "funding": [
1679 | {
1680 | "url": "https://github.com/sebastianbergmann",
1681 | "type": "github"
1682 | }
1683 | ],
1684 | "time": "2020-10-26T13:14:26+00:00"
1685 | },
1686 | {
1687 | "name": "sebastian/recursion-context",
1688 | "version": "4.0.4",
1689 | "source": {
1690 | "type": "git",
1691 | "url": "https://github.com/sebastianbergmann/recursion-context.git",
1692 | "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172"
1693 | },
1694 | "dist": {
1695 | "type": "zip",
1696 | "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172",
1697 | "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172",
1698 | "shasum": ""
1699 | },
1700 | "require": {
1701 | "php": ">=7.3"
1702 | },
1703 | "require-dev": {
1704 | "phpunit/phpunit": "^9.3"
1705 | },
1706 | "type": "library",
1707 | "extra": {
1708 | "branch-alias": {
1709 | "dev-master": "4.0-dev"
1710 | }
1711 | },
1712 | "autoload": {
1713 | "classmap": [
1714 | "src/"
1715 | ]
1716 | },
1717 | "notification-url": "https://packagist.org/downloads/",
1718 | "license": [
1719 | "BSD-3-Clause"
1720 | ],
1721 | "authors": [
1722 | {
1723 | "name": "Sebastian Bergmann",
1724 | "email": "sebastian@phpunit.de"
1725 | },
1726 | {
1727 | "name": "Jeff Welch",
1728 | "email": "whatthejeff@gmail.com"
1729 | },
1730 | {
1731 | "name": "Adam Harvey",
1732 | "email": "aharvey@php.net"
1733 | }
1734 | ],
1735 | "description": "Provides functionality to recursively process PHP variables",
1736 | "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
1737 | "support": {
1738 | "issues": "https://github.com/sebastianbergmann/recursion-context/issues",
1739 | "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4"
1740 | },
1741 | "funding": [
1742 | {
1743 | "url": "https://github.com/sebastianbergmann",
1744 | "type": "github"
1745 | }
1746 | ],
1747 | "time": "2020-10-26T13:17:30+00:00"
1748 | },
1749 | {
1750 | "name": "sebastian/resource-operations",
1751 | "version": "3.0.3",
1752 | "source": {
1753 | "type": "git",
1754 | "url": "https://github.com/sebastianbergmann/resource-operations.git",
1755 | "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8"
1756 | },
1757 | "dist": {
1758 | "type": "zip",
1759 | "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
1760 | "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
1761 | "shasum": ""
1762 | },
1763 | "require": {
1764 | "php": ">=7.3"
1765 | },
1766 | "require-dev": {
1767 | "phpunit/phpunit": "^9.0"
1768 | },
1769 | "type": "library",
1770 | "extra": {
1771 | "branch-alias": {
1772 | "dev-master": "3.0-dev"
1773 | }
1774 | },
1775 | "autoload": {
1776 | "classmap": [
1777 | "src/"
1778 | ]
1779 | },
1780 | "notification-url": "https://packagist.org/downloads/",
1781 | "license": [
1782 | "BSD-3-Clause"
1783 | ],
1784 | "authors": [
1785 | {
1786 | "name": "Sebastian Bergmann",
1787 | "email": "sebastian@phpunit.de"
1788 | }
1789 | ],
1790 | "description": "Provides a list of PHP built-in functions that operate on resources",
1791 | "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
1792 | "support": {
1793 | "issues": "https://github.com/sebastianbergmann/resource-operations/issues",
1794 | "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3"
1795 | },
1796 | "funding": [
1797 | {
1798 | "url": "https://github.com/sebastianbergmann",
1799 | "type": "github"
1800 | }
1801 | ],
1802 | "time": "2020-09-28T06:45:17+00:00"
1803 | },
1804 | {
1805 | "name": "sebastian/type",
1806 | "version": "2.3.4",
1807 | "source": {
1808 | "type": "git",
1809 | "url": "https://github.com/sebastianbergmann/type.git",
1810 | "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914"
1811 | },
1812 | "dist": {
1813 | "type": "zip",
1814 | "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b8cd8a1c753c90bc1a0f5372170e3e489136f914",
1815 | "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914",
1816 | "shasum": ""
1817 | },
1818 | "require": {
1819 | "php": ">=7.3"
1820 | },
1821 | "require-dev": {
1822 | "phpunit/phpunit": "^9.3"
1823 | },
1824 | "type": "library",
1825 | "extra": {
1826 | "branch-alias": {
1827 | "dev-master": "2.3-dev"
1828 | }
1829 | },
1830 | "autoload": {
1831 | "classmap": [
1832 | "src/"
1833 | ]
1834 | },
1835 | "notification-url": "https://packagist.org/downloads/",
1836 | "license": [
1837 | "BSD-3-Clause"
1838 | ],
1839 | "authors": [
1840 | {
1841 | "name": "Sebastian Bergmann",
1842 | "email": "sebastian@phpunit.de",
1843 | "role": "lead"
1844 | }
1845 | ],
1846 | "description": "Collection of value objects that represent the types of the PHP type system",
1847 | "homepage": "https://github.com/sebastianbergmann/type",
1848 | "support": {
1849 | "issues": "https://github.com/sebastianbergmann/type/issues",
1850 | "source": "https://github.com/sebastianbergmann/type/tree/2.3.4"
1851 | },
1852 | "funding": [
1853 | {
1854 | "url": "https://github.com/sebastianbergmann",
1855 | "type": "github"
1856 | }
1857 | ],
1858 | "time": "2021-06-15T12:49:02+00:00"
1859 | },
1860 | {
1861 | "name": "sebastian/version",
1862 | "version": "3.0.2",
1863 | "source": {
1864 | "type": "git",
1865 | "url": "https://github.com/sebastianbergmann/version.git",
1866 | "reference": "c6c1022351a901512170118436c764e473f6de8c"
1867 | },
1868 | "dist": {
1869 | "type": "zip",
1870 | "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c",
1871 | "reference": "c6c1022351a901512170118436c764e473f6de8c",
1872 | "shasum": ""
1873 | },
1874 | "require": {
1875 | "php": ">=7.3"
1876 | },
1877 | "type": "library",
1878 | "extra": {
1879 | "branch-alias": {
1880 | "dev-master": "3.0-dev"
1881 | }
1882 | },
1883 | "autoload": {
1884 | "classmap": [
1885 | "src/"
1886 | ]
1887 | },
1888 | "notification-url": "https://packagist.org/downloads/",
1889 | "license": [
1890 | "BSD-3-Clause"
1891 | ],
1892 | "authors": [
1893 | {
1894 | "name": "Sebastian Bergmann",
1895 | "email": "sebastian@phpunit.de",
1896 | "role": "lead"
1897 | }
1898 | ],
1899 | "description": "Library that helps with managing the version number of Git-hosted PHP projects",
1900 | "homepage": "https://github.com/sebastianbergmann/version",
1901 | "support": {
1902 | "issues": "https://github.com/sebastianbergmann/version/issues",
1903 | "source": "https://github.com/sebastianbergmann/version/tree/3.0.2"
1904 | },
1905 | "funding": [
1906 | {
1907 | "url": "https://github.com/sebastianbergmann",
1908 | "type": "github"
1909 | }
1910 | ],
1911 | "time": "2020-09-28T06:39:44+00:00"
1912 | },
1913 | {
1914 | "name": "squizlabs/php_codesniffer",
1915 | "version": "3.6.2",
1916 | "source": {
1917 | "type": "git",
1918 | "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
1919 | "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a"
1920 | },
1921 | "dist": {
1922 | "type": "zip",
1923 | "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/5e4e71592f69da17871dba6e80dd51bce74a351a",
1924 | "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a",
1925 | "shasum": ""
1926 | },
1927 | "require": {
1928 | "ext-simplexml": "*",
1929 | "ext-tokenizer": "*",
1930 | "ext-xmlwriter": "*",
1931 | "php": ">=5.4.0"
1932 | },
1933 | "require-dev": {
1934 | "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
1935 | },
1936 | "bin": [
1937 | "bin/phpcs",
1938 | "bin/phpcbf"
1939 | ],
1940 | "type": "library",
1941 | "extra": {
1942 | "branch-alias": {
1943 | "dev-master": "3.x-dev"
1944 | }
1945 | },
1946 | "notification-url": "https://packagist.org/downloads/",
1947 | "license": [
1948 | "BSD-3-Clause"
1949 | ],
1950 | "authors": [
1951 | {
1952 | "name": "Greg Sherwood",
1953 | "role": "lead"
1954 | }
1955 | ],
1956 | "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
1957 | "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
1958 | "keywords": [
1959 | "phpcs",
1960 | "standards"
1961 | ],
1962 | "support": {
1963 | "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
1964 | "source": "https://github.com/squizlabs/PHP_CodeSniffer",
1965 | "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
1966 | },
1967 | "time": "2021-12-12T21:44:58+00:00"
1968 | },
1969 | {
1970 | "name": "symfony/polyfill-ctype",
1971 | "version": "v1.24.0",
1972 | "source": {
1973 | "type": "git",
1974 | "url": "https://github.com/symfony/polyfill-ctype.git",
1975 | "reference": "30885182c981ab175d4d034db0f6f469898070ab"
1976 | },
1977 | "dist": {
1978 | "type": "zip",
1979 | "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab",
1980 | "reference": "30885182c981ab175d4d034db0f6f469898070ab",
1981 | "shasum": ""
1982 | },
1983 | "require": {
1984 | "php": ">=7.1"
1985 | },
1986 | "provide": {
1987 | "ext-ctype": "*"
1988 | },
1989 | "suggest": {
1990 | "ext-ctype": "For best performance"
1991 | },
1992 | "type": "library",
1993 | "extra": {
1994 | "branch-alias": {
1995 | "dev-main": "1.23-dev"
1996 | },
1997 | "thanks": {
1998 | "name": "symfony/polyfill",
1999 | "url": "https://github.com/symfony/polyfill"
2000 | }
2001 | },
2002 | "autoload": {
2003 | "psr-4": {
2004 | "Symfony\\Polyfill\\Ctype\\": ""
2005 | },
2006 | "files": [
2007 | "bootstrap.php"
2008 | ]
2009 | },
2010 | "notification-url": "https://packagist.org/downloads/",
2011 | "license": [
2012 | "MIT"
2013 | ],
2014 | "authors": [
2015 | {
2016 | "name": "Gert de Pagter",
2017 | "email": "BackEndTea@gmail.com"
2018 | },
2019 | {
2020 | "name": "Symfony Community",
2021 | "homepage": "https://symfony.com/contributors"
2022 | }
2023 | ],
2024 | "description": "Symfony polyfill for ctype functions",
2025 | "homepage": "https://symfony.com",
2026 | "keywords": [
2027 | "compatibility",
2028 | "ctype",
2029 | "polyfill",
2030 | "portable"
2031 | ],
2032 | "support": {
2033 | "source": "https://github.com/symfony/polyfill-ctype/tree/v1.24.0"
2034 | },
2035 | "funding": [
2036 | {
2037 | "url": "https://symfony.com/sponsor",
2038 | "type": "custom"
2039 | },
2040 | {
2041 | "url": "https://github.com/fabpot",
2042 | "type": "github"
2043 | },
2044 | {
2045 | "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
2046 | "type": "tidelift"
2047 | }
2048 | ],
2049 | "time": "2021-10-20T20:35:02+00:00"
2050 | },
2051 | {
2052 | "name": "theseer/tokenizer",
2053 | "version": "1.2.1",
2054 | "source": {
2055 | "type": "git",
2056 | "url": "https://github.com/theseer/tokenizer.git",
2057 | "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e"
2058 | },
2059 | "dist": {
2060 | "type": "zip",
2061 | "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e",
2062 | "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e",
2063 | "shasum": ""
2064 | },
2065 | "require": {
2066 | "ext-dom": "*",
2067 | "ext-tokenizer": "*",
2068 | "ext-xmlwriter": "*",
2069 | "php": "^7.2 || ^8.0"
2070 | },
2071 | "type": "library",
2072 | "autoload": {
2073 | "classmap": [
2074 | "src/"
2075 | ]
2076 | },
2077 | "notification-url": "https://packagist.org/downloads/",
2078 | "license": [
2079 | "BSD-3-Clause"
2080 | ],
2081 | "authors": [
2082 | {
2083 | "name": "Arne Blankerts",
2084 | "email": "arne@blankerts.de",
2085 | "role": "Developer"
2086 | }
2087 | ],
2088 | "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
2089 | "support": {
2090 | "issues": "https://github.com/theseer/tokenizer/issues",
2091 | "source": "https://github.com/theseer/tokenizer/tree/1.2.1"
2092 | },
2093 | "funding": [
2094 | {
2095 | "url": "https://github.com/theseer",
2096 | "type": "github"
2097 | }
2098 | ],
2099 | "time": "2021-07-28T10:34:58+00:00"
2100 | },
2101 | {
2102 | "name": "webmozart/assert",
2103 | "version": "1.10.0",
2104 | "source": {
2105 | "type": "git",
2106 | "url": "https://github.com/webmozarts/assert.git",
2107 | "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25"
2108 | },
2109 | "dist": {
2110 | "type": "zip",
2111 | "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25",
2112 | "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25",
2113 | "shasum": ""
2114 | },
2115 | "require": {
2116 | "php": "^7.2 || ^8.0",
2117 | "symfony/polyfill-ctype": "^1.8"
2118 | },
2119 | "conflict": {
2120 | "phpstan/phpstan": "<0.12.20",
2121 | "vimeo/psalm": "<4.6.1 || 4.6.2"
2122 | },
2123 | "require-dev": {
2124 | "phpunit/phpunit": "^8.5.13"
2125 | },
2126 | "type": "library",
2127 | "extra": {
2128 | "branch-alias": {
2129 | "dev-master": "1.10-dev"
2130 | }
2131 | },
2132 | "autoload": {
2133 | "psr-4": {
2134 | "Webmozart\\Assert\\": "src/"
2135 | }
2136 | },
2137 | "notification-url": "https://packagist.org/downloads/",
2138 | "license": [
2139 | "MIT"
2140 | ],
2141 | "authors": [
2142 | {
2143 | "name": "Bernhard Schussek",
2144 | "email": "bschussek@gmail.com"
2145 | }
2146 | ],
2147 | "description": "Assertions to validate method input/output with nice error messages.",
2148 | "keywords": [
2149 | "assert",
2150 | "check",
2151 | "validate"
2152 | ],
2153 | "support": {
2154 | "issues": "https://github.com/webmozarts/assert/issues",
2155 | "source": "https://github.com/webmozarts/assert/tree/1.10.0"
2156 | },
2157 | "time": "2021-03-09T10:59:23+00:00"
2158 | }
2159 | ],
2160 | "aliases": [],
2161 | "minimum-stability": "stable",
2162 | "stability-flags": [],
2163 | "prefer-stable": false,
2164 | "prefer-lowest": false,
2165 | "platform": {
2166 | "php": ">=7.4 || >=8.1"
2167 | },
2168 | "platform-dev": [],
2169 | "plugin-api-version": "2.2.0"
2170 | }
2171 |
--------------------------------------------------------------------------------
/phpcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | PSR12 Eloquent standards.
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/phpunit.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
--------------------------------------------------------------------------------
/src/Pairs.php:
--------------------------------------------------------------------------------
1 | assertEquals(3, car($pair));
20 | $this->assertEquals(4, cdr($pair));
21 | }
22 |
23 | public function testToString()
24 | {
25 | $pair1 = cons(3, cons(3, 2));
26 | $pair2 = cons(cons(3, 5), cons(1, null));
27 | $pair3 = cons(10, -10);
28 | $pair4 = cons('', -10);
29 |
30 | $this->assertEquals('(3, (3, 2))', toString($pair1));
31 | $this->assertEquals('((3, 5), (1, null))', toString($pair2));
32 | $this->assertEquals('(10, -10)', toString($pair3));
33 | $this->assertEquals("('', -10)", toString($pair4));
34 | }
35 |
36 | public function testCheckPair()
37 | {
38 | $this->expectExceptionMessage("Argument must be pair, but it was '1'");
39 | checkPair(1);
40 | $this->expectExceptionMessage("Argument must be pair, but it was 'some string'");
41 | checkPair('some string');
42 | $this->expectExceptionMessage("Argument must be pair, but it was 'array'");
43 | checkPair([1, 2]);
44 | $this->expectExceptionMessage("Argument must be pair, but it was 'null'");
45 | checkPair(null);
46 | }
47 | }
48 |
--------------------------------------------------------------------------------