ReviewOS

also looking at this

meemalabs/meema-client-php

Bump vlucas/phpdotenv from 5.3.1 to 5.4.0

#117
Open dependabot[bot] wants to merge dependabot/composer/vlucas/phpdotenv-5.4.0 into main
15 files +250 -368
composer.lockmodified+107-112
Changes to composer.lock
@@ -443,31 +443,26 @@
443443 },
444444 {
445445 "name": "graham-campbell/result-type",
446 "version": "v1.0.1",
446 "version": "v1.0.4",
447447 "source": {
448448 "type": "git",
449449 "url": "https://github.com/GrahamCampbell/Result-Type.git",
450 "reference": "7e279d2cd5d7fbb156ce46daada972355cea27bb"
450 "reference": "0690bde05318336c7221785f2a932467f98b64ca"
451451 },
452452 "dist": {
453453 "type": "zip",
454 "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/7e279d2cd5d7fbb156ce46daada972355cea27bb",
455 "reference": "7e279d2cd5d7fbb156ce46daada972355cea27bb",
454 "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/0690bde05318336c7221785f2a932467f98b64ca",
455 "reference": "0690bde05318336c7221785f2a932467f98b64ca",
456456 "shasum": ""
457457 },
458458 "require": {
459 "php": "^7.0|^8.0",
460 "phpoption/phpoption": "^1.7.3"
459 "php": "^7.0 || ^8.0",
460 "phpoption/phpoption": "^1.8"
461461 },
462462 "require-dev": {
463 "phpunit/phpunit": "^6.5|^7.5|^8.5|^9.0"
463 "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8"
464464 },
465465 "type": "library",
466 "extra": {
467 "branch-alias": {
468 "dev-master": "1.0-dev"
469 }
470 },
471466 "autoload": {
472467 "psr-4": {
473468 "GrahamCampbell\\ResultType\\": "src/"
@@ -480,7 +475,8 @@
480475 "authors": [
481476 {
482477 "name": "Graham Campbell",
483 "email": "graham@alt-three.com"
478 "email": "hello@gjcampbell.co.uk",
479 "homepage": "https://github.com/GrahamCampbell"
484480 }
485481 ],
486482 "description": "An Implementation Of The Result Type",
@@ -493,7 +489,7 @@
493489 ],
494490 "support": {
495491 "issues": "https://github.com/GrahamCampbell/Result-Type/issues",
496 "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.1"
492 "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.4"
497493 },
498494 "funding": [
499495 {
@@ -505,7 +501,7 @@
505501 "type": "tidelift"
506502 }
507503 ],
508 "time": "2020-04-13T13:17:36+00:00"
504 "time": "2021-11-21T21:41:47+00:00"
509505 },
510506 {
511507 "name": "guzzlehttp/guzzle",
@@ -1660,29 +1656,29 @@
16601656 },
16611657 {
16621658 "name": "phpoption/phpoption",
1663 "version": "1.7.5",
1659 "version": "1.8.0",
16641660 "source": {
16651661 "type": "git",
16661662 "url": "https://github.com/schmittjoh/php-option.git",
1667 "reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525"
1663 "reference": "5455cb38aed4523f99977c4a12ef19da4bfe2a28"
16681664 },
16691665 "dist": {
16701666 "type": "zip",
1671 "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/994ecccd8f3283ecf5ac33254543eb0ac946d525",
1672 "reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525",
1667 "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/5455cb38aed4523f99977c4a12ef19da4bfe2a28",
1668 "reference": "5455cb38aed4523f99977c4a12ef19da4bfe2a28",
16731669 "shasum": ""
16741670 },
16751671 "require": {
1676 "php": "^5.5.9 || ^7.0 || ^8.0"
1672 "php": "^7.0 || ^8.0"
16771673 },
16781674 "require-dev": {
16791675 "bamarni/composer-bin-plugin": "^1.4.1",
1680 "phpunit/phpunit": "^4.8.35 || ^5.7.27 || ^6.5.6 || ^7.0 || ^8.0 || ^9.0"
1676 "phpunit/phpunit": "^6.5.14 || ^7.0.20 || ^8.5.19 || ^9.5.8"
16811677 },
16821678 "type": "library",
16831679 "extra": {
16841680 "branch-alias": {
1685 "dev-master": "1.7-dev"
1681 "dev-master": "1.8-dev"
16861682 }
16871683 },
16881684 "autoload": {
@@ -1701,7 +1697,7 @@
17011697 },
17021698 {
17031699 "name": "Graham Campbell",
1704 "email": "graham@alt-three.com"
1700 "email": "hello@gjcampbell.co.uk"
17051701 }
17061702 ],
17071703 "description": "Option Type for PHP",
@@ -1713,7 +1709,7 @@
17131709 ],
17141710 "support": {
17151711 "issues": "https://github.com/schmittjoh/php-option/issues",
1716 "source": "https://github.com/schmittjoh/php-option/tree/1.7.5"
1712 "source": "https://github.com/schmittjoh/php-option/tree/1.8.0"
17171713 },
17181714 "funding": [
17191715 {
@@ -1725,7 +1721,7 @@
17251721 "type": "tidelift"
17261722 }
17271723 ],
1728 "time": "2020-07-20T17:29:33+00:00"
1724 "time": "2021-08-28T21:27:29+00:00"
17291725 },
17301726 {
17311727 "name": "psr/container",
@@ -2383,16 +2379,16 @@
23832379 },
23842380 {
23852381 "name": "symfony/console",
2386 "version": "v5.3.6",
2382 "version": "v5.3.7",
23872383 "source": {
23882384 "type": "git",
23892385 "url": "https://github.com/symfony/console.git",
2390 "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2"
2386 "reference": "8b1008344647462ae6ec57559da166c2bfa5e16a"
23912387 },
23922388 "dist": {
23932389 "type": "zip",
2394 "url": "https://api.github.com/repos/symfony/console/zipball/51b71afd6d2dc8f5063199357b9880cea8d8bfe2",
2395 "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2",
2390 "url": "https://api.github.com/repos/symfony/console/zipball/8b1008344647462ae6ec57559da166c2bfa5e16a",
2391 "reference": "8b1008344647462ae6ec57559da166c2bfa5e16a",
23962392 "shasum": ""
23972393 },
23982394 "require": {
@@ -2462,7 +2458,7 @@
24622458 "terminal"
24632459 ],
24642460 "support": {
2465 "source": "https://github.com/symfony/console/tree/v5.3.6"
2461 "source": "https://github.com/symfony/console/tree/v5.3.7"
24662462 },
24672463 "funding": [
24682464 {
@@ -2478,7 +2474,7 @@
24782474 "type": "tidelift"
24792475 }
24802476 ],
2481 "time": "2021-07-27T19:10:22+00:00"
2477 "time": "2021-08-25T20:02:16+00:00"
24822478 },
24832479 {
24842480 "name": "symfony/css-selector",
@@ -4294,16 +4290,16 @@
42944290 },
42954291 {
42964292 "name": "symfony/string",
4297 "version": "v5.3.3",
4293 "version": "v5.3.7",
42984294 "source": {
42994295 "type": "git",
43004296 "url": "https://github.com/symfony/string.git",
4301 "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1"
4297 "reference": "8d224396e28d30f81969f083a58763b8b9ceb0a5"
43024298 },
43034299 "dist": {
43044300 "type": "zip",
4305 "url": "https://api.github.com/repos/symfony/string/zipball/bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1",
4306 "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1",
4301 "url": "https://api.github.com/repos/symfony/string/zipball/8d224396e28d30f81969f083a58763b8b9ceb0a5",
4302 "reference": "8d224396e28d30f81969f083a58763b8b9ceb0a5",
43074303 "shasum": ""
43084304 },
43094305 "require": {
@@ -4357,7 +4353,7 @@
43574353 "utf8"
43584354 ],
43594355 "support": {
4360 "source": "https://github.com/symfony/string/tree/v5.3.3"
4356 "source": "https://github.com/symfony/string/tree/v5.3.7"
43614357 },
43624358 "funding": [
43634359 {
@@ -4373,7 +4369,7 @@
43734369 "type": "tidelift"
43744370 }
43754371 ],
4376 "time": "2021-06-27T11:44:38+00:00"
4372 "time": "2021-08-26T08:00:08+00:00"
43774373 },
43784374 {
43794375 "name": "symfony/translation",
@@ -4691,31 +4687,31 @@
46914687 },
46924688 {
46934689 "name": "vlucas/phpdotenv",
4694 "version": "v5.3.0",
4690 "version": "v5.4.0",
46954691 "source": {
46964692 "type": "git",
46974693 "url": "https://github.com/vlucas/phpdotenv.git",
4698 "reference": "b3eac5c7ac896e52deab4a99068e3f4ab12d9e56"
4694 "reference": "d4394d044ed69a8f244f3445bcedf8a0d7fe2403"
46994695 },
47004696 "dist": {
47014697 "type": "zip",
4702 "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/b3eac5c7ac896e52deab4a99068e3f4ab12d9e56",
4703 "reference": "b3eac5c7ac896e52deab4a99068e3f4ab12d9e56",
4698 "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/d4394d044ed69a8f244f3445bcedf8a0d7fe2403",
4699 "reference": "d4394d044ed69a8f244f3445bcedf8a0d7fe2403",
47044700 "shasum": ""
47054701 },
47064702 "require": {
47074703 "ext-pcre": "*",
4708 "graham-campbell/result-type": "^1.0.1",
4704 "graham-campbell/result-type": "^1.0.2",
47094705 "php": "^7.1.3 || ^8.0",
4710 "phpoption/phpoption": "^1.7.4",
4711 "symfony/polyfill-ctype": "^1.17",
4712 "symfony/polyfill-mbstring": "^1.17",
4713 "symfony/polyfill-php80": "^1.17"
4706 "phpoption/phpoption": "^1.8",
4707 "symfony/polyfill-ctype": "^1.23",
4708 "symfony/polyfill-mbstring": "^1.23.1",
4709 "symfony/polyfill-php80": "^1.23.1"
47144710 },
47154711 "require-dev": {
47164712 "bamarni/composer-bin-plugin": "^1.4.1",
47174713 "ext-filter": "*",
4718 "phpunit/phpunit": "^7.5.20 || ^8.5.14 || ^9.5.1"
4714 "phpunit/phpunit": "^7.5.20 || ^8.5.21 || ^9.5.10"
47194715 },
47204716 "suggest": {
47214717 "ext-filter": "Required to use the boolean validator."
@@ -4723,7 +4719,7 @@
47234719 "type": "library",
47244720 "extra": {
47254721 "branch-alias": {
4726 "dev-master": "5.3-dev"
4722 "dev-master": "5.4-dev"
47274723 }
47284724 },
47294725 "autoload": {
@@ -4738,13 +4734,11 @@
47384734 "authors": [
47394735 {
47404736 "name": "Graham Campbell",
4741 "email": "graham@alt-three.com",
4742 "homepage": "https://gjcampbell.co.uk/"
4737 "email": "hello@gjcampbell.co.uk"
47434738 },
47444739 {
47454740 "name": "Vance Lucas",
4746 "email": "vance@vancelucas.com",
4747 "homepage": "https://vancelucas.com/"
4741 "email": "vance@vancelucas.com"
47484742 }
47494743 ],
47504744 "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.",
@@ -4755,7 +4749,7 @@
47554749 ],
47564750 "support": {
47574751 "issues": "https://github.com/vlucas/phpdotenv/issues",
4758 "source": "https://github.com/vlucas/phpdotenv/tree/v5.3.0"
4752 "source": "https://github.com/vlucas/phpdotenv/tree/v5.4.0"
47594753 },
47604754 "funding": [
47614755 {
@@ -4767,7 +4761,7 @@
47674761 "type": "tidelift"
47684762 }
47694763 ],
4770 "time": "2021-01-20T15:23:13+00:00"
4764 "time": "2021-11-10T01:08:39+00:00"
47714765 },
47724766 {
47734767 "name": "voku/portable-ascii",
@@ -5092,16 +5086,16 @@
50925086 },
50935087 {
50945088 "name": "filp/whoops",
5095 "version": "2.14.0",
5089 "version": "2.14.3",
50965090 "source": {
50975091 "type": "git",
50985092 "url": "https://github.com/filp/whoops.git",
5099 "reference": "fdf92f03e150ed84d5967a833ae93abffac0315b"
5093 "reference": "89584ce67dd32307f1063cc43846674f4679feda"
51005094 },
51015095 "dist": {
51025096 "type": "zip",
5103 "url": "https://api.github.com/repos/filp/whoops/zipball/fdf92f03e150ed84d5967a833ae93abffac0315b",
5104 "reference": "fdf92f03e150ed84d5967a833ae93abffac0315b",
5097 "url": "https://api.github.com/repos/filp/whoops/zipball/89584ce67dd32307f1063cc43846674f4679feda",
5098 "reference": "89584ce67dd32307f1063cc43846674f4679feda",
51055099 "shasum": ""
51065100 },
51075101 "require": {
@@ -5151,7 +5145,7 @@
51515145 ],
51525146 "support": {
51535147 "issues": "https://github.com/filp/whoops/issues",
5154 "source": "https://github.com/filp/whoops/tree/2.14.0"
5148 "source": "https://github.com/filp/whoops/tree/2.14.3"
51555149 },
51565150 "funding": [
51575151 {
@@ -5159,7 +5153,7 @@
51595153 "type": "github"
51605154 }
51615155 ],
5162 "time": "2021-07-13T12:00:00+00:00"
5156 "time": "2021-09-19T12:00:00+00:00"
51635157 },
51645158 {
51655159 "name": "hamcrest/hamcrest-php",
@@ -5344,16 +5338,16 @@
53445338 },
53455339 {
53465340 "name": "nikic/php-parser",
5347 "version": "v4.12.0",
5341 "version": "v4.13.0",
53485342 "source": {
53495343 "type": "git",
53505344 "url": "https://github.com/nikic/PHP-Parser.git",
5351 "reference": "6608f01670c3cc5079e18c1dab1104e002579143"
5345 "reference": "50953a2691a922aa1769461637869a0a2faa3f53"
53525346 },
53535347 "dist": {
53545348 "type": "zip",
5355 "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6608f01670c3cc5079e18c1dab1104e002579143",
5356 "reference": "6608f01670c3cc5079e18c1dab1104e002579143",
5349 "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/50953a2691a922aa1769461637869a0a2faa3f53",
5350 "reference": "50953a2691a922aa1769461637869a0a2faa3f53",
53575351 "shasum": ""
53585352 },
53595353 "require": {
@@ -5394,39 +5388,38 @@
53945388 ],
53955389 "support": {
53965390 "issues": "https://github.com/nikic/PHP-Parser/issues",
5397 "source": "https://github.com/nikic/PHP-Parser/tree/v4.12.0"
5391 "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.0"
53985392 },
5399 "time": "2021-07-21T10:44:31+00:00"
5393 "time": "2021-09-20T12:20:58+00:00"
54005394 },
54015395 {
54025396 "name": "nunomaduro/collision",
5403 "version": "v5.8.0",
5397 "version": "v5.10.0",
54045398 "source": {
54055399 "type": "git",
54065400 "url": "https://github.com/nunomaduro/collision.git",
5407 "reference": "0c3c393462eada1233513664e2d22bb9f69ca393"
5401 "reference": "3004cfa49c022183395eabc6d0e5207dfe498d00"
54085402 },
54095403 "dist": {
54105404 "type": "zip",
5411 "url": "https://api.github.com/repos/nunomaduro/collision/zipball/0c3c393462eada1233513664e2d22bb9f69ca393",
5412 "reference": "0c3c393462eada1233513664e2d22bb9f69ca393",
5405 "url": "https://api.github.com/repos/nunomaduro/collision/zipball/3004cfa49c022183395eabc6d0e5207dfe498d00",
5406 "reference": "3004cfa49c022183395eabc6d0e5207dfe498d00",
54135407 "shasum": ""
54145408 },
54155409 "require": {
54165410 "facade/ignition-contracts": "^1.0",
5417 "filp/whoops": "^2.7.2",
5411 "filp/whoops": "^2.14.3",
54185412 "php": "^7.3 || ^8.0",
54195413 "symfony/console": "^5.0"
54205414 },
54215415 "require-dev": {
54225416 "brianium/paratest": "^6.1",
54235417 "fideloper/proxy": "^4.4.1",
5424 "friendsofphp/php-cs-fixer": "^3.0",
54255418 "fruitcake/laravel-cors": "^2.0.3",
5426 "laravel/framework": "^8.0 || ^9.0",
5419 "laravel/framework": "8.x-dev",
54275420 "nunomaduro/larastan": "^0.6.2",
54285421 "nunomaduro/mock-final-classes": "^1.0",
5429 "orchestra/testbench": "^6.0 || ^7.0",
5422 "orchestra/testbench": "^6.0",
54305423 "phpstan/phpstan": "^0.12.64",
54315424 "phpunit/phpunit": "^9.5.0"
54325425 },
@@ -5484,7 +5477,7 @@
54845477 "type": "patreon"
54855478 }
54865479 ],
5487 "time": "2021-08-13T14:23:01+00:00"
5480 "time": "2021-09-20T15:06:32+00:00"
54885481 },
54895482 {
54905483 "name": "orchestra/testbench",
@@ -5640,20 +5633,20 @@
56405633 },
56415634 {
56425635 "name": "pestphp/pest",
5643 "version": "v1.15.0",
5636 "version": "v1.19.0",
56445637 "source": {
56455638 "type": "git",
56465639 "url": "https://github.com/pestphp/pest.git",
5647 "reference": "d1a9e0bbe31dcb266690dc4e7517e2cb73d5827a"
5640 "reference": "58cff003d8d478ecb4cbe87bd6380f51efc4ebc7"
56485641 },
56495642 "dist": {
56505643 "type": "zip",
5651 "url": "https://api.github.com/repos/pestphp/pest/zipball/d1a9e0bbe31dcb266690dc4e7517e2cb73d5827a",
5652 "reference": "d1a9e0bbe31dcb266690dc4e7517e2cb73d5827a",
5644 "url": "https://api.github.com/repos/pestphp/pest/zipball/58cff003d8d478ecb4cbe87bd6380f51efc4ebc7",
5645 "reference": "58cff003d8d478ecb4cbe87bd6380f51efc4ebc7",
56535646 "shasum": ""
56545647 },
56555648 "require": {
5656 "nunomaduro/collision": "^5.4.0",
5649 "nunomaduro/collision": "^5.4.0|^6.0",
56575650 "pestphp/pest-plugin": "^1.0.0",
56585651 "php": "^7.3 || ^8.0",
56595652 "phpunit/phpunit": "^9.5.5"
@@ -5662,7 +5655,8 @@
56625655 "illuminate/console": "^8.47.0",
56635656 "illuminate/support": "^8.47.0",
56645657 "laravel/dusk": "^6.15.0",
5665 "pestphp/pest-dev-tools": "dev-master"
5658 "pestphp/pest-dev-tools": "dev-master",
5659 "pestphp/pest-plugin-parallel": "^1.0"
56665660 },
56675661 "bin": [
56685662 "bin/pest"
@@ -5715,7 +5709,7 @@
57155709 ],
57165710 "support": {
57175711 "issues": "https://github.com/pestphp/pest/issues",
5718 "source": "https://github.com/pestphp/pest/tree/v1.15.0"
5712 "source": "https://github.com/pestphp/pest/tree/v1.19.0"
57195713 },
57205714 "funding": [
57215715 {
@@ -5743,7 +5737,7 @@
57435737 "type": "patreon"
57445738 }
57455739 ],
5746 "time": "2021-08-04T22:02:18+00:00"
5740 "time": "2021-09-20T18:30:58+00:00"
57475741 },
57485742 {
57495743 "name": "pestphp/pest-plugin",
@@ -6039,16 +6033,16 @@
60396033 },
60406034 {
60416035 "name": "phpdocumentor/type-resolver",
6042 "version": "1.4.0",
6036 "version": "1.5.0",
60436037 "source": {
60446038 "type": "git",
60456039 "url": "https://github.com/phpDocumentor/TypeResolver.git",
6046 "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0"
6040 "reference": "30f38bffc6f24293dadd1823936372dfa9e86e2f"
60476041 },
60486042 "dist": {
60496043 "type": "zip",
6050 "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
6051 "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
6044 "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/30f38bffc6f24293dadd1823936372dfa9e86e2f",
6045 "reference": "30f38bffc6f24293dadd1823936372dfa9e86e2f",
60526046 "shasum": ""
60536047 },
60546048 "require": {
@@ -6056,7 +6050,8 @@
60566050 "phpdocumentor/reflection-common": "^2.0"
60576051 },
60586052 "require-dev": {
6059 "ext-tokenizer": "*"
6053 "ext-tokenizer": "*",
6054 "psalm/phar": "^4.8"
60606055 },
60616056 "type": "library",
60626057 "extra": {
@@ -6082,39 +6077,39 @@
60826077 "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
60836078 "support": {
60846079 "issues": "https://github.com/phpDocumentor/TypeResolver/issues",
6085 "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0"
6080 "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.0"
60866081 },
6087 "time": "2020-09-17T18:55:26+00:00"
6082 "time": "2021-09-17T15:28:14+00:00"
60886083 },
60896084 {
60906085 "name": "phpspec/prophecy",
6091 "version": "1.13.0",
6086 "version": "1.14.0",
60926087 "source": {
60936088 "type": "git",
60946089 "url": "https://github.com/phpspec/prophecy.git",
6095 "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea"
6090 "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e"
60966091 },
60976092 "dist": {
60986093 "type": "zip",
6099 "url": "https://api.github.com/repos/phpspec/prophecy/zipball/be1996ed8adc35c3fd795488a653f4b518be70ea",
6100 "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea",
6094 "url": "https://api.github.com/repos/phpspec/prophecy/zipball/d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e",
6095 "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e",
61016096 "shasum": ""
61026097 },
61036098 "require": {
61046099 "doctrine/instantiator": "^1.2",
6105 "php": "^7.2 || ~8.0, <8.1",
6100 "php": "^7.2 || ~8.0, <8.2",
61066101 "phpdocumentor/reflection-docblock": "^5.2",
61076102 "sebastian/comparator": "^3.0 || ^4.0",
61086103 "sebastian/recursion-context": "^3.0 || ^4.0"
61096104 },
61106105 "require-dev": {
6111 "phpspec/phpspec": "^6.0",
6106 "phpspec/phpspec": "^6.0 || ^7.0",
61126107 "phpunit/phpunit": "^8.0 || ^9.0"
61136108 },
61146109 "type": "library",
61156110 "extra": {
61166111 "branch-alias": {
6117 "dev-master": "1.11.x-dev"
6112 "dev-master": "1.x-dev"
61186113 }
61196114 },
61206115 "autoload": {
@@ -6149,29 +6144,29 @@
61496144 ],
61506145 "support": {
61516146 "issues": "https://github.com/phpspec/prophecy/issues",
6152 "source": "https://github.com/phpspec/prophecy/tree/1.13.0"
6147 "source": "https://github.com/phpspec/prophecy/tree/1.14.0"
61536148 },
6154 "time": "2021-03-17T13:42:18+00:00"
6149 "time": "2021-09-10T09:02:12+00:00"
61556150 },
61566151 {
61576152 "name": "phpunit/php-code-coverage",
6158 "version": "9.2.6",
6153 "version": "9.2.7",
61596154 "source": {
61606155 "type": "git",
61616156 "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
6162 "reference": "f6293e1b30a2354e8428e004689671b83871edde"
6157 "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218"
61636158 },
61646159 "dist": {
61656160 "type": "zip",
6166 "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f6293e1b30a2354e8428e004689671b83871edde",
6167 "reference": "f6293e1b30a2354e8428e004689671b83871edde",
6161 "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d4c798ed8d51506800b441f7a13ecb0f76f12218",
6162 "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218",
61686163 "shasum": ""
61696164 },
61706165 "require": {
61716166 "ext-dom": "*",
61726167 "ext-libxml": "*",
61736168 "ext-xmlwriter": "*",
6174 "nikic/php-parser": "^4.10.2",
6169 "nikic/php-parser": "^4.12.0",
61756170 "php": ">=7.3",
61766171 "phpunit/php-file-iterator": "^3.0.3",
61776172 "phpunit/php-text-template": "^2.0.2",
@@ -6220,7 +6215,7 @@
62206215 ],
62216216 "support": {
62226217 "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
6223 "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.6"
6218 "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.7"
62246219 },
62256220 "funding": [
62266221 {
@@ -6228,7 +6223,7 @@
62286223 "type": "github"
62296224 }
62306225 ],
6231 "time": "2021-03-28T07:26:59+00:00"
6226 "time": "2021-09-17T05:39:03+00:00"
62326227 },
62336228 {
62346229 "name": "phpunit/php-file-iterator",
@@ -6473,16 +6468,16 @@
64736468 },
64746469 {
64756470 "name": "phpunit/phpunit",
6476 "version": "9.5.8",
6471 "version": "9.5.9",
64776472 "source": {
64786473 "type": "git",
64796474 "url": "https://github.com/sebastianbergmann/phpunit.git",
6480 "reference": "191768ccd5c85513b4068bdbe99bb6390c7d54fb"
6475 "reference": "ea8c2dfb1065eb35a79b3681eee6e6fb0a6f273b"
64816476 },
64826477 "dist": {
64836478 "type": "zip",
6484 "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/191768ccd5c85513b4068bdbe99bb6390c7d54fb",
6485 "reference": "191768ccd5c85513b4068bdbe99bb6390c7d54fb",
6479 "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ea8c2dfb1065eb35a79b3681eee6e6fb0a6f273b",
6480 "reference": "ea8c2dfb1065eb35a79b3681eee6e6fb0a6f273b",
64866481 "shasum": ""
64876482 },
64886483 "require": {
@@ -6560,7 +6555,7 @@
65606555 ],
65616556 "support": {
65626557 "issues": "https://github.com/sebastianbergmann/phpunit/issues",
6563 "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.8"
6558 "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.9"
65646559 },
65656560 "funding": [
65666561 {
@@ -6572,7 +6567,7 @@
65726567 "type": "github"
65736568 }
65746569 ],
6575 "time": "2021-07-31T15:17:34+00:00"
6570 "time": "2021-08-31T06:47:40+00:00"
65766571 },
65776572 {
65786573 "name": "sebastian/cli-parser",
src/Client.phpmodifiedformatting only+3-3
Changes to src/Client.php
@@ -32,7 +32,7 @@ class Client
3232 /**
3333 * Construct Meema client.
3434 *
35 * @param string $accessKey
35 * @param string $accessKey
3636 */
3737 public function __construct($accessKey, $config = [])
3838 {
@@ -67,8 +67,8 @@ class Client
6767 /**
6868 * Handle the API request.
6969 *
70 * @param string $method
71 * @param string $path
70 * @param string $method
71 * @param string $path
7272 */
7373 public function request($method, $path, $data = null)
7474 {
src/Exceptions/FeatureNotImplementedException.phpmodifiedformatting only+1-1
Changes to src/Exceptions/FeatureNotImplementedException.php
@@ -9,7 +9,7 @@ class FeatureNotImplementedException extends Exception
99 /**
1010 * Construct exception.
1111 *
12 * @param string $message
12 * @param string $message
1313 */
1414 public function __construct(string $message = null)
1515 {
src/Exceptions/InvalidFormatException.phpmodifiedformatting only+1-1
Changes to src/Exceptions/InvalidFormatException.php
@@ -9,7 +9,7 @@ class InvalidFormatException extends Exception
99 /**
1010 * Construct exception.
1111 *
12 * @param string $message
12 * @param string $message
1313 */
1414 public function __construct(string $message = null)
1515 {
src/Functions/Image.phpmodified+29-57
formatting only · 8 hidden lines
Changes to src/Functions/Image.php
@@ -23,7 +23,7 @@ class Image formatting only
2323 /**
2424 * Construct media model.
2525 *
26 * @param Meema\MeemaClient\Client $client
26 * @param Meema\MeemaClient\Client $client
2727 */
2828 public function __construct(Client $client)
2929 {
Changes to src/Functions/Image.php
@@ -33,8 +33,7 @@ class Image
3333 /**
3434 * Set the image width.
3535 *
36 * @param int $value
37 *
36 * @param int $value
3837 * @return $this
3938 */
4039 public function w($value)
@@ -47,8 +46,7 @@ class Image
4746 /**
4847 * Set the image height value.
4948 *
50 * @param int $value
51 *
49 * @param int $value
5250 * @return $this
5351 */
5452 public function h($value)
@@ -61,8 +59,7 @@ class Image
6159 /**
6260 * Set the image quality value.
6361 *
64 * @param int $value
65 *
62 * @param int $value
6663 * @return $this
6764 */
6865 public function q($value)
@@ -75,8 +72,7 @@ class Image
7572 /**
7673 * Set the image blur value.
7774 *
78 * @param int $value
79 *
75 * @param int $value
8076 * @return $this
8177 */
8278 public function blur($value)
@@ -89,8 +85,7 @@ class Image
8985 /**
9086 * Determine if image is nsfw.
9187 *
92 * @param int|string $value
93 *
88 * @param int|string $value
9489 * @return $this
9590 */
9691 public function nsfw($value)
@@ -103,8 +98,7 @@ class Image
10398 /**
10499 * Set image background value.
105100 *
106 * @param string $value
107 *
101 * @param string $value
108102 * @return $this
109103 */
110104 public function bg($value)
@@ -117,8 +111,7 @@ class Image
117111 /**
118112 * Set the aspect ratio value.
119113 *
120 * @param int $value
121 *
114 * @param int $value
122115 * @return $this
123116 */
124117 public function ar($value)
@@ -131,8 +124,7 @@ class Image
131124 /**
132125 * Set the brightness value.
133126 *
134 * @param int $value
135 *
127 * @param int $value
136128 * @return $this
137129 */
138130 public function bri($value)
@@ -145,8 +137,7 @@ class Image
145137 /**
146138 * Set the hue shift value.
147139 *
148 * @param int $value
149 *
140 * @param int $value
150141 * @return $this
151142 */
152143 public function hue($value)
@@ -159,8 +150,7 @@ class Image
159150 /**
160151 * Set the saturation value.
161152 *
162 * @param int $value
163 *
153 * @param int $value
164154 * @return $this
165155 */
166156 public function sat($value)
@@ -173,8 +163,7 @@ class Image
173163 /**
174164 * Set the sharpen value.
175165 *
176 * @param int $value
177 *
166 * @param int $value
178167 * @return $this
179168 */
180169 public function sharp($value)
@@ -187,8 +176,7 @@ class Image
187176 /**
188177 * Set the border radius outer value.
189178 *
190 * @param string $value
191 *
179 * @param string $value
192180 * @return $this
193181 */
194182 public function pad($value)
@@ -201,8 +189,7 @@ class Image
201189 /**
202190 * Set the greyscale value.
203191 *
204 * @param bool $value
205 *
192 * @param bool $value
206193 * @return $this
207194 */
208195 public function greyscale($value)
@@ -215,8 +202,7 @@ class Image
215202 /**
216203 * Set the trim value.
217204 *
218 * @param string $value
219 *
205 * @param string $value
220206 * @return $this
221207 */
222208 public function trim($value)
@@ -229,8 +215,7 @@ class Image
229215 /**
230216 * Set the face index value.
231217 *
232 * @param int $value
233 *
218 * @param int $value
234219 * @return $this
235220 */
236221 public function faceindex($value)
@@ -243,8 +228,7 @@ class Image
243228 /**
244229 * Set the fill color value.
245230 *
246 * @param string $value
247 *
231 * @param string $value
248232 * @return $this
249233 */
250234 public function fillColor($value)
@@ -257,8 +241,7 @@ class Image
257241 /**
258242 * Set the fill value.
259243 *
260 * @param string $value
261 *
244 * @param string $value
262245 * @return $this
263246 */
264247 public function fill($value)
@@ -271,8 +254,7 @@ class Image
271254 /**
272255 * Set the color space value.
273256 *
274 * @param string $value
275 *
257 * @param string $value
276258 * @return $this
277259 */
278260 public function cs($value)
@@ -285,8 +267,7 @@ class Image
285267 /**
286268 * Set the device pixel ration value.
287269 *
288 * @param string $value
289 *
270 * @param string $value
290271 * @return $this
291272 */
292273 public function dpr($value)
@@ -299,8 +280,7 @@ class Image
299280 /**
300281 * Set the extend value.
301282 *
302 * @param int $value
303 *
283 * @param int $value
304284 * @return $this
305285 */
306286 public function extend($value)
@@ -313,8 +293,7 @@ class Image
313293 /**
314294 * Set the extract value.
315295 *
316 * @param string $value
317 *
296 * @param string $value
318297 * @return $this
319298 */
320299 public function extract($value)
@@ -327,8 +306,7 @@ class Image
327306 /**
328307 * Set the crop value.
329308 *
330 * @param string $value
331 *
309 * @param string $value
332310 * @return $this
333311 */
334312 public function crop($value)
@@ -341,8 +319,7 @@ class Image
341319 /**
342320 * Set the max height value.
343321 *
344 * @param int $value
345 *
322 * @param int $value
346323 * @return $this
347324 */
348325 public function maxH($value)
@@ -355,8 +332,7 @@ class Image
355332 /**
356333 * Set the min height value.
357334 *
358 * @param int $value
359 *
335 * @param int $value
360336 * @return $this
361337 */
362338 public function minH($value)
@@ -369,8 +345,7 @@ class Image
369345 /**
370346 * Set the max width value.
371347 *
372 * @param int $value
373 *
348 * @param int $value
374349 * @return $this
375350 */
376351 public function maxW($value)
@@ -383,8 +358,7 @@ class Image
383358 /**
384359 * Set the min width value.
385360 *
386 * @param int $value
387 *
361 * @param int $value
388362 * @return $this
389363 */
390364 public function minW($value)
@@ -397,8 +371,7 @@ class Image
397371 /**
398372 * Set the resize fit mode value.
399373 *
400 * @param string $value
401 *
374 * @param string $value
402375 * @return $this
403376 */
404377 public function fit($value)
@@ -411,8 +384,7 @@ class Image
411384 /**
412385 * Set the pixellate value.
413386 *
414 * @param int $value
415 *
387 * @param int $value
416388 * @return $this
417389 */
418390 public function px($value)
src/Functions/Video.phpmodified+8-15
formatting only · 8 hidden lines
Changes to src/Functions/Video.php
@@ -23,7 +23,7 @@ class Video formatting only
2323 /**
2424 * Construct media model.
2525 *
26 * @param Meema\MeemaClient\Client $client
26 * @param Meema\MeemaClient\Client $client
2727 */
2828 public function __construct(Client $client)
2929 {
Changes to src/Functions/Video.php
@@ -33,8 +33,7 @@ class Video
3333 /**
3434 * Set the video thumbnail value.
3535 *
36 * @param string|bool $value
37 *
36 * @param string|bool $value
3837 * @return $this
3938 */
4039 public function thumbnails($value)
@@ -47,8 +46,7 @@ class Video
4746 /**
4847 * Set the video hls value.
4948 *
50 * @param bool $value
51 *
49 * @param bool $value
5250 * @return $this
5351 */
5452 public function hls($value)
@@ -61,8 +59,7 @@ class Video
6159 /**
6260 * Set the video dash value.
6361 *
64 * @param bool $value
65 *
62 * @param bool $value
6663 * @return $this
6764 */
6865 public function dash($value)
@@ -75,8 +72,7 @@ class Video
7572 /**
7673 * Set the video poster value.
7774 *
78 * @param int $value
79 *
75 * @param int $value
8076 * @return $this
8177 */
8278 public function poster($value)
@@ -89,8 +85,7 @@ class Video
8985 /**
9086 * Set the video webvtt value.
9187 *
92 * @param bool $value
93 *
88 * @param bool $value
9489 * @return $this
9590 */
9691 public function webvtt($value)
@@ -103,8 +98,7 @@ class Video
10398 /**
10499 * Set the video format value.
105100 *
106 * @param string $value
107 *
101 * @param string $value
108102 * @return $this
109103 */
110104 public function format($value)
@@ -117,8 +111,7 @@ class Video
117111 /**
118112 * Set the video web optimized value.
119113 *
120 * @param bool $value
121 *
114 * @param bool $value
122115 * @return $this
123116 */
124117 public function webOptimized($value)
src/Models/Favorite.phpmodified+7-12
formatting only · 8 hidden lines
Changes to src/Models/Favorite.php
@@ -24,7 +24,7 @@ class Favorite formatting only
2424 /**
2525 * Construct Favorite model.
2626 *
27 * @param Meema\MeemaClient\Client $client
27 * @param Meema\MeemaClient\Client $client
2828 */
2929 public function __construct(Client $client)
3030 {
Changes to src/Models/Favorite.php
@@ -44,8 +44,7 @@ class Favorite
4444 /**
4545 * Get specific favorites.
4646 *
47 * @param array $ids
48 *
47 * @param array $ids
4948 * @return \Illuminate\Support\Collection|array
5049 */
5150 public function get($ids = null)
@@ -70,8 +69,7 @@ class Favorite
7069 /**
7170 * Get specific favorites.
7271 *
73 * @param int $id
74 *
72 * @param int $id
7573 * @return array
7674 */
7775 public function find($id)
@@ -88,8 +86,7 @@ class Favorite
8886 /**
8987 * Create favorite.
9088 *
91 * @param array $data
92 *
89 * @param array $data
9390 * @return array
9491 */
9592 public function create($data)
@@ -100,9 +97,8 @@ class Favorite
10097 /**
10198 * Update favorite.
10299 *
103 * @param int $id
104 * @param string $data
105 *
100 * @param int $id
101 * @param string $data
106102 * @return array
107103 */
108104 public function update($id, $data)
@@ -117,8 +113,7 @@ class Favorite
117113 /**
118114 * Delete a favorite.
119115 *
120 * @param array $ids
121 *
116 * @param array $ids
122117 * @return null
123118 */
124119 public function delete($ids)
src/Models/Folder.phpmodified+23-40
formatting only · 8 hidden lines
Changes to src/Models/Folder.php
@@ -30,7 +30,7 @@ class Folder formatting only
3030 /**
3131 * Construct Folder model.
3232 *
33 * @param Meema\MeemaClient\Client $client
33 * @param Meema\MeemaClient\Client $client
3434 */
3535 public function __construct(Client $client)
3636 {
Changes to src/Models/Folder.php
@@ -50,8 +50,7 @@ class Folder
5050 /**
5151 * Get specific folders.
5252 *
53 * @param int $id
54 *
53 * @param int $id
5554 * @return \Illuminate\Support\Collection|array
5655 *
5756 * @throws InvalidFormatException
@@ -78,8 +77,7 @@ class Folder
7877 /**
7978 * Search for specific folders.
8079 *
81 * @param string $query
82 *
80 * @param string $query
8381 * @return array
8482 */
8583 public function search($query)
@@ -92,8 +90,7 @@ class Folder
9290 /**
9391 * Get specific folders.
9492 *
95 * @param int $id
96 *
93 * @param int $id
9794 * @return Response
9895 *
9996 * @throws InvalidFormatException
@@ -112,8 +109,7 @@ class Folder
112109 /**
113110 * Create folder.
114111 *
115 * @param string $name
116 *
112 * @param string $name
117113 * @return array
118114 */
119115 public function create($name)
@@ -132,9 +128,8 @@ class Folder
132128 /**
133129 * Update folder.
134130 *
135 * @param int $id
136 * @param string $name
137 *
131 * @param int $id
132 * @param string $name
138133 * @return array
139134 */
140135 public function update($id, $name)
@@ -151,8 +146,7 @@ class Folder
151146 /**
152147 * Delete a folder.
153148 *
154 * @param array $ids
155 *
149 * @param array $ids
156150 * @return null
157151 *
158152 * @throws InvalidFormatException
@@ -184,8 +178,7 @@ class Folder
184178 /**
185179 * Archive a folder.
186180 *
187 * @param array $ids
188 *
181 * @param array $ids
189182 * @return array
190183 *
191184 * @throws InvalidFormatException
@@ -213,8 +206,7 @@ class Folder
213206 /**
214207 * Unarchive a folder.
215208 *
216 * @param array $ids
217 *
209 * @param array $ids
218210 * @return array
219211 *
220212 * @throws InvalidFormatException
@@ -242,8 +234,7 @@ class Folder
242234 /**
243235 * Duplicate a folder.
244236 *
245 * @param array $ids
246 *
237 * @param array $ids
247238 * @return array
248239 *
249240 * @throws InvalidFormatException
@@ -271,9 +262,8 @@ class Folder
271262 /**
272263 * Add folder to media.
273264 *
274 * @param int $id
275 * @param string $name
276 *
265 * @param int $id
266 * @param string $name
277267 * @return array
278268 *
279269 * @throws InvalidFormatException
@@ -290,9 +280,8 @@ class Folder
290280 /**
291281 * Delete folder from media.
292282 *
293 * @param int $id
294 * @param int $folderId
295 *
283 * @param int $id
284 * @param int $folderId
296285 * @return null
297286 *
298287 * @throws InvalidFormatException
@@ -309,9 +298,8 @@ class Folder
309298 /**
310299 * Associate tag to a folder.
311300 *
312 * @param int $id
313 * @param array $tag
314 *
301 * @param int $id
302 * @param array $tag
315303 * @return array
316304 */
317305 public function associateTag($id, $tag)
@@ -322,9 +310,8 @@ class Folder
322310 /**
323311 * Disassociate tag from a folder.
324312 *
325 * @param int $id
326 * @param array $tag
327 *
313 * @param int $id
314 * @param array $tag
328315 * @return array
329316 */
330317 public function disassociateTag($id, $tag)
@@ -335,8 +322,7 @@ class Folder
335322 /**
336323 * Initialize media model.
337324 *
338 * @param Meema\MeemaClient\Models\Media $media
339 *
325 * @param Meema\MeemaClient\Models\Media $media
340326 * @return self
341327 */
342328 public function setMedia($media): self
@@ -349,8 +335,7 @@ class Folder
349335 /**
350336 * Initialize media model.
351337 *
352 * @param Meema\MeemaClient\Models\Tag $tag
353 *
338 * @param Meema\MeemaClient\Models\Tag $tag
354339 * @return self
355340 */
356341 public function setTag($tag): self
@@ -373,8 +358,7 @@ class Folder
373358 /**
374359 * Initialize the media model.
375360 *
376 * @param int $id
377 *
361 * @param int $id
378362 * @return Meema\MeemaClient\Models\Media
379363 */
380364 public function media($id = null): Media
@@ -387,8 +371,7 @@ class Folder
387371 /**
388372 * Initialize the tags model.
389373 *
390 * @param int $id
391 *
374 * @param int $id
392375 * @return Meema\MeemaClient\Models\Tag
393376 */
394377 public function tags($id = null): Tag
src/Models/Media.phpmodified+21-38
formatting only · 8 hidden lines
Changes to src/Models/Media.php
@@ -30,7 +30,7 @@ class Media formatting only
3030 /**
3131 * Construct media model.
3232 *
33 * @param Meema\MeemaClient\Client $client
33 * @param Meema\MeemaClient\Client $client
3434 */
3535 public function __construct(Client $client)
3636 {
Changes to src/Models/Media.php
@@ -50,8 +50,7 @@ class Media
5050 /**
5151 * Get specific media.
5252 *
53 * @param array $ids
54 *
53 * @param array $ids
5554 * @return \Illuminate\Support\Collection|array
5655 *
5756 * @throws InvalidFormatException
@@ -82,8 +81,7 @@ class Media
8281 /**
8382 * Search for specific media.
8483 *
85 * @param string $query
86 *
84 * @param string $query
8785 * @return \Illuminate\Support\Collection|array
8886 */
8987 public function search($query)
@@ -96,8 +94,7 @@ class Media
9694 /**
9795 * Get specific media.
9896 *
99 * @param int $id
100 *
97 * @param int $id
10198 * @return array
10299 *
103100 * @throws InvalidFormatException
@@ -116,8 +113,7 @@ class Media
116113 /**
117114 * Create media.
118115 *
119 * @param string $name
120 *
116 * @param string $name
121117 * @return array
122118 */
123119 public function create($name)
@@ -130,9 +126,8 @@ class Media
130126 /**
131127 * Update media.
132128 *
133 * @param int $id
134 * @param string $name
135 *
129 * @param int $id
130 * @param string $name
136131 * @return array
137132 *
138133 * @throws InvalidFormatException
@@ -151,8 +146,7 @@ class Media
151146 /**
152147 * Delete a media.
153148 *
154 * @param array $ids
155 *
149 * @param array $ids
156150 * @return null
157151 *
158152 * @throws InvalidFormatException
@@ -180,8 +174,7 @@ class Media
180174 /**
181175 * Archive a media.
182176 *
183 * @param array $ids
184 *
177 * @param array $ids
185178 * @return array
186179 *
187180 * @throws InvalidFormatException
@@ -209,8 +202,7 @@ class Media
209202 /**
210203 * Unarchive a media.
211204 *
212 * @param array $ids
213 *
205 * @param array $ids
214206 * @return array
215207 *
216208 * @throws InvalidFormatException
@@ -238,8 +230,7 @@ class Media
238230 /**
239231 * Make a media private.
240232 *
241 * @param array $ids
242 *
233 * @param array $ids
243234 * @return array
244235 *
245236 * @throws InvalidFormatException
@@ -267,8 +258,7 @@ class Media
267258 /**
268259 * Make a media public.
269260 *
270 * @param array $ids
271 *
261 * @param array $ids
272262 * @return array
273263 *
274264 * @throws InvalidFormatException
@@ -296,8 +286,7 @@ class Media
296286 /**
297287 * Duplicate a media.
298288 *
299 * @param array $ids
300 *
289 * @param array $ids
301290 * @return array
302291 *
303292 * @throws InvalidFormatException
@@ -349,8 +338,7 @@ class Media
349338 /**
350339 * Fetch the media for the folder.
351340 *
352 * @param Meema\MeemaClient\Models\Folder $folder
353 *
341 * @param Meema\MeemaClient\Models\Folder $folder
354342 * @return self
355343 */
356344 public function setFolder($folder): self
@@ -363,8 +351,7 @@ class Media
363351 /**
364352 * Initialize media model.
365353 *
366 * @param Meema\MeemaClient\Models\Tag $tag
367 *
354 * @param Meema\MeemaClient\Models\Tag $tag
368355 * @return self
369356 */
370357 public function setTag($tag): self
@@ -387,8 +374,7 @@ class Media
387374 /**
388375 * Fetch the media for the folder.
389376 *
390 * @param int $id
391 *
377 * @param int $id
392378 * @return array
393379 */
394380 protected function fetchMediaForFolder($id)
@@ -399,8 +385,7 @@ class Media
399385 /**
400386 * Fetch the media for tags.
401387 *
402 * @param int $id
403 *
388 * @param int $id
404389 * @return array
405390 */
406391 protected function fetchMediaForTag($id)
@@ -435,9 +420,8 @@ class Media
435420 /**
436421 * Associate tag to a media.
437422 *
438 * @param int $id
439 * @param array $tag
440 *
423 * @param int $id
424 * @param array $tag
441425 * @return array
442426 */
443427 public function associateTag($id, $tag)
@@ -448,9 +432,8 @@ class Media
448432 /**
449433 * Disassociate tag from a media.
450434 *
451 * @param int $id
452 * @param array $tag
453 *
435 * @param int $id
436 * @param array $tag
454437 * @return array
455438 */
456439 public function disassociateTag($id, $tag)
src/Models/Storage.phpmodified+14-26
formatting only · 8 hidden lines
Changes to src/Models/Storage.php
@@ -14,7 +14,7 @@ class Storage formatting only
1414 /**
1515 * Construct storage model.
1616 *
17 * @param Meema\MeemaClient\Client $client
17 * @param Meema\MeemaClient\Client $client
1818 */
1919 public function __construct(Client $client)
2020 {
Changes to src/Models/Storage.php
@@ -24,8 +24,7 @@ class Storage
2424 /**
2525 * Upload a media file.
2626 *
27 * @param string $path
28 *
27 * @param string $path
2928 * @return array
3029 */
3130 public function upload($path, $contents = null, $config = [])
@@ -36,9 +35,8 @@ class Storage
3635 /**
3736 * Set the visibility for a file.
3837 *
39 * @param string $path
40 * @param string $visibility
41 *
38 * @param string $path
39 * @param string $visibility
4240 * @return array|false file meta data
4341 */
4442 public function setVisibility($path, $visibility)
@@ -49,8 +47,7 @@ class Storage
4947 /**
5048 * Check whether a file exists.
5149 *
52 * @param string $path
53 *
50 * @param string $path
5451 * @return bool
5552 */
5653 public function has($path)
@@ -63,8 +60,7 @@ class Storage
6360 /**
6461 * Get all the meta data of a file or directory.
6562 *
66 * @param string $path
67 *
63 * @param string $path
6864 * @return false|array
6965 */
7066 public function getMetadata($path)
@@ -75,8 +71,7 @@ class Storage
7571 /**
7672 * Destroy the file in storage.
7773 *
78 * @param string $path
79 *
74 * @param string $path
8075 * @return array
8176 */
8277 public function delete($path)
@@ -87,8 +82,7 @@ class Storage
8782 /**
8883 * Copy the file in storage.
8984 *
90 * @param string $path
91 *
85 * @param string $path
9286 * @return array
9387 */
9488 public function copy($path, $newpath)
@@ -99,8 +93,7 @@ class Storage
9993 /**
10094 * Read a file in storage.
10195 *
102 * @param string $path
103 *
96 * @param string $path
10497 * @return array
10598 */
10699 public function read($path)
@@ -111,8 +104,7 @@ class Storage
111104 /**
112105 * Read the stream of a file in storage.
113106 *
114 * @param string $path
115 *
107 * @param string $path
116108 * @return array
117109 */
118110 public function readStream($path)
@@ -123,8 +115,7 @@ class Storage
123115 /**
124116 * List contents of directory.
125117 *
126 * @param string $path
127 *
118 * @param string $path
128119 * @return array
129120 */
130121 public function listContents($directory, $recursive = false)
@@ -135,8 +126,7 @@ class Storage
135126 /**
136127 * Rename the file in storage.
137128 *
138 * @param string $path
139 *
129 * @param string $path
140130 * @return array
141131 */
142132 public function rename($path, $newpath)
@@ -147,8 +137,7 @@ class Storage
147137 /**
148138 * Destroy the directory in storage.
149139 *
150 * @param string $directory
151 *
140 * @param string $directory
152141 * @return array
153142 */
154143 public function deleteDirectory($directory)
@@ -159,8 +148,7 @@ class Storage
159148 /**
160149 * Create a directory in storage.
161150 *
162 * @param string $directory
163 *
151 * @param string $directory
164152 * @return array
165153 */
166154 public function makeDirectory($directory)
src/Models/Tag.phpmodified+24-42
formatting only · 8 hidden lines
Changes to src/Models/Tag.php
@@ -29,7 +29,7 @@ class Tag formatting only
2929 /**
3030 * Construct Folder model.
3131 *
32 * @param Meema\MeemaClient\Client $client
32 * @param Meema\MeemaClient\Client $client
3333 */
3434 public function __construct(Client $client)
3535 {
Changes to src/Models/Tag.php
@@ -49,8 +49,7 @@ class Tag
4949 /**
5050 * Get specific tags.
5151 *
52 * @param array $ids
53 *
52 * @param array $ids
5453 * @return \Illuminate\Support\Collection|array
5554 */
5655 public function get($ids = null)
@@ -79,8 +78,7 @@ class Tag
7978 /**
8079 * Get specific tags.
8180 *
82 * @param int $id
83 *
81 * @param int $id
8482 * @return Response
8583 */
8684 public function find($id): Response
@@ -97,9 +95,8 @@ class Tag
9795 /**
9896 * Update a tag color.
9997 *
100 * @param int $id
101 * @param string $color
102 *
98 * @param int $id
99 * @param string $color
103100 * @return array
104101 */
105102 public function update($id, $color)
@@ -119,8 +116,7 @@ class Tag
119116 /**
120117 * Delete tags.
121118 *
122 * @param array $ids
123 *
119 * @param array $ids
124120 * @return Response
125121 */
126122 public function delete($ids)
@@ -146,8 +142,7 @@ class Tag
146142 /**
147143 * Associate tags to a model.
148144 *
149 * @param array $tag
150 *
145 * @param array $tag
151146 * @return array
152147 */
153148 public function associate($tag)
@@ -158,8 +153,7 @@ class Tag
158153 /**
159154 * Associate tags to media.
160155 *
161 * @param array $tag
162 *
156 * @param array $tag
163157 * @return array
164158 */
165159 public function disassociate($tag)
@@ -170,8 +164,7 @@ class Tag
170164 /**
171165 * Initialize the media model.
172166 *
173 * @param int $id
174 *
167 * @param int $id
175168 * @return Meema\MeemaClient\Models\Media
176169 */
177170 public function media($id = null): Media
@@ -184,8 +177,7 @@ class Tag
184177 /**
185178 * Initialize the folder model.
186179 *
187 * @param int $id
188 *
180 * @param int $id
189181 * @return Meema\MeemaClient\Models\Folder
190182 */
191183 public function folders($id = null): Folder
@@ -198,8 +190,7 @@ class Tag
198190 /**
199191 * Fetch the tags for media.
200192 *
201 * @param int $id
202 *
193 * @param int $id
203194 * @return array
204195 */
205196 protected function fetchTagsForMedia($id)
@@ -210,8 +201,7 @@ class Tag
210201 /**
211202 * Fetch the tags for folders.
212203 *
213 * @param int $id
214 *
204 * @param int $id
215205 * @return array
216206 */
217207 protected function fetchTagsForFolder($id)
@@ -222,8 +212,7 @@ class Tag
222212 /**
223213 * Initialize media model.
224214 *
225 * @param Meema\MeemaClient\Models\Folder $folder
226 *
215 * @param Meema\MeemaClient\Models\Folder $folder
227216 * @return self
228217 */
229218 public function setFolder($folder): self
@@ -236,8 +225,7 @@ class Tag
236225 /**
237226 * Initialize media model.
238227 *
239 * @param Meema\MeemaClient\Models\Media $media
240 *
228 * @param Meema\MeemaClient\Models\Media $media
241229 * @return self
242230 */
243231 public function setMedia($media): self
@@ -283,8 +271,7 @@ class Tag
283271 /**
284272 * Associate tags to a folder or media.
285273 *
286 * @param array $tag
287 *
274 * @param array $tag
288275 * @return array
289276 */
290277 protected function associateToModel($tag)
@@ -308,8 +295,7 @@ class Tag
308295 /**
309296 * Associate tags to a folder or media.
310297 *
311 * @param array $tag
312 *
298 * @param array $tag
313299 * @return array
314300 */
315301 protected function disassociateToModel($tag)
@@ -333,9 +319,8 @@ class Tag
333319 /**
334320 * Associate tag to a folder.
335321 *
336 * @param int $id
337 * @param array $tag
338 *
322 * @param int $id
323 * @param array $tag
339324 * @return array
340325 */
341326 protected function associateTagToFolder($id, $tag)
@@ -346,9 +331,8 @@ class Tag
346331 /**
347332 * Disassociate tag from a folder.
348333 *
349 * @param int $id
350 * @param array $tag
351 *
334 * @param int $id
335 * @param array $tag
352336 * @return array
353337 */
354338 protected function disassociateTagFromFolder($id, $tag)
@@ -359,9 +343,8 @@ class Tag
359343 /**
360344 * Associate tag to a media.
361345 *
362 * @param int $id
363 * @param array $tag
364 *
346 * @param int $id
347 * @param array $tag
365348 * @return array
366349 */
367350 protected function associateTagToMedia($id, $tag)
@@ -372,9 +355,8 @@ class Tag
372355 /**
373356 * Disassociate tag from a media.
374357 *
375 * @param int $id
376 * @param array $tag
377 *
358 * @param int $id
359 * @param array $tag
378360 * @return array
379361 */
380362 protected function disassociateTagFromMedia($id, $tag)
src/Models/Team.phpmodified+9-15
formatting only · 10 hidden lines
Changes to src/Models/Team.php
@@ -15,8 +15,8 @@ class Team formatting only
1515 /**
1616 * Construct Folder model.
1717 *
18 * @param Meema\MeemaClient\Client $client
19 * @param int $teamId
18 * @param Meema\MeemaClient\Client $client
19 * @param int $teamId
2020 */
2121 public function __construct(Client $client)
2222 {
Changes to src/Models/Team.php
@@ -36,8 +36,7 @@ class Team
3636 /**
3737 * Get specific teams.
3838 *
39 * @param int $id
40 *
39 * @param int $id
4140 * @return array
4241 */
4342 public function get($id = null)
@@ -54,8 +53,7 @@ class Team
5453 /**
5554 * Get specific teams.
5655 *
57 * @param int $id
58 *
56 * @param int $id
5957 * @return array
6058 */
6159 public function find($id)
@@ -68,8 +66,7 @@ class Team
6866 /**
6967 * Create folder.
7068 *
71 * @param string $name
72 *
69 * @param string $name
7370 * @return array
7471 */
7572 public function create($data)
@@ -80,9 +77,8 @@ class Team
8077 /**
8178 * Update folder.
8279 *
83 * @param string $name
84 * @param int $id
85 *
80 * @param string $name
81 * @param int $id
8682 * @return array
8783 */
8884 public function update($id, $name)
@@ -95,8 +91,7 @@ class Team
9591 /**
9692 * Delete a folder.
9793 *
98 * @param int $id
99 *
94 * @param int $id
10095 * @return null
10196 */
10297 public function delete($id)
@@ -107,8 +102,7 @@ class Team
107102 /**
108103 * Delete a folder.
109104 *
110 * @param int $id
111 *
105 * @param int $id
112106 * @return null
113107 */
114108 public function toggleMediaRecognition($id, $status)
src/Response/Response.phpmodified+1-3
Changes to src/Response/Response.php
@@ -30,7 +30,6 @@ class Response
3030 *
3131 * @param string $method
3232 * @param array $parameters
33 *
3433 * @return mixed
3534 */
3635 public function __call($method, $parameters)
@@ -73,8 +72,7 @@ class Response
7372 /**
7473 * Get response content.
7574 *
76 * @param mixed $key
77 *
75 * @param mixed $key
7876 * @return array
7977 */
8078 public function getContent($key = null)
src/Traits/ForwardsCalls.phpmodifiedformatting only+1-1
Changes to src/Traits/ForwardsCalls.php
@@ -21,7 +21,7 @@ trait ForwardsCalls
2121 {
2222 try {
2323 return $object->{$method}(...$parameters);
24 } catch (Error | BadMethodCallException $e) {
24 } catch (Error|BadMethodCallException $e) {
2525 $pattern = '~^Call to undefined method (?P<class>[^:]+)::(?P<method>[^\(]+)\(\)$~';
2626
2727 if (! preg_match($pattern, $e->getMessage(), $matches)) {
src/Traits/ValidsUuid.phpmodified+1-2
Changes to src/Traits/ValidsUuid.php
@@ -7,8 +7,7 @@ trait ValidsUuid
77 /**
88 * Check if a given string is a valid UUID.
99 *
10 * @param string $uuid
11 *
10 * @param string $uuid
1211 * @return bool
1312 */
1413 public function isValidUuid($uuid)