|
1 | 1 | { |
2 | 2 | "name": "os2forms/os2forms", |
3 | | - "type": "drupal-module", |
4 | 3 | "description": "Drupal 8 OS2Form module provides advanced webform functionality for Danish Municipalities", |
5 | | - "minimum-stability": "dev", |
6 | | - "prefer-stable": true, |
7 | 4 | "license": "EUPL-1.2", |
8 | | - "repositories": { |
9 | | - "drupal": { |
10 | | - "type": "composer", |
11 | | - "url": "https://packages.drupal.org/8" |
12 | | - }, |
13 | | - "assets": { |
14 | | - "type": "composer", |
15 | | - "url": "https://asset-packagist.org" |
16 | | - } |
17 | | - }, |
| 5 | + "type": "drupal-module", |
18 | 6 | "require": { |
19 | 7 | "php": "^8.1", |
20 | 8 | "ext-dom": "*", |
|
23 | 11 | "dompdf/dompdf": "^2.0", |
24 | 12 | "drupal/admin_toolbar": "^3.0", |
25 | 13 | "drupal/advancedqueue": "^1.0", |
26 | | - "drupal/cache_control_override": "^1.1|^2.0", |
| 14 | + "drupal/cache_control_override": "^1.1 || ^2.0", |
27 | 15 | "drupal/clientside_validation": "^4.0", |
28 | 16 | "drupal/coc_forms_auto_export": "^2.0@alpha", |
29 | | - "drupal/config_entity_revisions": "dev-2.0.x", |
| 17 | + "drupal/config_entity_revisions": "2.0.x-dev", |
30 | 18 | "drupal/diff": "^1.0", |
31 | 19 | "drupal/embed": "^1.4", |
32 | 20 | "drupal/entity_print": "^2.1", |
|
42 | 30 | "drupal/mailsystem": "^4.1", |
43 | 31 | "drupal/masquerade": "^2.0@RC", |
44 | 32 | "drupal/pathauto": "^1.5", |
45 | | - "drupal/permissions_by_term": "^3.1 || ^2.25", |
| 33 | + "drupal/permissions_by_term": "^2.25 || ^3.1", |
46 | 34 | "drupal/queue_mail": "^1.4", |
47 | 35 | "drupal/r4032login": "^2.1", |
48 | 36 | "drupal/redirect": "^1.4", |
|
68 | 56 | "http-interop/http-factory-guzzle": "^1.0.0", |
69 | 57 | "itk-dev/beskedfordeler-drupal": "^1.0", |
70 | 58 | "itk-dev/serviceplatformen": "^1.5", |
| 59 | + "mglaman/composer-drupal-lenient": "^1.0", |
71 | 60 | "os2web/os2web_audit": "^1.0", |
72 | 61 | "os2web/os2web_datalookup": "^2.0", |
73 | 62 | "os2web/os2web_nemlogin": "^1.0", |
|
77 | 66 | "symfony/options-resolver": "^5.4 || ^6.0", |
78 | 67 | "webmozart/path-util": "^2.3", |
79 | 68 | "wsdltophp/packagebase": "^5.0", |
80 | | - "zaporylie/composer-drupal-optimizations": "^1.2", |
81 | | - "mglaman/composer-drupal-lenient": "^1.0" |
| 69 | + "zaporylie/composer-drupal-optimizations": "^1.2" |
82 | 70 | }, |
83 | 71 | "require-dev": { |
84 | 72 | "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", |
85 | 73 | "drupal/coder": "^8.3", |
| 74 | + "ergebnis/composer-normalize": "^2.47", |
86 | 75 | "mglaman/phpstan-drupal": "^1.1", |
87 | 76 | "phpstan/extension-installer": "^1.3", |
88 | 77 | "phpstan/phpstan-deprecation-rules": "^1.1", |
89 | 78 | "phpunit/phpunit": "^9.5", |
90 | 79 | "wsdltophp/packagegenerator": "^4.0" |
91 | 80 | }, |
92 | | - "extra" : { |
| 81 | + "repositories": { |
| 82 | + "drupal": { |
| 83 | + "type": "composer", |
| 84 | + "url": "https://packages.drupal.org/8" |
| 85 | + }, |
| 86 | + "assets": { |
| 87 | + "type": "composer", |
| 88 | + "url": "https://asset-packagist.org" |
| 89 | + } |
| 90 | + }, |
| 91 | + "minimum-stability": "dev", |
| 92 | + "prefer-stable": true, |
| 93 | + "config": { |
| 94 | + "allow-plugins": { |
| 95 | + "cweagans/composer-patches": true, |
| 96 | + "dealerdirect/phpcodesniffer-composer-installer": true, |
| 97 | + "ergebnis/composer-normalize": true, |
| 98 | + "mglaman/composer-drupal-lenient": true, |
| 99 | + "phpstan/extension-installer": true, |
| 100 | + "simplesamlphp/composer-module-installer": true, |
| 101 | + "vaimo/composer-patches": true, |
| 102 | + "zaporylie/composer-drupal-optimizations": true |
| 103 | + }, |
| 104 | + "sort-packages": true |
| 105 | + }, |
| 106 | + "extra": { |
93 | 107 | "composer-exit-on-patch-failure": false, |
94 | | - "enable-patching" : true, |
| 108 | + "drupal-lenient": { |
| 109 | + "allowed-list": [ |
| 110 | + "drupal/coc_forms_auto_export", |
| 111 | + "drupal/webform_node_element" |
| 112 | + ] |
| 113 | + }, |
| 114 | + "enable-patching": true, |
95 | 115 | "patches": { |
| 116 | + "drupal/coc_forms_auto_export": { |
| 117 | + "3240592 - Problem with phpseclib requirement in 2.x (https://www.drupal.org/project/coc_forms_auto_export/issues/3240592)": "https://www.drupal.org/files/issues/2021-10-04/requirement-namespace-3240592-1.patch", |
| 118 | + "3286562 - Automated Drupal 10 compatibility fixes": "https://www.drupal.org/files/issues/2022-06-15/coc_forms_auto_export.2.0.x-dev.rector.patch", |
| 119 | + "3259009 - PHP Warnings/Notices on Download Page": "https://git.drupalcode.org/project/coc_forms_auto_export/-/merge_requests/1.diff" |
| 120 | + }, |
96 | 121 | "drupal/entity_print": { |
97 | 122 | "2733781 - Add Export to Word Support": "https://www.drupal.org/files/issues/2019-11-22/2733781-47.patch" |
98 | 123 | }, |
99 | 124 | "drupal/webform": { |
100 | 125 | "Unlock possibility of using Entity print module export to Word": "https://www.drupal.org/files/issues/2020-02-29/3096552-6.patch", |
101 | 126 | "Webform computed element post save alter": "https://www.drupal.org/files/issues/2024-06-25/webform_computed_post_save_field_alter.patch", |
102 | 127 | "Add custom hook (hook_webform_post_load_data) for audit logging": "https://gist.githubusercontent.com/cableman/d26898fc8f65ee0a31001bf391583b59/raw/6189dc4c2ceaabb19d25cc4b98b0b3028a6b0e1e/gistfile1.txt" |
103 | | - |
104 | | - }, |
105 | | - "drupal/coc_forms_auto_export": { |
106 | | - "3240592 - Problem with phpseclib requirement in 2.x (https://www.drupal.org/project/coc_forms_auto_export/issues/3240592)": "https://www.drupal.org/files/issues/2021-10-04/requirement-namespace-3240592-1.patch", |
107 | | - "3286562 - Automated Drupal 10 compatibility fixes" : "https://www.drupal.org/files/issues/2022-06-15/coc_forms_auto_export.2.0.x-dev.rector.patch", |
108 | | - "3259009 - PHP Warnings/Notices on Download Page" : "https://git.drupalcode.org/project/coc_forms_auto_export/-/merge_requests/1.diff" |
109 | | - }, |
110 | | - "drupal/webform_node_element": { |
111 | | - "3290637 - Automated Drupal 10 compatibility fixes": "https://www.drupal.org/files/issues/2023-05-12/webform_node_element_d10-3290637-11.patch" |
112 | 128 | }, |
113 | 129 | "drupal/webform_encrypt": { |
114 | 130 | "Ensure data is base64 encoded (https://www.drupal.org/project/webform_encrypt/issues/3399414)": "https://git.drupalcode.org/project/webform_encrypt/-/merge_requests/4.patch", |
115 | 131 | "PHP Warning if unserialize fails (https://www.drupal.org/project/webform_encrypt/issues/3292305)": "https://www.drupal.org/files/issues/2022-06-23/unserialize-php-notice.patch" |
| 132 | + }, |
| 133 | + "drupal/webform_node_element": { |
| 134 | + "3290637 - Automated Drupal 10 compatibility fixes": "https://www.drupal.org/files/issues/2023-05-12/webform_node_element_d10-3290637-11.patch" |
116 | 135 | } |
117 | | - }, |
118 | | - "drupal-lenient": { |
119 | | - "allowed-list": [ |
120 | | - "drupal/coc_forms_auto_export", |
121 | | - "drupal/webform_node_element" |
122 | | - ] |
123 | 136 | } |
124 | 137 | }, |
125 | 138 | "scripts": { |
126 | | - "code-analysis/phpstan": [ |
127 | | - "phpstan analyse" |
128 | | - ], |
129 | 139 | "code-analysis": [ |
130 | 140 | "@code-analysis/phpstan" |
131 | 141 | ], |
132 | | - "coding-standards-check/phpcs": [ |
133 | | - "phpcs --standard=phpcs.xml.dist" |
| 142 | + "code-analysis/phpstan": [ |
| 143 | + "phpstan analyse" |
134 | 144 | ], |
135 | | - "coding-standards-check": [ |
136 | | - "@coding-standards-check/phpcs" |
| 145 | + "coding-standards-apply": [ |
| 146 | + "@coding-standards-apply/phpcs" |
137 | 147 | ], |
138 | 148 | "coding-standards-apply/phpcs": [ |
139 | 149 | "phpcbf --standard=phpcs.xml.dist" |
140 | 150 | ], |
141 | | - "coding-standards-apply": [ |
142 | | - "@coding-standards-apply/phpcs" |
| 151 | + "coding-standards-check": [ |
| 152 | + "@coding-standards-check/phpcs" |
| 153 | + ], |
| 154 | + "coding-standards-check/phpcs": [ |
| 155 | + "phpcs --standard=phpcs.xml.dist" |
143 | 156 | ] |
144 | | - }, |
145 | | - "config": { |
146 | | - "sort-packages": true, |
147 | | - "allow-plugins": { |
148 | | - "cweagans/composer-patches": true, |
149 | | - "dealerdirect/phpcodesniffer-composer-installer": true, |
150 | | - "phpstan/extension-installer": true, |
151 | | - "simplesamlphp/composer-module-installer": true, |
152 | | - "vaimo/composer-patches": true, |
153 | | - "zaporylie/composer-drupal-optimizations": true, |
154 | | - "mglaman/composer-drupal-lenient": true |
155 | | - } |
156 | 157 | } |
157 | 158 | } |
0 commit comments