!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

74 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
17 Feb 2023
@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
@etu:failar.nu@etu:failar.nuSo if you have phpunit built on php81 running against a codebase that requires php82 features... you'll have a bad time.10:20:26
@drupol:matrix.orgPolWe really need to try then10:21:02
@drupol:matrix.orgPolOr ask Sebastian?10:21:15
@etu:failar.nu@etu:failar.nuSure, do it either way, then there were also a comment on the PR that is good10:21:42
@etu:failar.nu@etu:failar.nu * Sure, do it either way, then there were also a comment on the PR that is good to consider10:21:59
@drupol:matrix.orgPolWhich one?10:42:23
23 Feb 2023
@void68:matrix.orgvoid joined the room.13:23:59
@void68:matrix.orgvoidhttps://bugs.php.net/bug.php?id=8174413:24:11
@void68:matrix.orgvoid hexa ^^^ 13:24:24
@hexa:lossy.networkhexa cc Pol etu tgerbet 13:25:13
@void68:matrix.orgvoid * https://bugs.php.net/bug.php?id=81744 https://github.com/php/php-src/security/advisories/GHSA-7fj2-8x79-rjf413:26:52
@etu:failar.nu@etu:failar.nuimage.png
Download image.png
13:27:29
@tgerbet:matrix.orgtgerbet Will took a look 13:27:40
@etu:failar.nu@etu:failar.nuSeems like we should be covered: https://github.com/php/php-src/security/advisories/GHSA-7fj2-8x79-rjf413:27:45
@tgerbet:matrix.orgtgerbet * https://github.com/NixOS/nixpkgs/pull/21634813:27:50
@tgerbet:matrix.orgtgerbetYep it was part of the last round of upgrades13:28:06

Show newer messages


Back to Room ListRoom Version: 6