Commit 9a5da07 1 parent bf4bb4e commit 9a5da07 Copy full SHA for 9a5da07
File tree 5 files changed +17
-4
lines changed
DependencyInjection/CompilerPass
5 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
test :
12
- name : ' PHP ${{ matrix.php-version }} (${{ matrix.dependency-versions }})'
12
+ name : ' PHP ${{ matrix.php-version }} (${{ matrix.dependency-versions }}, Lint ${{ matrix.lint }} )'
13
13
runs-on : ubuntu-latest
14
14
15
15
env :
33
33
env :
34
34
SYMFONY_DEPRECATIONS_HELPER : weak
35
35
36
+ - php-version : ' 8.0'
37
+ lint : false
38
+ dependency-versions : ' highest'
39
+ tools : ' composer:v2'
40
+ env :
41
+ SYMFONY_DEPRECATIONS_HELPER : weak
42
+
36
43
services :
37
44
mysql :
38
45
image : mysql:5.7
57
64
uses : ramsey/composer-install@v1
58
65
with :
59
66
dependency-versions : ${{matrix.dependency-versions}}
67
+ composer-options : ${{ matrix.composer-options }}
60
68
61
69
- name : Bootstrap test environment
62
70
run : composer bootstrap-test-environment
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ class CommunityManagerCompilerPass implements CompilerPassInterface
27
27
*/
28
28
public function process (ContainerBuilder $ container ): void
29
29
{
30
+ /** @var mixed[] $webspacesConfig */
30
31
$ webspacesConfig = $ container ->getParameter ('sulu_community.webspaces_config ' );
31
32
32
33
$ references = [];
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ public function process(ContainerBuilder $container): void
34
34
}
35
35
36
36
// Create Validator References
37
+ /** @var mixed[] $webspacesConfig */
37
38
$ webspacesConfig = $ container ->getParameter ('sulu_community.webspaces_config ' );
38
39
39
40
foreach ($ webspacesConfig as $ webspaceKey => $ webspaceConfig ) {
Original file line number Diff line number Diff line change 11
11
12
12
namespace Sulu \Bundle \CommunityBundle \EventListener ;
13
13
14
- use Doctrine \Common \ Persistence \ObjectManager ;
14
+ use Doctrine \Persistence \ObjectManager ;
15
15
use Sulu \Bundle \CommunityBundle \DependencyInjection \Configuration ;
16
16
use Sulu \Bundle \CommunityBundle \Entity \BlacklistItem ;
17
17
use Sulu \Bundle \CommunityBundle \Entity \BlacklistItemRepository ;
Original file line number Diff line number Diff line change 4
4
"type" : " sulu-bundle" ,
5
5
"license" : " MIT" ,
6
6
"require" : {
7
- "php" : " ^7.2" ,
7
+ "php" : " ^7.2 || ^8.0 " ,
8
8
"beberlei/doctrineextensions" : " ^1.0" ,
9
9
"doctrine/doctrine-bundle" : " ^1.10 || ^2.0" ,
10
+ "doctrine/persistence" : " ^1.3 || ^2.0" ,
11
+ "doctrine/orm" : " ^2.5.3" ,
10
12
"jms/serializer-bundle" : " ^3.3" ,
11
13
"massive/build-bundle" : " ^0.3 || ^0.4 || ^0.5" ,
12
- "sulu/sulu" : " ^2.0.6 || ^2.1 @dev" ,
14
+ "sulu/sulu" : " ^2.0.6 || ^2.3 @dev" ,
13
15
"symfony/config" : " ^4.3 || ^5.0" ,
14
16
"symfony/console" : " ^4.3 || ^5.0" ,
15
17
"symfony/dependency-injection" : " ^4.3 || ^5.0" ,
24
26
"symfony/swiftmailer-bundle" : " ^3.1.4"
25
27
},
26
28
"require-dev" : {
29
+ "doctrine/data-fixtures" : " ^1.3.3" ,
27
30
"friendsofphp/php-cs-fixer" : " ^2.17" ,
28
31
"handcraftedinthealps/zendsearch" : " ^2.0" ,
29
32
"jackalope/jackalope-doctrine-dbal" : " ^1.3.4" ,
You can’t perform that action at this time.
0 commit comments