Remove unused packages
Remove josephlavin/tap and tsphethean/sculpin-related-posts-bundle
This commit is contained in:
parent
774cf8086a
commit
88fffa77d2
|
@ -32,13 +32,11 @@
|
||||||
"php": "^7.2",
|
"php": "^7.2",
|
||||||
"dflydev/embedded-composer": "^1.0@dev",
|
"dflydev/embedded-composer": "^1.0@dev",
|
||||||
"friendsofphp/php-cs-fixer": "^2.14",
|
"friendsofphp/php-cs-fixer": "^2.14",
|
||||||
"josephlavin/tap": "^1.0",
|
|
||||||
"opdavies/sculpin-gist-embed-bundle": "^0.1",
|
"opdavies/sculpin-gist-embed-bundle": "^0.1",
|
||||||
"opdavies/sculpin-twig-markdown-bundle": "^0.1",
|
"opdavies/sculpin-twig-markdown-bundle": "^0.1",
|
||||||
"phpstan/phpstan": "^0.11.8",
|
"phpstan/phpstan": "^0.11.8",
|
||||||
"sculpin/sculpin": "^3.0",
|
"sculpin/sculpin": "^3.0",
|
||||||
"tightenco/collect": "^6.1",
|
"tightenco/collect": "^6.1",
|
||||||
"tsphethean/sculpin-related-posts-bundle": "~0.1.0",
|
|
||||||
"wikimedia/composer-merge-plugin": "^1.4"
|
"wikimedia/composer-merge-plugin": "^1.4"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
|
98
composer.lock
generated
98
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "2e372197a3fa5f28c703ce2ec4c801ab",
|
"content-hash": "2b8e3a9d961afc92806163ee44276378",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "composer/ca-bundle",
|
"name": "composer/ca-bundle",
|
||||||
|
@ -1085,45 +1085,6 @@
|
||||||
],
|
],
|
||||||
"time": "2018-06-13T13:22:40+00:00"
|
"time": "2018-06-13T13:22:40+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "josephlavin/tap",
|
|
||||||
"version": "v1.0.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/josephlavin/tap.git",
|
|
||||||
"reference": "8733d96fb9b7d7dca204dfe59ec3ff34f3c69be9"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/josephlavin/tap/zipball/8733d96fb9b7d7dca204dfe59ec3ff34f3c69be9",
|
|
||||||
"reference": "8733d96fb9b7d7dca204dfe59ec3ff34f3c69be9",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.6.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "~5.7"
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"autoload": {
|
|
||||||
"files": [
|
|
||||||
"src/tap.php",
|
|
||||||
"src/TapProxy.php"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"description": "Stand alone port of Laravel's tap method.",
|
|
||||||
"keywords": [
|
|
||||||
"laravel",
|
|
||||||
"php",
|
|
||||||
"tap"
|
|
||||||
],
|
|
||||||
"time": "2017-09-24T23:36:28+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "justinrainbow/json-schema",
|
"name": "justinrainbow/json-schema",
|
||||||
"version": "5.2.8",
|
"version": "5.2.8",
|
||||||
|
@ -4522,51 +4483,6 @@
|
||||||
],
|
],
|
||||||
"time": "2019-10-02T19:55:13+00:00"
|
"time": "2019-10-02T19:55:13+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "tsphethean/sculpin-related-posts-bundle",
|
|
||||||
"version": "0.1.0",
|
|
||||||
"target-dir": "Tsphethean/Sculpin/Bundle/RelatedPostsBundle",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/tsphethean/sculpin-related-posts-bundle.git",
|
|
||||||
"reference": "7398139c3a5c5d407436d385e58b1cf2fe7ac84b"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/tsphethean/sculpin-related-posts-bundle/zipball/7398139c3a5c5d407436d385e58b1cf2fe7ac84b",
|
|
||||||
"reference": "7398139c3a5c5d407436d385e58b1cf2fe7ac84b",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.3.2"
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"autoload": {
|
|
||||||
"psr-0": {
|
|
||||||
"Tsphethean\\Sculpin\\Bundle\\RelatedPostsBundle": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Tom Phethean",
|
|
||||||
"homepage": "http://www.tsphethean.co.uk"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Sculpin Related Posts Bundle",
|
|
||||||
"homepage": "https://sculpin.io",
|
|
||||||
"keywords": [
|
|
||||||
"blog",
|
|
||||||
"blogging",
|
|
||||||
"related posts",
|
|
||||||
"site",
|
|
||||||
"static"
|
|
||||||
],
|
|
||||||
"time": "2014-03-21T14:38:52+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "twig/extensions",
|
"name": "twig/extensions",
|
||||||
"version": "v1.5.4",
|
"version": "v1.5.4",
|
||||||
|
@ -4667,19 +4583,19 @@
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Fabien Potencier",
|
"name": "Fabien Potencier",
|
||||||
|
"role": "Lead Developer",
|
||||||
"email": "fabien@symfony.com",
|
"email": "fabien@symfony.com",
|
||||||
"homepage": "http://fabien.potencier.org",
|
"homepage": "http://fabien.potencier.org"
|
||||||
"role": "Lead Developer"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Armin Ronacher",
|
"name": "Armin Ronacher",
|
||||||
"email": "armin.ronacher@active-4.com",
|
"role": "Project Founder",
|
||||||
"role": "Project Founder"
|
"email": "armin.ronacher@active-4.com"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Twig Team",
|
"name": "Twig Team",
|
||||||
"homepage": "https://twig.symfony.com/contributors",
|
"role": "Contributors",
|
||||||
"role": "Contributors"
|
"homepage": "https://twig.symfony.com/contributors"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Twig, the flexible, fast, and secure template language for PHP",
|
"description": "Twig, the flexible, fast, and secure template language for PHP",
|
||||||
|
|
|
@ -165,16 +165,10 @@ class RetrievingTalksTest extends TestCase
|
||||||
];
|
];
|
||||||
|
|
||||||
$talks = new Collection([$talkA, $talkB]);
|
$talks = new Collection([$talkA, $talkB]);
|
||||||
|
$events = $this->extension->getAllEvents($talks);
|
||||||
|
|
||||||
tap($this->extension->getAllEvents($talks), function (Collection $events) {
|
$this->assertCount(3, $events);
|
||||||
$this->assertCount(3, $events);
|
$this->assertSame(['event_a', 'event_b', 'event_a'], $events->pluck('event')->toArray());
|
||||||
|
$this->assertSame(3, $events->pluck('date')->unique()->count());
|
||||||
$this->assertSame(
|
|
||||||
['event_a', 'event_b', 'event_a'],
|
|
||||||
$events->pluck('event')->toArray()
|
|
||||||
);
|
|
||||||
|
|
||||||
$this->assertSame(3, $events->pluck('date')->unique()->count());
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue