Skip to content

Commit

Permalink
Remove deprecations
Browse files Browse the repository at this point in the history
# Conflicts:
#	CHANGELOG.md
  • Loading branch information
Kai Eichinger committed Jul 2, 2020
1 parent 5e9f690 commit 518d2d1
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 411 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
8.0.0
=====

* (BC) Removed everything related to `EntityUsages`.
* (BC) Removed `StatsCounter::log()`.
* (BC) Removed `InvalidSortOperationException`.
* (BC) Removed `BundleExtension` and `ConfigurableBundleExtension`.


7.13.2
======

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"php": ">=7.3",
"ext-json": "*",
"beberlei/doctrineextensions": "^1.2",
"becklyn/rad-bundles": "^1.0.1",
"doctrine/doctrine-bundle": "^2.0",
"doctrine/orm": "^2.7",
"psr/log": "^1.1",
Expand Down
5 changes: 0 additions & 5 deletions src/BecklynRadBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Becklyn\RadBundle\Bundle\BundleExtension;
use Becklyn\RadBundle\DependencyInjection\DoctrineExtensionsCompilerPass;
use Becklyn\RadBundle\Usages\EntityUsagesProviderInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;

Expand All @@ -27,9 +26,5 @@ public function getContainerExtension ()
public function build (ContainerBuilder $container) : void
{
$container->addCompilerPass(new DoctrineExtensionsCompilerPass());

$container
->registerForAutoconfiguration(EntityUsagesProviderInterface::class)
->addTag("entity_usages.provider");
}
}
72 changes: 0 additions & 72 deletions src/Bundle/BundleExtension.php

This file was deleted.

43 changes: 0 additions & 43 deletions src/Bundle/ConfigurableBundleExtension.php

This file was deleted.

10 changes: 0 additions & 10 deletions src/Exception/InvalidSortOperationException.php

This file was deleted.

10 changes: 0 additions & 10 deletions src/Stats/StatsCounter.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@ public function increment (string $key, int $amount = 1) : void
}


/**
* @inheritDoc
*/
public function log (string $message) : void
{
@\trigger_error("StatsCounter::log() is deprecated, use ->debug(), ->warn(), ->critical() instead.", \E_USER_DEPRECATED);
$this->debug[] = $message;
}


/**
* @inheritDoc
*/
Expand Down
101 changes: 0 additions & 101 deletions src/Usages/Data/EntityUsage.php

This file was deleted.

64 changes: 0 additions & 64 deletions src/Usages/Data/ResolvedEntityUsage.php

This file was deleted.

0 comments on commit 518d2d1

Please sign in to comment.