Skip to content

Commit 91db2f8

Browse files
author
Nelio Agostinho
committed
Merge branch 'master' into dev
2 parents 873b251 + 7515ceb commit 91db2f8

11 files changed

Lines changed: 1288 additions & 1393 deletions

File tree

.gitignore

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
.idea
2-
.editorconfig
3-
.DS_Store
1+
# Ignore directories generated by Composer
2+
/vendor/
3+
4+
# Ignore DDEV local development environment
5+
/.ddev/config.yaml
6+
7+
# Ignore files generated by common IDEs
8+
/.idea/
9+
/.vscode/

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,18 @@ For more background, check out [A Git Friendly Way to Handle WordPress Updates
1111
This package requires [WP-CLI](https://make.wordpress.org/cli/handbook/installing/) v1.5 or greater. You can check WP-CLI version with `$ wp --version` and update to the latest stable release with `$ wp cli update`.
1212

1313
### Installing
14-
Install **WP-CLI Build** from our git repo:
14+
**PHP 7.4:** Install **WP-CLI Build** from our git repo
1515
```sh
1616
$ wp package install front/wp-cli-build
1717
```
18+
**PHP 8.0:** Install **WP-CLI Build** from our git repo
19+
```sh
20+
$ wp package install front/wp-cli-build:8.0.0
21+
```
22+
**PHP 8.1:** Install **WP-CLI Build** from our git repo
23+
```sh
24+
$ wp package install front/wp-cli-build:8.1.0
25+
```
1826

1927
**Note:** The WP-CLI package installer will fail silently if your memory limit is too low. To see if installation was successful, run `$ wp package list`. If empty, locate your php.ini and increase the memory_limit.
2028

composer.json

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@
77
"authors": [
88
{
99
"name": "Frontkom",
10-
"email": "front@front.no",
11-
"homepage": "https://www.frontkom.no"
12-
},
13-
{
14-
"name": "Fábio Neves",
15-
"email": "fabio@front.no",
16-
"homepage": "https://www.frontkom.no"
10+
"email": "hello@frontkom.com",
11+
"homepage": "https://frontkom.com"
1712
}
1813
],
1914
"minimum-stability": "dev",
15+
"prefer-stable": true,
16+
"config": {
17+
"discard-changes": true,
18+
"sort-packages": true,
19+
"allow-plugins": {
20+
"dealerdirect/phpcodesniffer-composer-installer": true
21+
}
22+
},
23+
2024
"autoload": {
2125
"files": [
2226
"command.php"
@@ -27,5 +31,12 @@
2731
"wp-cli/wp-cli": ">=0.23.0",
2832
"symfony/yaml": "3.4.4",
2933
"phar-io/version": "^1.0"
34+
},
35+
"require-dev": {
36+
"dealerdirect/phpcodesniffer-composer-installer": "^v0.7.2",
37+
"phpstan/phpstan": "^1.8.6",
38+
"roave/security-advisories": "dev-latest",
39+
"slevomat/coding-standard": "^8.5.2",
40+
"squizlabs/php_codesniffer": "^3.7.1"
3041
}
3142
}

0 commit comments

Comments
 (0)