Skip to content

Commit fec0d54

Browse files
committed
Fix compatibility with older Symfony versions
And make testing output usable again thanks to the Slack heroes Mateusz Sip and michalmleczko!
1 parent 0c76ee6 commit fec0d54

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<ini name="intl.error_level" value="0" />
1414
<ini name="memory_limit" value="-1" />
1515

16+
<env name="SHELL_VERBOSITY" value="-1" />
1617
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak_vendors" />
1718
</php>
1819

src/DependencyInjection/Compiler/LocatorRegistrationPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private function registerLocator(ContainerBuilder $container, string $baseTag):
5757
return $container
5858
->register("datatables.{$baseTag}_locator", ServiceLocator::class)
5959
->addTag('container.service_locator')
60-
->setPrivate(true)
60+
->setPublic(false)
6161
->setArguments([$types])
6262
;
6363
}

0 commit comments

Comments
 (0)