!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

81 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
10 Jun 2022
@etu:semi.socialetuoh, somehow I missed that lol07:59:37
@drupol:matrix.orgPol This is so sad... *-darwin are always so slow :( 08:09:13
@andreas.schraegle:helsinki-systems.deAndreas Schrägle
In reply to @drupol:matrix.org
By the way, keep an eye on this, I just pushed it: https://github.com/NixOS/nixpkgs/pull/177136
these are what I meant. thanks for opening the PR.
10:12:40
@drupol:matrix.orgPol etu: I don't understand why I have to change the target branch in my PR, can you tell me why it's not good to target the master branch? 10:26:09
@etu:semi.socialetuI didn't say that10:28:21
@drupol:matrix.orgPolAh right.10:28:33
@etu:semi.socialetuI said that the PHP 7.4 update can't be in the master branch... because php 7.4 isn't in the master branch.10:28:48
@drupol:matrix.orgPol(anymore)10:28:57
@etu:semi.socialetuBut that update should still be applied to the release branch10:28:59
@drupol:matrix.orgPolOki job done.10:29:01
@drupol:matrix.orgPolI removed the commit related to php7410:29:10
@drupol:matrix.orgPolGoodbye little angel !10:29:15
@etu:semi.socialetu:)10:29:18
@etu:semi.socialetuI'm still looking forward to upgrade from PHP 7.3 at work 😉10:29:47
@drupol:matrix.orgPolOuch :S10:29:54
@drupol:matrix.orgPolOn my side, I've been working on a random typed value generator so I can use random typed data in my tests and I don't have to write fixtures :)10:30:23
@drupol:matrix.orgPolhttps://github.com/loophp/typed-generators10:30:34
@etu:semi.socialetu We're soon running everything in containers, it will be an easier upgrade at that point :) 10:31:02
@drupol:matrix.orgPolThe data generated by this tool is fully typed and understood by PSalm/PHPStan.10:31:19
@etu:semi.socialetuIt will be easier to upgrade each project one by one10:31:20
@drupol:matrix.orgPolSo it means that you can create any shape you want, it will be correctly interpreted by those static analysis tools.10:31:23
@etu:semi.socialetu
In reply to @drupol:matrix.org
https://github.com/loophp/typed-generators
Wow, that looks useful, we use quite some generators :)
10:34:16
@drupol:matrix.orgPolIf you like generators, you might like this thing: https://github.com/loophp/collection/10:34:40
@drupol:matrix.orgPolIt is basically a collection library fully lazy.10:35:30
@drupol:matrix.orgPolWhich contains ~100 algorithms to transform the data.10:35:47
@drupol:matrix.orgPolIt's extremelly easy to use and play with.10:35:58
@drupol:matrix.orgPolCheck the usage page: https://loophp-collection.readthedocs.io/en/latest/pages/usage.html10:37:03
@drupol:matrix.orgPolThis Fibonacci example is summarizing everything... https://loophp-collection.readthedocs.io/en/latest/pages/usage.html#fibonacci-sequence10:38:02
@drupol:matrix.orgPolWe need a merge here : https://github.com/NixOS/nixpkgs/pull/17716311:29:04
@jtojnar:matrix.orgJan Tojnar
In reply to @drupol:matrix.org
https://github.com/loophp/typed-generators
interesting, does it support shrinking like https://github.com/steos/php-quickcheck?
12:49:43

Show newer messages


Back to Room ListRoom Version: 6