-
Notifications
You must be signed in to change notification settings - Fork 81
Detecting and fixing incorrect YAML samples #3165
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
base: 5.0
Are you sure you want to change the base?
Changes from all commits
e568133
686c428
71f5890
b144d93
ad17a4b
648fa58
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,3 +12,4 @@ auth.json | |
| yarn.lock | ||
| docs/css/*.map | ||
| .deptrac.cache | ||
| .phpunit.result.cache | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,7 +65,7 @@ framework: | |
| to: | ||
| - dropped | ||
|
|
||
| // ... | ||
| # ... | ||
|
|
||
| ibexa: | ||
| repositories: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,14 +3,14 @@ ibexa: | |
| <scope>: | ||
| connector_raptor: | ||
| enabled: true | ||
| customer_id: ~ # Required | ||
| customer_id: "12345" # Required | ||
| tracking_type: client # One of: "client" or "server" | ||
|
|
||
| # Raptor Recommendations API key | ||
| recommendations_api_key: ~ # Required | ||
| recommendations_api_key: "your_api_key_here" # Required | ||
|
|
||
| # Raptor Recommendations API URL, optional, set by default | ||
| recommendations_api_url: '%ibexa.connector.raptor.recommendations.api_url%' | ||
| # Raptor Recommendations API URI, optional, set by default | ||
| recommendations_api_uri: '%ibexa.connector.raptor.recommendations.api_uri%' | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Typo! |
||
| ibexa_connector_raptor: | ||
| # When enabled, tracking exceptions are thrown instead of being silently handled | ||
| strict_exceptions: true | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,11 +27,14 @@ Symfony Flex installs and activates the package. | |
| After an installation process is finished, go to `config/packages/security.yaml` and uncomment `ibexa_cdp` rule. | ||
|
|
||
| ```yaml | ||
| ibexa_cdp: | ||
| pattern: /cdp/webhook | ||
| guard: | ||
| authenticator: 'Ibexa\Cdp\Security\CdpRequestAuthenticator' | ||
| stateless: true | ||
| security: | ||
| firewalls: | ||
| # ... | ||
| ibexa_cdp: | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was outdated - stolen from configuration provided when installing the project |
||
| request_matcher: Ibexa\Cdp\Security\RequestMatcher | ||
| custom_authenticators: | ||
| - 'Ibexa\Cdp\Security\CdpRequestAuthenticator' | ||
| stateless: true | ||
| ``` | ||
|
|
||
| Now, you can configure [[= product_name_cdp =]]. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,5 +42,4 @@ ibexa: | |
| type: | ||
| pp_express_checkout: | ||
| name: "Translated PayPal Express Checkout name" | ||
| ``` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,5 +43,4 @@ ibexa: | |
| type: | ||
| strp_checkout: | ||
| name: "Translated Stripe Checkout name" | ||
|
|
||
| ``` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -67,13 +67,13 @@ ibexa: | |
| url_checker: | ||
| handlers: | ||
| http: | ||
| enabled: true | ||
| batch_size: 64 | ||
| enabled: true | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This sample had mixed tabs and spaces |
||
| batch_size: 64 | ||
| https: | ||
| enabled: true | ||
| ignore_certificate: false | ||
| enabled: true | ||
| ignore_certificate: false | ||
| mailto: | ||
| enabled: false | ||
| enabled: false | ||
| ``` | ||
|
|
||
| Available options are protocol-specific. | ||
|
|
@@ -128,7 +128,6 @@ Then you must register the service with an `ibexa.url_checker.handler` tag, like | |
| ```yaml | ||
| app.url_checker.handler.custom: | ||
| class: 'App\URLChecker\Handler\CustomHandler' | ||
| ... | ||
| tags: | ||
| - { name: ibexa.url_checker.handler, scheme: custom } | ||
| ``` | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep archive removal