Skip to content

Commit

Permalink
resolve fatal error caused by duplicate functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidsector9 committed Jul 9, 2024
1 parent c8243e5 commit 8acc69d
Show file tree
Hide file tree
Showing 4 changed files with 512 additions and 265 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ node_modules
bower_components
release
vendor
10up-lib
.idea
*.log

Expand Down
79 changes: 49 additions & 30 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,51 @@
{
"name": "10up/publisher-media-kit",
"type": "wordpress-plugin",
"authors": [
{
"name": "10up",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.4"
},
"autoload": {
"psr-4": {
"PublisherMediaKit\\": "includes/classes/"
}
},
"require-dev": {
"phpunit/phpunit": "^8.2",
"10up/wp_mock": "^0.4.2",
"10up/phpcs-composer": "dev-master"
},
"scripts": {
"lint": "phpcs . --runtime-set testVersion 7.4-",
"lint-fix": "phpcbf ."
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
"name": "10up/publisher-media-kit",
"type": "wordpress-plugin",
"authors": [
{
"name": "10up",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.4",
"10up/wp-compat-validation-tool": "dev-trunk"
},
"autoload": {
"psr-4": {
"PublisherMediaKit\\": "includes/classes/"
}
},
"require-dev": {
"phpunit/phpunit": "^8.2",
"10up/wp_mock": "^0.4.2",
"10up/phpcs-composer": "dev-master"
},
"scripts": {
"lint": "phpcs . --runtime-set testVersion 7.4-",
"lint-fix": "phpcbf .",
"post-install-cmd": [
"./10up-lib/wp-compat-validation-tool/replace-namespace.sh PublisherMediaKitValidator"
],
"post-update-cmd": [
"./10up-lib/wp-compat-validation-tool/replace-namespace.sh PublisherMediaKitValidator"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true
}
},
"repositories": [
{
"type": "git",
"url": "https://github.com/10up/wp-compat-validation-tool.git"
}
],
"extra": {
"installer-paths": {
"./{$name}/": ["10up/wp-compat-validation-tool"]
}
}
}
Loading

0 comments on commit 8acc69d

Please sign in to comment.