|
1 | 1 | { |
2 | 2 | "name": "os2loop/os2loop", |
3 | 3 | "description": "OS2Loop", |
4 | | - "type": "project", |
5 | 4 | "license": "GPL-2.0-or-later", |
| 5 | + "type": "project", |
6 | 6 | "homepage": "https://github.com/os2loop/os2loop", |
7 | | - "repositories": { |
8 | | - "drupal": { |
9 | | - "type": "composer", |
10 | | - "url": "https://packages.drupal.org/8", |
11 | | - "canonical": false |
12 | | - }, |
13 | | - "drupal/theme_switcher": { |
14 | | - "type": "vcs", |
15 | | - "url": "https://git.drupalcode.org/project/theme_switcher" |
16 | | - }, |
17 | | - "os2loop/os2loop_fixtures": { |
18 | | - "type": "path", |
19 | | - "url": "web/profiles/custom/os2loop/modules/os2loop_fixtures" |
20 | | - }, |
21 | | - "drupal/views_flag_refresh": { |
22 | | - "type": "package", |
23 | | - "package": { |
24 | | - "name": "drupal/views_flag_refresh", |
25 | | - "version": "dev-2929394-drupal-8-port", |
26 | | - "type": "drupal-module", |
27 | | - "source": { |
28 | | - "url": "https://git.drupalcode.org/issue/views_flag_refresh-2929394.git", |
29 | | - "type": "git", |
30 | | - "reference": "origin/2929394-drupal-8-port" |
31 | | - } |
32 | | - } |
33 | | - } |
34 | | - }, |
35 | 7 | "require": { |
36 | 8 | "php": "^8.2", |
37 | 9 | "composer/installers": "^2.0", |
|
87 | 59 | "drupal/xls_serialization": "^1.3", |
88 | 60 | "drush/drush": "^12.2" |
89 | 61 | }, |
90 | | - "scripts": { |
91 | | - "code-analysis/phpstan": [ |
92 | | - "phpstan analyse --configuration=phpstan.neon --memory-limit=2G" |
93 | | - ], |
94 | | - "code-analysis": [ |
95 | | - "@code-analysis/phpstan" |
96 | | - ], |
97 | | - "coding-standards-check/phpcs": [ |
98 | | - "php vendor/bin/phpcs --standard=phpcs.xml.dist" |
99 | | - ], |
100 | | - "coding-standards-check/twigcs": [ |
101 | | - "twigcs web/profiles/custom/os2loop/themes/os2loop_theme/templates" |
102 | | - ], |
103 | | - "coding-standards-check": [ |
104 | | - "@coding-standards-check/phpcs", |
105 | | - "@coding-standards-check/twigcs" |
106 | | - ], |
107 | | - "coding-standards-apply/phpcs": [ |
108 | | - "vendor/bin/phpcbf --standard=phpcs.xml.dist" |
109 | | - ], |
110 | | - "coding-standards-apply": [ |
111 | | - "@coding-standards-apply/phpcs" |
112 | | - ] |
| 62 | + "require-dev": { |
| 63 | + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", |
| 64 | + "drupal/coder": "^8.3", |
| 65 | + "drupal/core-dev": "^10.1", |
| 66 | + "drupal/devel": "^5.1", |
| 67 | + "ergebnis/composer-normalize": "^2.42", |
| 68 | + "friendsoftwig/twigcs": "^6.2", |
| 69 | + "kint-php/kint": "^5.0", |
| 70 | + "mglaman/phpstan-drupal": "^1.2", |
| 71 | + "os2loop/os2loop_fixtures": "*", |
| 72 | + "phpspec/prophecy-phpunit": "^2.0", |
| 73 | + "phpstan/extension-installer": "^1.3", |
| 74 | + "phpstan/phpstan-deprecation-rules": "^1.1" |
113 | 75 | }, |
114 | 76 | "conflict": { |
115 | 77 | "drupal/drupal": "*" |
116 | 78 | }, |
| 79 | + "repositories": { |
| 80 | + "drupal": { |
| 81 | + "type": "composer", |
| 82 | + "url": "https://packages.drupal.org/8", |
| 83 | + "canonical": false |
| 84 | + }, |
| 85 | + "drupal/theme_switcher": { |
| 86 | + "type": "vcs", |
| 87 | + "url": "https://git.drupalcode.org/project/theme_switcher" |
| 88 | + }, |
| 89 | + "os2loop/os2loop_fixtures": { |
| 90 | + "type": "path", |
| 91 | + "url": "web/profiles/custom/os2loop/modules/os2loop_fixtures" |
| 92 | + }, |
| 93 | + "drupal/views_flag_refresh": { |
| 94 | + "type": "package", |
| 95 | + "package": { |
| 96 | + "name": "drupal/views_flag_refresh", |
| 97 | + "type": "drupal-module", |
| 98 | + "version": "dev-2929394-drupal-8-port", |
| 99 | + "source": { |
| 100 | + "type": "git", |
| 101 | + "url": "https://git.drupalcode.org/issue/views_flag_refresh-2929394.git", |
| 102 | + "reference": "origin/2929394-drupal-8-port" |
| 103 | + } |
| 104 | + } |
| 105 | + } |
| 106 | + }, |
117 | 107 | "minimum-stability": "dev", |
118 | 108 | "prefer-stable": true, |
119 | 109 | "config": { |
120 | | - "sort-packages": true, |
121 | | - "process-timeout": 0, |
122 | 110 | "allow-plugins": { |
123 | 111 | "composer/installers": true, |
124 | 112 | "cweagans/composer-patches": true, |
125 | 113 | "dealerdirect/phpcodesniffer-composer-installer": true, |
126 | 114 | "drupal/console-extend-plugin": true, |
127 | 115 | "drupal/core-composer-scaffold": true, |
128 | 116 | "drupal/core-project-message": true, |
129 | | - "phpstan/extension-installer": true, |
130 | | - "php-http/discovery": true |
131 | | - } |
| 117 | + "ergebnis/composer-normalize": true, |
| 118 | + "php-http/discovery": true, |
| 119 | + "phpstan/extension-installer": true |
| 120 | + }, |
| 121 | + "process-timeout": 0, |
| 122 | + "sort-packages": true |
132 | 123 | }, |
133 | 124 | "extra": { |
| 125 | + "drupal-core-project-message": { |
| 126 | + "include-keys": [ |
| 127 | + "homepage", |
| 128 | + "support" |
| 129 | + ], |
| 130 | + "post-create-project-cmd-message": [ |
| 131 | + "<bg=blue;fg=white> </>", |
| 132 | + "<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>", |
| 133 | + "<bg=blue;fg=white> from the drupal/recommended-project template! </>", |
| 134 | + "<bg=blue;fg=white> </>", |
| 135 | + "", |
| 136 | + "<bg=yellow;fg=black>Next steps</>:", |
| 137 | + " * Install the site: https://www.drupal.org/docs/8/install", |
| 138 | + " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html", |
| 139 | + " * Get support: https://www.drupal.org/support", |
| 140 | + " * Get involved with the Drupal community:", |
| 141 | + " https://www.drupal.org/getting-involved", |
| 142 | + " * Remove the plugin that prints this message:", |
| 143 | + " composer remove drupal/core-project-message" |
| 144 | + ] |
| 145 | + }, |
134 | 146 | "drupal-scaffold": { |
135 | | - "locations": { |
136 | | - "web-root": "web/" |
137 | | - }, |
138 | 147 | "file-mapping": { |
139 | 148 | "[web-root]/sites/development.services.yml": false |
| 149 | + }, |
| 150 | + "locations": { |
| 151 | + "web-root": "web/" |
140 | 152 | } |
141 | 153 | }, |
| 154 | + "enable-patching": true, |
142 | 155 | "installer-paths": { |
143 | 156 | "web/core": [ |
144 | 157 | "type:drupal-core" |
|
171 | 184 | "type:os2loop-custom-module" |
172 | 185 | ] |
173 | 186 | }, |
174 | | - "drupal-core-project-message": { |
175 | | - "include-keys": [ |
176 | | - "homepage", |
177 | | - "support" |
178 | | - ], |
179 | | - "post-create-project-cmd-message": [ |
180 | | - "<bg=blue;fg=white> </>", |
181 | | - "<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>", |
182 | | - "<bg=blue;fg=white> from the drupal/recommended-project template! </>", |
183 | | - "<bg=blue;fg=white> </>", |
184 | | - "", |
185 | | - "<bg=yellow;fg=black>Next steps</>:", |
186 | | - " * Install the site: https://www.drupal.org/docs/8/install", |
187 | | - " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html", |
188 | | - " * Get support: https://www.drupal.org/support", |
189 | | - " * Get involved with the Drupal community:", |
190 | | - " https://www.drupal.org/getting-involved", |
191 | | - " * Remove the plugin that prints this message:", |
192 | | - " composer remove drupal/core-project-message" |
193 | | - ] |
194 | | - }, |
195 | | - "enable-patching": true, |
196 | 187 | "patches": { |
197 | 188 | "drupal/core": { |
198 | 189 | "Disable forced configuration langcode (https://www.drupal.org/project/drupal/issues/3150540)": "https://www.drupal.org/files/issues/2024-01-25/3150540-40.patch", |
199 | 190 | "Handle undefined index when using form states (https://www.drupal.org/project/drupal/issues/2700667)": "https://www.drupal.org/files/issues/2020-03-11/2700667-104.patch" |
200 | 191 | }, |
201 | | - "drupal/flag": { |
202 | | - "Implement Migration Paths for Flag 7.x (https://www.drupal.org/project/flag/issues/2409901#comment-13082245)": "https://www.drupal.org/files/issues/2019-04-25/2409901_flag_migration_paths_52.patch", |
203 | | - "Implement Migration Paths for Flag 7.x (https://www.drupal.org/project/flag/issues/2409901#comment-13281955)": "https://www.drupal.org/files/issues/2019-10-02/2409901-60.patch" |
204 | | - }, |
205 | | - "drupal/masquerade": { |
206 | | - "https://www.drupal.org/project/masquerade/issues/2962970#comment-13391256": "https://www.drupal.org/files/issues/2019-12-13/temporary%20unmask%20workaround-2962970-8.patch" |
207 | | - }, |
208 | 192 | "drupal/devel": { |
209 | 193 | "Public methods are not visible in kint (https://www.drupal.org/project/devel/issues/3112201)": "https://www.drupal.org/files/issues/2022-04-26/devel_3112201_4.patch" |
210 | 194 | }, |
|
213 | 197 | }, |
214 | 198 | "drupal/entity_reference_integrity": { |
215 | 199 | "https://www.drupal.org/project/entity_reference_integrity/issues/3380250": "https://www.drupal.org/files/issues/2023-08-29/entity_reference_integrity-3380250-5.patch" |
| 200 | + }, |
| 201 | + "drupal/flag": { |
| 202 | + "Implement Migration Paths for Flag 7.x (https://www.drupal.org/project/flag/issues/2409901#comment-13082245)": "https://www.drupal.org/files/issues/2019-04-25/2409901_flag_migration_paths_52.patch", |
| 203 | + "Implement Migration Paths for Flag 7.x (https://www.drupal.org/project/flag/issues/2409901#comment-13281955)": "https://www.drupal.org/files/issues/2019-10-02/2409901-60.patch" |
| 204 | + }, |
| 205 | + "drupal/masquerade": { |
| 206 | + "https://www.drupal.org/project/masquerade/issues/2962970#comment-13391256": "https://www.drupal.org/files/issues/2019-12-13/temporary%20unmask%20workaround-2962970-8.patch" |
216 | 207 | } |
217 | 208 | } |
218 | 209 | }, |
219 | | - "require-dev": { |
220 | | - "dealerdirect/phpcodesniffer-composer-installer": "^1.0", |
221 | | - "drupal/coder": "^8.3", |
222 | | - "drupal/core-dev": "^10.1", |
223 | | - "drupal/devel": "^5.1", |
224 | | - "friendsoftwig/twigcs": "^6.2", |
225 | | - "kint-php/kint": "^5.0", |
226 | | - "mglaman/phpstan-drupal": "^1.2", |
227 | | - "os2loop/os2loop_fixtures": "*", |
228 | | - "phpspec/prophecy-phpunit": "^2.0", |
229 | | - "phpstan/extension-installer": "^1.3", |
230 | | - "phpstan/phpstan-deprecation-rules": "^1.1" |
| 210 | + "scripts": { |
| 211 | + "code-analysis": [ |
| 212 | + "@code-analysis/phpstan" |
| 213 | + ], |
| 214 | + "code-analysis/phpstan": [ |
| 215 | + "phpstan analyse --configuration=phpstan.neon --memory-limit=2G" |
| 216 | + ], |
| 217 | + "coding-standards-apply": [ |
| 218 | + "@coding-standards-apply/phpcs", |
| 219 | + "@coding-standards-apply/composer-normalize" |
| 220 | + ], |
| 221 | + "coding-standards-apply/composer-normalize": [ |
| 222 | + "@normalize" |
| 223 | + ], |
| 224 | + "coding-standards-apply/phpcs": [ |
| 225 | + "vendor/bin/phpcbf --standard=phpcs.xml.dist" |
| 226 | + ], |
| 227 | + "coding-standards-check": [ |
| 228 | + "@coding-standards-check/phpcs", |
| 229 | + "@coding-standards-check/twigcs", |
| 230 | + "@coding-standards-check/composer-normalize" |
| 231 | + ], |
| 232 | + "coding-standards-check/composer-normalize": [ |
| 233 | + "@normalize --dry-run" |
| 234 | + ], |
| 235 | + "coding-standards-check/phpcs": [ |
| 236 | + "php vendor/bin/phpcs --standard=phpcs.xml.dist" |
| 237 | + ], |
| 238 | + "coding-standards-check/twigcs": [ |
| 239 | + "twigcs web/profiles/custom/os2loop/themes/os2loop_theme/templates" |
| 240 | + ] |
231 | 241 | } |
232 | 242 | } |
0 commit comments