Skip to content

Commit df6b081

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents 9b49863 + d399f7b commit df6b081

File tree

590 files changed

+11644
-2063
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

590 files changed

+11644
-2063
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
github: tillkruss
2-
custom: "https://www.paypal.me/tillkruss"
2+
custom: "https://www.paypal.me/tillkruess"

.github/workflows/lint.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Code style
22

3-
on:
4-
pull_request: null
5-
push: null
3+
on: push
64

75
concurrency:
86
group: ${{ github.workflow }}-${{ github.ref }}
@@ -55,3 +53,18 @@ jobs:
5553
with:
5654
eclint_args: |
5755
-exclude=dependencies/**/*
56+
57+
plugincheck:
58+
name: Plugin Check
59+
runs-on: ubuntu-latest
60+
61+
steps:
62+
- name: Checkout code
63+
uses: actions/checkout@v3
64+
65+
- name: Run plugin check
66+
uses: wordpress/plugin-check-action@v1
67+
with:
68+
exclude-directories: '.github,dependencies,tests'
69+
exclude-files: '.editorconfig,.gitattributes,.gitignore,phpunit.xml.dist'
70+
# exclude-checks: ''

.github/workflows/tests.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ jobs:
5555
php-version: ${{ matrix.php }}
5656
extensions: msgpack, igbinary, redis-5.3.7
5757

58+
- name: Install SVN
59+
run: |
60+
sudo apt-get update
61+
sudo apt-get install -y subversion
62+
5863
- name: Set up WordPress and WordPress Test Library
5964
uses: sjinks/setup-wordpress-test-library@master
6065
with:
@@ -65,8 +70,7 @@ jobs:
6570
uses: ramsey/composer-install@v2
6671

6772
- name: Install missing library
68-
run: |
69-
composer require --dev yoast/phpunit-polyfills
73+
run: composer require --dev yoast/phpunit-polyfills
7074

7175
- name: Run test suite
7276
run: ./vendor/bin/phpunit
@@ -125,6 +129,11 @@ jobs:
125129
php-version: ${{ matrix.php }}
126130
extensions: msgpack, igbinary, redis-5.3.7
127131

132+
- name: Install SVN
133+
run: |
134+
sudo apt-get update
135+
sudo apt-get install -y subversion
136+
128137
- name: Set up WordPress and WordPress Test Library
129138
uses: sjinks/setup-wordpress-test-library@master
130139
with:
@@ -135,8 +144,7 @@ jobs:
135144
uses: ramsey/composer-install@v2
136145

137146
- name: Install missing library
138-
run: |
139-
composer require --dev yoast/phpunit-polyfills
147+
run: composer require --dev yoast/phpunit-polyfills
140148

141149
- name: Run test suite
142150
run: ./vendor/bin/phpunit

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog
22

3+
## 2.6.2
4+
5+
- Fixed more PHP 7.2 heredoc parsing errors
6+
7+
## 2.6.1
8+
9+
- Fixed PHP 7.2 heredoc parsing error
10+
- Fixed call to undefined function `wp_rand()`
11+
12+
## 2.6.0
13+
14+
- Added `Primary Branch` header
15+
- Added `id` to script/style tags
16+
- Upgraded Predis to v2.4.0
17+
- Upgraded Credis to v1.17.0
18+
- Mark as tested up to 6.8
19+
- Adhere to Plugin Check (PCP)
20+
- Fixed (in|de)crement not working with serializer
21+
- Fixed rare replication mode issue
22+
- Fixed rare fatal error in diganostics
23+
324
## 2.5.4
425

526
- Respect `WP_REDIS_SCHEME` for Cluster connections
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[*.php]
2+
charset=utf-8
3+
end_of_line=lf
4+
insert_final_newline=true
5+
indent_style=space
6+
indent_size=4
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
/*
3+
* This document has been generated with
4+
* https://mlocati.github.io/php-cs-fixer-configurator/#version:3.13.2|configurator
5+
* you can change this configuration by importing this file.
6+
*/
7+
$config = new PhpCsFixer\Config();
8+
return $config
9+
->setRules([
10+
'@PSR12' => true,
11+
'visibility_required' => false, // php 5.6 doesn't support "public const ..."
12+
])
13+
->setFinder(PhpCsFixer\Finder::create()
14+
->in(__DIR__)
15+
->name('*.php')
16+
->ignoreDotFiles(true)
17+
->ignoreVCS(true)
18+
)
19+
;

0 commit comments

Comments
 (0)