File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,13 @@ jobs:
114
114
cd ~/drupal
115
115
COMPOSER_MEMORY_LIMIT=-1 composer require drupal/token drupal/blazy
116
116
./vendor/bin/phpstan analyze web/modules/contrib/blazy --no-progress || if (($? == 255)); then false; else true; fi
117
+ COMPOSER_MEMORY_LIMIT=-1 composer remove drupal/token drupal/blazy
118
+ - name : ' Check "Cannot redeclare video_embed_media_media_bundle_insert()"'
119
+ run : |
120
+ cd ~/drupal
121
+ COMPOSER_MEMORY_LIMIT=-1 composer require drupal/video_embed_field drupal/slick
122
+ ./vendor/bin/phpstan analyze web/modules/contrib --no-progress || if (($? == 255)); then false; else true; fi
123
+ COMPOSER_MEMORY_LIMIT=-1 composer remove drupal/video_embed_field drupal/slick
117
124
build_integration_no_phpunit :
118
125
continue-on-error : ${{ matrix.experimental }}
119
126
runs-on : " ubuntu-latest"
Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ script:
33
33
- COMPOSER_MEMORY_LIMIT=-1 composer require drupal/token drupal/blazy
34
34
- ./vendor/bin/phpstan analyze web/modules/contrib/blazy --no-progress || if (($? == 255)); then false; else true; fi
35
35
36
+ # Check " Cannot redeclare video_embed_media_media_bundle_insert() due to slick_test.module"
37
+ - composer require drupal/video_embed_field drupal/slick
38
+ - ./vendor/bin/phpstan analyze web/modules/contrib/slick --no-progress || if (($? == 255)); then false; else true; fi
39
+
36
40
cache :
37
41
directories :
38
42
- $HOME/.composer/cache
Original file line number Diff line number Diff line change @@ -91,8 +91,7 @@ public function register(Container $container): void
91
91
92
92
$ this ->moduleData = array_merge ($ this ->extensionDiscovery ->scan ('module ' ), $ profiles );
93
93
usort ($ this ->moduleData , static function (Extension $ a , Extension $ b ) {
94
- // blazy_test causes errors, ensure it is loaded last.
95
- return $ a ->getName () === 'blazy_test ' ? 10 : 0 ;
94
+ return strpos ($ a ->getName (), '_test ' ) !== false ? 10 : 0 ;
96
95
});
97
96
$ this ->themeData = $ this ->extensionDiscovery ->scan ('theme ' );
98
97
$ this ->addTestNamespaces ();
You can’t perform that action at this time.
0 commit comments