3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #85226 from etu/update-phpstan

php.packages.phpstan: 0.12.14 -> 0.12.18
This commit is contained in:
Kim Lindberger 2020-04-14 16:39:56 +02:00 committed by GitHub
commit 3dbfa915ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,12 +203,12 @@ in
};
phpstan = mkDerivation rec {
version = "0.12.14";
version = "0.12.18";
pname = "phpstan";
src = pkgs.fetchurl {
url = "https://github.com/phpstan/phpstan/releases/download/${version}/phpstan.phar";
sha256 = "JAq1/+bVhTgKRR7oFusqZ/yBOYewaOM38ZoiCjirsTg=";
sha256 = "0xf0q2z6rhpnbys53si05mddfyjn3wx5wc8zx5y6dv5fzw6z7rch";
};
phases = [ "installPhase" ];
@ -217,7 +217,7 @@ in
installPhase = ''
mkdir -p $out/bin
install -D $src $out/libexec/phpstan/phpstan.phar
makeWrapper ${php}/bin/php $out/bin/phpstan \
makeWrapper ${phpWithExtensions}/bin/php $out/bin/phpstan \
--add-flags "$out/libexec/phpstan/phpstan.phar"
'';