File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 21
21
"require-dev" : {
22
22
"phpunit/phpunit" : " ^10.5" ,
23
23
"symfony/browser-kit" : " ^5.4|^6.0|^7.0" ,
24
+ "symfony/error-handler" : " ^5.4|^6.0|^7.1" ,
24
25
"symfony/expression-language" : " ^5.4|^6.0|^7.0" ,
25
26
"symfony/framework-bundle" : " ^5.4|^6.0|^7.0" ,
26
27
"symfony/phpunit-bridge" : " >= 6.0" ,
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap =" vendor/autoload .php" cacheDirectory =" .phpunit.cache" >
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap =" tests/bootstrap .php" cacheDirectory =" .phpunit.cache" >
3
3
<php >
4
4
<env name =" SHELL_VERBOSITY" value =" -1" />
5
5
<server name =" KERNEL_CLASS" value =" \Webfactory\ShortcodeBundle\Tests\Fixtures\TestKernel" />
6
6
<ini name =" error_reporting" value =" -1" />
7
7
<server name =" APP_ENV" value =" test" force =" true" />
8
- <env name =" SYMFONY_DEPRECATIONS_HELPER" value =" max[self]=0 " />
8
+ <env name =" SYMFONY_DEPRECATIONS_HELPER" value =" max[self]=9999 " />
9
9
</php >
10
10
<testsuites >
11
11
<testsuite name =" Project Test Suite" >
Original file line number Diff line number Diff line change 13
13
*/
14
14
class ShortcodeCompilerPass implements CompilerPassInterface
15
15
{
16
- public function process (ContainerBuilder $ container )
16
+ public function process (ContainerBuilder $ container ): void
17
17
{
18
18
$ shortcodeServices = $ container ->findTaggedServiceIds ('webfactory.shortcode ' );
19
19
Original file line number Diff line number Diff line change 13
13
*/
14
14
final class WebfactoryShortcodeExtension extends Extension
15
15
{
16
- public function load (array $ configs , ContainerBuilder $ container )
16
+ public function load (array $ configs , ContainerBuilder $ container ): void
17
17
{
18
18
$ loader = new XmlFileLoader ($ container , new FileLocator (__DIR__ .'/../Resources/config ' ));
19
19
$ loader ->load ('shortcodes.xml ' );
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public function registerBundles(): array
19
19
];
20
20
}
21
21
22
- public function registerContainerConfiguration (LoaderInterface $ loader )
22
+ public function registerContainerConfiguration (LoaderInterface $ loader ): void
23
23
{
24
24
$ loader ->load (__DIR__ .'/config/config.yml ' );
25
25
$ loader ->load (__DIR__ .'/config/test_shortcodes.xml ' );
You can’t perform that action at this time.
0 commit comments