Dominic Rubas

Results 15 issues of Dominic Rubas

I'm playing around with `react-babylonjs` and `babylonjs-hook` with nextjs. I noticed that this library imports all lot from the core bundle instead of using the corresponding ES6 package. But sometimes...

# Source ``` {% block content %} (function () { var d = document, s = d.createElement('script'); })(); {% endblock %} ``` # Problem `vendor/bin/prettydiff.sh test.twig` ``` test/node_modules/prettydiff/js/prettydiff.js:10983 : tagName(data.token[data.begin[parse.count]].toLowerCase())...

### Source - test.txt.twig ``` #test.txt test #[email protected] {{ foo }} test.com, 111, DIRECT test.com, 111, DIRECT ``` ### Output ``` Error: Library prettydiff.beautify.markdown does not exist. ``` --- 🛑Whatever...

### Source ``` {% for term in post.get_terms('post_tag') %} {{ term.name }}{% if not loop.last %}, {% endif %} {% endfor %} ``` ### Result after beautify ``` {% for...

## 1. Hash ### Source ` {% include 'any.twig' with { 'foo':bar} %}` ### Expected ` {% include 'any.twig' with { 'foo': bar } %}` ### Result `{% include 'any.twig'...

Enhancement

**With PHP 8.1...** Deprecated: Return type of Timber\QueryIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in `vendor/timber/timber/lib/QueryIterator.php on...

2.x Future

Xmerl is needed by exrm. I would expect to be able to run exrm without adding any packages in a dev environment.

## Error `Fatal error: Uncaught Error: Object of class WP_Term could not be converted to string in /query-monitor/collectors/theme.php on line 119` ## Reproduce 1. Define a taxonomy called `sidebar` 2....

collector:theme

### Expected Behavior ```twig {% set posts = get_posts({'post_type': 'not_existing'}) %} {% if posts %} This is false {% endif %} {% if posts is not empty %} This is...

has-patch
2.x Future

Related: #2914 ## Issue An empty array is falsy in PHP, which allow's Twig's if to tests if an array is empty [Doc](https://twig.symfony.com/doc/3.x/tags/if.html). This doesn't work, if you have a...

2.x Future