Skip to content

Commit 7f3f695

Browse files
committed
fix(dev): add php-lint-project to devshell
1 parent dd1a161 commit 7f3f695

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.justfile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,18 @@
55

66
import '.config/vars.just'
77

8-
[group: "php"]
98
mod php '.config/php'
10-
11-
[group: "release"]
129
mod release '.config/release'
13-
14-
[group: "licensing"]
1510
mod reuse '.config/reuse'
1611

17-
php-lint-project-cmd := "nix run 'github:kleinweb/beams#php-lint-project'"
18-
19-
# Display a list of available tasks as the default command
2012
default:
2113
@just --choose
2214

2315
[group: "qa"]
2416
[doc: "Check for any lint or formatting issues on project files"]
2517
check:
2618
biome check {{prj-root}}
27-
{{php-lint-project-cmd}}
19+
php-lint-project
2820
composer php-cs-fixer -- check
2921
composer phpcs
3022
composer phpstan
@@ -33,7 +25,7 @@ check:
3325
[doc: "Check for (non-stylistic) linting issues on project files"]
3426
lint:
3527
biome lint {{prj-root}}
36-
{{php-lint-project-cmd}}
28+
php-lint-project
3729
composer lint
3830

3931
[group: "qa"]

nix/devshells.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
let
1414
commonPkgs = [
1515
inputs'.beams.packages.php-lint
16+
inputs'.beams.packages.php-lint-project
1617

1718
pkgs.php
1819
pkgs.php.packages.composer

0 commit comments

Comments
 (0)