Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cf88b06

Browse files
committed
Remove deprecated RemoteJsonManifestVersionStrategy
1 parent 68563ec commit cf88b06

File tree

5 files changed

+6
-153
lines changed

5 files changed

+6
-153
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/assets.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Symfony\Component\Asset\UrlPackage;
1919
use Symfony\Component\Asset\VersionStrategy\EmptyVersionStrategy;
2020
use Symfony\Component\Asset\VersionStrategy\JsonManifestVersionStrategy;
21-
use Symfony\Component\Asset\VersionStrategy\RemoteJsonManifestVersionStrategy;
2221
use Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy;
2322

2423
return static function (ContainerConfigurator $container) {
@@ -81,13 +80,5 @@
8180
abstract_arg('manifest path'),
8281
service('http_client')->nullOnInvalid(),
8382
])
84-
85-
->set('assets.remote_json_manifest_version_strategy', RemoteJsonManifestVersionStrategy::class)
86-
->abstract()
87-
->deprecate('symfony/framework-bundle', '5.3', 'The "%service_id%" service is deprecated, use "assets.json_manifest_version_strategy" instead.')
88-
->args([
89-
abstract_arg('manifest url'),
90-
service('http_client'),
91-
])
9283
;
9384
};

src/Symfony/Component/Asset/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
6.0
5+
---
6+
7+
* Remove `RemoteJsonManifestVersionStrategy`, use `JsonManifestVersionStrategy` instead
8+
49
5.3
510
---
611

src/Symfony/Component/Asset/Tests/VersionStrategy/RemoteJsonManifestVersionStrategyTest.php

Lines changed: 0 additions & 76 deletions
This file was deleted.

src/Symfony/Component/Asset/VersionStrategy/RemoteJsonManifestVersionStrategy.php

Lines changed: 0 additions & 66 deletions
This file was deleted.

src/Symfony/Component/Asset/composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=8.0.2",
20-
"symfony/deprecation-contracts": "^2.1"
19+
"php": ">=8.0.2"
2120
},
2221
"suggest": {
2322
"symfony/http-foundation": ""

0 commit comments

Comments
 (0)