File tree 3 files changed +7
-5
lines changed 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 18
18
},
19
19
"require-dev" : {
20
20
"symfony/var-dumper" : " *" ,
21
- "phpunit/phpunit" : " ^9.5"
21
+ "phpunit/phpunit" : " ^9.5" ,
22
+ "friendsofphp/php-cs-fixer" : " ^2.19"
22
23
},
23
24
"autoload" : {
24
25
"psr-4" : {
38
39
" @clearCache" ,
39
40
" ./vendor/bin/phpunit --colors=always"
40
41
],
42
+ "fix" : " ./vendor/bin/php-cs-fixer fix ./" ,
41
43
"clearCache" : " rm -rf cache/*"
42
44
}
43
45
}
Original file line number Diff line number Diff line change 6
6
7
7
class Path
8
8
{
9
- const DS = \DIRECTORY_SEPARATOR ;
9
+ public const DS = \DIRECTORY_SEPARATOR ;
10
10
11
11
/**
12
12
* path join.
Original file line number Diff line number Diff line change 11
11
*/
12
12
class SM3
13
13
{
14
- const IV = '7380166f4914b2b9172442d7da8a0600a96f30bc163138aae38dee4db0fb0e4e ' ;
15
- const LEN = 512 ;
16
- const STR_LEN = 64 ;
14
+ public const IV = '7380166f4914b2b9172442d7da8a0600a96f30bc163138aae38dee4db0fb0e4e ' ;
15
+ public const LEN = 512 ;
16
+ public const STR_LEN = 64 ;
17
17
18
18
private ?string $ hex = null ;
19
19
private ?string $ binary = null ;
You can’t perform that action at this time.
0 commit comments