Skip to content

Commit 5c4a7f4

Browse files
authored
Merge pull request #1089 from cloudinary/uat
3.2.13
2 parents 05e87d4 + 52a37bb commit 5c4a7f4

File tree

76 files changed

+298
-212
lines changed

Some content is hidden

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

76 files changed

+298
-212
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"no-nested-ternary": "off",
2525
"jsx-a11y/click-events-have-key-events": "off",
2626
"react-hooks/rules-of-hooks": "error",
27-
"react-hooks/exhaustive-deps": "warn"
27+
"react-hooks/exhaustive-deps": "warn",
28+
"@wordpress/no-global-event-listener": "off"
2829
}
2930
}

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
php-version: [ '5.6', '7.4', '8.3' ]
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Setup PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: ${{ matrix.php-version }}
21+
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: '16'
26+
cache: 'npm'
27+
28+
- name: Cache Composer
29+
uses: actions/cache@v4
30+
with:
31+
path: ~/.composer/cache
32+
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
33+
restore-keys: |
34+
${{ runner.os }}-composer-${{ matrix.php }}-
35+
36+
- name: Install dependencies
37+
run: npm ci
38+
39+
- name: Run linting
40+
run: npm run lint
41+
42+
- name: Run build
43+
run: npm run build

.travis.yml

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

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.12
1+
3.2.13

cloudinary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
if ( version_compare( phpversion(), '5.6', '>=' ) ) {
4040
require_once __DIR__ . '/instance.php';
4141
register_activation_hook( __FILE__, array( 'Cloudinary\Utils', 'install' ) );
42-
} else {
42+
} else { // phpcs:ignore Universal.ControlStructures.DisallowLonelyIf.Found
4343
if ( defined( 'WP_CLI' ) ) {
4444
WP_CLI::warning( php_version_text() );
4545
} else {

0 commit comments

Comments
 (0)