Skip to content

Commit 8b3f254

Browse files
committed
Add StyleCI configuration.
1 parent 4b40d69 commit 8b3f254

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.styleci.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
risky: true
2+
3+
preset: symfony
4+
5+
enabled:
6+
- align_double_arrow
7+
- native_function_invocation
8+
- ordered_use
9+
- strict
10+
11+
disabled:
12+
- native_function_invocation_symfony
13+
- no_superfluous_phpdoc_tags_symfony
14+
- pow_to_exponentiation
15+
- pre_increment
16+
- unalign_double_arrow
17+
- yoda_style
18+
19+
finder:
20+
name:
21+
- "*.php"

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Ruler is a simple stateless production rules engine for PHP 5.3+.
55

66
[![Package version](http://img.shields.io/packagist/v/ruler/ruler.svg?style=flat-square)](https://packagist.org/packages/ruler/ruler)
77
[![Build status](https://img.shields.io/github/workflow/status/bobthecow/Ruler/Unit%20Tests/main.svg?style=flat-square)](https://github.com/bobthecow/Ruler/actions?query=branch:main)
8+
[![StyleCI](https://styleci.io/repos/1906921/shield)](https://styleci.io/repos/1906921)
89

910
Ruler has an easy, straightforward DSL
1011
--------------------------------------

0 commit comments

Comments
 (0)