Merge pull request #85224 from etu/update-php-codesniffer
php.packages.phpc(bf|s): 3.5.3 -> 3.5.4
This commit is contained in:
commit
5d2cb158f3
@ -149,12 +149,12 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
phpcbf = mkDerivation rec {
|
phpcbf = mkDerivation rec {
|
||||||
version = "3.5.3";
|
version = "3.5.4";
|
||||||
pname = "phpcbf";
|
pname = "phpcbf";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/${version}/phpcbf.phar";
|
url = "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/${version}/phpcbf.phar";
|
||||||
sha256 = "1mrsf9p6p64pyqyylnlxb2b7cirdfccch83g7yhfnka3znffq86v";
|
sha256 = "18x7fk59l821pivw1i2r868y78qgs0qk47b9il1smwi6plwyyflr";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
@ -163,7 +163,7 @@ in
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
install -D $src $out/libexec/phpcbf/phpcbf.phar
|
install -D $src $out/libexec/phpcbf/phpcbf.phar
|
||||||
makeWrapper ${php}/bin/php $out/bin/phpcbf \
|
makeWrapper ${phpWithExtensions}/bin/php $out/bin/phpcbf \
|
||||||
--add-flags "$out/libexec/phpcbf/phpcbf.phar"
|
--add-flags "$out/libexec/phpcbf/phpcbf.phar"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -176,12 +176,12 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
phpcs = mkDerivation rec {
|
phpcs = mkDerivation rec {
|
||||||
version = "3.5.3";
|
version = "3.5.4";
|
||||||
pname = "phpcs";
|
pname = "phpcs";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/${version}/phpcs.phar";
|
url = "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/${version}/phpcs.phar";
|
||||||
sha256 = "0y4nhsifj4pdmf5g1nnm4951yjgiqswyz7wmjxx6kqiqc7chlkml";
|
sha256 = "1lrybdxxig3yqd3i3nwji5jjn377p50sbpm4s4852dlsxz9qnlgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
@ -190,7 +190,7 @@ in
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
install -D $src $out/libexec/phpcs/phpcs.phar
|
install -D $src $out/libexec/phpcs/phpcs.phar
|
||||||
makeWrapper ${php}/bin/php $out/bin/phpcs \
|
makeWrapper ${phpWithExtensions}/bin/php $out/bin/phpcs \
|
||||||
--add-flags "$out/libexec/phpcs/phpcs.phar"
|
--add-flags "$out/libexec/phpcs/phpcs.phar"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user