33 Commits

Author SHA1 Message Date
Nicolas Grekas
f16fbf3e48 [FrameworkBundle] Fix auto-discovering validator constraints 2023-03-30 15:14:22 +02:00
Fabien Potencier
57ef7d396c minor #47390 [CS] Remove @inheritdoc PHPDoc (lyrixx)
This PR was merged into the 6.2 branch.

Discussion
----------

[CS] Remove `@inheritdoc` PHPDoc

| Q             | A
| ------------- | ---
| Branch?       | 6.2
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

---

It looks like this PHP Doc is useless. IDEs are able to inherit the doc (at least VS Code
and PHP Storm). And tools like PHP Stan are able to too https://phpstan.org/r/74a2c008-ff2b-42c0-8edf-8da87c1a7b5f

I could have open an RFC before doing the PR, but it was easy :) So let's discuss here

Commits
-------

015d5015e3 [CS] Remove `@inheritdoc` PHPDoc
2022-08-26 07:51:22 +02:00
Antoine Lamirault
4cf2940719 Remove usage of empty function when possible 2022-08-26 07:47:51 +02:00
Grégoire Pineau
fb7ade8fab [CS] Remove @inheritdoc PHPDoc 2022-08-25 17:27:04 +02:00
Nicolas Grekas
2f3f5384cd Bump minimum version of PHP to 8.1 2022-02-25 12:15:52 +01:00
Fabien Potencier
dd3bf10773 Revert "bug #44494 Remove FQCN type hints on properties (fabpot)"
This reverts commit 0a13eba7037c6636be7a35c194d7d2e86d6ea6ba, reversing
changes made to e4cfa82c31ffda491b73e181c8d3d4e0a307eee8.
2021-12-09 13:46:12 +01:00
Fabien Potencier
a871a08baa Remove FQCN type hints on properties 2021-12-08 16:13:44 +01:00
Alexander M. Turek
7a215eb23c Merge branch '5.4' into 6.0
* 5.4: (27 commits)
  feat: add completion for DebugAutowiring search argument
  [Routing] Add support for aliasing routes
  [DependencyInjection] only allow `ReflectionNamedType` for `ServiceSubscriberTrait`
  Fix CS
  [Console] Open CompleteCommand for custom outputs
  [Intl] Update the ICU data to 70.1
  [Messenger] Add completion for failed messages commands.
  Fix tests
  Fixing missing full_stack variable that's needed by toolbar.html.twig
  [PropertyInfo] Bump phpstan/phpdoc-parser
  [Security] Backport type fixes
  [VarExporter] escape unicode chars involved in directionality
  [Framework] Add completion to debug:container
  [Messenger] Add completion to command messenger:consume
  [Intl] Update the ICU data to 70.1
  Fix more generic types
  Default access_decision_manager.strategy option with merge.
  Fix typos
  Update validators.ca.xlf
  Add missing Validator translations for Estonian
  ...

Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-11-04 18:14:40 +01:00
Adrien Jourdier
672647a144 feat: add completion for DebugAutowiring search argument 2021-11-04 15:48:52 +01:00
Alexander M. Turek
bf9d0d4969 [FrameworkBundle] Add types to private properties 2021-11-02 11:55:16 +01:00
Nicolas Grekas
54788c67a5 Use #[AsCommand] to describe commands 2021-09-30 17:28:07 +02:00
Nicolas Grekas
4a8f8840cc Merge branch '5.2' into 5.3
* 5.2:
  Leverage str_contains/str_starts_with
  Leverage str_ends_with
2021-07-21 14:40:44 +02:00
Alexander M. Turek
d6e4f596a5 Leverage str_contains/str_starts_with
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-07-21 14:19:41 +02:00
Nicolas Grekas
34640eed1c [DependencyInjection] Add #[Target] to tell how a dependency is used and hint named autowiring aliases 2021-04-19 14:53:54 +02:00
Nyholm
0700ad9e52 [FrameworkBundle] Add argument KernelInterface to BuildDebugContainerTrait::getContainerBuilder() 2021-04-14 10:59:53 +02:00
Fabien Potencier
3f8b570669 Merge branch '5.2' into 5.x
* 5.2:
  Fix #36973: Command description consistency
  Render email once
2021-03-06 09:05:19 +01:00
Dane Powell
1d7c9a5590 Fix #36973: Command description consistency 2021-03-05 09:58:50 -08:00
Nicolas Grekas
e08672dde2 [Console] add option --short to the list command 2021-01-20 14:27:30 +01:00
Nicolas Grekas
a2ab2c0854 [Console] enable describing commands in ways that make the list command lazy 2021-01-20 12:45:16 +01:00
Ryan Weaver
774be36b9d Fixing a bug where class_alias would cause incorrect items in debug:autowiring 2020-04-21 14:42:49 -04:00
Nicolas Grekas
2d0aa18c81 Add more return types after fixing a typo in my script 2019-08-23 14:16:45 +02:00
Alexander M. Turek
3cbe1918a5 Fix inconsistent return points. 2019-08-20 16:27:59 +02:00
sez-open
9f024f40ed fix debug:autowiringcommand 2019-04-07 09:27:26 +02:00
Serkan Yildiz
6862026370 Create a hyperlink to interfaces/classes that can be autowired 2019-03-15 13:59:00 +01:00
Anthony MARTIN
4dc1adb5b0 [DependencyInjection] Added information about deprecated aliases in debug:autowiring
| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | none
| License       | MIT
| Doc PR        | n/a

Fix and improves a bit PR #29968 and #29995
2019-02-07 13:21:48 +01:00
Fabien Potencier
b36a29eff2 fixed CS 2019-01-16 21:35:37 +01:00
Jan Schädlich
3564ec86db Remove unused variable 2018-11-03 08:39:20 +01:00
Nicolas Grekas
57144f3e44 [FrameworkBundle] make debug:autowiring list useful services and their description 2018-10-28 22:46:57 +01:00
Nicolas Grekas
8e84115d95 Merge branch '4.1'
* 4.1:
  [Finder] fixed root directory access for ftp/sftp wrapper
  [Console] Fix clearing sections containing questions
  [FrameworkBundle] dont suggest hidden services in debug:container and debug:autow commands
  [FWBundle] Throw if PropertyInfo is enabled, but the component isn't installed
  Remove redundant path check
2018-10-03 10:52:36 +02:00
Nicolas Grekas
97fc7cf40c [FrameworkBundle] dont suggest hidden services in debug:container and debug:autow commands 2018-10-02 21:29:19 +02:00
Roberto Espinoza
cca5a0d69e [FrameworkBundle] Ignore backslashes in service ids when using debug:container and debug:autowiring 2018-09-19 16:42:41 +02:00
Nicolas Grekas
848845a1b3 [FrameworkBundle] debug:autowiring: don't list FQCN when they are aliased 2017-12-03 17:25:13 +01:00
Ryan Weaver
e8e0646deb Adding a new debug:autowiring command 2017-10-16 20:35:11 -04:00