!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

76 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
10 Mar 2024
@jtojnar:matrix.orgJan Tojnarit depends on how the tools are implemented19:02:31
@jtojnar:matrix.orgJan Tojnarfor example, I know that php-parallel-linter does depend on PHP version19:03:02
@patka_123:matrix.org@patka_123:matrix.org I'm not sure how to determine that, except for being familiar with the tool itself. Based on what did you determine that about php-parallel-linter for example? I guess something like php-cs-fixer then also changes behaviour based on environment, because it has different rules for different php versions? 19:06:25
@jtojnar:matrix.orgJan Tojnarphp-parallel-linter just calls php's built-in syntax checker IIRC19:07:52
@jtojnar:matrix.orgJan TojnarI would expect phpstan and php-cs-fixer implementing everything themselves (IIRC they have target version config option that might default to the current version when not set but should result in the same output regardless the PHP version)19:09:53
@jtojnar:matrix.orgJan Tojnarthough searching in memory now, I actually recall that PHPStan did have different results depending on PHP version19:11:03
@patka_123:matrix.org@patka_123:matrix.org Alright, that does make sense. Thanks for the explanation! I'm going to stay on the safe side, and leave this topic alone for now. I don't feel confident enough yet about making the decision that a package should go to by-name then 19:13:00
@drupol:matrix.orgPolNew PHP PR for improving the PHP builder warning message in case of Composer validation failure: https://github.com/NixOS/nixpkgs/pull/29483121:29:10
12 Mar 2024
@drupol:matrix.orgPol tgerbet: Are you ok with this? ^^ Eval is red, but that's because of the warning. How to deal with that in nixpkgs? 09:36:31
13 Mar 2024
@patka_123:matrix.org@patka_123:matrix.org There is now a PHP label, so lets have them added automatically for us :) 16:35:23
@patka_123:matrix.org@patka_123:matrix.org

There is now a PHP label, so lets have them added automatically for us :)

https://github.com/NixOS/nixpkgs/pull/295643

16:35:33
14 Mar 2024
@drupol:matrix.orgPolReview required here: https://github.com/NixOS/nixpkgs/pull/29583613:32:28
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:44:59
@drupol:matrix.orgPolHere's a new PR that fixes an issue for the upcoming 8.4 version: https://github.com/NixOS/nixpkgs/pull/29596820:28:59
@drupol:matrix.orgPolIt doesn't have an impact on older versions.20:29:14
@drupol:matrix.orgPol * It doesn't have an impact on older versions. (I tested)20:29:20
@tgerbet:matrix.orgtgerbet
In reply to @drupol:matrix.org
tgerbet: Are you ok with this? ^^ Eval is red, but that's because of the warning. How to deal with that in nixpkgs?
I do not think lib.warnIf can be used for that. It will always be flagged by the nix-instantiate call done by OfBorg and it is not really an issue within nixpkgs code itself but from upstreams.
20:44:52
@drupol:matrix.orgPol
In reply to @tgerbet:matrix.org
I do not think lib.warnIf can be used for that. It will always be flagged by the nix-instantiate call done by OfBorg and it is not really an issue within nixpkgs code itself but from upstreams.
Ok I will rework this.
20:45:17
@drupol:matrix.orgPolPR updated! https://github.com/NixOS/nixpkgs/pull/29483120:52:29
@drupol:matrix.orgPolThanks for the review!21:30:47
@drupol:matrix.orgPolThanks :)21:58:18
@drupol:matrix.orgPolEt re merci 22:35:24
@grahamc:nixos.org@grahamc:nixos.org joined the room.22:37:05
17 Mar 2024
@hexa:lossy.networkhexa
 engelsystem-migrate-start[1012]: Exception: Code: 0, Message: Call to undefined function Symfony\Polyfill\Mbstring\iconv_substr(), File: vendor/symfony/polyfill-mbstring/Mbstring.php:660, Previous: None, Trace: [{"file":"\/nix\/store\/03xgnc2nzf5z0112j4b1kmm5qpyrapqf-engelsystem-3.5.0\/share\/engelsystem\/vendor\/symfony\/polyf]
02:23:58
@hexa:lossy.networkhexacurrently looking at https://github.com/NixOS/nixpkgs/pull/28006302:24:13
@hexa:lossy.networkhexatried providing the phpfpm pool with iconv and mbstring extensions02:27:26
@hexa:lossy.networkhexabut no luck02:27:31
@hexa:lossy.networkhexathen found out that php82 ships with all kinds of extensions by default already02:35:57
@hexa:lossy.networkhexastill no dice02:36:05
@patka_123:matrix.org@patka_123:matrix.orgIll have a lool later today07:51:34

Show newer messages


Back to Room ListRoom Version: 6