!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

78 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
17 Feb 2023
@drupol:matrix.orgPol I have the feeling that the patch that you did to remove the failing tests for opcache needs to be amended and some conditions based on the PHP versions added. 07:20:18
@drupol:matrix.orgPolApparently, those tests doesn't exists in PHP < 7.207:20:29
@drupol:matrix.orgPol Jan Tojnar: Any clue why this wasn't caught in fossar/nix-phps ? 07:21:06
@drupol:matrix.orgPol Actually it wasn't caught in fossar/nix-phps because it's not building for Apple. 07:44:43
@drupol:matrix.orgPolimage.png
Download image.png
07:47:02
@drupol:matrix.orgPolI'm thinking about something like: 07:47:03
@drupol:matrix.orgPol * I'm thinking about something like ^^07:47:08
@drupol:matrix.orgPol Maybe I'll do it in fossar/nix-phps, that's actually the most appropriate place since we're not maintaining older version of PHP in nixpkgs. 07:51:35
@drupol:matrix.orgPolPR: https://github.com/fossar/nix-phps/pull/21208:04:13
@drupol:matrix.orgPol tgerbet, Jan Tojnar : Are you ok with this? ^^ 08:12:59
@tgerbet:matrix.orgtgerbet I think your commit message should say >= 7.2 😅 08:38:02
@drupol:matrix.orgPoloh ... let me check.08:40:29
@tgerbet:matrix.orgtgerbetDo you see failures for PHP 7.x ? Maybe you could be stricter and only apply it on >= 8.0 ?08:41:09
@drupol:matrix.orgPolRedacted or Malformed Event08:43:41
@drupol:matrix.orgPolRedacted or Malformed Event08:44:29
@drupol:matrix.orgPolRedacted or Malformed Event08:44:44
@drupol:matrix.orgPol
In reply to @tgerbet:matrix.org
Do you see failures for PHP 7.x ? Maybe you could be stricter and only apply it on >= 8.0 ?
I mean, there is failure only for PHP 5.6, 7.0, 7.1.
08:46:11
@drupol:matrix.orgPol
In reply to @tgerbet:matrix.org
Do you see failures for PHP 7.x ? Maybe you could be stricter and only apply it on >= 8.0 ?
* There are failure only for PHP 5.6, 7.0, 7.1.
08:46:19
@tgerbet:matrix.orgtgerbetYes but the removal of the test files might not be needed in the range [7.2-7.4] if the tests are not flaky for some reasons08:47:37
@tgerbet:matrix.orgtgerbetI have no clue if that's the case or not TBH08:48:59
@drupol:matrix.orgPolIt's now green with that PR: https://github.com/loophp/nix-shell/pull/13108:59:00
20 Feb 2023
@drupol:matrix.orgPolSomeone submitted a PR to have PHPUnit in Nix at https://github.com/NixOS/nixpkgs/pull/21720709:49:09
@etu:failar.nu@etu:failar.nuI think that for phpunit it may matter which version of PHP you run it with09:55:38
@etu:failar.nu@etu:failar.nuAnd then it should be below php-packages so you can select version09:55:53
@drupol:matrix.orgPolI don't think the same, maybe we should discuss that in the thread then? WDYT ?10:03:57
@drupol:matrix.orgPolI think we shouldn't take care of the PHP version here and always use the latest.10:04:15
@drupol:matrix.orgPol
In reply to @etu:failar.nu
I think that for phpunit it may matter which version of PHP you run it with
I could also ask Sebastian (phpunit's father) about that. We could also check how they do in other distro?
10:06:46
@etu:failar.nu@etu:failar.nuI think most people install it with composer10:19:07
@etu:failar.nu@etu:failar.nuThen you have all the right things in place10:19:15
@etu:failar.nu@etu:failar.nuI'm pretty confident that phpunit evaluates PHP with the version of PHP as you run PHP unit with.10:19:54

Show newer messages


Back to Room ListRoom Version: 6