421 Commits

Author SHA1 Message Date
Javier Eguiluz
3f3f9415a0 Merge branch '6.4' into 7.3
* 6.4:
  Minor tweak
  [DependencyInjection] Add example for `#[Exclude]` attribute
2026-01-16 17:38:25 +01:00
Javier Eguiluz
8a40f86d2f Minor tweak 2026-01-16 17:38:14 +01:00
tcoch
95a9b30ffa [DependencyInjection] Add example for #[Exclude] attribute 2026-01-16 17:36:50 +01:00
Javier Eguiluz
c50a5f880c Merge branch '7.2' into 7.3
* 7.2:
  [DependencyInjection] Document the different types of service arguments
2025-07-18 15:47:19 +02:00
Javier Eguiluz
208e903cb4 Merge branch '6.4' into 7.2
* 6.4:
  [DependencyInjection] Document the different types of service arguments
2025-07-18 15:47:19 +02:00
Javier Eguiluz
642c4f2a05 [DependencyInjection] Document the different types of service arguments 2025-07-18 15:47:03 +02:00
Christian Flothmann
c4cf202b26 fix configuration block indentation 2025-04-17 08:34:15 +02:00
Javier Eguiluz
59fd3a3f16 Tweaks 2025-04-09 12:31:13 +02:00
Hubert Lenoir
70716ab76d Update service_container.rst to 7.3 2025-04-08 17:57:53 +02:00
Wouter de Jong
221caaa455 Merge remote-tracking branch 'origin/7.1' into 7.2
* origin/7.1:
  Replaced `caution` directive by `warning`
  Replaced caution blocks with warning
2024-12-07 12:17:16 +01:00
Wouter de Jong
84ead23b4f Merge remote-tracking branch 'origin/6.4' into 7.1
* origin/6.4:
  Replaced caution blocks with warning
2024-12-07 12:11:20 +01:00
Timo Bakx
3849004fcc Replaced caution blocks with warning
Fixes #20371

Both blocks are currently rendered identically. Keeping only one of the two makes it easier to contribute.

Some blocks were elevated to danger.
2024-12-07 12:02:55 +01:00
Javier Eguiluz
9d61303193 Merge branch '7.1' into 7.2
* 7.1:
  service-container/fix-code-example
2024-09-27 09:50:39 +02:00
Javier Eguiluz
6b4ce1ad19 Merge branch '6.4' into 7.1
* 6.4:
  service-container/fix-code-example
2024-09-27 09:50:36 +02:00
Matthieu Lempereur
bfaa54a934 service-container/fix-code-example 2024-09-27 09:50:19 +02:00
Javier Eguiluz
2b8bf2af4e minor #20236 [FrameworkBundle] Document the resolve-env-vars option of lint:container command (javiereguiluz)
This PR was squashed before being merged into the 7.2 branch.

Discussion
----------

[FrameworkBundle] Document the `resolve-env-vars` option of `lint:container` command

Fixes #20223.

Commits
-------

fdda76fe7 [FrameworkBundle] Document the `resolve-env-vars` option of `lint:container` command
2024-09-23 08:42:31 +02:00
Javier Eguiluz
fdda76fe73 [FrameworkBundle] Document the resolve-env-vars option of lint:container command 2024-09-23 08:41:24 +02:00
Javier Eguiluz
2f44290eca Merge branch '7.1' into 7.2
* 7.1:
  Fix typo filename
2024-09-23 08:31:07 +02:00
Javier Eguiluz
fea59c5c23 Merge branch '6.4' into 7.1
* 6.4:
  Fix typo filename
2024-09-23 08:30:48 +02:00
Jürgen
19ee7d2993 Fix typo filename 2024-09-23 08:30:29 +02:00
Javier Eguiluz
b1aa1c0355 Merge branch '7.1' into 7.2
* 7.1:
  Update service_container.rst
2024-08-09 16:40:18 +02:00
Javier Eguiluz
e2a15ae1c2 Minor tweaks 2024-08-09 16:39:28 +02:00
Javier Eguiluz
9d56329448 minor #19574 Update service_container.rst (n-valverde)
This PR was squashed before being merged into the 7.1 branch.

Discussion
----------

Update service_container.rst

Update `lint:container` doc.

Fix https://github.com/symfony/symfony-docs/issues/19522

Commits
-------

ed5124230 Update service_container.rst
2024-08-09 16:32:07 +02:00
n-valverde
ed5124230a Update service_container.rst 2024-08-09 16:32:04 +02:00
Alexandre Daubois
39be3e6998 [DependencyInjection] Add #[WhenNot] attribute 2024-06-26 09:55:47 +02:00
Javier Eguiluz
ab883aeb92 Merge branch '6.4' into 7.0
* 6.4:
  [DI] Mark service as public with #[Autoconfigure] attribute
2024-06-21 15:32:09 +02:00
Javier Eguiluz
798dab4282 Merge branch '5.4' into 6.4
* 5.4:
  [DI] Mark service as public with #[Autoconfigure] attribute
