Gocha Ossinkine

Results 8 issues of Gocha Ossinkine

### Symfony version(s) affected 5.4 ### Description If I call deprecated method or method with deprecated behavior and it calls `trigger_deprecation` for throwing error, these errors are considered as indirect...

Bug
PhpUnitBridge
Status: Needs Review

# Bug report According to [documentation](https://www.php.net/manual/en/iterator.key.php) `Iterator::key` returns scalar or null. But if we use a such iterator in `array_map(function() {}, iterator_to_array($iterator))` PHPStan throws the error `Parameter #2 $array of...

bug

Add type of cached items to improve type checking

Example ```php class Test extends \PHPUnit\Framework\TestCase { public function testAssertVariable() { $foo = null; $value = new \stdClass(); $mock = $this->getMockBuilder('Foo')->setMethods(['update'])->getMock(); $mock->method('update')->willReturnCallback(function () use (&$foo, $value) { $foo = $value;...

bug

| Q | A | ---------------- | ----- | Bug report? | no | Feature request? | yes | BC Break report? | no | RFC? | no | Version/Branch...

feature

Closes #4896 Now `new_line_for_chained_calls` do the same fixes as `no_multi_line` except chaining calls. Also it fixes wrong idententions in chainig calls: ```php // before $foo ->bar() ; // after $foo...

kind/bug

- [x] Waiting for #169 - [x] Tests needed

On first request the page is loaded successfully. But second time (page already in cache) fatal error is thrown: > RuntimeException: google\protobuf\FileOptions class does not find in .../vendor/protocolbuffers/protoc-gen-php/proto/autoload.php on line...