Skip to content

Commit

Permalink
Added Drupal Lenient composer package and brought back ClamAV.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Nov 18, 2024
1 parent c273690 commit 0c3b08e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"composer/installers": "^2.3",
"cweagans/composer-patches": "^1.7",
"drupal/admin_toolbar": "^3.5",
"drupal/clamav": "^2",
"drupal/coffee": "^2",
"drupal/config_split": "^2",
"drupal/config_update": "^2@alpha",
Expand All @@ -23,6 +24,7 @@
"drupal/shield": "^1.8",
"drupal/stage_file_proxy": "^3.1",
"drush/drush": "^13",
"mglaman/composer-drupal-lenient": "^1.0",
"oomphinc/composer-installers-extender": "^2",
"webflo/drupal-finder": "^1.3"
},
Expand Down Expand Up @@ -77,6 +79,7 @@
"dealerdirect/phpcodesniffer-composer-installer": true,
"drupal/core-composer-scaffold": true,
"ergebnis/composer-normalize": true,
"mglaman/composer-drupal-lenient": true,
"oomphinc/composer-installers-extender": true,
"php-http/discovery": true,
"phpstan/extension-installer": true,
Expand All @@ -91,6 +94,11 @@
},
"extra": {
"composer-exit-on-patch-failure": true,
"drupal-lenient": {
"allowed-list": [
"drupal/clamav"
]
},
"drupal-scaffold": {
"file-mapping": {
"[project-root]/.editorconfig": false,
Expand Down Expand Up @@ -147,7 +155,11 @@
"patchLevel": {
"drupal/core": "-p2"
},
"patches": {}
"patches": {
"drupal/clamav": {
"Automated Drupal 11 compatibility fixes for clamav": "https://www.drupal.org/files/issues/2024-03-16/clamav.2.0.2.rector.patch"
}
}
},
"scripts": {
"pre-install-cmd": [
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/features/clamav.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@clamav @p0 @skipped
@clamav @p0
Feature: ClamAV Anti-virus

Ensure that ClamAV is working correctly.
Expand Down

0 comments on commit 0c3b08e

Please sign in to comment.