Alexander

Results 9 comments of Alexander

Faced the same problem in Firefox web extension content script. ```js const encodedText = new TextEncoder().encode('some text'); // ok const buffer = new Uint8Array(encodedText.buffer); // ok, but seems like some...

Same for chrome.storage.set in extension content scripts using manifest v3. await chrome.storage.set returns successfully, but data is not actually written.

Fixed. https://phpstan.org/r/c4d40f36-6135-4d5b-9cc7-3c8dd6e3c70d

I see, that those variants were already described: https://github.com/phpstan/phpstan/issues/1934#issuecomment-468720004

Ok, seems like PHP type hinting for getTimeZone is obsolete. At least I didn't find reasonable way to get false value from https://github.com/php/php-src/blob/c8920aaf94c5825647775d46b08cf526f075503e/ext/date/php_date.c

I would also look at the following code: ``` elseif svar == 'script_filename' then -- %{SCRIPT_FILENAME} replace = ngx.var['fastcgi_script_name'] if not replace or replace == '' then replace = ngx.var['request_filename']...

@shmax, multiline comments would be really great feature. We are grateful to you for all the efforts.

To my mind, multiline comments are necessary everywhere. Array shape, object shape, regular tags. It's normal practice to be able to describe something using ascii-graphics, a few sentences or some...

Faced the same bug, thank you, ghost.