Skip to content

Commit 76e9a8c

Browse files
committed
Update ECS/CI for Craft 4
1 parent fabc89c commit 76e9a8c

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- '3.0'
78
pull_request:
89
jobs:
910
call-workflow:

ecs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
__FILE__,
1515
]);
1616

17-
$containerConfigurator->import(SetList::CRAFT_CMS_3);
17+
$containerConfigurator->import(SetList::CRAFT_CMS_4);
1818
};

src/Plugin.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
*/
5353
class Plugin extends \craft\base\Plugin
5454
{
55-
const STATUS_PENDING = 'pending';
56-
const STATUS_REQUESTED = 'requested';
57-
const STATUS_DONE = 'done';
55+
public const STATUS_PENDING = 'pending';
56+
public const STATUS_REQUESTED = 'requested';
57+
public const STATUS_DONE = 'done';
5858

5959
/**
6060
* @event RegisterComponentTypesEvent The event that is triggered when registering filter types.
@@ -77,7 +77,7 @@ class Plugin extends \craft\base\Plugin
7777
* ```
7878
* @since 2.1.0
7979
*/
80-
const EVENT_REGISTER_FILTER_TYPES = 'registerFilterTypes';
80+
public const EVENT_REGISTER_FILTER_TYPES = 'registerFilterTypes';
8181

8282
/**
8383
* @inheritdoc

0 commit comments

Comments
 (0)