2024-06-21 15:32:01 +02:00
Javier Eguiluz
5d8e49c757 minor #18243 [DependencyInjection] Mark service as public with #[Autoconfigure] attribute (adveris-aadam)
This PR was merged into the 5.4 branch.

Discussion
----------

[DependencyInjection] Mark service as public with #[Autoconfigure] attribute

I wanted to mark a service as public with an attribute to avoid yaml configuration, but I could not find anything in the documentation. So I started digging and found out that the `#[Autoconfigure]` attribute allows to do that.

Also, the mention

> PHP attributes require at least PHP 8.0.

is not needed in 6.0. Should I create an other PR (if this one is relevant) ?

Commits
-------

d09cf034f [DI] Mark service as public with #[Autoconfigure] attribute
2024-06-21 15:30:10 +02:00
Javier Eguiluz
3b3ff02236 Merge branch '6.4' into 7.0
* 6.4:
  Replace Annotation\Route with Attribute\Route
2024-03-04 08:28:42 +01:00
Simon André
32460957ae Replace Annotation\Route with Attribute\Route
Inspired by https://github.com/symfony/symfony-docs/pull/19619 :)
2024-03-02 11:06:30 +01:00
Javier Eguiluz
8275d65417 Merge branch '6.4' into 7.0
* 6.4:
  [Security] Remove duplicated line
  Formatting typo
  [AssetMapper] Minor
  [Container] Missing link RST link begin
  Minor: remove duplicated lines
2024-02-13 12:33:06 +01:00
Javier Eguiluz
c7e94de0c5 Merge branch '5.4' into 6.4
* 5.4:
  Formatting typo
  [Container] Missing link RST link begin
2024-02-13 12:29:22 +01:00
gokakyu
9b1c4b92ae [Container] Missing link RST link begin 2024-02-12 16:02:45 +01:00
Javier Eguiluz
847493b8d9 Merge branch '6.4' into 7.0
* 6.4:
  Minor: remove duplicated lines
2024-02-09 12:05:01 +01:00
Javier Eguiluz
230adacb95 Merge branch '5.4' into 6.4
* 5.4:
  Minor: remove duplicated lines
2024-02-09 12:02:50 +01:00
Antoine Lamirault
6629fcf67c Minor: remove duplicated lines 2024-02-08 18:47:58 +01:00
Javier Eguiluz
d166f21587 Merge branch '6.4' into 7.0
* 6.4:
  Update service_container.rst
  Update symfony_server.rst
2024-01-25 17:16:00 +01:00
Javier Eguiluz
c88114189c Merge branch '6.3' into 6.4
* 6.3:
  Update service_container.rst
  Update symfony_server.rst
2024-01-25 17:15:55 +01:00
Javier Eguiluz
df305cb7d5 Merge branch '5.4' into 6.3
* 5.4:
  Update service_container.rst
  Update symfony_server.rst
2024-01-25 17:15:52 +01:00
Stephan Dee
61b318f65d Update service_container.rst
Correction of a typo.
2024-01-25 17:15:09 +01:00
Christian Flothmann
c3690e3da4 Merge branch '6.4' into 7.0
* 6.4:
  clean up Symfony 5 versionadded directives
  [Security] Migrate to ConfigBuilder format
2023-12-08 11:16:35 +01:00
Christian Flothmann
37d3d552dc Merge branch '6.3' into 6.4
* 6.3:
  clean up Symfony 5 versionadded directives
2023-12-08 11:15:41 +01:00
Christian Flothmann
9b5bcd2efe clean up Symfony 5 versionadded directives 2023-12-08 11:14:56 +01:00
Oskar Stark
1bf16f6e7e Merge branch '6.4' into 7.0
* 6.4:
  [DependencyInjection] Mention autoconfiguration through attributes
  [Panther] Add component documentation
2023-12-08 10:12:44 +01:00
Oskar Stark
adc7a4bb53 Merge branch '6.3' into 6.4
* 6.3:
  [DependencyInjection] Mention autoconfiguration through attributes
2023-12-08 10:11:43 +01:00
Oskar Stark
94ce87282a Merge branch '5.4' into 6.3
* 5.4:
  [DependencyInjection] Mention autoconfiguration through attributes
2023-12-08 10:11:41 +01:00
Alexandre Daubois
d2f3871940 [DependencyInjection] Mention autoconfiguration through attributes 2023-12-04 12:47:53 +01:00
Javier Eguiluz
0d1c7025ac Merge branch '6.4' into 7.0
* 6.4:
  Remove "--unpack" option from setup.rst
  [HttpClient] Symfony HTTP Client documentation
  Update license.rst
  add links label in service container page
2023-11-23 10:22:08 +01:00
Javier Eguiluz
31d958c237 Merge branch '6.3' into 6.4
* 6.3:
  Remove "--unpack" option from setup.rst
  [HttpClient] Symfony HTTP Client documentation
  Update license.rst
  add links label in service container page
2023-11-23 10:21:38 +01:00
Javier Eguiluz
e6c4819e7d Merge branch '5.4' into 6.3
* 5.4:
  add links label in service container page
2023-11-23 10:00:53 +01:00