Michael Strelan

Results 12 issues of Michael Strelan

Would it be possible to generate XML output? I'm trying to use JSONPath on the JSON output and having trouble selecting ancestors after filtering. Seems this is only possible in...

## Describe the bug When running FunctionalJavascriptTests with a default setup I see the following error: ``` 1) Drupal\FunctionalJavascriptTests\Ajax\AjaxCallbacksTest::testDateAjaxCallback WebDriver\Exception\UnknownError: unable to set cookie (Session info: headless chrome=74.0.3729.157) (Driver info:...

Is it just me or is it really difficult to change slides? It seems you have to very particular in your swiping motion and timing. Immediately after completing a swipe...

bug

It would be good if this script would allow converting subtitles also. Example ffmpeg usage: `C:\ffmpeg.exe -i "D:\input.mkv" -vcodec copy -acodec copy -scodec mov_text -map 0 D:\output.mp4` MP4 output requires...

Would be good if the MediaStreamInfo object had a language code.

Failing test for #1647

Is it possible to enforce multi-line attribute arguments? Example from https://github.com/squizlabs/PHP_CodeSniffer/issues/3656: Before: ``` #[OA\Post(path: '/users/register', description: 'Create an user account')] ``` After: ``` #[OA\Post( path: '/users/register', description: 'Create an user...

Enhancement

# Feature request `\Drupal\Core\Config\Config::get` returns mixed. Given the following code in a functional test: ``` $theme = $this->config('system.theme')->get('default'); $this->assertStringContainsString('foo', $theme); ``` When I analyze it with phpstan level 9 I...

enhancement

### Bug report I followed the instructions on https://phpstan.org/blog/debugging-performance-identify-slow-files to identify the slowest analysis in Drupal core. It identified [InstallHelper](https://git.drupalcode.org/project/drupal/-/blob/11.0.0-rc1/core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php?ref_type=tags) as the slowest file, taking 11.45 s. ``` /home/michael/drupal/core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php ---...

performance

Fixes the following issue (and other similar issues) when `checkFunctionArgumentTypes: true` is enabled ``` Parameter #1 $items of method Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceFormatterBase::getEntitiesToView() expects Drupal\Core\Field\EntityReferenceFieldItemListInterface, Drupal\Core\Field\FieldItemListInterface given. ```