Skip to content

Commit 0ed0504

Browse files
feat(*): Fix dependency PHP and symfony polyfill-mbstring version to avoid wordpress svn pre-commit hook error
1 parent 743f8e8 commit 0ed0504

File tree

4 files changed

+43
-38
lines changed

4 files changed

+43
-38
lines changed

composer.json

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
{
2-
"name": "crowdsec/wordpress-bouncer",
3-
"description": "Wordpress plugin to reject IP detected as malicious by CrowdSec",
4-
"type": "project",
5-
"authors": [
6-
{
7-
"name": "CrowdSec",
8-
"email": "info@crowdsec.net"
9-
}
10-
],
11-
"require": {
12-
"crowdsec/bouncer": "0.14.0"
13-
},
14-
"require-dev": {
15-
"bramus/monolog-colored-line-formatter": "^3.0",
16-
"symfony/var-dumper": "^5.2"
17-
},
18-
"autoload": {
19-
"psr-4": {
20-
"\\": "./"
21-
}
22-
}
2+
"name": "crowdsec/wordpress-bouncer",
3+
"description": "Wordpress plugin to reject IP detected as malicious by CrowdSec",
4+
"type": "project",
5+
"authors": [
6+
{
7+
"name": "CrowdSec",
8+
"email": "info@crowdsec.net"
9+
}
10+
],
11+
"require": {
12+
"php": "^7.2",
13+
"crowdsec/bouncer": "0.14.0",
14+
"symfony/polyfill-mbstring": "1.20.0"
15+
},
16+
"require-dev": {
17+
"bramus/monolog-colored-line-formatter": "^3.0",
18+
"symfony/var-dumper": "^5.2"
19+
},
20+
"autoload": {
21+
"psr-4": {
22+
"\\": "./"
23+
}
24+
}
2325
}

composer.lock

Lines changed: 18 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/publish-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ git add $git_base_dir/inc/constants.php
3535
git add $git_base_dir/crowdsec.php
3636
git add $git_base_dir/readme.txt
3737

38-
git commit -m "chore(*): bump version to v$NEW_GIT_VERSION_WITHOUT_V_PREFIX"
38+
git commit -m "chore(*): bump version to v$NEW_GIT_VERSION_WITHOUT_V_PREFIX [skip ci]"
3939
git tag v$NEW_GIT_VERSION_WITHOUT_V_PREFIX
4040
git push
4141
git push origin v$NEW_GIT_VERSION_WITHOUT_V_PREFIX

tests/e2e-ddev/utils/helpers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ const banIpForSeconds = async (ip, seconds) => {
183183

184184
const banOwnIpForSeconds = async (seconds, ip) => {
185185
await banIpForSeconds(ip, seconds);
186+
await wait(1000);
186187
};
187188

188189
const captchaOwnIpForSeconds = async (seconds, ip) => {

0 commit comments

Comments
 (0)