Marek Bartoš
Marek Bartoš
In comparation with other http (client) implementations I really like PSR-7/17/18 has method for everything, instead of building request from a huge array. One method I am missing is for...
Hello, I just found condition that I believe could be simplified to nullsafe call automatically. From: ```php if ($this->paginator !== null) { $this->paginator->setItemsPerPage($this->itemsPerPage); } ``` To: ```php $this->paginator?->setItemsPerPage($this->itemsPerPage); ``` Feel...
| Question | Answer | ------------| --------------- | Infection version | 0.17.5 | Test Framework version | PHPUnit 9.2.6 | PHP version | 7.4.4 | Platform | Debian (via Windows...
Parentheses in callables in some cases create unexpected results, like `(Closure(): int|null)` changing to `(Closure(): int)|null` https://phpstan.org/r/f0db1360-c01a-4884-8c17-1caa7d464852
Just first baby steps to make PHPStan happy about analyzing generated DIC
- new feature 🎉 - BC break? no - doc PR: Okay, but later please. Any key in neon can be validated with neon-defined [nette/schema](https://github.com/nette/schema), via `SchemaExtension`: ```neon extensions: schema:...
As @fprochazka firstly mentioned in #34, current api for form translations is inconsistent and not enough. For example: - `getLabel()` does not accept translation parameters (I have usecase with 3...
- bug fix (hopefully fix for https://forum.nette.org/cs/35361-cannot-configure-read-and-close-for-already-started-session) - BC break? no Session class throws exception if session is started and option read_and_close is set. https://github.com/nette/http/blob/0679e7c51a76a2db1da0804b99c83eb3152d84b3/src/Http/Session.php#L401-L404 SessionExtension breaks compatibility with other...
- BC break: no - doc PR: not needed Moved headers configuration from initialize() method of DIC to Response service setup. Useful for applications with multiple http layer implementations (we...
- new feature - BC break? no This is minimal change needed in Nette in order to support NOT using mapping and to reference class directly instead. ```php $this->linkGenerator->link(self::class ....