Jan Nedbal

Results 85 comments of Jan Nedbal

@dg Any hints what should I try to help resolve this issue?

Actually, this is more PHP problem than Wedos problem. After contacting their support I found that they require `SSL session reuse`, which is not implemented in PHP. Similar problem reported...

@dg So if you don't want to use alternative ftp client implementation, we can close this issue... --- _edit_: Or maybe there might be some better error when this occurs.

The only one client which uses sockets I found is [ngyuki/php-ftp-client](https://github.com/ngyuki/php-ftp-client), but it doesn't support ftps. I'll try to find some time to send PR.

@JanTvrdik I don't like the intention. If you want to periodically test other mailers, include it in your CI or cron task. IMHO fallback mailer should be used in "emergency"...

It was too simplified, there are some facade calls in between, so it is not impossible. It is just the non-disablable [remembering value feature](https://phpstan.org/blog/remembering-and-forgetting-returned-values) again :(

This issue should be solvable by ``` rememberPossiblyImpureFunctionValues: false ``` since [1.8.0](https://github.com/phpstan/phpstan/releases/tag/1.8.0). But that might be problematic to do in existing projects.

This should be super simple with custom phpstan rule: ```php use PhpParser\Node\Expr\Variable; use PhpParser\Node; use PHPStan\Analyser\Scope; use PHPStan\Rules\Rule; /** * @implements Rule */ class CamelCaseFieldNamingRule implements Rule { public function...