Skip to content

Commit

Permalink
Merge pull request #19 from boxuk/phpunit-9
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Jenkins authored Aug 24, 2021
2 parents 20be598 + ae46541 commit 746a3bd
Show file tree
Hide file tree
Showing 7 changed files with 661 additions and 309 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
indent_size = 4
indent_style = space
trim_trailing_whitespace = true

[*.{php,js,ts,css,scss,pot,po}]
end_of_line = lf
indent_style = tab
insert_final_newline = true
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: composer
directory: "/"
registries: "*"
schedule:
interval: daily
open-pull-requests-limit: 10
commit-message:
prefix: "[DEPS]"
ignore:
# Ignore PHPUnit major updates
- dependency-name: "phpunit/phpunit"
update-types: [ "version-update:semver-major" ]
86 changes: 47 additions & 39 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,49 @@
{
"name" : "boxuk/wp-muplugin-loader",
"description" : "A drop-in MU Plugin loader for WordPress",
"keywords" : ["wordpress", "muplugin", "loader"],
"type" : "composer-plugin",
"license" : "MIT",
"minimum-stability": "stable",
"prefer-stable": true,
"authors" : [
{
"name" : "Box UK",
"email": "developers@boxuk.com"
},
{
"name" : "Luke Woodward",
"email": "woodward.lucas@gmail.com"
}
],
"autoload": {
"psr-4": { "LkWdwrd\\Composer\\": "src/lkwdwrd/Composer" }
},
"autoload-dev": {
"psr-4": { "LkWdwrd\\Composer\\Tests\\": "tests/phpunit/Composer" }
},
"extra": {
"class": "LkWdwrd\\Composer\\MULoaderPlugin"
},
"require": {
"php": "^7.3 || ^8.0",
"composer-plugin-api": "^1.0 || ^2.0"
},
"require-dev" : {
"10up/wp_mock": "^0.4",
"composer/composer": "^1.10 || ^2.0",
"phpunit/phpunit": "^8.5",
"mockery/mockery": "~1.3.3"
},
"scripts" : {
"test" : "vendor/bin/phpunit --colors"
}
"name": "boxuk/wp-muplugin-loader",
"description": "A drop-in MU Plugin loader for WordPress",
"keywords": [
"wordpress",
"muplugin",
"loader"
],
"type": "composer-plugin",
"license": "MIT",
"minimum-stability": "stable",
"prefer-stable": true,
"authors": [
{
"name": "Box UK",
"email": "developers@boxuk.com"
},
{
"name": "Luke Woodward",
"email": "woodward.lucas@gmail.com"
}
],
"autoload": {
"psr-4": {
"LkWdwrd\\Composer\\": "src/lkwdwrd/Composer"
}
},
"autoload-dev": {
"psr-4": {
"LkWdwrd\\Composer\\Tests\\": "tests/phpunit/Composer"
}
},
"extra": {
"class": "LkWdwrd\\Composer\\MULoaderPlugin"
},
"require": {
"php": "^7.3 || ^8.0",
"composer-plugin-api": "^1.0 || ^2.0"
},
"require-dev": {
"10up/wp_mock": "^0.4",
"composer/composer": "^1.10 || ^2.0",
"phpunit/phpunit": "^9",
"mockery/mockery": "~1.3"
},
"scripts": {
"test": "vendor/bin/phpunit --colors"
}
}
Loading

0 comments on commit 746a3bd

Please sign in to comment.