Skip to content

Commit

Permalink
remove unused package + composer upgrade (#14)
Browse files Browse the repository at this point in the history
* remove unused package
* fix php version
* fix readme
* Add some more rules. (#15)
  • Loading branch information
ildyria authored Jan 11, 2023
1 parent 0c26789 commit 415feca
Show file tree
Hide file tree
Showing 7 changed files with 290 additions and 294 deletions.
6 changes: 5 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ indent_size = 4

[*.yml]
indent_style = space
indent_size = 2
indent_size = 2

[*.neon]
indent_style = tab
indent_size = 4
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This will also make them unavailable when using Composer with `--prefer-dist`.
# https://git-scm.com/docs/gitattributes
#
/.github export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.php-cs-fixer.php export-ignore
.styleci.yml export-ignore
README.md export-ignore
6 changes: 3 additions & 3 deletions .github/workflows/test-impact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
coverage: none
tools: phpstan
env:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
coverage: none
tools: phpstan
env:
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
coverage: none
tools: phpstan
env:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ This includes:
- phpstan/phpstan-strict-rules — strict and opinionated rules
- thecodingmachine/phpstan-safe-rule — Ensure the use of `Safe` code
- nunomaduro/larastan — stubs for Laravel
- ergebnis/phpstan-rules — No error suppression: `@`
- slam/phpstan-extensions — No unused variables
- symplify/phpstan-rules — A lot of stricter rules with regard to coding standards.

## Installation

Expand Down
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
"type": "library",
"license": "MIT",
"require": {
"ergebnis/phpstan-rules": "^1.0",
"friendsofphp/php-cs-fixer": "^3.3",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/phpstan": "^1.7",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-strict-rules": "^1.3",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-strict-rules": "^1.4",
"slam/phpstan-extensions": "^6.0",
"squizlabs/php_codesniffer": "^3.5",
"symplify/phpstan-rules": "^11.0",
Expand All @@ -30,7 +29,7 @@
},
"config": {
"platform": {
"php": "8.0.2"
"php": "8.1"
},
"preferred-install": "dist",
"sort-packages": true,
Expand Down
Loading

0 comments on commit 415feca

Please sign in to comment.