Skip to content

Commit 84ab43c

Browse files
committed
Disabled validation for existing inline PHP snippets
1 parent bc6e8c2 commit 84ab43c

308 files changed

Lines changed: 451 additions & 451 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/administration/back_office/back_office_elements/extending_thumbnails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ It enables you to add a thumbnail URL in the text field.
7575

7676
Add `FieldValueUrl.php` in `src/Thumbnails`.
7777

78-
```php
78+
```php {skip-validation}
7979
<?php
8080

8181
declare(strict_types=1);

docs/administration/back_office/back_office_elements/formatting_date_and_time.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You can format date and time by using the following services:
1919

2020
To use them, create an `src/Service/MyService.php` file containing:
2121

22-
``` php
22+
``` php {skip-validation}
2323
<?php
2424

2525
namespace App\Service;

docs/administration/back_office/back_office_menus/back_office_menus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The following method adds a new menu section under **Content**, and under it, a
8585

8686
You can also pass parameters to templates used to render menu items with `template_parameters`:
8787

88-
``` php
88+
``` php {skip-validation}
8989
$menu->addChild(
9090
'all_content_list',
9191
[
@@ -105,7 +105,7 @@ You can then use the variable `custom_parameter` in `templates/themes/admin/list
105105

106106
To have translatable labels, use `translation.key` from the `messages` domain:
107107

108-
``` php
108+
``` php {skip-validation}
109109
$menu->addChild(
110110
'all_content_list',
111111
[

docs/administration/back_office/browser/browser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ If an event listener catches additional parameters passed with context, it uses
146146

147147
In the example below, the `johndoe` parameter enables the user to choose multiple items from a **Browser window** by changing `multiple: false` from `my_custom_udw` configuration to `multiple: true`.
148148

149-
```php hl_lines="29 30 31"
149+
```php {skip-validation} hl_lines="29 30 31"
150150
class JohnDoeCanSelectMore implements EventSubscriberInterface
151151
{
152152
private const CONFIGURATION_NAME = 'my_custom_udw';

docs/administration/back_office/customize_calendar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ To add an in-memory collection as an event source, create `src/Calendar/Holidays
8080

8181
For example:
8282

83-
``` php
83+
``` php {skip-validation}
8484
$collection = new EventCollection([
8585
$this->createEvent("Event 1", new DateTime("2024-01-01")),
8686
$this->createEvent("Event 2", new DateTime("2024-01-02")),

docs/administration/back_office/notifications.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ There are four types of notifications: `info`, `success`, `warning` and `error`.
2525

2626
To send a notification from PHP, inject the `TranslatableNotificationHandlerInterface` into your class.
2727

28-
``` php
28+
``` php {skip-validation}
2929
$this->notificationHandler->info(
3030
/** @Desc("Notification text") */
3131
'example.notification.text',

docs/administration/configuration/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ parameters:
7272
an_array: [apple, banana, pear]
7373
```
7474
75-
``` php
75+
``` php {skip-validation}
7676
// Usage inside a controller
7777
$myParameter = $this->container->getParameter( 'myapp.parameter.name' );
7878
```

docs/administration/configuration/dynamic_configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ parameters:
2929
3030
Inside a controller, in `site_group` SiteAccess, you can use the parameters in the following way (the same applies for `hasParameter()`):
3131

32-
``` php
32+
``` php {skip-validation}
3333
$configResolver = $this->getConfigResolver();
3434
 
3535
// ibexa.site_access.config is the default namespace, so no need to specify it
@@ -77,7 +77,7 @@ For more information about dependency injection, see [Service container](php_api
7777
Don't store the retrieved config value unless you know what you're doing.
7878
SiteAccess can change during code execution, which means you might work on the wrong value.
7979

80-
``` php
80+
``` php {skip-validation}
8181
namespace App;
8282
8383
use Ibexa\Contracts\Core\SiteAccess\ConfigResolverInterface;

docs/administration/configuration/repository_configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ This enables you to use different settings for different repositories.
303303

304304
To do this, create a parser that implements `Ibexa\Bundle\Core\DependencyInjection\Configuration\RepositoryConfigParserInterface`:
305305

306-
``` php
306+
``` php {skip-validation}
307307
use Ibexa\Bundle\Core\DependencyInjection\Configuration\RepositoryConfigParserInterface;
308308
use Symfony\Component\Config\Definition\Builder\NodeBuilder;
309309
@@ -326,7 +326,7 @@ final class CustomRepositoryConfigParser implements RepositoryConfigParserInterf
326326

327327
You need to register this configuration extension in the following way:
328328

329-
``` php
329+
``` php {skip-validation}
330330
final class AcmeFeatureBundle extends Bundle
331331
{
332332
public function build(ContainerBuilder $container): void
@@ -342,6 +342,6 @@ final class AcmeFeatureBundle extends Bundle
342342

343343
To access the configuration settings, use the `Ibexa\Bundle\Core\ApiLoader\RepositoryConfigurationProvider::getRepositoryConfig` method:
344344

345-
``` php
345+
``` php {skip-validation}
346346
$acmeConfig = $repositoryConfigProvider->getRepositoryConfig()['acme'];
347347
```

docs/ai_actions/configure_ai_actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ composer require ibexa/connector-gemini
9191

9292
Then, if not using Symfony Flex, enable the bundle in `config/bundles.php`:
9393

94-
``` php
94+
``` php {skip-validation}
9595
Ibexa\Bundle\ConnectorGemini\IbexaConnectorGeminiBundle::class => ['all' => true],
9696
```
9797

0 commit comments

Comments
 (0)