Skip to content

Commit c3d4656

Browse files
committed
Update Scrutinizer config and README badge link
- Add new Scrutinizer config with PHP 8.1 and code quality checks to enhance project analysis - Update build status badge link in README to correctly reflect the current workflow status
1 parent 28ced23 commit c3d4656

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

.scrutinizer.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
build:
2+
environment:
3+
php:
4+
version: 8.1
5+
nodes:
6+
analysis:
7+
project_setup:
8+
override: true
9+
tests:
10+
override: [ php-scrutinizer-run ]
11+
coverage:
12+
tests:
13+
override:
14+
- command: XDEBUG_MODE=coverage ./vendor/bin/pest --coverage --coverage-clover=coverage.clover
15+
coverage:
16+
file: coverage.clover
17+
format: clover
18+
19+
filter:
20+
excluded_paths: [ tests/* ]
21+
22+
checks:
23+
php:
24+
remove_extra_empty_lines: true
25+
remove_php_closing_tag: true
26+
remove_trailing_whitespace: true
27+
fix_use_statements:
28+
remove_unused: true
29+
preserve_multiple: false
30+
preserve_blanklines: true
31+
order_alphabetically: true
32+
fix_php_opening_tag: true
33+
fix_linefeed: true
34+
fix_line_ending: true
35+
fix_identation_4spaces: true
36+
fix_doc_comments: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<img src="https://img.shields.io/packagist/v/igorsgm/laravel-git-hooks.svg?style=flat-square" alt="Latest Version on Packagist">
88
</a>
99
<a href="https://github.com/igorsgm/laravel-git-hooks/actions/workflows/main.yml/badge.svg">
10-
<img src="https://img.shields.io/github/actions/workflow/status/igorsgm/laravel-git-hooks/main?style=flat-square" alt="Build Status">
10+
<img src="https://img.shields.io/github/actions/workflow/status/igorsgm/laravel-git-hooks/main.yml?style=flat-square" alt="Build Status">
1111
</a>
1212
<a href="https://packagist.org/packages/igorsgm/laravel-git-hooks">
1313
<img src="https://img.shields.io/packagist/dt/igorsgm/laravel-git-hooks.svg?style=flat-square" alt="Total Downloads">

0 commit comments

Comments
 (0)