File tree Expand file tree Collapse file tree 10 files changed +13
-13
lines changed
Expand file tree Collapse file tree 10 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1616 matrix : ${{ steps.set-matrix.outputs.plugins }}
1717 steps :
1818 - name : Checkout
19- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
19+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
2020
2121 - name : Configure plugin matrix
2222 id : set-matrix
4646 plugin : ${{ fromJSON(needs.prepare-matrix.outputs.matrix) }}
4747 steps :
4848 - name : Checkout
49- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
49+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
5050
5151 - name : Download WordPress.org readme
5252 run : |
Original file line number Diff line number Diff line change 3333 security-events : write
3434 steps :
3535 - name : Checkout
36- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
36+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
3737
3838 - name : Initialize CodeQL
3939 uses : github/codeql-action/init@014f16e7ab1402f30e7c3329d33797e7948572db # v4
Original file line number Diff line number Diff line change 2626 matrix : ${{ steps.set-matrix.outputs.plugins }}
2727 steps :
2828 - name : Checkout
29- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
29+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
3030
3131 - name : Set matrix
3232 id : set-matrix
5858 plugin : ${{ fromJSON(needs.pre-run.outputs.matrix) }}
5959 steps :
6060 - name : Checkout
61- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
61+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
6262
6363 - name : Setup Node.js (.nvmrc)
6464 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
Original file line number Diff line number Diff line change 3333 timeout-minutes : 20
3434 steps :
3535 - name : Checkout
36- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
36+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
3737
3838 - name : Setup Node.js (.nvmrc)
3939 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
Original file line number Diff line number Diff line change 3838 timeout-minutes : 20
3939 steps :
4040 - uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
41- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
41+ - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
4242 - name : Setup Node.js (via .nvmrc)
4343 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
4444 with :
Original file line number Diff line number Diff line change 3434 timeout-minutes : 20
3535 steps :
3636 - uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
37- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
37+ - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
3838 - uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2
3939 with :
4040 php-version : latest
Original file line number Diff line number Diff line change 5858 WP_ENV_CORE : ${{ matrix.wp == 'trunk' && 'WordPress/WordPress' || format( 'https://wordpress.org/wordpress-{0}.zip', matrix.wp ) }}
5959 steps :
6060 - uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
61- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
61+ - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
6262 - name : Setup Node.js (.nvmrc)
6363 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
6464 with :
Original file line number Diff line number Diff line change 77 name : Spell Check with Typos
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
10+ - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v5
1111 - name : Search for misspellings
1212 uses : crate-ci/typos@626c4bedb751ce0b7f03262ca97ddda9a076ae1c # master
1313 with :
Original file line number Diff line number Diff line change @@ -947,7 +947,7 @@ function webp_uploads_convert_palette_png_to_truecolor( $file ): array {
947947
948948 // Check if the image is already truecolor.
949949 if ( imageistruecolor ( $ image ) ) {
950- imagedestroy ( $ image );
950+ imagedestroy ( $ image ); // phpcs:ignore Generic.PHP.DeprecatedFunctions.Deprecated
951951 return $ file ;
952952 }
953953
@@ -960,7 +960,7 @@ function webp_uploads_convert_palette_png_to_truecolor( $file ): array {
960960 // Overwrite the upload with the new truecolor PNG.
961961 imagepng ( $ image , $ file ['tmp_name ' ] );
962962 }
963- imagedestroy ( $ image );
963+ imagedestroy ( $ image ); // phpcs:ignore Generic.PHP.DeprecatedFunctions.Deprecated
964964
965965 return $ file ;
966966}
Original file line number Diff line number Diff line change @@ -1190,7 +1190,7 @@ static function () {
11901190 $ this ->assertNotSame ( $ original_file_hash , $ modified_file_hash );
11911191 $ img = imagecreatefrompng ( $ path );
11921192 $ this ->assertTrue ( imageistruecolor ( $ img ) );
1193- imagedestroy ( $ img );
1193+ imagedestroy ( $ img ); // phpcs:ignore Generic.PHP.DeprecatedFunctions.Deprecated
11941194
11951195 // Make sure the image converted to modern image format is not 0 bytes.
11961196 $ modern_image_format_path = get_attached_file ( $ attachment_id );
You can’t perform that action at this time.
0 commit comments