Skip to content

Commit

Permalink
Move composer.json comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey committed Apr 10, 2024
1 parent 6d111ea commit da49002
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,18 @@
"vendor:koodimonni-theme-language"
]
},
"wordpress-install-dir": "public/wp"
"wordpress-install-dir": "public/wp",
"meta-comments": {
"description": [
"As comments are not allowed in composer.json, use this section for comments."
],
"replace.paragonie/random_compat": [
"This package is a dependency of league/oauth2-client. As our php version is > 7 we do not need this package.",
"The package authors have an empty version of the package for this case: 9.99.99",
"Defining it above, within replace, will prevent it from being installed.",
"@see: https://github.com/paragonie/random_compat?tab=readme-ov-file#version-99999"
]
}
},
"scripts": {
"post-root-package-install": [
Expand All @@ -123,14 +134,6 @@
"replace": {
"paragonie/random_compat": "9.99.99"
},
"replaceComments": {
"paragonie/random_compat": [
"This package is a dependency of league/oauth2-client. As our php version is > 7 we do not need this package.",
"The package authors have an empty version of the package for this case: 9.99.99",
"Defining it above, within replace, will prevent it from being installed.",
"@see: https://github.com/paragonie/random_compat?tab=readme-ov-file#version-99999"
]
},
"authors": [
{
"name": "Ministry of Justice",
Expand Down

0 comments on commit da49002

Please sign in to comment.