8000 [DoctrineBundle] Add infos about disabling the Autocommit mode by Crovitche-1623 · Pull Request #20824 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[DoctrineBundle] Add infos about disabling the Autocommit mode #20824

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

Open
wants to merge 7 commits into
base: 7.2
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed lint
  • Loading branch information
Crovitche-1623 authored Mar 25, 2025
commit e3a7a81654c51046c2605c803d99e348024293f6
4 changes: 2 additions & 2 deletions reference/configuration/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
# This line disables auto-commit at the DBAL level:
auto_commit: false

.. code-block:: xml

Check failure on line 189 in reference/configuration/doctrine.rst

View workflow job for this annotation

GitHub Actions / Lint (DOCtor-RST)

Please add a blank line after " .. code-block:: xml
<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:doctrine="http://symfony.com/schema/dic/doctrine"
Expand Down Expand Up @@ -219,7 +219,7 @@
Doctrine\Migrations\Event\Listeners\AutoCommitListener:
tags:
- name: doctrine.event_listener
event: !php/const Doctrine\Migrations\Events::onMigrationsMigrated
event: onMigrationsMigrated

.. code-block:: xml

Expand All @@ -232,7 +232,7 @@

<services>
<service id="Doctrine\Migrations\Event\Listeners\AutoCommitListener">
<tag name="doctrine.event_listener" event="onMigrationsMigrated" />
<tag name="doctrine.event_listener" event="onMigrationsMigrated"/>
</service>
</services>
</container>
Expand All @@ -242,8 +242,8 @@
// config/services.php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;

use Doctrine\Migrations\Event\Listeners\AutoCommitListener;

Check failure on line 245 in reference/configuration/doctrine.rst

View workflow job for this annotation

GitHub Actions / Code Blocks

[Missing class] Class, interface or trait with name "Doctrine\Migrations\Event\Listeners\AutoCommitListener" does not exist
use Doctrine\Migrations\Events;

Check failure on line 246 in reference/configuration/doctrine.rst

View workflow job for this annotation

GitHub Actions / Code Blocks

[Missing class] Class, interface or trait with name "Doctrine\Migrations\Events" does not exist

return function(ContainerConfigurator $container): void {
$services = $container->services();
Expand Down
Loading
0