Skip to content

Commit 564b60e

Browse files
committed
Updated dependencies
- minimal wp version to 6.8 - minimal php 8.2 (oldest supported)
1 parent 84fc545 commit 564b60e

3 files changed

Lines changed: 13 additions & 12 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ composer.phar
33
/vendor/
44
.php_cs.cache
55
composer.lock
6+
patches.lock.json
67
.idea
78
/tests/public
89
/tests/vendor

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ composer require mtwango/wordpress-plugin
1616

1717
This plugin will also require for you the following packages:
1818

19-
- composer/installers:^2.2
20-
- cweagans/composer-patches:^1.7
19+
- composer/installers:^2.3
20+
- cweagans/composer-patches:^2.0
2121

2222
## Usage
2323

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,27 +30,27 @@
3030
"class": "Mtwango\\Wordpress\\Plugin"
3131
},
3232
"require": {
33-
"php": "^7.4 || ^8.0",
33+
"php": "^8.2",
3434
"composer-plugin-api": "^2.3",
35-
"composer/installers": "^2.2",
36-
"cweagans/composer-patches": "^1.7"
35+
"composer/installers": "2.3",
36+
"cweagans/composer-patches": "^2.0"
3737
},
3838
"require-dev": {
39-
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
4039
"drupal/coder": "^8.3",
4140
"phpcompatibility/php-compatibility": "dev-develop",
42-
"phpmd/phpmd": "^2.13",
43-
"phpstan/phpstan": "^1.10",
44-
"phpstan/phpstan-deprecation-rules": "^1.1",
45-
"phpstan/phpstan-strict-rules": "^1.5",
46-
"vimeo/psalm": "^5.13"
41+
"phpmd/phpmd": "^2.15",
42+
"phpstan/phpstan": "^2.1",
43+
"phpstan/phpstan-deprecation-rules": "^2.0",
44+
"phpstan/phpstan-strict-rules": "^2.0",
45+
"vimeo/psalm": "^6.15"
4746
},
4847
"conflict": {
49-
"johnpbloch/wordpress-core": "<6.2"
48+
"johnpbloch/wordpress-core": "<6.8"
5049
},
5150
"minimum-stability": "dev",
5251
"prefer-stable": true,
5352
"config": {
53+
"sort-packages": true,
5454
"allow-plugins": {
5555
"composer/installers": true,
5656
"cweagans/composer-patches": true,

0 commit comments

Comments
 (0)