Skip to content

Commit 415feca

Browse files
authored
remove unused package + composer upgrade (#14)
* remove unused package * fix php version * fix readme * Add some more rules. (#15)
1 parent 0c26789 commit 415feca

File tree

7 files changed

+290
-294
lines changed

7 files changed

+290
-294
lines changed

.editorconfig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,8 @@ indent_size = 4
2323

2424
[*.yml]
2525
indent_style = space
26-
indent_size = 2
26+
indent_size = 2
27+
28+
[*.neon]
29+
indent_style = tab
30+
indent_size = 4

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This will also make them unavailable when using Composer with `--prefer-dist`.
2+
# https://git-scm.com/docs/gitattributes
3+
#
4+
/.github export-ignore
5+
.editorconfig export-ignore
6+
.gitattributes export-ignore
7+
.gitignore export-ignore
8+
.php-cs-fixer.php export-ignore
9+
.styleci.yml export-ignore
10+
README.md export-ignore

.github/workflows/test-impact.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Set up PHP
3838
uses: shivammathur/setup-php@v2
3939
with:
40-
php-version: 8.0
40+
php-version: 8.1
4141
coverage: none
4242
tools: phpstan
4343
env:
@@ -68,7 +68,7 @@ jobs:
6868
- name: Set up PHP
6969
uses: shivammathur/setup-php@v2
7070
with:
71-
php-version: 8.0
71+
php-version: 8.1
7272
coverage: none
7373
tools: phpstan
7474
env:
@@ -100,7 +100,7 @@ jobs:
100100
- name: Set up PHP
101101
uses: shivammathur/setup-php@v2
102102
with:
103-
php-version: 8.0
103+
php-version: 8.1
104104
coverage: none
105105
tools: phpstan
106106
env:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This includes:
1010
- phpstan/phpstan-strict-rules — strict and opinionated rules
1111
- thecodingmachine/phpstan-safe-rule — Ensure the use of `Safe` code
1212
- nunomaduro/larastan — stubs for Laravel
13-
- ergebnis/phpstan-rules — No error suppression: `@`
1413
- slam/phpstan-extensions — No unused variables
14+
- symplify/phpstan-rules — A lot of stricter rules with regard to coding standards.
1515

1616
## Installation
1717

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
"type": "library",
55
"license": "MIT",
66
"require": {
7-
"ergebnis/phpstan-rules": "^1.0",
87
"friendsofphp/php-cs-fixer": "^3.3",
98
"php-parallel-lint/php-parallel-lint": "^1.2",
10-
"phpstan/phpstan": "^1.7",
11-
"phpstan/phpstan-deprecation-rules": "^1.0",
12-
"phpstan/phpstan-strict-rules": "^1.3",
9+
"phpstan/phpstan": "^1.9",
10+
"phpstan/phpstan-deprecation-rules": "^1.1",
11+
"phpstan/phpstan-strict-rules": "^1.4",
1312
"slam/phpstan-extensions": "^6.0",
1413
"squizlabs/php_codesniffer": "^3.5",
1514
"symplify/phpstan-rules": "^11.0",
@@ -30,7 +29,7 @@
3029
},
3130
"config": {
3231
"platform": {
33-
"php": "8.0.2"
32+
"php": "8.1"
3433
},
3534
"preferred-install": "dist",
3635
"sort-packages": true,

0 commit comments

Comments
 (0)