Skip to content

Commit 359641d

Browse files
phpstan-botclaude
authored andcommitted
Update README with missing feature descriptions
Add documentation for features that were implemented but not listed in the README: ResponseHeaderBag::getCookies(), Serializer/Denormalizer return types, HandleTrait::handle(), FormInterface::getErrors(), KernelInterface::locateResource(), Extension::getConfiguration(), CacheInterface::get(), BrowserKitAssertionsTrait::getClient(), Command::getHelper(), console argument/option validation rules, and @required autowiring support. Also fix missing parentheses on existing InputInterface method references. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4c7a7dd commit 359641d

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,22 @@ This extension provides following features:
2020
* Provides correct return type for `Envelope::all()` method based on the `$stampFqcn` parameter.
2121
* Provides correct return type for `InputBag::get()` method based on the `$default` parameter.
2222
* Provides correct return type for `InputBag::all()` method based on the `$key` parameter.
23+
* Provides correct return type for `ResponseHeaderBag::getCookies()` method based on the format argument.
2324
* Provides correct return types for `TreeBuilder` and `NodeDefinition` objects.
25+
* Provides correct return type for `SerializerInterface::deserialize()` and `DenormalizerInterface::denormalize()` methods based on the `$type` argument.
26+
* Provides correct return type for `HandleTrait::handle()` method based on the message handler map.
27+
* Provides correct return type for `FormInterface::getErrors()` method based on the `$deep` and `$flatten` parameters.
28+
* Provides correct return type for `KernelInterface::locateResource()` method.
29+
* Provides correct return type for `Extension::getConfiguration()` method.
30+
* Provides correct return type for `CacheInterface::get()` method based on the callback return type.
31+
* Provides correct return type for `BrowserKitAssertionsTrait::getClient()` method.
2432
* Notifies you when you try to get an unregistered service from the container.
2533
* Notifies you when you try to get a private service from the container.
26-
* Optionally correct return types for `InputInterface::getArgument()`, `::getOption`, `::hasArgument`, and `::hasOption`.
34+
* Notifies you when you access undefined console command arguments or options.
35+
* Validates default values of console command arguments and options.
36+
* Recognizes `@required` annotation and `#[Required]` attribute for autowiring properties and methods.
37+
* Optionally correct return types for `InputInterface::getArgument()`, `::getOption()`, `::getOptions()`, `::hasArgument()`, and `::hasOption()`.
38+
* Optionally provides correct return type for `Command::getHelper()` method.
2739

2840

2941
## Installation

0 commit comments

Comments
 (0)