Jan Nedbal

Results 99 issues of Jan Nedbal

After update to PHP7 on Windows I tried to use ftps instead of ftp protocol since openssl is bundled in php, but deployment with ftps protocol doesn't work as expected....

# Bug report I'm getting following error in a phpunit test that looks like this. Using bleeding edge on 1.7.1, assuming this is a bug of https://github.com/phpstan/phpstan-src/pull/1319. Using phpstan/phpstan-phpunit version...

bug

I want to point out multiple imperfections of query result type inference on this MR.

See following example, not sure this is possible to support or not. ```php $query = $em->createQueryBuilder() ->addSelect('COUNT(m.id) AS count, m.intColumn') ->from(Many::class, 'm') ->join('m.one', 'o') ->groupBy('intColumn'); // m.intColumn works assertType( 'array',...

- See result of functions [here](https://github.com/phpstan/phpstan-doctrine/pull/270/files#diff-28394df5dba3e85fe86f9c8d9b05d6087fe897d0efa1d0c0ad3533a1f0252b99R347) and [here](https://github.com/phpstan/phpstan-doctrine/pull/270/files#diff-28394df5dba3e85fe86f9c8d9b05d6087fe897d0efa1d0c0ad3533a1f0252b99R376). I hope I'm not mistaken, but those functions (COUNT, SUM, AVG, MIN, MAX, LENGTH) should always return int, do they not? Those...

If I do not have any route with `` parameter and use `->link(this)` or just some `UI\Form` in Error presenter I get an error in log `PHP User Warning: Invalid...

Docs says _"Later we learn that tests run in parallel."_, but what is running in parallel? Each test file? Each TestCase class? Each test method in TestCase class? This is...

Type: Enhancement
Area: Tester

# Bug report Only booleans are reported in or, but not in xor. ### Code snippet that reproduces the problem https://phpstan.org/r/eccd9f25-9c42-433d-9db4-a4d28fbfb278 ### Expected output Boolean needed error.

Following record definition causes failure: ```java public record MyRequest(DateRange dateRange) { public MyRequest(final String startDate) { this(new DateRange(startDate)); } public record DateRange(String startDate) {} } ``` Callstack: ``` error-prone version:...