Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Commit2d886f5

Browse files
committed
Remove deprecated RemoteJsonManifestVersionStrategy
1 parent68563ec commit2d886f5

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
useSymfony\Component\Asset\UrlPackage;
1919
useSymfony\Component\Asset\VersionStrategy\EmptyVersionStrategy;
2020
useSymfony\Component\Asset\VersionStrategy\JsonManifestVersionStrategy;
21-
useSymfony\Component\Asset\VersionStrategy\RemoteJsonManifestVersionStrategy;
2221
useSymfony\Component\Asset\VersionStrategy\StaticVersionStrategy;
2322

2423
returnstaticfunction (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+
* removed`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)

[8]ページ先頭

©2009-2025 Movatter.jp