-
Notifications
You must be signed in to change notification settings - Fork 934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8.1 attributes #982
Merged
Merged
PHP 8.1 attributes #982
Commits on Nov 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 56fa4ab - Browse repository at this point
Copy the full SHA 56fa4abView commit details
Commits on Nov 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0fe55fb - Browse repository at this point
Copy the full SHA 0fe55fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for beb3027 - Browse repository at this point
Copy the full SHA beb3027View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd94d5d - Browse repository at this point
Copy the full SHA cd94d5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82f909f - Browse repository at this point
Copy the full SHA 82f909fView commit details -
Also prepare for usikng the `Generator` in place of the current static config properties
Configuration menu - View commit details
-
Copy full SHA for 69c6191 - Browse repository at this point
Copy the full SHA 69c6191View commit details -
Remove DocBlockParser::$whitelist
This makes the `Generator` class the authority about whitelisted annotation namespaces. A value of `null` is interpreted as wildcard. Registers a new loader for each `Generator` instance. A new method `withContext()` was also added to allow to run custom code in the context of a configured `Generator`.
Configuration menu - View commit details
-
Copy full SHA for 8fccadb - Browse repository at this point
Copy the full SHA 8fccadbView commit details -
Shortcut version of `Parameter(in='path', required: true)`. In addition to that it can be used as method parameter attribute. In that case the name and (optiona) type-hint are automatically configured. Example: ``` public function getProduct(#[OA\PathParameter] string $product_id) { // ... } ``` Same as: ``` /** * @OA\PathParameter( * name="product_id", * @OA\Schema(type="string") * ) */ ```
Configuration menu - View commit details
-
Copy full SHA for 277a971 - Browse repository at this point
Copy the full SHA 277a971View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bd315f - Browse repository at this point
Copy the full SHA 9bd315fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c47eaa0 - Browse repository at this point
Copy the full SHA c47eaa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 865cf1b - Browse repository at this point
Copy the full SHA 865cf1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4312d4f - Browse repository at this point
Copy the full SHA 4312d4fView commit details -
Switch the command line tool to using reflection by default
The legacy `TokenAnalyser` can be used by specifying the `--legacy` (`-l`) option.
Configuration menu - View commit details
-
Copy full SHA for 8906ee3 - Browse repository at this point
Copy the full SHA 8906ee3View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.