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

Appearance settings

Commit 7de0f01

Browse filesBrowse files
minor #31440 [Contracts] Simplify implementation declarations (nicolas-grekas)
This PR was merged into the 4.2 branch. Discussion ---------- [Contracts] Simplify implementation declarations | Q | A | ------------- | --- | Branch? | 4.2 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Nobody but us references these for now so we let's make them simpler asap. Commits ------- 7d51da3 [Contracts] Simplify implementation declarations
2 parents 3fc97ce + 7d51da3 commit 7de0f01
Copy full SHA for 7de0f01

File tree

Expand file treeCollapse file tree

5 files changed

+8
-8
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+8
-8
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Cache/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"provide": {
1919
"psr/cache-implementation": "1.0",
2020
"psr/simple-cache-implementation": "1.0",
21-
"symfony/cache-contracts-implementation": "1.0"
21+
"symfony/cache-implementation": "1.0"
2222
},
2323
"require": {
2424
"php": "^7.1.3",

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"provide": {
4242
"psr/container-implementation": "1.0",
43-
"symfony/service-contracts-implementation": "1.0"
43+
"symfony/service-implementation": "1.0"
4444
},
4545
"autoload": {
4646
"psr-4": { "Symfony\\Component\\DependencyInjection\\": "" },

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Translation/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"symfony/yaml": "<3.4"
3838
},
3939
"provide": {
40-
"symfony/translation-contracts-implementation": "1.0"
40+
"symfony/translation-implementation": "1.0"
4141
},
4242
"suggest": {
4343
"symfony/config": "",

‎src/Symfony/Contracts/README.md

Copy file name to clipboardExpand all lines: src/Symfony/Contracts/README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Design Principles
1616
* they must be backward compatible with existing Symfony components.
1717

1818
Packages that implement specific contracts should list them in the "provide"
19-
section of their "composer.json" file, using the `symfony/*-contracts-implementation`
20-
convention (e.g. `"provide": { "symfony/cache-contracts-implementation": "1.0" }`).
19+
section of their "composer.json" file, using the `symfony/*-implementation`
20+
convention (e.g. `"provide": { "symfony/cache-implementation": "1.0" }`).
2121

2222
FAQ
2323
---

‎src/Symfony/Contracts/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Contracts/composer.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"suggest": {
2626
"psr/cache": "When using the Cache contracts",
2727
"psr/container": "When using the Service contracts",
28-
"symfony/cache-contracts-implementation": "",
29-
"symfony/service-contracts-implementation": "",
30-
"symfony/translation-contracts-implementation": ""
28+
"symfony/cache-implementation": "",
29+
"symfony/service-implementation": "",
30+
"symfony/translation-implementation": ""
3131
},
3232
"autoload": {
3333
"psr-4": { "Symfony\\Contracts\\": "" },

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.