forked from lkwdwrd/wp-muplugin-loader
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As we dictate library supports 7.3 and above it makes sense to bump the phpunit to version 9 (also 7.3 and above). Further to this, I've updated mockery, tidied up some formatting and introduced an .editorconfig file as well as dependabot.
- Loading branch information
Ian Jenkins
committed
Aug 24, 2021
1 parent
20be598
commit ae46541
Showing
7 changed files
with
661 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
Oops, something went wrong.