also looking at this
Bump vlucas/phpdotenv from 5.3.1 to 5.4.0
#117
15 files
+250
-368
composer.lockmodified+107-112
| @@ -443,31 +443,26 @@ | ||
| 443 | 443 | }, |
| 444 | 444 | { |
| 445 | 445 | "name": "graham-campbell/result-type", |
| 446 | "version": "v1.0.1", | |
| 446 | "version": "v1.0.4", | |
| 447 | 447 | "source": { |
| 448 | 448 | "type": "git", |
| 449 | 449 | "url": "https://github.com/GrahamCampbell/Result-Type.git", |
| 450 | "reference": "7e279d2cd5d7fbb156ce46daada972355cea27bb" | |
| 450 | "reference": "0690bde05318336c7221785f2a932467f98b64ca" | |
| 451 | 451 | }, |
| 452 | 452 | "dist": { |
| 453 | 453 | "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", | |
| 456 | 456 | "shasum": "" |
| 457 | 457 | }, |
| 458 | 458 | "require": { |
| 459 | "php": "^7.0|^8.0", | |
| 460 | "phpoption/phpoption": "^1.7.3" | |
| 459 | "php": "^7.0 || ^8.0", | |
| 460 | "phpoption/phpoption": "^1.8" | |
| 461 | 461 | }, |
| 462 | 462 | "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" | |
| 464 | 464 | }, |
| 465 | 465 | "type": "library", |
| 466 | "extra": { | |
| 467 | "branch-alias": { | |
| 468 | "dev-master": "1.0-dev" | |
| 469 | } | |
| 470 | }, | |
| 471 | 466 | "autoload": { |
| 472 | 467 | "psr-4": { |
| 473 | 468 | "GrahamCampbell\\ResultType\\": "src/" |
| @@ -480,7 +475,8 @@ | ||
| 480 | 475 | "authors": [ |
| 481 | 476 | { |
| 482 | 477 | "name": "Graham Campbell", |
| 483 | "email": "graham@alt-three.com" | |
| 478 | "email": "hello@gjcampbell.co.uk", | |
| 479 | "homepage": "https://github.com/GrahamCampbell" | |
| 484 | 480 | } |
| 485 | 481 | ], |
| 486 | 482 | "description": "An Implementation Of The Result Type", |
| @@ -493,7 +489,7 @@ | ||
| 493 | 489 | ], |
| 494 | 490 | "support": { |
| 495 | 491 | "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" | |
| 497 | 493 | }, |
| 498 | 494 | "funding": [ |
| 499 | 495 | { |
| @@ -505,7 +501,7 @@ | ||
| 505 | 501 | "type": "tidelift" |
| 506 | 502 | } |
| 507 | 503 | ], |
| 508 | "time": "2020-04-13T13:17:36+00:00" | |
| 504 | "time": "2021-11-21T21:41:47+00:00" | |
| 509 | 505 | }, |
| 510 | 506 | { |
| 511 | 507 | "name": "guzzlehttp/guzzle", |
| @@ -1660,29 +1656,29 @@ | ||
| 1660 | 1656 | }, |
| 1661 | 1657 | { |
| 1662 | 1658 | "name": "phpoption/phpoption", |
| 1663 | "version": "1.7.5", | |
| 1659 | "version": "1.8.0", | |
| 1664 | 1660 | "source": { |
| 1665 | 1661 | "type": "git", |
| 1666 | 1662 | "url": "https://github.com/schmittjoh/php-option.git", |
| 1667 | "reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525" | |
| 1663 | "reference": "5455cb38aed4523f99977c4a12ef19da4bfe2a28" | |
| 1668 | 1664 | }, |
| 1669 | 1665 | "dist": { |
| 1670 | 1666 | "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", | |
| 1673 | 1669 | "shasum": "" |
| 1674 | 1670 | }, |
| 1675 | 1671 | "require": { |
| 1676 | "php": "^5.5.9 || ^7.0 || ^8.0" | |
| 1672 | "php": "^7.0 || ^8.0" | |
| 1677 | 1673 | }, |
| 1678 | 1674 | "require-dev": { |
| 1679 | 1675 | "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" | |
| 1681 | 1677 | }, |
| 1682 | 1678 | "type": "library", |
| 1683 | 1679 | "extra": { |
| 1684 | 1680 | "branch-alias": { |
| 1685 | "dev-master": "1.7-dev" | |
| 1681 | "dev-master": "1.8-dev" | |
| 1686 | 1682 | } |
| 1687 | 1683 | }, |
| 1688 | 1684 | "autoload": { |
| @@ -1701,7 +1697,7 @@ | ||
| 1701 | 1697 | }, |
| 1702 | 1698 | { |
| 1703 | 1699 | "name": "Graham Campbell", |
| 1704 | "email": "graham@alt-three.com" | |
| 1700 | "email": "hello@gjcampbell.co.uk" | |
| 1705 | 1701 | } |
| 1706 | 1702 | ], |
| 1707 | 1703 | "description": "Option Type for PHP", |
| @@ -1713,7 +1709,7 @@ | ||
| 1713 | 1709 | ], |
| 1714 | 1710 | "support": { |
| 1715 | 1711 | "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" | |
| 1717 | 1713 | }, |
| 1718 | 1714 | "funding": [ |
| 1719 | 1715 | { |
| @@ -1725,7 +1721,7 @@ | ||
| 1725 | 1721 | "type": "tidelift" |
| 1726 | 1722 | } |
| 1727 | 1723 | ], |
| 1728 | "time": "2020-07-20T17:29:33+00:00" | |
| 1724 | "time": "2021-08-28T21:27:29+00:00" | |
| 1729 | 1725 | }, |
| 1730 | 1726 | { |
| 1731 | 1727 | "name": "psr/container", |
| @@ -2383,16 +2379,16 @@ | ||
| 2383 | 2379 | }, |
| 2384 | 2380 | { |
| 2385 | 2381 | "name": "symfony/console", |
| 2386 | "version": "v5.3.6", | |
| 2382 | "version": "v5.3.7", | |
| 2387 | 2383 | "source": { |
| 2388 | 2384 | "type": "git", |
| 2389 | 2385 | "url": "https://github.com/symfony/console.git", |
| 2390 | "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2" | |
| 2386 | "reference": "8b1008344647462ae6ec57559da166c2bfa5e16a" | |
| 2391 | 2387 | }, |
| 2392 | 2388 | "dist": { |
| 2393 | 2389 | "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", | |
| 2396 | 2392 | "shasum": "" |
| 2397 | 2393 | }, |
| 2398 | 2394 | "require": { |
| @@ -2462,7 +2458,7 @@ | ||
| 2462 | 2458 | "terminal" |
| 2463 | 2459 | ], |
| 2464 | 2460 | "support": { |
| 2465 | "source": "https://github.com/symfony/console/tree/v5.3.6" | |
| 2461 | "source": "https://github.com/symfony/console/tree/v5.3.7" | |
| 2466 | 2462 | }, |
| 2467 | 2463 | "funding": [ |
| 2468 | 2464 | { |
| @@ -2478,7 +2474,7 @@ | ||
| 2478 | 2474 | "type": "tidelift" |
| 2479 | 2475 | } |
| 2480 | 2476 | ], |
| 2481 | "time": "2021-07-27T19:10:22+00:00" | |
| 2477 | "time": "2021-08-25T20:02:16+00:00" | |
| 2482 | 2478 | }, |
| 2483 | 2479 | { |
| 2484 | 2480 | "name": "symfony/css-selector", |
| @@ -4294,16 +4290,16 @@ | ||
| 4294 | 4290 | }, |
| 4295 | 4291 | { |
| 4296 | 4292 | "name": "symfony/string", |
| 4297 | "version": "v5.3.3", | |
| 4293 | "version": "v5.3.7", | |
| 4298 | 4294 | "source": { |
| 4299 | 4295 | "type": "git", |
| 4300 | 4296 | "url": "https://github.com/symfony/string.git", |
| 4301 | "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1" | |
| 4297 | "reference": "8d224396e28d30f81969f083a58763b8b9ceb0a5" | |
| 4302 | 4298 | }, |
| 4303 | 4299 | "dist": { |
| 4304 | 4300 | "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", | |
| 4307 | 4303 | "shasum": "" |
| 4308 | 4304 | }, |
| 4309 | 4305 | "require": { |
| @@ -4357,7 +4353,7 @@ | ||
| 4357 | 4353 | "utf8" |
| 4358 | 4354 | ], |
| 4359 | 4355 | "support": { |
| 4360 | "source": "https://github.com/symfony/string/tree/v5.3.3" | |
| 4356 | "source": "https://github.com/symfony/string/tree/v5.3.7" | |
| 4361 | 4357 | }, |
| 4362 | 4358 | "funding": [ |
| 4363 | 4359 | { |
| @@ -4373,7 +4369,7 @@ | ||
| 4373 | 4369 | "type": "tidelift" |
| 4374 | 4370 | } |
| 4375 | 4371 | ], |
| 4376 | "time": "2021-06-27T11:44:38+00:00" | |
| 4372 | "time": "2021-08-26T08:00:08+00:00" | |
| 4377 | 4373 | }, |
| 4378 | 4374 | { |
| 4379 | 4375 | "name": "symfony/translation", |
| @@ -4691,31 +4687,31 @@ | ||
| 4691 | 4687 | }, |
| 4692 | 4688 | { |
| 4693 | 4689 | "name": "vlucas/phpdotenv", |
| 4694 | "version": "v5.3.0", | |
| 4690 | "version": "v5.4.0", | |
| 4695 | 4691 | "source": { |
| 4696 | 4692 | "type": "git", |
| 4697 | 4693 | "url": "https://github.com/vlucas/phpdotenv.git", |
| 4698 | "reference": "b3eac5c7ac896e52deab4a99068e3f4ab12d9e56" | |
| 4694 | "reference": "d4394d044ed69a8f244f3445bcedf8a0d7fe2403" | |
| 4699 | 4695 | }, |
| 4700 | 4696 | "dist": { |
| 4701 | 4697 | "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", | |
| 4704 | 4700 | "shasum": "" |
| 4705 | 4701 | }, |
| 4706 | 4702 | "require": { |
| 4707 | 4703 | "ext-pcre": "*", |
| 4708 | "graham-campbell/result-type": "^1.0.1", | |
| 4704 | "graham-campbell/result-type": "^1.0.2", | |
| 4709 | 4705 | "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" | |
| 4714 | 4710 | }, |
| 4715 | 4711 | "require-dev": { |
| 4716 | 4712 | "bamarni/composer-bin-plugin": "^1.4.1", |
| 4717 | 4713 | "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" | |
| 4719 | 4715 | }, |
| 4720 | 4716 | "suggest": { |
| 4721 | 4717 | "ext-filter": "Required to use the boolean validator." |
| @@ -4723,7 +4719,7 @@ | ||
| 4723 | 4719 | "type": "library", |
| 4724 | 4720 | "extra": { |
| 4725 | 4721 | "branch-alias": { |
| 4726 | "dev-master": "5.3-dev" | |
| 4722 | "dev-master": "5.4-dev" | |
| 4727 | 4723 | } |
| 4728 | 4724 | }, |
| 4729 | 4725 | "autoload": { |
| @@ -4738,13 +4734,11 @@ | ||
| 4738 | 4734 | "authors": [ |
| 4739 | 4735 | { |
| 4740 | 4736 | "name": "Graham Campbell", |
| 4741 | "email": "graham@alt-three.com", | |
| 4742 | "homepage": "https://gjcampbell.co.uk/" | |
| 4737 | "email": "hello@gjcampbell.co.uk" | |
| 4743 | 4738 | }, |
| 4744 | 4739 | { |
| 4745 | 4740 | "name": "Vance Lucas", |
| 4746 | "email": "vance@vancelucas.com", | |
| 4747 | "homepage": "https://vancelucas.com/" | |
| 4741 | "email": "vance@vancelucas.com" | |
| 4748 | 4742 | } |
| 4749 | 4743 | ], |
| 4750 | 4744 | "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", |
| @@ -4755,7 +4749,7 @@ | ||
| 4755 | 4749 | ], |
| 4756 | 4750 | "support": { |
| 4757 | 4751 | "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" | |
| 4759 | 4753 | }, |
| 4760 | 4754 | "funding": [ |
| 4761 | 4755 | { |
| @@ -4767,7 +4761,7 @@ | ||
| 4767 | 4761 | "type": "tidelift" |
| 4768 | 4762 | } |
| 4769 | 4763 | ], |
| 4770 | "time": "2021-01-20T15:23:13+00:00" | |
| 4764 | "time": "2021-11-10T01:08:39+00:00" | |
| 4771 | 4765 | }, |
| 4772 | 4766 | { |
| 4773 | 4767 | "name": "voku/portable-ascii", |
| @@ -5092,16 +5086,16 @@ | ||
| 5092 | 5086 | }, |
| 5093 | 5087 | { |
| 5094 | 5088 | "name": "filp/whoops", |
| 5095 | "version": "2.14.0", | |
| 5089 | "version": "2.14.3", | |
| 5096 | 5090 | "source": { |
| 5097 | 5091 | "type": "git", |
| 5098 | 5092 | "url": "https://github.com/filp/whoops.git", |
| 5099 | "reference": "fdf92f03e150ed84d5967a833ae93abffac0315b" | |
| 5093 | "reference": "89584ce67dd32307f1063cc43846674f4679feda" | |
| 5100 | 5094 | }, |
| 5101 | 5095 | "dist": { |
| 5102 | 5096 | "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", | |
| 5105 | 5099 | "shasum": "" |
| 5106 | 5100 | }, |
| 5107 | 5101 | "require": { |
| @@ -5151,7 +5145,7 @@ | ||
| 5151 | 5145 | ], |
| 5152 | 5146 | "support": { |
| 5153 | 5147 | "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" | |
| 5155 | 5149 | }, |
| 5156 | 5150 | "funding": [ |
| 5157 | 5151 | { |
| @@ -5159,7 +5153,7 @@ | ||
| 5159 | 5153 | "type": "github" |
| 5160 | 5154 | } |
| 5161 | 5155 | ], |
| 5162 | "time": "2021-07-13T12:00:00+00:00" | |
| 5156 | "time": "2021-09-19T12:00:00+00:00" | |
| 5163 | 5157 | }, |
| 5164 | 5158 | { |
| 5165 | 5159 | "name": "hamcrest/hamcrest-php", |
| @@ -5344,16 +5338,16 @@ | ||
| 5344 | 5338 | }, |
| 5345 | 5339 | { |
| 5346 | 5340 | "name": "nikic/php-parser", |
| 5347 | "version": "v4.12.0", | |
| 5341 | "version": "v4.13.0", | |
| 5348 | 5342 | "source": { |
| 5349 | 5343 | "type": "git", |
| 5350 | 5344 | "url": "https://github.com/nikic/PHP-Parser.git", |
| 5351 | "reference": "6608f01670c3cc5079e18c1dab1104e002579143" | |
| 5345 | "reference": "50953a2691a922aa1769461637869a0a2faa3f53" | |
| 5352 | 5346 | }, |
| 5353 | 5347 | "dist": { |
| 5354 | 5348 | "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", | |
| 5357 | 5351 | "shasum": "" |
| 5358 | 5352 | }, |
| 5359 | 5353 | "require": { |
| @@ -5394,39 +5388,38 @@ | ||
| 5394 | 5388 | ], |
| 5395 | 5389 | "support": { |
| 5396 | 5390 | "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" | |
| 5398 | 5392 | }, |
| 5399 | "time": "2021-07-21T10:44:31+00:00" | |
| 5393 | "time": "2021-09-20T12:20:58+00:00" | |
| 5400 | 5394 | }, |
| 5401 | 5395 | { |
| 5402 | 5396 | "name": "nunomaduro/collision", |
| 5403 | "version": "v5.8.0", | |
| 5397 | "version": "v5.10.0", | |
| 5404 | 5398 | "source": { |
| 5405 | 5399 | "type": "git", |
| 5406 | 5400 | "url": "https://github.com/nunomaduro/collision.git", |
| 5407 | "reference": "0c3c393462eada1233513664e2d22bb9f69ca393" | |
| 5401 | "reference": "3004cfa49c022183395eabc6d0e5207dfe498d00" | |
| 5408 | 5402 | }, |
| 5409 | 5403 | "dist": { |
| 5410 | 5404 | "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", | |
| 5413 | 5407 | "shasum": "" |
| 5414 | 5408 | }, |
| 5415 | 5409 | "require": { |
| 5416 | 5410 | "facade/ignition-contracts": "^1.0", |
| 5417 | "filp/whoops": "^2.7.2", | |
| 5411 | "filp/whoops": "^2.14.3", | |
| 5418 | 5412 | "php": "^7.3 || ^8.0", |
| 5419 | 5413 | "symfony/console": "^5.0" |
| 5420 | 5414 | }, |
| 5421 | 5415 | "require-dev": { |
| 5422 | 5416 | "brianium/paratest": "^6.1", |
| 5423 | 5417 | "fideloper/proxy": "^4.4.1", |
| 5424 | "friendsofphp/php-cs-fixer": "^3.0", | |
| 5425 | 5418 | "fruitcake/laravel-cors": "^2.0.3", |
| 5426 | "laravel/framework": "^8.0 || ^9.0", | |
| 5419 | "laravel/framework": "8.x-dev", | |
| 5427 | 5420 | "nunomaduro/larastan": "^0.6.2", |
| 5428 | 5421 | "nunomaduro/mock-final-classes": "^1.0", |
| 5429 | "orchestra/testbench": "^6.0 || ^7.0", | |
| 5422 | "orchestra/testbench": "^6.0", | |
| 5430 | 5423 | "phpstan/phpstan": "^0.12.64", |
| 5431 | 5424 | "phpunit/phpunit": "^9.5.0" |
| 5432 | 5425 | }, |
| @@ -5484,7 +5477,7 @@ | ||
| 5484 | 5477 | "type": "patreon" |
| 5485 | 5478 | } |
| 5486 | 5479 | ], |
| 5487 | "time": "2021-08-13T14:23:01+00:00" | |
| 5480 | "time": "2021-09-20T15:06:32+00:00" | |
| 5488 | 5481 | }, |
| 5489 | 5482 | { |
| 5490 | 5483 | "name": "orchestra/testbench", |
| @@ -5640,20 +5633,20 @@ | ||
| 5640 | 5633 | }, |
| 5641 | 5634 | { |
| 5642 | 5635 | "name": "pestphp/pest", |
| 5643 | "version": "v1.15.0", | |
| 5636 | "version": "v1.19.0", | |
| 5644 | 5637 | "source": { |
| 5645 | 5638 | "type": "git", |
| 5646 | 5639 | "url": "https://github.com/pestphp/pest.git", |
| 5647 | "reference": "d1a9e0bbe31dcb266690dc4e7517e2cb73d5827a" | |
| 5640 | "reference": "58cff003d8d478ecb4cbe87bd6380f51efc4ebc7" | |
| 5648 | 5641 | }, |
| 5649 | 5642 | "dist": { |
| 5650 | 5643 | "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", | |
| 5653 | 5646 | "shasum": "" |
| 5654 | 5647 | }, |
| 5655 | 5648 | "require": { |
| 5656 | "nunomaduro/collision": "^5.4.0", | |
| 5649 | "nunomaduro/collision": "^5.4.0|^6.0", | |
| 5657 | 5650 | "pestphp/pest-plugin": "^1.0.0", |
| 5658 | 5651 | "php": "^7.3 || ^8.0", |
| 5659 | 5652 | "phpunit/phpunit": "^9.5.5" |
| @@ -5662,7 +5655,8 @@ | ||
| 5662 | 5655 | "illuminate/console": "^8.47.0", |
| 5663 | 5656 | "illuminate/support": "^8.47.0", |
| 5664 | 5657 | "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" | |
| 5666 | 5660 | }, |
| 5667 | 5661 | "bin": [ |
| 5668 | 5662 | "bin/pest" |
| @@ -5715,7 +5709,7 @@ | ||
| 5715 | 5709 | ], |
| 5716 | 5710 | "support": { |
| 5717 | 5711 | "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" | |
| 5719 | 5713 | }, |
| 5720 | 5714 | "funding": [ |
| 5721 | 5715 | { |
| @@ -5743,7 +5737,7 @@ | ||
| 5743 | 5737 | "type": "patreon" |
| 5744 | 5738 | } |
| 5745 | 5739 | ], |
| 5746 | "time": "2021-08-04T22:02:18+00:00" | |
| 5740 | "time": "2021-09-20T18:30:58+00:00" | |
| 5747 | 5741 | }, |
| 5748 | 5742 | { |
| 5749 | 5743 | "name": "pestphp/pest-plugin", |
| @@ -6039,16 +6033,16 @@ | ||
| 6039 | 6033 | }, |
| 6040 | 6034 | { |
| 6041 | 6035 | "name": "phpdocumentor/type-resolver", |
| 6042 | "version": "1.4.0", | |
| 6036 | "version": "1.5.0", | |
| 6043 | 6037 | "source": { |
| 6044 | 6038 | "type": "git", |
| 6045 | 6039 | "url": "https://github.com/phpDocumentor/TypeResolver.git", |
| 6046 | "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0" | |
| 6040 | "reference": "30f38bffc6f24293dadd1823936372dfa9e86e2f" | |
| 6047 | 6041 | }, |
| 6048 | 6042 | "dist": { |
| 6049 | 6043 | "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", | |
| 6052 | 6046 | "shasum": "" |
| 6053 | 6047 | }, |
| 6054 | 6048 | "require": { |
| @@ -6056,7 +6050,8 @@ | ||
| 6056 | 6050 | "phpdocumentor/reflection-common": "^2.0" |
| 6057 | 6051 | }, |
| 6058 | 6052 | "require-dev": { |
| 6059 | "ext-tokenizer": "*" | |
| 6053 | "ext-tokenizer": "*", | |
| 6054 | "psalm/phar": "^4.8" | |
| 6060 | 6055 | }, |
| 6061 | 6056 | "type": "library", |
| 6062 | 6057 | "extra": { |
| @@ -6082,39 +6077,39 @@ | ||
| 6082 | 6077 | "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", |
| 6083 | 6078 | "support": { |
| 6084 | 6079 | "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" | |
| 6086 | 6081 | }, |
| 6087 | "time": "2020-09-17T18:55:26+00:00" | |
| 6082 | "time": "2021-09-17T15:28:14+00:00" | |
| 6088 | 6083 | }, |
| 6089 | 6084 | { |
| 6090 | 6085 | "name": "phpspec/prophecy", |
| 6091 | "version": "1.13.0", | |
| 6086 | "version": "1.14.0", | |
| 6092 | 6087 | "source": { |
| 6093 | 6088 | "type": "git", |
| 6094 | 6089 | "url": "https://github.com/phpspec/prophecy.git", |
| 6095 | "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea" | |
| 6090 | "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e" | |
| 6096 | 6091 | }, |
| 6097 | 6092 | "dist": { |
| 6098 | 6093 | "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", | |
| 6101 | 6096 | "shasum": "" |
| 6102 | 6097 | }, |
| 6103 | 6098 | "require": { |
| 6104 | 6099 | "doctrine/instantiator": "^1.2", |
| 6105 | "php": "^7.2 || ~8.0, <8.1", | |
| 6100 | "php": "^7.2 || ~8.0, <8.2", | |
| 6106 | 6101 | "phpdocumentor/reflection-docblock": "^5.2", |
| 6107 | 6102 | "sebastian/comparator": "^3.0 || ^4.0", |
| 6108 | 6103 | "sebastian/recursion-context": "^3.0 || ^4.0" |
| 6109 | 6104 | }, |
| 6110 | 6105 | "require-dev": { |
| 6111 | "phpspec/phpspec": "^6.0", | |
| 6106 | "phpspec/phpspec": "^6.0 || ^7.0", | |
| 6112 | 6107 | "phpunit/phpunit": "^8.0 || ^9.0" |
| 6113 | 6108 | }, |
| 6114 | 6109 | "type": "library", |
| 6115 | 6110 | "extra": { |
| 6116 | 6111 | "branch-alias": { |
| 6117 | "dev-master": "1.11.x-dev" | |
| 6112 | "dev-master": "1.x-dev" | |
| 6118 | 6113 | } |
| 6119 | 6114 | }, |
| 6120 | 6115 | "autoload": { |
| @@ -6149,29 +6144,29 @@ | ||
| 6149 | 6144 | ], |
| 6150 | 6145 | "support": { |
| 6151 | 6146 | "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" | |
| 6153 | 6148 | }, |
| 6154 | "time": "2021-03-17T13:42:18+00:00" | |
| 6149 | "time": "2021-09-10T09:02:12+00:00" | |
| 6155 | 6150 | }, |
| 6156 | 6151 | { |
| 6157 | 6152 | "name": "phpunit/php-code-coverage", |
| 6158 | "version": "9.2.6", | |
| 6153 | "version": "9.2.7", | |
| 6159 | 6154 | "source": { |
| 6160 | 6155 | "type": "git", |
| 6161 | 6156 | "url": "https://github.com/sebastianbergmann/php-code-coverage.git", |
| 6162 | "reference": "f6293e1b30a2354e8428e004689671b83871edde" | |
| 6157 | "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218" | |
| 6163 | 6158 | }, |
| 6164 | 6159 | "dist": { |
| 6165 | 6160 | "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", | |
| 6168 | 6163 | "shasum": "" |
| 6169 | 6164 | }, |
| 6170 | 6165 | "require": { |
| 6171 | 6166 | "ext-dom": "*", |
| 6172 | 6167 | "ext-libxml": "*", |
| 6173 | 6168 | "ext-xmlwriter": "*", |
| 6174 | "nikic/php-parser": "^4.10.2", | |
| 6169 | "nikic/php-parser": "^4.12.0", | |
| 6175 | 6170 | "php": ">=7.3", |
| 6176 | 6171 | "phpunit/php-file-iterator": "^3.0.3", |
| 6177 | 6172 | "phpunit/php-text-template": "^2.0.2", |
| @@ -6220,7 +6215,7 @@ | ||
| 6220 | 6215 | ], |
| 6221 | 6216 | "support": { |
| 6222 | 6217 | "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" | |
| 6224 | 6219 | }, |
| 6225 | 6220 | "funding": [ |
| 6226 | 6221 | { |
| @@ -6228,7 +6223,7 @@ | ||
| 6228 | 6223 | "type": "github" |
| 6229 | 6224 | } |
| 6230 | 6225 | ], |
| 6231 | "time": "2021-03-28T07:26:59+00:00" | |
| 6226 | "time": "2021-09-17T05:39:03+00:00" | |
| 6232 | 6227 | }, |
| 6233 | 6228 | { |
| 6234 | 6229 | "name": "phpunit/php-file-iterator", |
| @@ -6473,16 +6468,16 @@ | ||
| 6473 | 6468 | }, |
| 6474 | 6469 | { |
| 6475 | 6470 | "name": "phpunit/phpunit", |
| 6476 | "version": "9.5.8", | |
| 6471 | "version": "9.5.9", | |
| 6477 | 6472 | "source": { |
| 6478 | 6473 | "type": "git", |
| 6479 | 6474 | "url": "https://github.com/sebastianbergmann/phpunit.git", |
| 6480 | "reference": "191768ccd5c85513b4068bdbe99bb6390c7d54fb" | |
| 6475 | "reference": "ea8c2dfb1065eb35a79b3681eee6e6fb0a6f273b" | |
| 6481 | 6476 | }, |
| 6482 | 6477 | "dist": { |
| 6483 | 6478 | "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", | |
| 6486 | 6481 | "shasum": "" |
| 6487 | 6482 | }, |
| 6488 | 6483 | "require": { |
| @@ -6560,7 +6555,7 @@ | ||
| 6560 | 6555 | ], |
| 6561 | 6556 | "support": { |
| 6562 | 6557 | "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" | |
| 6564 | 6559 | }, |
| 6565 | 6560 | "funding": [ |
| 6566 | 6561 | { |
| @@ -6572,7 +6567,7 @@ | ||
| 6572 | 6567 | "type": "github" |
| 6573 | 6568 | } |
| 6574 | 6569 | ], |
| 6575 | "time": "2021-07-31T15:17:34+00:00" | |
| 6570 | "time": "2021-08-31T06:47:40+00:00" | |
| 6576 | 6571 | }, |
| 6577 | 6572 | { |
| 6578 | 6573 | "name": "sebastian/cli-parser", |
| @@ -32,7 +32,7 @@ class Client | ||
| 32 | 32 | /** |
| 33 | 33 | * Construct Meema client. |
| 34 | 34 | * |
| 35 | * @param string $accessKey | |
| 35 | * @param string $accessKey | |
| 36 | 36 | */ |
| 37 | 37 | public function __construct($accessKey, $config = []) |
| 38 | 38 | { |
| @@ -67,8 +67,8 @@ class Client | ||
| 67 | 67 | /** |
| 68 | 68 | * Handle the API request. |
| 69 | 69 | * |
| 70 | * @param string $method | |
| 71 | * @param string $path | |
| 70 | * @param string $method | |
| 71 | * @param string $path | |
| 72 | 72 | */ |
| 73 | 73 | public function request($method, $path, $data = null) |
| 74 | 74 | { |
formatting only · 8 hidden lines
| @@ -23,7 +23,7 @@ class Image formatting only | ||
| 23 | 23 | /** |
| 24 | 24 | * Construct media model. |
| 25 | 25 | * |
| 26 | * @param Meema\MeemaClient\Client $client | |
| 26 | * @param Meema\MeemaClient\Client $client | |
| 27 | 27 | */ |
| 28 | 28 | public function __construct(Client $client) |
| 29 | 29 | { |
| @@ -33,8 +33,7 @@ class Image | ||
| 33 | 33 | /** |
| 34 | 34 | * Set the image width. |
| 35 | 35 | * |
| 36 | * @param int $value | |
| 37 | * | |
| 36 | * @param int $value | |
| 38 | 37 | * @return $this |
| 39 | 38 | */ |
| 40 | 39 | public function w($value) |
| @@ -47,8 +46,7 @@ class Image | ||
| 47 | 46 | /** |
| 48 | 47 | * Set the image height value. |
| 49 | 48 | * |
| 50 | * @param int $value | |
| 51 | * | |
| 49 | * @param int $value | |
| 52 | 50 | * @return $this |
| 53 | 51 | */ |
| 54 | 52 | public function h($value) |
| @@ -61,8 +59,7 @@ class Image | ||
| 61 | 59 | /** |
| 62 | 60 | * Set the image quality value. |
| 63 | 61 | * |
| 64 | * @param int $value | |
| 65 | * | |
| 62 | * @param int $value | |
| 66 | 63 | * @return $this |
| 67 | 64 | */ |
| 68 | 65 | public function q($value) |
| @@ -75,8 +72,7 @@ class Image | ||
| 75 | 72 | /** |
| 76 | 73 | * Set the image blur value. |
| 77 | 74 | * |
| 78 | * @param int $value | |
| 79 | * | |
| 75 | * @param int $value | |
| 80 | 76 | * @return $this |
| 81 | 77 | */ |
| 82 | 78 | public function blur($value) |
| @@ -89,8 +85,7 @@ class Image | ||
| 89 | 85 | /** |
| 90 | 86 | * Determine if image is nsfw. |
| 91 | 87 | * |
| 92 | * @param int|string $value | |
| 93 | * | |
| 88 | * @param int|string $value | |
| 94 | 89 | * @return $this |
| 95 | 90 | */ |
| 96 | 91 | public function nsfw($value) |
| @@ -103,8 +98,7 @@ class Image | ||
| 103 | 98 | /** |
| 104 | 99 | * Set image background value. |
| 105 | 100 | * |
| 106 | * @param string $value | |
| 107 | * | |
| 101 | * @param string $value | |
| 108 | 102 | * @return $this |
| 109 | 103 | */ |
| 110 | 104 | public function bg($value) |
| @@ -117,8 +111,7 @@ class Image | ||
| 117 | 111 | /** |
| 118 | 112 | * Set the aspect ratio value. |
| 119 | 113 | * |
| 120 | * @param int $value | |
| 121 | * | |
| 114 | * @param int $value | |
| 122 | 115 | * @return $this |
| 123 | 116 | */ |
| 124 | 117 | public function ar($value) |
| @@ -131,8 +124,7 @@ class Image | ||
| 131 | 124 | /** |
| 132 | 125 | * Set the brightness value. |
| 133 | 126 | * |
| 134 | * @param int $value | |
| 135 | * | |
| 127 | * @param int $value | |
| 136 | 128 | * @return $this |
| 137 | 129 | */ |
| 138 | 130 | public function bri($value) |
| @@ -145,8 +137,7 @@ class Image | ||
| 145 | 137 | /** |
| 146 | 138 | * Set the hue shift value. |
| 147 | 139 | * |
| 148 | * @param int $value | |
| 149 | * | |
| 140 | * @param int $value | |
| 150 | 141 | * @return $this |
| 151 | 142 | */ |
| 152 | 143 | public function hue($value) |
| @@ -159,8 +150,7 @@ class Image | ||
| 159 | 150 | /** |
| 160 | 151 | * Set the saturation value. |
| 161 | 152 | * |
| 162 | * @param int $value | |
| 163 | * | |
| 153 | * @param int $value | |
| 164 | 154 | * @return $this |
| 165 | 155 | */ |
| 166 | 156 | public function sat($value) |
| @@ -173,8 +163,7 @@ class Image | ||
| 173 | 163 | /** |
| 174 | 164 | * Set the sharpen value. |
| 175 | 165 | * |
| 176 | * @param int $value | |
| 177 | * | |
| 166 | * @param int $value | |
| 178 | 167 | * @return $this |
| 179 | 168 | */ |
| 180 | 169 | public function sharp($value) |
| @@ -187,8 +176,7 @@ class Image | ||
| 187 | 176 | /** |
| 188 | 177 | * Set the border radius outer value. |
| 189 | 178 | * |
| 190 | * @param string $value | |
| 191 | * | |
| 179 | * @param string $value | |
| 192 | 180 | * @return $this |
| 193 | 181 | */ |
| 194 | 182 | public function pad($value) |
| @@ -201,8 +189,7 @@ class Image | ||
| 201 | 189 | /** |
| 202 | 190 | * Set the greyscale value. |
| 203 | 191 | * |
| 204 | * @param bool $value | |
| 205 | * | |
| 192 | * @param bool $value | |
| 206 | 193 | * @return $this |
| 207 | 194 | */ |
| 208 | 195 | public function greyscale($value) |
| @@ -215,8 +202,7 @@ class Image | ||
| 215 | 202 | /** |
| 216 | 203 | * Set the trim value. |
| 217 | 204 | * |
| 218 | * @param string $value | |
| 219 | * | |
| 205 | * @param string $value | |
| 220 | 206 | * @return $this |
| 221 | 207 | */ |
| 222 | 208 | public function trim($value) |
| @@ -229,8 +215,7 @@ class Image | ||
| 229 | 215 | /** |
| 230 | 216 | * Set the face index value. |
| 231 | 217 | * |
| 232 | * @param int $value | |
| 233 | * | |
| 218 | * @param int $value | |
| 234 | 219 | * @return $this |
| 235 | 220 | */ |
| 236 | 221 | public function faceindex($value) |
| @@ -243,8 +228,7 @@ class Image | ||
| 243 | 228 | /** |
| 244 | 229 | * Set the fill color value. |
| 245 | 230 | * |
| 246 | * @param string $value | |
| 247 | * | |
| 231 | * @param string $value | |
| 248 | 232 | * @return $this |
| 249 | 233 | */ |
| 250 | 234 | public function fillColor($value) |
| @@ -257,8 +241,7 @@ class Image | ||
| 257 | 241 | /** |
| 258 | 242 | * Set the fill value. |
| 259 | 243 | * |
| 260 | * @param string $value | |
| 261 | * | |
| 244 | * @param string $value | |
| 262 | 245 | * @return $this |
| 263 | 246 | */ |
| 264 | 247 | public function fill($value) |
| @@ -271,8 +254,7 @@ class Image | ||
| 271 | 254 | /** |
| 272 | 255 | * Set the color space value. |
| 273 | 256 | * |
| 274 | * @param string $value | |
| 275 | * | |
| 257 | * @param string $value | |
| 276 | 258 | * @return $this |
| 277 | 259 | */ |
| 278 | 260 | public function cs($value) |
| @@ -285,8 +267,7 @@ class Image | ||
| 285 | 267 | /** |
| 286 | 268 | * Set the device pixel ration value. |
| 287 | 269 | * |
| 288 | * @param string $value | |
| 289 | * | |
| 270 | * @param string $value | |
| 290 | 271 | * @return $this |
| 291 | 272 | */ |
| 292 | 273 | public function dpr($value) |
| @@ -299,8 +280,7 @@ class Image | ||
| 299 | 280 | /** |
| 300 | 281 | * Set the extend value. |
| 301 | 282 | * |
| 302 | * @param int $value | |
| 303 | * | |
| 283 | * @param int $value | |
| 304 | 284 | * @return $this |
| 305 | 285 | */ |
| 306 | 286 | public function extend($value) |
| @@ -313,8 +293,7 @@ class Image | ||
| 313 | 293 | /** |
| 314 | 294 | * Set the extract value. |
| 315 | 295 | * |
| 316 | * @param string $value | |
| 317 | * | |
| 296 | * @param string $value | |
| 318 | 297 | * @return $this |
| 319 | 298 | */ |
| 320 | 299 | public function extract($value) |
| @@ -327,8 +306,7 @@ class Image | ||
| 327 | 306 | /** |
| 328 | 307 | * Set the crop value. |
| 329 | 308 | * |
| 330 | * @param string $value | |
| 331 | * | |
| 309 | * @param string $value | |
| 332 | 310 | * @return $this |
| 333 | 311 | */ |
| 334 | 312 | public function crop($value) |
| @@ -341,8 +319,7 @@ class Image | ||
| 341 | 319 | /** |
| 342 | 320 | * Set the max height value. |
| 343 | 321 | * |
| 344 | * @param int $value | |
| 345 | * | |
| 322 | * @param int $value | |
| 346 | 323 | * @return $this |
| 347 | 324 | */ |
| 348 | 325 | public function maxH($value) |
| @@ -355,8 +332,7 @@ class Image | ||
| 355 | 332 | /** |
| 356 | 333 | * Set the min height value. |
| 357 | 334 | * |
| 358 | * @param int $value | |
| 359 | * | |
| 335 | * @param int $value | |
| 360 | 336 | * @return $this |
| 361 | 337 | */ |
| 362 | 338 | public function minH($value) |
| @@ -369,8 +345,7 @@ class Image | ||
| 369 | 345 | /** |
| 370 | 346 | * Set the max width value. |
| 371 | 347 | * |
| 372 | * @param int $value | |
| 373 | * | |
| 348 | * @param int $value | |
| 374 | 349 | * @return $this |
| 375 | 350 | */ |
| 376 | 351 | public function maxW($value) |
| @@ -383,8 +358,7 @@ class Image | ||
| 383 | 358 | /** |
| 384 | 359 | * Set the min width value. |
| 385 | 360 | * |
| 386 | * @param int $value | |
| 387 | * | |
| 361 | * @param int $value | |
| 388 | 362 | * @return $this |
| 389 | 363 | */ |
| 390 | 364 | public function minW($value) |
| @@ -397,8 +371,7 @@ class Image | ||
| 397 | 371 | /** |
| 398 | 372 | * Set the resize fit mode value. |
| 399 | 373 | * |
| 400 | * @param string $value | |
| 401 | * | |
| 374 | * @param string $value | |
| 402 | 375 | * @return $this |
| 403 | 376 | */ |
| 404 | 377 | public function fit($value) |
| @@ -411,8 +384,7 @@ class Image | ||
| 411 | 384 | /** |
| 412 | 385 | * Set the pixellate value. |
| 413 | 386 | * |
| 414 | * @param int $value | |
| 415 | * | |
| 387 | * @param int $value | |
| 416 | 388 | * @return $this |
| 417 | 389 | */ |
| 418 | 390 | public function px($value) |
formatting only · 8 hidden lines
| @@ -23,7 +23,7 @@ class Video formatting only | ||
| 23 | 23 | /** |
| 24 | 24 | * Construct media model. |
| 25 | 25 | * |
| 26 | * @param Meema\MeemaClient\Client $client | |
| 26 | * @param Meema\MeemaClient\Client $client | |
| 27 | 27 | */ |
| 28 | 28 | public function __construct(Client $client) |
| 29 | 29 | { |
| @@ -33,8 +33,7 @@ class Video | ||
| 33 | 33 | /** |
| 34 | 34 | * Set the video thumbnail value. |
| 35 | 35 | * |
| 36 | * @param string|bool $value | |
| 37 | * | |
| 36 | * @param string|bool $value | |
| 38 | 37 | * @return $this |
| 39 | 38 | */ |
| 40 | 39 | public function thumbnails($value) |
| @@ -47,8 +46,7 @@ class Video | ||
| 47 | 46 | /** |
| 48 | 47 | * Set the video hls value. |
| 49 | 48 | * |
| 50 | * @param bool $value | |
| 51 | * | |
| 49 | * @param bool $value | |
| 52 | 50 | * @return $this |
| 53 | 51 | */ |
| 54 | 52 | public function hls($value) |
| @@ -61,8 +59,7 @@ class Video | ||
| 61 | 59 | /** |
| 62 | 60 | * Set the video dash value. |
| 63 | 61 | * |
| 64 | * @param bool $value | |
| 65 | * | |
| 62 | * @param bool $value | |
| 66 | 63 | * @return $this |
| 67 | 64 | */ |
| 68 | 65 | public function dash($value) |
| @@ -75,8 +72,7 @@ class Video | ||
| 75 | 72 | /** |
| 76 | 73 | * Set the video poster value. |
| 77 | 74 | * |
| 78 | * @param int $value | |
| 79 | * | |
| 75 | * @param int $value | |
| 80 | 76 | * @return $this |
| 81 | 77 | */ |
| 82 | 78 | public function poster($value) |
| @@ -89,8 +85,7 @@ class Video | ||
| 89 | 85 | /** |
| 90 | 86 | * Set the video webvtt value. |
| 91 | 87 | * |
| 92 | * @param bool $value | |
| 93 | * | |
| 88 | * @param bool $value | |
| 94 | 89 | * @return $this |
| 95 | 90 | */ |
| 96 | 91 | public function webvtt($value) |
| @@ -103,8 +98,7 @@ class Video | ||
| 103 | 98 | /** |
| 104 | 99 | * Set the video format value. |
| 105 | 100 | * |
| 106 | * @param string $value | |
| 107 | * | |
| 101 | * @param string $value | |
| 108 | 102 | * @return $this |
| 109 | 103 | */ |
| 110 | 104 | public function format($value) |
| @@ -117,8 +111,7 @@ class Video | ||
| 117 | 111 | /** |
| 118 | 112 | * Set the video web optimized value. |
| 119 | 113 | * |
| 120 | * @param bool $value | |
| 121 | * | |
| 114 | * @param bool $value | |
| 122 | 115 | * @return $this |
| 123 | 116 | */ |
| 124 | 117 | public function webOptimized($value) |
formatting only · 8 hidden lines
| @@ -24,7 +24,7 @@ class Favorite formatting only | ||
| 24 | 24 | /** |
| 25 | 25 | * Construct Favorite model. |
| 26 | 26 | * |
| 27 | * @param Meema\MeemaClient\Client $client | |
| 27 | * @param Meema\MeemaClient\Client $client | |
| 28 | 28 | */ |
| 29 | 29 | public function __construct(Client $client) |
| 30 | 30 | { |
| @@ -44,8 +44,7 @@ class Favorite | ||
| 44 | 44 | /** |
| 45 | 45 | * Get specific favorites. |
| 46 | 46 | * |
| 47 | * @param array $ids | |
| 48 | * | |
| 47 | * @param array $ids | |
| 49 | 48 | * @return \Illuminate\Support\Collection|array |
| 50 | 49 | */ |
| 51 | 50 | public function get($ids = null) |
| @@ -70,8 +69,7 @@ class Favorite | ||
| 70 | 69 | /** |
| 71 | 70 | * Get specific favorites. |
| 72 | 71 | * |
| 73 | * @param int $id | |
| 74 | * | |
| 72 | * @param int $id | |
| 75 | 73 | * @return array |
| 76 | 74 | */ |
| 77 | 75 | public function find($id) |
| @@ -88,8 +86,7 @@ class Favorite | ||
| 88 | 86 | /** |
| 89 | 87 | * Create favorite. |
| 90 | 88 | * |
| 91 | * @param array $data | |
| 92 | * | |
| 89 | * @param array $data | |
| 93 | 90 | * @return array |
| 94 | 91 | */ |
| 95 | 92 | public function create($data) |
| @@ -100,9 +97,8 @@ class Favorite | ||
| 100 | 97 | /** |
| 101 | 98 | * Update favorite. |
| 102 | 99 | * |
| 103 | * @param int $id | |
| 104 | * @param string $data | |
| 105 | * | |
| 100 | * @param int $id | |
| 101 | * @param string $data | |
| 106 | 102 | * @return array |
| 107 | 103 | */ |
| 108 | 104 | public function update($id, $data) |
| @@ -117,8 +113,7 @@ class Favorite | ||
| 117 | 113 | /** |
| 118 | 114 | * Delete a favorite. |
| 119 | 115 | * |
| 120 | * @param array $ids | |
| 121 | * | |
| 116 | * @param array $ids | |
| 122 | 117 | * @return null |
| 123 | 118 | */ |
| 124 | 119 | public function delete($ids) |
formatting only · 8 hidden lines
| @@ -30,7 +30,7 @@ class Folder formatting only | ||
| 30 | 30 | /** |
| 31 | 31 | * Construct Folder model. |
| 32 | 32 | * |
| 33 | * @param Meema\MeemaClient\Client $client | |
| 33 | * @param Meema\MeemaClient\Client $client | |
| 34 | 34 | */ |
| 35 | 35 | public function __construct(Client $client) |
| 36 | 36 | { |
| @@ -50,8 +50,7 @@ class Folder | ||
| 50 | 50 | /** |
| 51 | 51 | * Get specific folders. |
| 52 | 52 | * |
| 53 | * @param int $id | |
| 54 | * | |
| 53 | * @param int $id | |
| 55 | 54 | * @return \Illuminate\Support\Collection|array |
| 56 | 55 | * |
| 57 | 56 | * @throws InvalidFormatException |
| @@ -78,8 +77,7 @@ class Folder | ||
| 78 | 77 | /** |
| 79 | 78 | * Search for specific folders. |
| 80 | 79 | * |
| 81 | * @param string $query | |
| 82 | * | |
| 80 | * @param string $query | |
| 83 | 81 | * @return array |
| 84 | 82 | */ |
| 85 | 83 | public function search($query) |
| @@ -92,8 +90,7 @@ class Folder | ||
| 92 | 90 | /** |
| 93 | 91 | * Get specific folders. |
| 94 | 92 | * |
| 95 | * @param int $id | |
| 96 | * | |
| 93 | * @param int $id | |
| 97 | 94 | * @return Response |
| 98 | 95 | * |
| 99 | 96 | * @throws InvalidFormatException |
| @@ -112,8 +109,7 @@ class Folder | ||
| 112 | 109 | /** |
| 113 | 110 | * Create folder. |
| 114 | 111 | * |
| 115 | * @param string $name | |
| 116 | * | |
| 112 | * @param string $name | |
| 117 | 113 | * @return array |
| 118 | 114 | */ |
| 119 | 115 | public function create($name) |
| @@ -132,9 +128,8 @@ class Folder | ||
| 132 | 128 | /** |
| 133 | 129 | * Update folder. |
| 134 | 130 | * |
| 135 | * @param int $id | |
| 136 | * @param string $name | |
| 137 | * | |
| 131 | * @param int $id | |
| 132 | * @param string $name | |
| 138 | 133 | * @return array |
| 139 | 134 | */ |
| 140 | 135 | public function update($id, $name) |
| @@ -151,8 +146,7 @@ class Folder | ||
| 151 | 146 | /** |
| 152 | 147 | * Delete a folder. |
| 153 | 148 | * |
| 154 | * @param array $ids | |
| 155 | * | |
| 149 | * @param array $ids | |
| 156 | 150 | * @return null |
| 157 | 151 | * |
| 158 | 152 | * @throws InvalidFormatException |
| @@ -184,8 +178,7 @@ class Folder | ||
| 184 | 178 | /** |
| 185 | 179 | * Archive a folder. |
| 186 | 180 | * |
| 187 | * @param array $ids | |
| 188 | * | |
| 181 | * @param array $ids | |
| 189 | 182 | * @return array |
| 190 | 183 | * |
| 191 | 184 | * @throws InvalidFormatException |
| @@ -213,8 +206,7 @@ class Folder | ||
| 213 | 206 | /** |
| 214 | 207 | * Unarchive a folder. |
| 215 | 208 | * |
| 216 | * @param array $ids | |
| 217 | * | |
| 209 | * @param array $ids | |
| 218 | 210 | * @return array |
| 219 | 211 | * |
| 220 | 212 | * @throws InvalidFormatException |
| @@ -242,8 +234,7 @@ class Folder | ||
| 242 | 234 | /** |
| 243 | 235 | * Duplicate a folder. |
| 244 | 236 | * |
| 245 | * @param array $ids | |
| 246 | * | |
| 237 | * @param array $ids | |
| 247 | 238 | * @return array |
| 248 | 239 | * |
| 249 | 240 | * @throws InvalidFormatException |
| @@ -271,9 +262,8 @@ class Folder | ||
| 271 | 262 | /** |
| 272 | 263 | * Add folder to media. |
| 273 | 264 | * |
| 274 | * @param int $id | |
| 275 | * @param string $name | |
| 276 | * | |
| 265 | * @param int $id | |
| 266 | * @param string $name | |
| 277 | 267 | * @return array |
| 278 | 268 | * |
| 279 | 269 | * @throws InvalidFormatException |
| @@ -290,9 +280,8 @@ class Folder | ||
| 290 | 280 | /** |
| 291 | 281 | * Delete folder from media. |
| 292 | 282 | * |
| 293 | * @param int $id | |
| 294 | * @param int $folderId | |
| 295 | * | |
| 283 | * @param int $id | |
| 284 | * @param int $folderId | |
| 296 | 285 | * @return null |
| 297 | 286 | * |
| 298 | 287 | * @throws InvalidFormatException |
| @@ -309,9 +298,8 @@ class Folder | ||
| 309 | 298 | /** |
| 310 | 299 | * Associate tag to a folder. |
| 311 | 300 | * |
| 312 | * @param int $id | |
| 313 | * @param array $tag | |
| 314 | * | |
| 301 | * @param int $id | |
| 302 | * @param array $tag | |
| 315 | 303 | * @return array |
| 316 | 304 | */ |
| 317 | 305 | public function associateTag($id, $tag) |
| @@ -322,9 +310,8 @@ class Folder | ||
| 322 | 310 | /** |
| 323 | 311 | * Disassociate tag from a folder. |
| 324 | 312 | * |
| 325 | * @param int $id | |
| 326 | * @param array $tag | |
| 327 | * | |
| 313 | * @param int $id | |
| 314 | * @param array $tag | |
| 328 | 315 | * @return array |
| 329 | 316 | */ |
| 330 | 317 | public function disassociateTag($id, $tag) |
| @@ -335,8 +322,7 @@ class Folder | ||
| 335 | 322 | /** |
| 336 | 323 | * Initialize media model. |
| 337 | 324 | * |
| 338 | * @param Meema\MeemaClient\Models\Media $media | |
| 339 | * | |
| 325 | * @param Meema\MeemaClient\Models\Media $media | |
| 340 | 326 | * @return self |
| 341 | 327 | */ |
| 342 | 328 | public function setMedia($media): self |
| @@ -349,8 +335,7 @@ class Folder | ||
| 349 | 335 | /** |
| 350 | 336 | * Initialize media model. |
| 351 | 337 | * |
| 352 | * @param Meema\MeemaClient\Models\Tag $tag | |
| 353 | * | |
| 338 | * @param Meema\MeemaClient\Models\Tag $tag | |
| 354 | 339 | * @return self |
| 355 | 340 | */ |
| 356 | 341 | public function setTag($tag): self |
| @@ -373,8 +358,7 @@ class Folder | ||
| 373 | 358 | /** |
| 374 | 359 | * Initialize the media model. |
| 375 | 360 | * |
| 376 | * @param int $id | |
| 377 | * | |
| 361 | * @param int $id | |
| 378 | 362 | * @return Meema\MeemaClient\Models\Media |
| 379 | 363 | */ |
| 380 | 364 | public function media($id = null): Media |
| @@ -387,8 +371,7 @@ class Folder | ||
| 387 | 371 | /** |
| 388 | 372 | * Initialize the tags model. |
| 389 | 373 | * |
| 390 | * @param int $id | |
| 391 | * | |
| 374 | * @param int $id | |
| 392 | 375 | * @return Meema\MeemaClient\Models\Tag |
| 393 | 376 | */ |
| 394 | 377 | public function tags($id = null): Tag |
formatting only · 8 hidden lines
| @@ -30,7 +30,7 @@ class Media formatting only | ||
| 30 | 30 | /** |
| 31 | 31 | * Construct media model. |
| 32 | 32 | * |
| 33 | * @param Meema\MeemaClient\Client $client | |
| 33 | * @param Meema\MeemaClient\Client $client | |
| 34 | 34 | */ |
| 35 | 35 | public function __construct(Client $client) |
| 36 | 36 | { |
| @@ -50,8 +50,7 @@ class Media | ||
| 50 | 50 | /** |
| 51 | 51 | * Get specific media. |
| 52 | 52 | * |
| 53 | * @param array $ids | |
| 54 | * | |
| 53 | * @param array $ids | |
| 55 | 54 | * @return \Illuminate\Support\Collection|array |
| 56 | 55 | * |
| 57 | 56 | * @throws InvalidFormatException |
| @@ -82,8 +81,7 @@ class Media | ||
| 82 | 81 | /** |
| 83 | 82 | * Search for specific media. |
| 84 | 83 | * |
| 85 | * @param string $query | |
| 86 | * | |
| 84 | * @param string $query | |
| 87 | 85 | * @return \Illuminate\Support\Collection|array |
| 88 | 86 | */ |
| 89 | 87 | public function search($query) |
| @@ -96,8 +94,7 @@ class Media | ||
| 96 | 94 | /** |
| 97 | 95 | * Get specific media. |
| 98 | 96 | * |
| 99 | * @param int $id | |
| 100 | * | |
| 97 | * @param int $id | |
| 101 | 98 | * @return array |
| 102 | 99 | * |
| 103 | 100 | * @throws InvalidFormatException |
| @@ -116,8 +113,7 @@ class Media | ||
| 116 | 113 | /** |
| 117 | 114 | * Create media. |
| 118 | 115 | * |
| 119 | * @param string $name | |
| 120 | * | |
| 116 | * @param string $name | |
| 121 | 117 | * @return array |
| 122 | 118 | */ |
| 123 | 119 | public function create($name) |
| @@ -130,9 +126,8 @@ class Media | ||
| 130 | 126 | /** |
| 131 | 127 | * Update media. |
| 132 | 128 | * |
| 133 | * @param int $id | |
| 134 | * @param string $name | |
| 135 | * | |
| 129 | * @param int $id | |
| 130 | * @param string $name | |
| 136 | 131 | * @return array |
| 137 | 132 | * |
| 138 | 133 | * @throws InvalidFormatException |
| @@ -151,8 +146,7 @@ class Media | ||
| 151 | 146 | /** |
| 152 | 147 | * Delete a media. |
| 153 | 148 | * |
| 154 | * @param array $ids | |
| 155 | * | |
| 149 | * @param array $ids | |
| 156 | 150 | * @return null |
| 157 | 151 | * |
| 158 | 152 | * @throws InvalidFormatException |
| @@ -180,8 +174,7 @@ class Media | ||
| 180 | 174 | /** |
| 181 | 175 | * Archive a media. |
| 182 | 176 | * |
| 183 | * @param array $ids | |
| 184 | * | |
| 177 | * @param array $ids | |
| 185 | 178 | * @return array |
| 186 | 179 | * |
| 187 | 180 | * @throws InvalidFormatException |
| @@ -209,8 +202,7 @@ class Media | ||
| 209 | 202 | /** |
| 210 | 203 | * Unarchive a media. |
| 211 | 204 | * |
| 212 | * @param array $ids | |
| 213 | * | |
| 205 | * @param array $ids | |
| 214 | 206 | * @return array |
| 215 | 207 | * |
| 216 | 208 | * @throws InvalidFormatException |
| @@ -238,8 +230,7 @@ class Media | ||
| 238 | 230 | /** |
| 239 | 231 | * Make a media private. |
| 240 | 232 | * |
| 241 | * @param array $ids | |
| 242 | * | |
| 233 | * @param array $ids | |
| 243 | 234 | * @return array |
| 244 | 235 | * |
| 245 | 236 | * @throws InvalidFormatException |
| @@ -267,8 +258,7 @@ class Media | ||
| 267 | 258 | /** |
| 268 | 259 | * Make a media public. |
| 269 | 260 | * |
| 270 | * @param array $ids | |
| 271 | * | |
| 261 | * @param array $ids | |
| 272 | 262 | * @return array |
| 273 | 263 | * |
| 274 | 264 | * @throws InvalidFormatException |
| @@ -296,8 +286,7 @@ class Media | ||
| 296 | 286 | /** |
| 297 | 287 | * Duplicate a media. |
| 298 | 288 | * |
| 299 | * @param array $ids | |
| 300 | * | |
| 289 | * @param array $ids | |
| 301 | 290 | * @return array |
| 302 | 291 | * |
| 303 | 292 | * @throws InvalidFormatException |
| @@ -349,8 +338,7 @@ class Media | ||
| 349 | 338 | /** |
| 350 | 339 | * Fetch the media for the folder. |
| 351 | 340 | * |
| 352 | * @param Meema\MeemaClient\Models\Folder $folder | |
| 353 | * | |
| 341 | * @param Meema\MeemaClient\Models\Folder $folder | |
| 354 | 342 | * @return self |
| 355 | 343 | */ |
| 356 | 344 | public function setFolder($folder): self |
| @@ -363,8 +351,7 @@ class Media | ||
| 363 | 351 | /** |
| 364 | 352 | * Initialize media model. |
| 365 | 353 | * |
| 366 | * @param Meema\MeemaClient\Models\Tag $tag | |
| 367 | * | |
| 354 | * @param Meema\MeemaClient\Models\Tag $tag | |
| 368 | 355 | * @return self |
| 369 | 356 | */ |
| 370 | 357 | public function setTag($tag): self |
| @@ -387,8 +374,7 @@ class Media | ||
| 387 | 374 | /** |
| 388 | 375 | * Fetch the media for the folder. |
| 389 | 376 | * |
| 390 | * @param int $id | |
| 391 | * | |
| 377 | * @param int $id | |
| 392 | 378 | * @return array |
| 393 | 379 | */ |
| 394 | 380 | protected function fetchMediaForFolder($id) |
| @@ -399,8 +385,7 @@ class Media | ||
| 399 | 385 | /** |
| 400 | 386 | * Fetch the media for tags. |
| 401 | 387 | * |
| 402 | * @param int $id | |
| 403 | * | |
| 388 | * @param int $id | |
| 404 | 389 | * @return array |
| 405 | 390 | */ |
| 406 | 391 | protected function fetchMediaForTag($id) |
| @@ -435,9 +420,8 @@ class Media | ||
| 435 | 420 | /** |
| 436 | 421 | * Associate tag to a media. |
| 437 | 422 | * |
| 438 | * @param int $id | |
| 439 | * @param array $tag | |
| 440 | * | |
| 423 | * @param int $id | |
| 424 | * @param array $tag | |
| 441 | 425 | * @return array |
| 442 | 426 | */ |
| 443 | 427 | public function associateTag($id, $tag) |
| @@ -448,9 +432,8 @@ class Media | ||
| 448 | 432 | /** |
| 449 | 433 | * Disassociate tag from a media. |
| 450 | 434 | * |
| 451 | * @param int $id | |
| 452 | * @param array $tag | |
| 453 | * | |
| 435 | * @param int $id | |
| 436 | * @param array $tag | |
| 454 | 437 | * @return array |
| 455 | 438 | */ |
| 456 | 439 | public function disassociateTag($id, $tag) |
formatting only · 8 hidden lines
| @@ -14,7 +14,7 @@ class Storage formatting only | ||
| 14 | 14 | /** |
| 15 | 15 | * Construct storage model. |
| 16 | 16 | * |
| 17 | * @param Meema\MeemaClient\Client $client | |
| 17 | * @param Meema\MeemaClient\Client $client | |
| 18 | 18 | */ |
| 19 | 19 | public function __construct(Client $client) |
| 20 | 20 | { |
| @@ -24,8 +24,7 @@ class Storage | ||
| 24 | 24 | /** |
| 25 | 25 | * Upload a media file. |
| 26 | 26 | * |
| 27 | * @param string $path | |
| 28 | * | |
| 27 | * @param string $path | |
| 29 | 28 | * @return array |
| 30 | 29 | */ |
| 31 | 30 | public function upload($path, $contents = null, $config = []) |
| @@ -36,9 +35,8 @@ class Storage | ||
| 36 | 35 | /** |
| 37 | 36 | * Set the visibility for a file. |
| 38 | 37 | * |
| 39 | * @param string $path | |
| 40 | * @param string $visibility | |
| 41 | * | |
| 38 | * @param string $path | |
| 39 | * @param string $visibility | |
| 42 | 40 | * @return array|false file meta data |
| 43 | 41 | */ |
| 44 | 42 | public function setVisibility($path, $visibility) |
| @@ -49,8 +47,7 @@ class Storage | ||
| 49 | 47 | /** |
| 50 | 48 | * Check whether a file exists. |
| 51 | 49 | * |
| 52 | * @param string $path | |
| 53 | * | |
| 50 | * @param string $path | |
| 54 | 51 | * @return bool |
| 55 | 52 | */ |
| 56 | 53 | public function has($path) |
| @@ -63,8 +60,7 @@ class Storage | ||
| 63 | 60 | /** |
| 64 | 61 | * Get all the meta data of a file or directory. |
| 65 | 62 | * |
| 66 | * @param string $path | |
| 67 | * | |
| 63 | * @param string $path | |
| 68 | 64 | * @return false|array |
| 69 | 65 | */ |
| 70 | 66 | public function getMetadata($path) |
| @@ -75,8 +71,7 @@ class Storage | ||
| 75 | 71 | /** |
| 76 | 72 | * Destroy the file in storage. |
| 77 | 73 | * |
| 78 | * @param string $path | |
| 79 | * | |
| 74 | * @param string $path | |
| 80 | 75 | * @return array |
| 81 | 76 | */ |
| 82 | 77 | public function delete($path) |
| @@ -87,8 +82,7 @@ class Storage | ||
| 87 | 82 | /** |
| 88 | 83 | * Copy the file in storage. |
| 89 | 84 | * |
| 90 | * @param string $path | |
| 91 | * | |
| 85 | * @param string $path | |
| 92 | 86 | * @return array |
| 93 | 87 | */ |
| 94 | 88 | public function copy($path, $newpath) |
| @@ -99,8 +93,7 @@ class Storage | ||
| 99 | 93 | /** |
| 100 | 94 | * Read a file in storage. |
| 101 | 95 | * |
| 102 | * @param string $path | |
| 103 | * | |
| 96 | * @param string $path | |
| 104 | 97 | * @return array |
| 105 | 98 | */ |
| 106 | 99 | public function read($path) |
| @@ -111,8 +104,7 @@ class Storage | ||
| 111 | 104 | /** |
| 112 | 105 | * Read the stream of a file in storage. |
| 113 | 106 | * |
| 114 | * @param string $path | |
| 115 | * | |
| 107 | * @param string $path | |
| 116 | 108 | * @return array |
| 117 | 109 | */ |
| 118 | 110 | public function readStream($path) |
| @@ -123,8 +115,7 @@ class Storage | ||
| 123 | 115 | /** |
| 124 | 116 | * List contents of directory. |
| 125 | 117 | * |
| 126 | * @param string $path | |
| 127 | * | |
| 118 | * @param string $path | |
| 128 | 119 | * @return array |
| 129 | 120 | */ |
| 130 | 121 | public function listContents($directory, $recursive = false) |
| @@ -135,8 +126,7 @@ class Storage | ||
| 135 | 126 | /** |
| 136 | 127 | * Rename the file in storage. |
| 137 | 128 | * |
| 138 | * @param string $path | |
| 139 | * | |
| 129 | * @param string $path | |
| 140 | 130 | * @return array |
| 141 | 131 | */ |
| 142 | 132 | public function rename($path, $newpath) |
| @@ -147,8 +137,7 @@ class Storage | ||
| 147 | 137 | /** |
| 148 | 138 | * Destroy the directory in storage. |
| 149 | 139 | * |
| 150 | * @param string $directory | |
| 151 | * | |
| 140 | * @param string $directory | |
| 152 | 141 | * @return array |
| 153 | 142 | */ |
| 154 | 143 | public function deleteDirectory($directory) |
| @@ -159,8 +148,7 @@ class Storage | ||
| 159 | 148 | /** |
| 160 | 149 | * Create a directory in storage. |
| 161 | 150 | * |
| 162 | * @param string $directory | |
| 163 | * | |
| 151 | * @param string $directory | |
| 164 | 152 | * @return array |
| 165 | 153 | */ |
| 166 | 154 | public function makeDirectory($directory) |
formatting only · 8 hidden lines
| @@ -29,7 +29,7 @@ class Tag formatting only | ||
| 29 | 29 | /** |
| 30 | 30 | * Construct Folder model. |
| 31 | 31 | * |
| 32 | * @param Meema\MeemaClient\Client $client | |
| 32 | * @param Meema\MeemaClient\Client $client | |
| 33 | 33 | */ |
| 34 | 34 | public function __construct(Client $client) |
| 35 | 35 | { |
| @@ -49,8 +49,7 @@ class Tag | ||
| 49 | 49 | /** |
| 50 | 50 | * Get specific tags. |
| 51 | 51 | * |
| 52 | * @param array $ids | |
| 53 | * | |
| 52 | * @param array $ids | |
| 54 | 53 | * @return \Illuminate\Support\Collection|array |
| 55 | 54 | */ |
| 56 | 55 | public function get($ids = null) |
| @@ -79,8 +78,7 @@ class Tag | ||
| 79 | 78 | /** |
| 80 | 79 | * Get specific tags. |
| 81 | 80 | * |
| 82 | * @param int $id | |
| 83 | * | |
| 81 | * @param int $id | |
| 84 | 82 | * @return Response |
| 85 | 83 | */ |
| 86 | 84 | public function find($id): Response |
| @@ -97,9 +95,8 @@ class Tag | ||
| 97 | 95 | /** |
| 98 | 96 | * Update a tag color. |
| 99 | 97 | * |
| 100 | * @param int $id | |
| 101 | * @param string $color | |
| 102 | * | |
| 98 | * @param int $id | |
| 99 | * @param string $color | |
| 103 | 100 | * @return array |
| 104 | 101 | */ |
| 105 | 102 | public function update($id, $color) |
| @@ -119,8 +116,7 @@ class Tag | ||
| 119 | 116 | /** |
| 120 | 117 | * Delete tags. |
| 121 | 118 | * |
| 122 | * @param array $ids | |
| 123 | * | |
| 119 | * @param array $ids | |
| 124 | 120 | * @return Response |
| 125 | 121 | */ |
| 126 | 122 | public function delete($ids) |
| @@ -146,8 +142,7 @@ class Tag | ||
| 146 | 142 | /** |
| 147 | 143 | * Associate tags to a model. |
| 148 | 144 | * |
| 149 | * @param array $tag | |
| 150 | * | |
| 145 | * @param array $tag | |
| 151 | 146 | * @return array |
| 152 | 147 | */ |
| 153 | 148 | public function associate($tag) |
| @@ -158,8 +153,7 @@ class Tag | ||
| 158 | 153 | /** |
| 159 | 154 | * Associate tags to media. |
| 160 | 155 | * |
| 161 | * @param array $tag | |
| 162 | * | |
| 156 | * @param array $tag | |
| 163 | 157 | * @return array |
| 164 | 158 | */ |
| 165 | 159 | public function disassociate($tag) |
| @@ -170,8 +164,7 @@ class Tag | ||
| 170 | 164 | /** |
| 171 | 165 | * Initialize the media model. |
| 172 | 166 | * |
| 173 | * @param int $id | |
| 174 | * | |
| 167 | * @param int $id | |
| 175 | 168 | * @return Meema\MeemaClient\Models\Media |
| 176 | 169 | */ |
| 177 | 170 | public function media($id = null): Media |
| @@ -184,8 +177,7 @@ class Tag | ||
| 184 | 177 | /** |
| 185 | 178 | * Initialize the folder model. |
| 186 | 179 | * |
| 187 | * @param int $id | |
| 188 | * | |
| 180 | * @param int $id | |
| 189 | 181 | * @return Meema\MeemaClient\Models\Folder |
| 190 | 182 | */ |
| 191 | 183 | public function folders($id = null): Folder |
| @@ -198,8 +190,7 @@ class Tag | ||
| 198 | 190 | /** |
| 199 | 191 | * Fetch the tags for media. |
| 200 | 192 | * |
| 201 | * @param int $id | |
| 202 | * | |
| 193 | * @param int $id | |
| 203 | 194 | * @return array |
| 204 | 195 | */ |
| 205 | 196 | protected function fetchTagsForMedia($id) |
| @@ -210,8 +201,7 @@ class Tag | ||
| 210 | 201 | /** |
| 211 | 202 | * Fetch the tags for folders. |
| 212 | 203 | * |
| 213 | * @param int $id | |
| 214 | * | |
| 204 | * @param int $id | |
| 215 | 205 | * @return array |
| 216 | 206 | */ |
| 217 | 207 | protected function fetchTagsForFolder($id) |
| @@ -222,8 +212,7 @@ class Tag | ||
| 222 | 212 | /** |
| 223 | 213 | * Initialize media model. |
| 224 | 214 | * |
| 225 | * @param Meema\MeemaClient\Models\Folder $folder | |
| 226 | * | |
| 215 | * @param Meema\MeemaClient\Models\Folder $folder | |
| 227 | 216 | * @return self |
| 228 | 217 | */ |
| 229 | 218 | public function setFolder($folder): self |
| @@ -236,8 +225,7 @@ class Tag | ||
| 236 | 225 | /** |
| 237 | 226 | * Initialize media model. |
| 238 | 227 | * |
| 239 | * @param Meema\MeemaClient\Models\Media $media | |
| 240 | * | |
| 228 | * @param Meema\MeemaClient\Models\Media $media | |
| 241 | 229 | * @return self |
| 242 | 230 | */ |
| 243 | 231 | public function setMedia($media): self |
| @@ -283,8 +271,7 @@ class Tag | ||
| 283 | 271 | /** |
| 284 | 272 | * Associate tags to a folder or media. |
| 285 | 273 | * |
| 286 | * @param array $tag | |
| 287 | * | |
| 274 | * @param array $tag | |
| 288 | 275 | * @return array |
| 289 | 276 | */ |
| 290 | 277 | protected function associateToModel($tag) |
| @@ -308,8 +295,7 @@ class Tag | ||
| 308 | 295 | /** |
| 309 | 296 | * Associate tags to a folder or media. |
| 310 | 297 | * |
| 311 | * @param array $tag | |
| 312 | * | |
| 298 | * @param array $tag | |
| 313 | 299 | * @return array |
| 314 | 300 | */ |
| 315 | 301 | protected function disassociateToModel($tag) |
| @@ -333,9 +319,8 @@ class Tag | ||
| 333 | 319 | /** |
| 334 | 320 | * Associate tag to a folder. |
| 335 | 321 | * |
| 336 | * @param int $id | |
| 337 | * @param array $tag | |
| 338 | * | |
| 322 | * @param int $id | |
| 323 | * @param array $tag | |
| 339 | 324 | * @return array |
| 340 | 325 | */ |
| 341 | 326 | protected function associateTagToFolder($id, $tag) |
| @@ -346,9 +331,8 @@ class Tag | ||
| 346 | 331 | /** |
| 347 | 332 | * Disassociate tag from a folder. |
| 348 | 333 | * |
| 349 | * @param int $id | |
| 350 | * @param array $tag | |
| 351 | * | |
| 334 | * @param int $id | |
| 335 | * @param array $tag | |
| 352 | 336 | * @return array |
| 353 | 337 | */ |
| 354 | 338 | protected function disassociateTagFromFolder($id, $tag) |
| @@ -359,9 +343,8 @@ class Tag | ||
| 359 | 343 | /** |
| 360 | 344 | * Associate tag to a media. |
| 361 | 345 | * |
| 362 | * @param int $id | |
| 363 | * @param array $tag | |
| 364 | * | |
| 346 | * @param int $id | |
| 347 | * @param array $tag | |
| 365 | 348 | * @return array |
| 366 | 349 | */ |
| 367 | 350 | protected function associateTagToMedia($id, $tag) |
| @@ -372,9 +355,8 @@ class Tag | ||
| 372 | 355 | /** |
| 373 | 356 | * Disassociate tag from a media. |
| 374 | 357 | * |
| 375 | * @param int $id | |
| 376 | * @param array $tag | |
| 377 | * | |
| 358 | * @param int $id | |
| 359 | * @param array $tag | |
| 378 | 360 | * @return array |
| 379 | 361 | */ |
| 380 | 362 | protected function disassociateTagFromMedia($id, $tag) |
formatting only · 10 hidden lines
| @@ -15,8 +15,8 @@ class Team formatting only | ||
| 15 | 15 | /** |
| 16 | 16 | * Construct Folder model. |
| 17 | 17 | * |
| 18 | * @param Meema\MeemaClient\Client $client | |
| 19 | * @param int $teamId | |
| 18 | * @param Meema\MeemaClient\Client $client | |
| 19 | * @param int $teamId | |
| 20 | 20 | */ |
| 21 | 21 | public function __construct(Client $client) |
| 22 | 22 | { |
| @@ -36,8 +36,7 @@ class Team | ||
| 36 | 36 | /** |
| 37 | 37 | * Get specific teams. |
| 38 | 38 | * |
| 39 | * @param int $id | |
| 40 | * | |
| 39 | * @param int $id | |
| 41 | 40 | * @return array |
| 42 | 41 | */ |
| 43 | 42 | public function get($id = null) |
| @@ -54,8 +53,7 @@ class Team | ||
| 54 | 53 | /** |
| 55 | 54 | * Get specific teams. |
| 56 | 55 | * |
| 57 | * @param int $id | |
| 58 | * | |
| 56 | * @param int $id | |
| 59 | 57 | * @return array |
| 60 | 58 | */ |
| 61 | 59 | public function find($id) |
| @@ -68,8 +66,7 @@ class Team | ||
| 68 | 66 | /** |
| 69 | 67 | * Create folder. |
| 70 | 68 | * |
| 71 | * @param string $name | |
| 72 | * | |
| 69 | * @param string $name | |
| 73 | 70 | * @return array |
| 74 | 71 | */ |
| 75 | 72 | public function create($data) |
| @@ -80,9 +77,8 @@ class Team | ||
| 80 | 77 | /** |
| 81 | 78 | * Update folder. |
| 82 | 79 | * |
| 83 | * @param string $name | |
| 84 | * @param int $id | |
| 85 | * | |
| 80 | * @param string $name | |
| 81 | * @param int $id | |
| 86 | 82 | * @return array |
| 87 | 83 | */ |
| 88 | 84 | public function update($id, $name) |
| @@ -95,8 +91,7 @@ class Team | ||
| 95 | 91 | /** |
| 96 | 92 | * Delete a folder. |
| 97 | 93 | * |
| 98 | * @param int $id | |
| 99 | * | |
| 94 | * @param int $id | |
| 100 | 95 | * @return null |
| 101 | 96 | */ |
| 102 | 97 | public function delete($id) |
| @@ -107,8 +102,7 @@ class Team | ||
| 107 | 102 | /** |
| 108 | 103 | * Delete a folder. |
| 109 | 104 | * |
| 110 | * @param int $id | |
| 111 | * | |
| 105 | * @param int $id | |
| 112 | 106 | * @return null |
| 113 | 107 | */ |
| 114 | 108 | public function toggleMediaRecognition($id, $status) |
| @@ -30,7 +30,6 @@ class Response | ||
| 30 | 30 | * |
| 31 | 31 | * @param string $method |
| 32 | 32 | * @param array $parameters |
| 33 | * | |
| 34 | 33 | * @return mixed |
| 35 | 34 | */ |
| 36 | 35 | public function __call($method, $parameters) |
| @@ -73,8 +72,7 @@ class Response | ||
| 73 | 72 | /** |
| 74 | 73 | * Get response content. |
| 75 | 74 | * |
| 76 | * @param mixed $key | |
| 77 | * | |
| 75 | * @param mixed $key | |
| 78 | 76 | * @return array |
| 79 | 77 | */ |
| 80 | 78 | public function getContent($key = null) |
| @@ -21,7 +21,7 @@ trait ForwardsCalls | ||
| 21 | 21 | { |
| 22 | 22 | try { |
| 23 | 23 | return $object->{$method}(...$parameters); |
| 24 | } catch (Error | BadMethodCallException $e) { | |
| 24 | } catch (Error|BadMethodCallException $e) { | |
| 25 | 25 | $pattern = '~^Call to undefined method (?P<class>[^:]+)::(?P<method>[^\(]+)\(\)$~'; |
| 26 | 26 | |
| 27 | 27 | if (! preg_match($pattern, $e->getMessage(), $matches)) { |