This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +32
-7
lines changed Expand file tree Collapse file tree 3 files changed +32
-7
lines changed Original file line number Diff line number Diff line change @@ -26,4 +26,5 @@ before_script:
26
26
- composer install
27
27
28
28
script :
29
- - composer test
29
+ - composer cs
30
+ - composer test
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " babymarkt/deepl-php-lib" ,
3
- "description" : " DeepL API Client Library supporting PHP >= 5.3 && PHP < 8.0" ,
4
3
"type" : " library" ,
4
+ "description" : " DeepL API Client Library supporting PHP >= 5.3 && PHP < 8.0" ,
5
+ "keywords" : [
6
+ " babymarkt" ,
7
+ " deepl" ,
8
+ " i18n" ,
9
+ " translation"
10
+ ],
11
+ "homepage" : " https://github.com/Baby-Markt/deepl-php-lib" ,
5
12
"license" : " MIT" ,
6
13
"authors" : [
7
14
{
14
21
},
15
22
"require-dev" : {
16
23
"php" : " >=5.3 <8.0" ,
17
- "phpunit/phpunit" : " ^4.8"
24
+ "phpunit/phpunit" : " ^4.8" ,
25
+ "squizlabs/php_codesniffer" : " ^2.9"
18
26
},
19
27
"autoload" : {
20
28
"psr-4" : {
27
35
}
28
36
},
29
37
"scripts" : {
30
- "test" : [
31
- " vendor/bin/phpunit"
32
- ]
38
+ "test" : " vendor/bin/phpunit" ,
39
+ "cs" : " vendor/bin/phpcs src tests"
40
+ },
41
+ "config" : {
42
+ "sort-packages" : true
33
43
}
34
- }
44
+ }
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <ruleset name =" babymarkt/deepl-php-lib" >
3
+ <description >The coding standard of deepl-php-lib package</description >
4
+ <arg value =" p" />
5
+
6
+ <config name =" ignore_warnings_on_exit" value =" 1" />
7
+ <config name =" ignore_errors_on_exit" value =" 1" />
8
+
9
+ <arg name =" colors" />
10
+ <arg value =" s" />
11
+
12
+ <!-- Use the PSR2 Standard-->
13
+ <rule ref =" PSR2" />
14
+ </ruleset >
You can’t perform that action at this time.
0 commit comments