Skip to content

Commit

Permalink
Merge pull request cachix#344 from gaelreyrol/php-hooks-update
Browse files Browse the repository at this point in the history
Upgrade PHP hooks to PHP 8.2
  • Loading branch information
domenkozar authored Sep 24, 2023
2 parents 367330e + 1b3798a commit cb770e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/hooks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ in
mkOption {
type = types.str;
description = lib.mdDoc "PHP_CodeSniffer binary path.";
default = "${pkgs.php80Packages.phpcs}/bin/phpcs";
default = "${pkgs.php82Packages.phpcs}/bin/phpcs";
defaultText = lib.literalExpression ''
"''${pkgs.php80Packages.phpcs}/bin/phpcs"
'';
Expand All @@ -516,7 +516,7 @@ in
mkOption {
type = types.str;
description = lib.mdDoc "PHP_CodeSniffer binary path.";
default = "${pkgs.php80Packages.phpcbf}/bin/phpcbf";
default = "${pkgs.php82Packages.phpcbf}/bin/phpcbf";
defaultText = lib.literalExpression ''
"''${pkgs.php80Packages.phpcbf}/bin/phpcbf"
'';
Expand All @@ -529,7 +529,7 @@ in
mkOption {
type = types.str;
description = lib.mdDoc "PHP-CS-Fixer binary path.";
default = "${pkgs.php81Packages.php-cs-fixer}/bin/php-cs-fixer";
default = "${pkgs.php82Packages.php-cs-fixer}/bin/php-cs-fixer";
defaultText = lib.literalExpression ''
"''${pkgs.php81Packages.php-cs-fixer}/bin/php-cs-fixer"
'';
Expand Down

0 comments on commit cb770e9

Please sign in to comment.