Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Commit 1661849

Browse files
committed
1. mockery was added to pass the tests.
2. Added coverage to scrutinizer. 3. Disabled some fixers on styleci.
1 parent a370560 commit 1661849

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.scrutinizer.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,12 @@ checks:
1717
fix_identation_4spaces: true
1818
fix_doc_comments: true
1919

20+
build:
21+
nodes:
22+
coverage:
23+
tests:
24+
override:
25+
- command: composer test
26+
coverage:
27+
file: build/logs/clover.xml
28+
format: clover

.styleci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
preset: laravel
22

33
disabled:
4-
- single_class_element_per_statement
4+
- single_class_element_per_statement
5+
- hash_to_slash_comment
6+
- concat_without_spaces
7+
- cast_spaces

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"php": "^7.1",
2020
"illuminate/support": "5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*",
2121
"lab123/aws-sns": "dev-master",
22+
"mockery/mockery": "^1.2",
2223
"owen-it/laravel-auditing": "^8.0"
2324
},
2425
"require-dev": {

0 commit comments

Comments
 (0)