mirror of
https://codeberg.org/icewind/flakelight-php.git
synced 2026-06-03 18:04:10 +02:00
run psalm and phpstan checks for all php versions
This commit is contained in:
parent
d6b95b950d
commit
a59a517f66
3 changed files with 24 additions and 20 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
composerMeta,
|
||||
src,
|
||||
psalm,
|
||||
php,
|
||||
vendor,
|
||||
stdenvNoCC,
|
||||
}: let
|
||||
|
|
@ -9,9 +9,9 @@
|
|||
in
|
||||
stdenvNoCC.mkDerivation {
|
||||
inherit src version;
|
||||
pname = "${name}-psalm";
|
||||
pname = "${name}-psalm-${php.version}";
|
||||
|
||||
nativeBuildInputs = [psalm];
|
||||
nativeBuildInputs = [php.packages.psalm];
|
||||
|
||||
postPatch = ''
|
||||
ln -s ${vendor}/vendor vendor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue