File tree 9 files changed +23
-17
lines changed
9 files changed +23
-17
lines changed Original file line number Diff line number Diff line change 7
7
strategy :
8
8
matrix :
9
9
operating-system : [ubuntu-latest]
10
- php-versions : ['8.1']
10
+ php-versions : ['8.1', '8.2' ]
11
11
fail-fast : false
12
12
name : PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
13
13
steps :
Original file line number Diff line number Diff line change 7
7
strategy :
8
8
matrix :
9
9
operating-system : [ubuntu-latest]
10
- php-versions : ['8.1']
10
+ php-versions : ['8.1', '8.2' ]
11
11
fail-fast : false
12
12
name : PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
13
13
steps :
Original file line number Diff line number Diff line change 7
7
strategy :
8
8
matrix :
9
9
operating-system : [ubuntu-latest]
10
- php-versions : ['8.1']
10
+ php-versions : ['8.1', '8.2' ]
11
11
fail-fast : false
12
12
name : PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
13
13
steps :
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<phive xmlns =" https://phar.io/phive" >
3
- <phar name =" psalm" version =" ^4.13.1 " installed =" 4.22 .0" location =" ./tools/psalm.phar" copy =" true" />
4
- <phar name =" php-cs-fixer" version =" ^3.3.2 " installed =" 3.3.2 " location =" ./tools/php-cs-fixer.phar" copy =" true" />
3
+ <phar name =" psalm" version =" ^4.30.0 " installed =" 4.30 .0" location =" ./tools/psalm.phar" copy =" true" />
4
+ <phar name =" php-cs-fixer" version =" ^3.13.0 " installed =" 3.13.0 " location =" ./tools/php-cs-fixer.phar" copy =" true" />
5
5
</phive >
Original file line number Diff line number Diff line change 19
19
}
20
20
],
21
21
"require" : {
22
- "php" : " ^ 8.1" ,
22
+ "php" : " ~ 8.1.0 || ~8.2.0 " ,
23
23
"ext-dom" : " *" ,
24
24
"ext-openssl" : " *" ,
25
- "azjezz/psl" : " ^1.9 " ,
25
+ "azjezz/psl" : " ^2.1 " ,
26
26
"paragonie/hidden-string" : " ^2.0" ,
27
- "php-soap/psr18-transport" : " ^1.2.1 " ,
28
- "php-soap/engine" : " ^1.0 " ,
29
- "php-soap/xml" : " ^1.3.1 " ,
27
+ "php-soap/psr18-transport" : " ^1.3 " ,
28
+ "php-soap/engine" : " ^1.3 " ,
29
+ "php-soap/xml" : " ^1.4 " ,
30
30
"php-http/client-common" : " ^2.3" ,
31
31
"robrichards/wse-php" : " ^2.0" ,
32
- "veewee/xml" : " ^1.5 "
32
+ "veewee/xml" : " ^2.2 "
33
33
},
34
34
"require-dev" : {
35
- "nyholm/psr7" : " ^1.3 " ,
36
- "php-http/mock-client" : " ^1.4 " ,
35
+ "nyholm/psr7" : " ^1.5 " ,
36
+ "php-http/mock-client" : " ^1.5 " ,
37
37
"symfony/http-client" : " ^6.1" ,
38
38
"phpunit/phpunit" : " ^9.5" ,
39
39
"cweagans/composer-patches" : " ^1.7"
Original file line number Diff line number Diff line change 4
4
namespace Soap \Psr18WsseMiddleware \WSSecurity \KeyStore ;
5
5
6
6
use ParagonIE \HiddenString \HiddenString ;
7
- use function Psl \Filesystem \ read_file ;
7
+ use function Psl \File \ read ;
8
8
9
9
final class Certificate implements KeyInterface
10
10
{
@@ -17,9 +17,12 @@ public function __construct(string $key)
17
17
$ this ->passphrase = new HiddenString ('' );
18
18
}
19
19
20
+ /**
21
+ * @param non-empty-string $file
22
+ */
20
23
public static function fromFile (string $ file ): self
21
24
{
22
- return new self (read_file ($ file ));
25
+ return new self (read ($ file ));
23
26
}
24
27
25
28
public function withPassphrase (string $ passphrase ): self
Original file line number Diff line number Diff line change 4
4
namespace Soap \Psr18WsseMiddleware \WSSecurity \KeyStore ;
5
5
6
6
use ParagonIE \HiddenString \HiddenString ;
7
- use function Psl \Filesystem \ read_file ;
7
+ use function Psl \File \ read ;
8
8
9
9
final class Key implements KeyInterface
10
10
{
@@ -17,9 +17,12 @@ public function __construct(string $key)
17
17
$ this ->passphrase = new HiddenString ('' );
18
18
}
19
19
20
+ /**
21
+ * @param non-empty-string $file
22
+ */
20
23
public static function fromFile (string $ file ): self
21
24
{
22
- return new self (read_file ($ file ));
25
+ return new self (read ($ file ));
23
26
}
24
27
25
28
public function withPassphrase (string $ passphrase ): self
You can’t perform that action at this time.
0 commit comments