File tree Expand file tree Collapse file tree 5 files changed +20
-21
lines changed
modules/os2forms_digital_post Expand file tree Collapse file tree 5 files changed +20
-21
lines changed Original file line number Diff line number Diff line change 8
8
fail-fast : false
9
9
steps :
10
10
- name : Checkout
11
- uses : actions/checkout@v2
11
+ uses : actions/checkout@v4
12
12
with :
13
13
fetch-depth : 2
14
14
39
39
id : composer-cache
40
40
run : echo "::set-output name=dir::$(composer config cache-files-dir)"
41
41
- name : Cache dependencies
42
- uses : actions/cache@v2
42
+ uses : actions/cache@v4
43
43
with :
44
44
path : ${{ steps.composer-cache.outputs.dir }}
45
45
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
71
71
id : composer-cache
72
72
run : echo "::set-output name=dir::$(composer config cache-files-dir)"
73
73
- name : Cache dependencies
74
- uses : actions/cache@v2
74
+ uses : actions/cache@v4
75
75
with :
76
76
path : ${{ steps.composer-cache.outputs.dir }}
77
77
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -104,7 +104,7 @@ jobs:
104
104
id : composer-cache
105
105
run : echo "::set-output name=dir::$(composer config cache-files-dir)"
106
106
- name : Cache dependencies
107
- uses : actions/cache@v2
107
+ uses : actions/cache@v4
108
108
with :
109
109
path : ${{ steps.composer-cache.outputs.dir }}
110
110
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -118,12 +118,12 @@ jobs:
118
118
name : markdownlint
119
119
steps :
120
120
- name : Checkout
121
- uses : actions/checkout@v2
121
+ uses : actions/checkout@v4
122
122
- name : Get yarn cache directory path
123
123
id : yarn-cache-dir-path
124
124
run : echo "::set-output name=dir::$(yarn cache dir)"
125
125
- name : Cache yarn packages
126
- uses : actions/cache@v2
126
+ uses : actions/cache@v4
127
127
id : yarn-cache
128
128
with :
129
129
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
Original file line number Diff line number Diff line change @@ -11,13 +11,16 @@ before starting to add changes. Use example [placed in the end of the page](#exa
11
11
12
12
## [ Unreleased]
13
13
14
+ - [ PR-166] ( https://github.com/OS2Forms/os2forms/pull/166 )
15
+ - Fix digital post commands
16
+ - Updated versions in GitHub Actions ` uses ` steps
14
17
- Updating the display of os2forms package on the status page
15
18
16
19
## [ 4.0.0] 2025-03-06
17
20
18
- - This is an alias for for 3.22.2. Major change is the module removal, which can lead to lack of backward support.
19
- See full release note here:
20
- https://github.com/OS2Forms/os2forms_docs/blob/master/docs/releases/2024-Q4-Release-notes.md
21
+ - This is an alias for for 3.22.2. Major change is the module removal, which can
22
+ lead to lack of backward support. See full release note here:
23
+ < https://github.com/OS2Forms/os2forms_docs/blob/master/docs/releases/2024-Q4-Release-notes.md >
21
24
22
25
## [ 3.22.2] 2025-02-28
23
26
@@ -92,9 +95,8 @@ https://github.com/OS2Forms/os2forms_docs/blob/master/docs/releases/2024-Q4-Rele
92
95
## [ 3.16.0] 2024-08-27
93
96
94
97
f/OS-115_dawa_address
95
- - [ OS-115] Skipping empty maktrikula objects
96
-
97
98
99
+ - [ OS-115] Skipping empty maktrikula objects
98
100
99
101
[ #110 ] ( https://github.com/OS2Forms/os2forms/pull/110 )
100
102
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
namespace Drupal \os2forms_digital_post \Drush \Commands ;
4
4
5
5
use Drupal \Component \Serialization \Yaml ;
6
+ use Drupal \Core \DependencyInjection \AutowireTrait ;
6
7
use Drupal \Core \Utility \Token ;
7
8
use Drupal \entity_print \Plugin \EntityPrintPluginManagerInterface ;
8
9
use Drupal \os2forms_digital_post \Helper \DigitalPostHelper ;
12
13
use ItkDev \Serviceplatformen \Service \SF1601 \SF1601 ;
13
14
use Symfony \Component \Console \Exception \InvalidArgumentException ;
14
15
use Symfony \Component \Console \Style \SymfonyStyle ;
16
+ use Symfony \Component \DependencyInjection \Attribute \Autowire ;
15
17
use Symfony \Contracts \HttpClient \Exception \ClientExceptionInterface ;
16
18
17
19
/**
18
20
* Test commands for digital post.
19
21
*/
20
22
class DigitalPostTestCommands extends DrushCommands {
23
+ use AutowireTrait;
21
24
22
25
/**
23
26
* Constructor.
24
27
*/
25
28
public function __construct (
29
+ #[Autowire(service: DigitalPostHelper::class)]
26
30
private readonly DigitalPostHelper $ digitalPostHelper ,
27
31
private readonly Token $ token ,
32
+ #[Autowire(service: 'plugin.manager.entity_print.print_engine ' )]
28
33
private readonly EntityPrintPluginManagerInterface $ entityPrintPluginManager ,
34
+ #[Autowire(service: Settings::class)]
29
35
private readonly Settings $ digitalPostSettings ,
30
36
) {
31
37
}
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ function os2forms_requirements($phase) {
74
74
0 => t('version <strong>@version</strong> (commit: <strong>@reference</strong>)', [
75
75
'@version' => $version,
76
76
'@reference' => $reference,
77
- ])
77
+ ]),
78
78
],
79
79
];
80
80
You can’t perform that action at this time.
0 commit comments