File tree 3 files changed +86
-2
lines changed
3 files changed +86
-2
lines changed Original file line number Diff line number Diff line change 9
9
"email" : " eldad@appwrite.io"
10
10
}
11
11
],
12
+ "scripts" : {
13
+ "test" : " vendor/bin/phpunit" ,
14
+ "lint" : " vendor/bin/phpcs" ,
15
+ "format" : " vendor/bin/phpcbf"
16
+ },
12
17
"autoload" : {
13
18
"psr-4" : {
14
19
"Appwrite\\ SDK\\ " : " src/SDK" ,
28
33
},
29
34
"require-dev" : {
30
35
"phpunit/phpunit" : " ^9.5.21" ,
31
- "brianium/paratest" : " ^6.4"
36
+ "brianium/paratest" : " ^6.4" ,
37
+ "squizlabs/php_codesniffer" : " ^3.6"
32
38
},
33
39
"minimum-stability" : " dev" ,
34
40
"prefer-stable" : true
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+
3
+ <ruleset name =" Appwrite Standard" namespace =" Appwrite" >
4
+ <rule ref =" PSR12" />
5
+ <file >./src</file >
6
+ <file >./tests</file >
7
+ <ini name =" memory_limit" value =" 4096M" />
8
+
9
+ <!-- Exclude SDKs and resources for performance reasons -->
10
+ <exclude-pattern >./tests/sdks</exclude-pattern >
11
+ <exclude-pattern >./tests/languages</exclude-pattern >
12
+ <exclude-pattern >./tests/resources</exclude-pattern >
13
+
14
+ <!-- Ignore max line width -->
15
+ <rule ref =" Generic.Files.LineLength" >
16
+ <exclude-pattern >*</exclude-pattern >
17
+ </rule >
18
+ <!-- Allow Side Effects on root level of files -->
19
+ <rule ref =" PSR1.Files.SideEffects.FoundWithSymbols" >
20
+ <exclude-pattern >*</exclude-pattern >
21
+ </rule >
22
+ </ruleset >
You can’t perform that action at this time.
0 commit comments