Skip to content

Commit d12c89a

Browse files
Merge branch 'master' into add/fallback-email
2 parents 947afdd + 6dfe32b commit d12c89a

Some content is hidden

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

53 files changed

+14239
-11335
lines changed

.distignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Directories
2+
/.wordpress-org/
23
/node_modules/
34
/tests/
45
/vendor/
@@ -14,5 +15,7 @@
1415
/package-lock.json
1516
/phpcs*
1617
/phpunit*
18+
/phpstan.*
1719
/readme.md
18-
/SECURITY.md
20+
/RELEASING.md
21+
/SECURITY.md

.github/SECURITY.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
deploy:
1111
name: Deploy to WordPress.org
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-24.04
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v3

.github/workflows/test.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212
jobs:
1313
lint-js-css:
1414
name: Lint JS & CSS
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-24.04
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v4
@@ -34,15 +34,15 @@ jobs:
3434

3535
lint-php-and-compatibility:
3636
name: Lint PHP & PHP Compatibility checks.
37-
runs-on: ubuntu-latest
37+
runs-on: ubuntu-24.04
3838
steps:
3939
- name: Checkout
4040
uses: actions/checkout@v4
4141

4242
- name: Setup PHP and Composer
4343
uses: shivammathur/setup-php@v2
4444
with:
45-
php-version: '8.2'
45+
php-version: '8.3'
4646

4747
- name: Setup Node
4848
uses: actions/setup-node@v4
@@ -59,12 +59,16 @@ jobs:
5959
- name: Lint PHP Compatibility
6060
run: composer lint-compat
6161

62+
- name: PHPStan
63+
run: npm run lint:phpstan
64+
6265
test-php:
6366
name: Test PHP ${{ matrix.php }} ${{ matrix.wp != '' && format( ' (WP {0}) ', matrix.wp ) || '' }}
64-
runs-on: ubuntu-latest
67+
runs-on: ubuntu-24.04
6568
strategy:
6669
matrix:
6770
php:
71+
- '8.4'
6872
- '8.3'
6973
- '8.2'
7074
- '8.1'
@@ -75,7 +79,7 @@ jobs:
7579
wp:
7680
- latest
7781
- trunk
78-
- '6.3'
82+
- '6.7'
7983
env:
8084
WP_ENV_PHP_VERSION: ${{ matrix.php }}
8185
WP_ENV_CORE: ${{ matrix.wp == 'trunk' && 'WordPress/WordPress' || format( 'https://wordpress.org/wordpress-{0}.zip', matrix.wp ) }}
@@ -87,7 +91,7 @@ jobs:
8791
- name: Setup PHP
8892
uses: shivammathur/setup-php@v2
8993
with:
90-
php-version: '8.2'
94+
php-version: '8.3'
9195

9296
- name: Setup Node
9397
uses: actions/setup-node@v4
@@ -120,15 +124,15 @@ jobs:
120124

121125
build:
122126
name: Build
123-
runs-on: ubuntu-latest
127+
runs-on: ubuntu-24.04
124128
steps:
125129
- name: Checkout
126130
uses: actions/checkout@v4
127131

128132
- name: Setup PHP
129133
uses: shivammathur/setup-php@v2
130134
with:
131-
php-version: '8.2'
135+
php-version: '8.3'
132136

133137
- name: Setup Node
134138
uses: actions/setup-node@v4

.gitignore

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
.DS_Store
2-
/node_modules/
3-
/npm-debug.log
4-
/vendor/
1+
# Directories
52
/dist/
3+
/node_modules/
64
/tests/logs/
5+
/vendor/
6+
7+
# Files
8+
.DS_Store
9+
/npm-debug.log
710
.phpunit.result.cache
11+
phpstan.neon
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)