Merge: phpPackages: improve error messages of removed/renamed packages (#440620)

authored by

Maximilian Bosch and committed by
GitHub
ec22338b 0b919327

+3 -3
+3 -3
pkgs/top-level/php-packages.nix
··· 257 257 psalm = callPackage ../development/php-packages/psalm { }; 258 258 } 259 259 // 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`"; 263 263 }; 264 264 265 265 # This is a set of PHP extensions meant to be used in php.buildEnv