|
12 | 12 | "require": { |
13 | 13 | "composer/installers": "^2.1", |
14 | 14 | "cweagans/composer-patches": "^1.7", |
| 15 | + "drupal/admin_toolbar": "^3.0", |
| 16 | + "drupal/config_split": "^1.7", |
15 | 17 | "drupal/core-composer-scaffold": "^10.2.0", |
16 | 18 | "drupal/core-recommended": "^10.2.0", |
| 19 | + "drupal/gin": "^3.0@alpha", |
17 | 20 | "drush/drush": "^12.4.3", |
18 | | - "oomphinc/composer-installers-extender": "^2.0", |
19 | 21 | "vlucas/phpdotenv": "^5.1", |
20 | 22 | "webflo/drupal-finder": "^1.3" |
21 | 23 | }, |
22 | 24 | "require-dev": { |
23 | 25 | "drupal/core-dev": "^10.2.0", |
24 | | - "ergebnis/composer-normalize": "^2.42" |
| 26 | + "ergebnis/composer-normalize": "^2.42", |
| 27 | + "mglaman/drupal-check": "^1.2", |
| 28 | + "phpcompatibility/php-compatibility": "^9.3", |
| 29 | + "zaporylie/composer-drupal-optimizations": "^1.2" |
25 | 30 | }, |
26 | 31 | "conflict": { |
27 | 32 | "drupal/drupal": "*" |
|
124 | 129 | ], |
125 | 130 | "post-update-cmd": [ |
126 | 131 | "DrupalProject\\composer\\ScriptHandler::createRequiredFiles" |
| 132 | + ], |
| 133 | + "build": [ |
| 134 | + "drush site:install minimal --existing-config --db-url=mysql://root:password@mariadb:3306/drupal -y", |
| 135 | + "drush cr", |
| 136 | + "drush scr web/modules/custom/pmis_tests/scripts/install_test_users.php", |
| 137 | + "drush scr web/modules/custom/pmis_tests/scripts/install_test_content.php" |
| 138 | + ], |
| 139 | + "run_tests": [ |
| 140 | + "mkdir -p /tmp/b2b", |
| 141 | + "phpunit -c /var/www/html/drupal/phpunit.xml" |
| 142 | + ], |
| 143 | + "run_single_test_class": [ |
| 144 | + "mkdir -p /tmp/b2b", |
| 145 | + "phpunit -c /var/www/html/drupal/phpunit.xml web/modules/custom/awpid_core/tests/src/Functional/EventsAndParticipantsTest.php" |
| 146 | + ], |
| 147 | + "php_compatibility": [ |
| 148 | + "phpcs --config-set installed_paths /var/www/html/drupal/vendor/phpcompatibility/php-compatibility/PHPCompatibility", |
| 149 | + "phpcs -p --standard=PHPCompatibility --extensions=php,inc,module,install --runtime-set testVersion 7.4 /var/www/html/drupal/web/modules/custom", |
| 150 | + "phpcs -p --standard=PHPCompatibility --extensions=php,inc,theme,install --runtime-set testVersion 7.4 /var/www/html/drupal/web/themes/custom" |
| 151 | + ], |
| 152 | + "coding_standards": [ |
| 153 | + "phpcs --config-set installed_paths /var/www/html/drupal/vendor/drupal/coder/coder_sniffer", |
| 154 | + "phpcs --standard=Drupal --extensions=php,module,inc,install /var/www/html/drupal/web/modules/custom", |
| 155 | + "phpcs --standard=Drupal /var/www/html/drupal/web/themes/custom --ignore=*/node_modules/*,*.css,*.js,includes/*" |
| 156 | + ], |
| 157 | + "coding_standards_fix": [ |
| 158 | + "phpcs --config-set installed_paths /var/www/html/drupal/vendor/drupal/coder/coder_sniffer", |
| 159 | + "phpcbf --report=diff --extensions=php,module,inc,install --standard=Drupal /var/www/html/drupal/web/modules/custom", |
| 160 | + "phpcbf --report=diff --standard=Drupal /var/www/html/drupal/web/themes/custom --ignore=*/node_modules/*,*.css,*.js,includes/*" |
| 161 | + ], |
| 162 | + "drupal_check": [ |
| 163 | + "drupal-check /var/www/html/drupal/web/*/custom" |
127 | 164 | ] |
128 | 165 | } |
129 | 166 | } |
0 commit comments