Sergei Predvoditelev
Sergei Predvoditelev
[Here](https://github.com/sebastianbergmann/global-state/blob/c85828d1d84f2ac9e62469f5ec185f8cdb200e9d/src/Restorer.php#L135) should be `array_key_exists` instead of `isset`. -- For example, before test I have `$_ENV['MY_VAR'] = null`. In second test element `$_ENV['MY_VAR']` already not exists.
Now for set charset need use so configuration: ``` 'connections' => [ 'mysql' => [ 'connection' => 'mysql:host=localhost;dbname=xxx;charset=utf8mb4', 'username' => 'root', 'password' => 'root', 'options' => [ \PDO::MYSQL_ATTR_INIT_COMMAND => 'SET...
For example, entity: ```php class Thread { private ThreadId $id; private string $name; } ``` ... and embedding: ```php class ThreadId { private $id; } ``` [Yet example](https://github.com/ElisDN/rabbit-demo-spa/blob/8478a211c499377fa876bd5ac19eb47d4c7af554/api/src/Model/User/Entity/User/UserId.php). ---- This...
Entity: ```php final class Entity { /** @var int */ public $id; /** @var DateTimeImmutable */ public $createDate; } ``` Schema: ```php 'entity' => [ Schema::ENTITY => Entity::class, Schema::TABLE =>...
Example: ```php abstract class X { final public function test(string $var): self } ``` changed to: ```php abstract class X { final public function test(?string $var): self } ``` result...
  I find it somewhat inconsistent. Mb it'd be worth picking out common keys into, say, messages/common ```php return [ 'layout.language.english' => 'English',...
| Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ❌ | Breaks BC? | ✔️ | Fixed issues | -
Now in ViewRenderer added parameter "csrf" to all views and added parameter "user" to layout. For add another parameters (for example, add "canonicalLink" or Facebook Open Graph Markup parameters to...
Example: https://psalm.dev/r/8e58844e60