Add PHPStan and Psalm to all PHP dev shells

This commit is contained in:
Oliver Davies 2025-08-22 12:08:31 +01:00
parent d4aae0dfac
commit 9fa2e053d5
6 changed files with 11 additions and 0 deletions

View file

@ -14,6 +14,8 @@
packages = [
php
phpPackages.composer
phpPackages.phpstan
phpPackages.psalm
] ++ commonPhpPackages pkgs system;
shellHook = ''

View file

@ -8,6 +8,8 @@
packages = with pkgs; [
php81
php81Packages.composer
php81Packages.phpstan
php81Packages.psalm
] ++ commonPhpPackages pkgs system;
shellHook = ''

View file

@ -8,6 +8,8 @@
packages = with pkgs; [
php82
php82Packages.composer
php82Packages.phpstan
php82Packages.psalm
] ++ commonPhpPackages pkgs system;
shellHook = ''

View file

@ -8,6 +8,8 @@
packages = with pkgs; [
php83
php83Packages.composer
php83Packages.phpstan
php83Packages.psalm
] ++ commonPhpPackages pkgs system;
shellHook = ''

View file

@ -8,6 +8,8 @@
packages = with pkgs; [
php84
php84Packages.composer
php84Packages.phpstan
php84Packages.psalm
] ++ commonPhpPackages pkgs system;
shellHook = ''

View file

@ -10,6 +10,7 @@
in
[
phpPackages.phpstan
phpPackages.psalm
phpunit
(php.buildComposerProject2 {