Skip to content

Commit 031dd06

Browse files
committed
Fix PHPStan
1 parent ab14d3f commit 031dd06

5 files changed

Lines changed: 6 additions & 31 deletions

File tree

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@
55
/ecs.php export-ignore
66
/infection.json.dist export-ignore
77
/phpunit.xml.dist export-ignore
8-
/psalm.xml export-ignore
98
/README.md export-ignore
109
/.github export-ignore
11-
/composer-unused.php export-ignore

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
coverage: "none"
7676
extensions: "${{ env.PHP_EXTENSIONS }}"
7777
php-version: "${{ matrix.php-version }}"
78-
tools: "flex"
78+
tools: "flex, composer-dependency-analyser"
7979

8080
- name: "Install composer dependencies"
8181
uses: "ramsey/composer-install@v3"
@@ -85,7 +85,7 @@ jobs:
8585
dependency-versions: "${{ matrix.dependencies }}"
8686

8787
- name: "Run dependency analysis"
88-
run: "vendor/bin/composer-dependency-analyser"
88+
run: "composer-dependency-analyser"
8989

9090
static-code-analysis:
9191
name: "Static Code Analysis"

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Setono
3+
Copyright (c) 2026 Setono
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,13 @@
3939
"allow-plugins": {
4040
"dealerdirect/phpcodesniffer-composer-installer": false,
4141
"ergebnis/composer-normalize": true,
42-
"infection/extension-installer": true
42+
"infection/extension-installer": true,
43+
"phpstan/extension-installer": true
4344
},
4445
"sort-packages": true
4546
},
4647
"scripts": {
47-
"analyse": "psalm",
48+
"analyse": "phpstan analyse",
4849
"check-style": "ecs check",
4950
"fix-style": "ecs check --fix",
5051
"phpunit": "phpunit"

psalm.xml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)