Skip to content

Commit f44f987

Browse files
dereuromarkclaude
andauthored
Fix up deprecations (#967)
* Fix up deprecations * Fix up deprecations * Fix up deprecations * Fix deprecated set-output in Windows CI workflow Use shell: bash for steps using $GITHUB_OUTPUT on Windows runner. πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 35750c5 commit f44f987

File tree

6 files changed

+26
-32
lines changed

6 files changed

+26
-32
lines changed

β€Ž.github/workflows/ci.ymlβ€Ž

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ jobs:
164164

165165
- name: Get date part for cache key
166166
id: key-date
167-
run: echo "::set-output name=date::$(date +'%Y-%m')"
167+
shell: bash
168+
run: echo "date=$(date +'%Y-%m')" >> $GITHUB_OUTPUT
168169

169170
- name: Setup PHP extensions cache
170171
id: php-ext-cache
@@ -199,7 +200,8 @@ jobs:
199200
200201
- name: Get composer cache directory
201202
id: composer-cache
202-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
203+
shell: bash
204+
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
203205

204206
- name: Cache composer dependencies
205207
uses: actions/cache@v4

β€Žtests/bootstrap.phpβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
use Cake\Routing\Router;
2121
use Cake\TestSuite\Fixture\SchemaLoader;
2222
use Migrations\MigrationsPlugin;
23-
use SimpleSnapshot\Plugin as SimpleSnapshotPlugin;
24-
use TestBlog\Plugin as TestBlogPlugin;
23+
use SimpleSnapshot\SimpleSnapshotPlugin;
24+
use TestBlog\TestBlogPlugin;
2525
use function Cake\Core\env;
2626

2727
$findRoot = function ($root) {

β€Žtests/test_app/Plugin/SimpleSnapshot/src/Plugin.phpβ€Ž

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
declare(strict_types=1);
3+
4+
namespace SimpleSnapshot;
5+
6+
use Cake\Core\BasePlugin;
7+
8+
class SimpleSnapshotPlugin extends BasePlugin
9+
{
10+
}

β€Žtests/test_app/Plugin/TestBlog/src/Plugin.phpβ€Ž

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
declare(strict_types=1);
3+
4+
namespace TestBlog;
5+
6+
use Cake\Core\BasePlugin;
7+
8+
class TestBlogPlugin extends BasePlugin
9+
{
10+
}

0 commit comments

Comments
Β (0)