Skip to content

Commit e570d44

Browse files
committed
Add .scrutinizer.yml
1 parent 3b673d4 commit e570d44

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

.scrutinizer.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
filter:
2+
excluded_paths: [tests/*]
3+
checks:
4+
php:
5+
code_rating: true
6+
remove_extra_empty_lines: true
7+
remove_php_closing_tag: true
8+
remove_trailing_whitespace: true
9+
fix_use_statements:
10+
remove_unused: true
11+
preserve_multiple: false
12+
preserve_blanklines: true
13+
order_alphabetically: true
14+
fix_php_opening_tag: true
15+
fix_linefeed: true
16+
fix_line_ending: true
17+
fix_identation_4spaces: true
18+
fix_doc_comments: true
19+
tools:
20+
external_code_coverage:
21+
timeout: 600
22+
runs: 3
23+
php_analyzer: true
24+
php_code_coverage: false
25+
php_code_sniffer:
26+
config:
27+
standard: PSR2
28+
filter:
29+
paths: ['src']
30+
php_loc:
31+
enabled: true
32+
excluded_dirs: [vendor, tests]
33+
php_cpd:
34+
enabled: true
35+
excluded_dirs: [vendor, tests]

tests/unit/HitCounterEntityTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ protected function setUp(): void
114114
public function testCreateEntityWithFake()
115115
{
116116
//phpunit --debug --filter HitCounterEntityTest
117-
var_dump($this->hit->created_at);
117+
// var_dump($this->hit->created_at);
118118
$this->assertInstanceOf(HitCounter::class, $this->hit);
119119
}
120120

0 commit comments

Comments
 (0)