File tree Expand file tree Collapse file tree 5 files changed +12
-4
lines changed
Expand file tree Collapse file tree 5 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN apk add --no-cache \
99RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer
1010
1111RUN apk add --no-cache --virtual .phpize_deps $PHPIZE_DEPS && \
12- pecl install xdebug 3 && \
12+ pecl install xdebug-3.1.1 && \
1313 docker-php-ext-enable xdebug && \
1414 rm -rf /usr/share/php7 && \
1515 rm -rf /tmp/pear && \
Original file line number Diff line number Diff line change 2525
2626.PHONY : tests
2727tests :
28- docker-compose run --rm -u ${UID} :${GID} ${DOCKER_PHP_SERVICE} phpunit
28+ docker-compose run --rm -u ${UID} :${GID} ${DOCKER_PHP_SERVICE} phpunit
Original file line number Diff line number Diff line change 2828 "pccomponentes/coding-standard" : " ^1.0" ,
2929 "phpunit/phpunit" : " ^9" ,
3030 "dg/bypass-finals" : " ^1.1"
31+ },
32+ "config" : {
33+ "allow-plugins" : {
34+ "dealerdirect/phpcodesniffer-composer-installer" : true
35+ }
3136 }
3237}
Original file line number Diff line number Diff line change 1- version : ' 3.7'
21services :
32 php :
43 build : .
Original file line number Diff line number Diff line change @@ -10,9 +10,13 @@ final class DBALTransactionalConnection implements TransactionalConnection
1010{
1111 private Connection $ DBALConnection ;
1212
13- public function __construct (Connection $ DBALConnection )
13+ public function __construct (Connection $ DBALConnection, bool $ nestTransactionsWithSavepoints = false )
1414 {
1515 $ this ->DBALConnection = $ DBALConnection ;
16+
17+ if (true === $ nestTransactionsWithSavepoints ) {
18+ $ this ->DBALConnection ->setNestTransactionsWithSavepoints (true );
19+ }
1620 }
1721
1822 public function beginTransaction (): void
You can’t perform that action at this time.
0 commit comments