Skip to content

Commit ec22338

Browse files
authored
Merge: phpPackages: improve error messages of removed/renamed packages (#440620)
2 parents 0b91932 + d654c1e commit ec22338

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkgs/top-level/php-packages.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,9 @@ lib.makeScope pkgs.newScope (
257257
psalm = callPackage ../development/php-packages/psalm { };
258258
}
259259
// lib.optionalAttrs config.allowAliases {
260-
phpcbf = throw "`phpcbf` is now deprecated, use `php-codesniffer` instead which contains both `phpcs` and `phpcbf`.";
261-
phpcs = throw "`phpcs` is now deprecated, use `php-codesniffer` instead which contains both `phpcs` and `phpcbf`.";
262-
psysh = throw "`php8${lib.versions.minor php.version}Packages.psysh` is now deprecated, use `psysh`";
260+
phpcbf = throw "`php8${lib.versions.minor php.version}Packages.phpcbf` has been removed, use `php-codesniffer` instead which contains both `phpcs` and `phpcbf`.";
261+
phpcs = throw "`php8${lib.versions.minor php.version}Packages.phpcs` has been removed, use `php-codesniffer` instead which contains both `phpcs` and `phpcbf`.";
262+
psysh = throw "`php8${lib.versions.minor php.version}Packages.psysh` has been removed, use `psysh`";
263263
};
264264

265265
# This is a set of PHP extensions meant to be used in php.buildEnv

0 commit comments

Comments
 (0)