Skip to content

Commit 66cfa82

Browse files
committed
Merged branch '5.0' into 6.0
2 parents 3b5be6f + f1b31bb commit 66cfa82

20 files changed

Lines changed: 616 additions & 450 deletions

features/setup/symfonyCache.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ index 9982c21..03ac40a 100644
1919
+++ b/public/index.php
2020
@@ -1,9 +1,14 @@
2121
<?php
22-
22+
2323
use App\Kernel;
2424
+use Ibexa\Bundle\HttpCache\AppCache;
2525
+use Symfony\Component\HttpFoundation\Request;
26-
26+
2727
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
28-
29-
return function (array $context) {
28+
29+
return static function (array $context) {
3030
- return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
3131
+ $kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
3232
+ Request::enableHttpMethodParameterOverride();
3333
+
3434
+ return new AppCache($kernel);
3535
};
36-
--
36+
--
3737
2.30.0
3838
"""

phpstan-baseline.neon

Lines changed: 0 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -606,132 +606,6 @@ parameters:
606606
count: 1
607607
path: spec/ResponseConfigurator/ConfigurableResponseCacheConfiguratorSpec.php
608608

609-
-
610-
message: '#^Call to an undefined method Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content\:\:willReturn\(\)\.$#'
611-
identifier: method.notFound
612-
count: 1
613-
path: spec/ResponseTagger/Delegator/ContentValueViewTaggerSpec.php
614-
615-
-
616-
message: '#^Call to an undefined method spec\\Ibexa\\HttpCache\\ResponseTagger\\Delegator\\ContentValueViewTaggerSpec\:\:tag\(\)\.$#'
617-
identifier: method.notFound
618-
count: 1
619-
path: spec/ResponseTagger/Delegator/ContentValueViewTaggerSpec.php
620-
621-
-
622-
message: '#^Class spec\\Ibexa\\HttpCache\\ResponseTagger\\Delegator\\ContentValueViewTaggerSpec extends generic class PhpSpec\\ObjectBehavior but does not specify its types\: TKey, TValue$#'
623-
identifier: missingType.generics
624-
count: 1
625-
path: spec/ResponseTagger/Delegator/ContentValueViewTaggerSpec.php
626-
627-
-
628-
message: '#^Call to an undefined method spec\\Ibexa\\HttpCache\\ResponseTagger\\Delegator\\DispatcherTaggerSpec\:\:tag\(\)\.$#'
629-
identifier: method.notFound
630-
count: 1
631-
path: spec/ResponseTagger/Delegator/DispatcherTaggerSpec.php
632-
633-
-
634-
message: '#^Class spec\\Ibexa\\HttpCache\\ResponseTagger\\Delegator\\DispatcherTaggerSpec extends generic class PhpSpec\\ObjectBehavior but does not specify its types\: TKey, TValue$#'
635-
identifier: missingType.generics
636-
count: 1
637-
path: spec/ResponseTagger/Delegator/DispatcherTaggerSpec.php
638-
639-
-
640-
message: '#^Call to an undefined method Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Location\:\:willReturn\(\)\.$#'
641-
identifier: method.notFound
642-
count: 1
643-
path: spec/ResponseTagger/Delegator/LocationValueViewTaggerSpec.php
644-
645-
-
646-
message: '#^Call to an undefined method spec\\Ibexa\\HttpCache\\ResponseTagger\\Delegator\\LocationValueViewTaggerSpec\:\:tag\(\)\.$#'
647-
identifier: method.notFound
648-
count: 1
649-
path: spec/ResponseTagger/Delegator/LocationValueViewTaggerSpec.php
650-
651-
-
652-
message: '#^Class spec\\Ibexa\\HttpCache\\ResponseTagger\\Delegator\\LocationValueViewTaggerSpec extends generic class PhpSpec\\ObjectBehavior but does not specify its types\: TKey, TValue$#'
653-
identifier: missingType.generics
654-
count: 1
655-
path: spec/ResponseTagger/Delegator/LocationValueViewTaggerSpec.php
656-
657-
-
658-
message: '#^Call to an undefined method FOS\\HttpCache\\ResponseTagger\:\:shouldHaveBeenCalled\(\)\.$#'
659-
identifier: method.notFound
660-
count: 2
661-
path: spec/ResponseTagger/Value/ContentInfoTaggerSpec.php
662-
663-
-
664-
message: '#^Call to an undefined method FOS\\HttpCache\\ResponseTagger\:\:shouldNotHaveBeenCalled\(\)\.$#'
665-
identifier: method.notFound
666-
count: 1
667-
path: spec/ResponseTagger/Value/ContentInfoTaggerSpec.php
668-
669-
-
670-
message: '#^Call to an undefined method FOS\\HttpCache\\ResponseTagger\:\:willReturn\(\)\.$#'
671-
identifier: method.notFound
672-
count: 1
673-
path: spec/ResponseTagger/Value/ContentInfoTaggerSpec.php
674-
675-
-
676-
message: '#^Call to an undefined method spec\\Ibexa\\HttpCache\\ResponseTagger\\Value\\ContentInfoTaggerSpec\:\:tag\(\)\.$#'
677-
identifier: method.notFound
678-
count: 3
679-
path: spec/ResponseTagger/Value/ContentInfoTaggerSpec.php
680-
681-
-
682-
message: '#^Class spec\\Ibexa\\HttpCache\\ResponseTagger\\Value\\ContentInfoTaggerSpec extends generic class PhpSpec\\ObjectBehavior but does not specify its types\: TKey, TValue$#'
683-
identifier: missingType.generics
684-
count: 1
685-
path: spec/ResponseTagger/Value/ContentInfoTaggerSpec.php
686-
687-
-
688-
message: '#^Method FOS\\HttpCache\\ResponseTagger\:\:addTags\(\) invoked with 0 parameters, 1 required\.$#'
689-
identifier: arguments.count
690-
count: 1
691-
path: spec/ResponseTagger/Value/ContentInfoTaggerSpec.php
692-
693-
-
694-
message: '#^Parameter \#1 \$tags of method FOS\\HttpCache\\ResponseTagger\:\:addTags\(\) expects array\<string\>, Prophecy\\Argument\\Token\\AnyValueToken given\.$#'
695-
identifier: argument.type
696-
count: 1
697-
path: spec/ResponseTagger/Value/ContentInfoTaggerSpec.php
698-
699-
-
700-
message: '#^Call to an undefined method FOS\\HttpCache\\ResponseTagger\:\:shouldHaveBeenCalled\(\)\.$#'
701-
identifier: method.notFound
702-
count: 3
703-
path: spec/ResponseTagger/Value/LocationTaggerSpec.php
704-
705-
-
706-
message: '#^Call to an undefined method FOS\\HttpCache\\ResponseTagger\:\:shouldNotHaveBeenCalled\(\)\.$#'
707-
identifier: method.notFound
708-
count: 1
709-
path: spec/ResponseTagger/Value/LocationTaggerSpec.php
710-
711-
-
712-
message: '#^Call to an undefined method FOS\\HttpCache\\ResponseTagger\:\:willReturn\(\)\.$#'
713-
identifier: method.notFound
714-
count: 1
715-
path: spec/ResponseTagger/Value/LocationTaggerSpec.php
716-
717-
-
718-
message: '#^Call to an undefined method spec\\Ibexa\\HttpCache\\ResponseTagger\\Value\\LocationTaggerSpec\:\:tag\(\)\.$#'
719-
identifier: method.notFound
720-
count: 4
721-
path: spec/ResponseTagger/Value/LocationTaggerSpec.php
722-
723-
-
724-
message: '#^Class spec\\Ibexa\\HttpCache\\ResponseTagger\\Value\\LocationTaggerSpec extends generic class PhpSpec\\ObjectBehavior but does not specify its types\: TKey, TValue$#'
725-
identifier: missingType.generics
726-
count: 1
727-
path: spec/ResponseTagger/Value/LocationTaggerSpec.php
728-
729-
-
730-
message: '#^Parameter \#1 \$tags of method FOS\\HttpCache\\ResponseTagger\:\:addTags\(\) expects array\<string\>, Prophecy\\Argument\\Token\\AnyValueToken given\.$#'
731-
identifier: argument.type
732-
count: 2
733-
path: spec/ResponseTagger/Value/LocationTaggerSpec.php
734-
735609
-
736610
message: '#^Call to an undefined method Symfony\\Component\\HttpKernel\\HttpKernelInterface\:\:isDebug\(\)\.$#'
737611
identifier: method.notFound
@@ -1122,24 +996,6 @@ parameters:
1122996
count: 1
1123997
path: src/lib/ResponseTagger/Delegator/ContentValueViewTagger.php
1124998

1125-
-
1126-
message: '#^Method Ibexa\\HttpCache\\ResponseTagger\\Delegator\\DispatcherTagger\:\:__construct\(\) has parameter \$taggers with no value type specified in iterable type array\.$#'
1127-
identifier: missingType.iterableValue
1128-
count: 1
1129-
path: src/lib/ResponseTagger/Delegator/DispatcherTagger.php
1130-
1131-
-
1132-
message: '#^PHPDoc tag @var for property Ibexa\\HttpCache\\ResponseTagger\\Delegator\\DispatcherTagger\:\:\$taggers with type Ibexa\\Contracts\\HttpCache\\ResponseTagger\\ResponseTagger is incompatible with native type array\.$#'
1133-
identifier: property.phpDocType
1134-
count: 1
1135-
path: src/lib/ResponseTagger/Delegator/DispatcherTagger.php
1136-
1137-
-
1138-
message: '#^Property Ibexa\\HttpCache\\ResponseTagger\\Delegator\\DispatcherTagger\:\:\$taggers type has no value type specified in iterable type array\.$#'
1139-
identifier: missingType.iterableValue
1140-
count: 1
1141-
path: src/lib/ResponseTagger/Delegator/DispatcherTagger.php
1142-
1143999
-
11441000
message: '#^Method Ibexa\\HttpCache\\ResponseTagger\\Delegator\\LocationValueViewTagger\:\:tag\(\) has no return type specified\.$#'
11451001
identifier: missingType.return

spec/ResponseTagger/Delegator/ContentValueViewTaggerSpec.php

Lines changed: 0 additions & 42 deletions
This file was deleted.

spec/ResponseTagger/Delegator/DispatcherTaggerSpec.php

Lines changed: 0 additions & 37 deletions
This file was deleted.

spec/ResponseTagger/Delegator/LocationValueViewTaggerSpec.php

Lines changed: 0 additions & 38 deletions
This file was deleted.

spec/ResponseTagger/Value/ContentInfoTaggerSpec.php

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)