| 10 Jun 2022 |
etu | oh, somehow I missed that lol | 07:59:37 |
Pol | This is so sad... *-darwin are always so slow :( | 08:09:13 |
Andreas 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 |
Pol | 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 | I didn't say that | 10:28:21 |
Pol | Ah right. | 10:28:33 |
etu | I 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 |
Pol | (anymore) | 10:28:57 |
etu | But that update should still be applied to the release branch | 10:28:59 |
Pol | Oki job done. | 10:29:01 |
Pol | I removed the commit related to php74 | 10:29:10 |
Pol | Goodbye little angel ! | 10:29:15 |
etu | :) | 10:29:18 |
etu | I'm still looking forward to upgrade from PHP 7.3 at work 😉 | 10:29:47 |
Pol | Ouch :S | 10:29:54 |
Pol | On 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 |
Pol | https://github.com/loophp/typed-generators | 10:30:34 |
etu | We're soon running everything in containers, it will be an easier upgrade at that point :) | 10:31:02 |
Pol | The data generated by this tool is fully typed and understood by PSalm/PHPStan. | 10:31:19 |
etu | It will be easier to upgrade each project one by one | 10:31:20 |
Pol | So it means that you can create any shape you want, it will be correctly interpreted by those static analysis tools. | 10:31:23 |
etu | In reply to @drupol:matrix.org https://github.com/loophp/typed-generators Wow, that looks useful, we use quite some generators :) | 10:34:16 |
Pol | If you like generators, you might like this thing: https://github.com/loophp/collection/ | 10:34:40 |
Pol | It is basically a collection library fully lazy. | 10:35:30 |
Pol | Which contains ~100 algorithms to transform the data. | 10:35:47 |
Pol | It's extremelly easy to use and play with. | 10:35:58 |
Pol | Check the usage page: https://loophp-collection.readthedocs.io/en/latest/pages/usage.html | 10:37:03 |
Pol | This Fibonacci example is summarizing everything... https://loophp-collection.readthedocs.io/en/latest/pages/usage.html#fibonacci-sequence | 10:38:02 |
Pol | We need a merge here : https://github.com/NixOS/nixpkgs/pull/177163 | 11:29:04 |
Jan 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 |