File tree Expand file tree Collapse file tree 2 files changed +21
-12
lines changed Expand file tree Collapse file tree 2 files changed +21
-12
lines changed Original file line number Diff line number Diff line change 23
23
with :
24
24
php-version : ' 8.0' # You can specify the PHP version you need
25
25
26
+ - name : Install Composer
27
+ run : |
28
+ php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
29
+ php composer-setup.php --install-dir=/usr/local/bin --filename=composer
30
+ php -r "unlink('composer-setup.php');"
31
+
26
32
- name : Install dependencies
27
33
run : composer install
28
34
29
35
- name : Run tests
30
- run : vendor/bin/phpunit --configuration phpunit.xml
36
+ run : ./ vendor/bin/phpunit --configuration phpunit.xml
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " wufr/translator" ,
3
- "description" : " Translate keys into text values based on set language" ,
4
- "type" : " library" ,
5
- "license" : " MIT" ,
6
- "authors" : [
7
- {
8
- "name" : " Jiří Bělský" ,
9
-
10
- }
11
- ],
12
- "require" : {},
2
+ "name" : " wufr/translator" ,
3
+ "description" : " Translate keys into text values based on set language" ,
4
+ "type" : " library" ,
5
+ "license" : " MIT" ,
6
+ "authors" : [
7
+ {
8
+ "name" : " Jiří Bělský" ,
9
+
10
+ }
11
+ ],
12
+ "require" : {},
13
+ "require-dev" : {
14
+ "phpunit/phpunit" : " ^9.0"
15
+ },
13
16
"autoload" : {
14
17
"classmap" : [" src/" ]
15
18
}
You can’t perform that action at this time.
0 commit comments