Skip to content

Commit

Permalink
minor #34270 [FrameworkBundle] Remove Lock deprecated services (fancy…
Browse files Browse the repository at this point in the history
…web)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[FrameworkBundle] Remove Lock deprecated services

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Remove deprecated services in #34043.

Commits
-------

a8e10cf [FrameworkBundle] Remove Lock deprecated services
  • Loading branch information
nicolas-grekas committed Nov 7, 2019
2 parents 3d8cca8 + a8e10cf commit 1351208
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
1 change: 1 addition & 0 deletions UPGRADE-5.0.md
Expand Up @@ -241,6 +241,7 @@ FrameworkBundle
* Removed `ResolveControllerNameSubscriber`.
* Removed `routing.loader.service`.
* Added support for PHPUnit 8. A `void` return-type was added to the `KernelTestCase::tearDown()` and `WebTestCase::tearDown()` method.
* Removed the `lock.store.flock`, `lock.store.semaphore`, `lock.store.memcached.abstract` and `lock.store.redis.abstract` services.

HttpClient
----------
Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md
Expand Up @@ -20,6 +20,7 @@ CHANGELOG
* Removed `routing.loader.service`.
* Service route loaders must be tagged with `routing.route_loader`.
* Added `slugger` service and `SluggerInterface` alias
* Removed the `lock.store.flock`, `lock.store.semaphore`, `lock.store.memcached.abstract` and `lock.store.redis.abstract` services.

4.4.0
-----
Expand Down
18 changes: 0 additions & 18 deletions src/Symfony/Bundle/FrameworkBundle/Resources/config/lock.xml
Expand Up @@ -7,24 +7,6 @@
<services>
<defaults public="false" />

<service id="lock.store.flock" class="Symfony\Component\Lock\Store\FlockStore">
<deprecated>The "%service_id%" service is deprecated since Symfony 4.4 and will be removed in 5.0.</deprecated>
</service>

<service id="lock.store.semaphore" class="Symfony\Component\Lock\Store\SemaphoreStore">
<deprecated>The "%service_id%" service is deprecated since Symfony 4.4 and will be removed in 5.0.</deprecated>
</service>

<service id="lock.store.memcached.abstract" class="Symfony\Component\Lock\Store\MemcachedStore" abstract="true">
<argument /> <!-- Memcached connection service -->
<deprecated>The "%service_id%" service is deprecated since Symfony 4.4 and will be removed in 5.0.</deprecated>
</service>

<service id="lock.store.redis.abstract" class="Symfony\Component\Lock\Store\RedisStore" abstract="true">
<argument /> <!-- Redis connection service -->
<deprecated>The "%service_id%" service is deprecated since Symfony 4.4 and will be removed in 5.0.</deprecated>
</service>

<service id="lock.store.combined.abstract" class="Symfony\Component\Lock\Store\CombinedStore" abstract="true">
<argument /> <!-- List of stores -->
<argument type="service" id="lock.strategy.majority" /> <!-- Strategy -->
Expand Down

0 comments on commit 1351208

Please sign in to comment.