Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cf88b06

Browse filesBrowse files
committed
Remove deprecated RemoteJsonManifestVersionStrategy
1 parent 68563ec commit cf88b06
Copy full SHA for cf88b06

File tree

5 files changed

+6
-153
lines changed
Filter options

5 files changed

+6
-153
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Resources/config/assets.php
-9Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Asset/CHANGELOG.md
+5Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Asset/Tests/VersionStrategy/RemoteJsonManifestVersionStrategyTest.php
-76Lines changed: 0 additions & 76 deletions
This file was deleted.

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Asset/VersionStrategy/RemoteJsonManifestVersionStrategy.php
-66Lines changed: 0 additions & 66 deletions
This file was deleted.

‎src/Symfony/Component/Asset/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Asset/composer.json
+1-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.