Sergei Predvoditelev

Results 198 issues of 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.

bug

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...

type:enhancement

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...

type:enhancement
magic

Entity: ```php final class Entity { /** @var int */ public $id; /** @var DateTimeImmutable */ public $createDate; } ``` Schema: ```php 'entity' => [ Schema::ENTITY => Entity::class, Schema::TABLE =>...

status:wontfix
magic

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...

enhancement
help wanted

![Screenshot from 2022-08-12 08-22-02](https://user-images.githubusercontent.com/9439043/184289967-f4c4bd48-1778-4894-b718-2a21b722d8c8.png) ![Screenshot from 2022-08-12 08-21-49](https://user-images.githubusercontent.com/9439043/184289978-575a08ab-1ecc-421a-a2bc-90d9a60a79a5.png) 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