thomascorthals

Results 10 issues of thomascorthals

If we want to support JSON updates alongside XML updates, it no longer makes sense to have the Adapters set a default Content-Type for POSTs. There were already a number...

As discussed in issue #992 / PR #994, JSON updates are necessary to index single nested child documents. They also open up atomic update functionality for nested documents that isn't...

New feature

As suggested by @mkalkbrenner in #899 there are some adjusments we could adopt from search_api_solr.

This is my first shot at JSON Update requests. I didn't write any integration tests yet, hoping to get some early feedback first. Can be merged without integration tests IMHO...

Four changes to the tests: * Workaround for [SOLR-17176](https://issues.apache.org/jira/browse/SOLR-17176) that causes test failures against Solr 9.5 * Updated test for [SOLR-6853](https://issues.apache.org/jira/browse/SOLR-6853) workaround to test a fix introduced in Solr 9.4.1...

[.andSelf()](https://api.jquery.com/andself/) was deprecated in jQuery 1.8 and removed in jQuery 3.0. [.addBack()](https://api.jquery.com/addBack/) should be used instead from jQuery 1.8 onward.

### Bug report When calling `filter_var()` with an `array` argument and the `FILTER_REQUIRE_ARRAY` option, PHPStan assumes it can return `array|false`. In reality it always returns an array. If every element...

There's nothing backward incompatible for us in version 7. I've been running it like that for a while in a production environment without issues and the integration tests all pass....

### Bug report [$http_response_header](https://www.php.net/manual/en/reserved.variables.httpresponseheader.php) is deprecated in PHP 8.5.0. PHPStan doesn't report this deprecation. ### Code snippet that reproduces the problem https://phpstan.org/r/8da77505-4474-4aa5-99d9-e29c4776acc5 ### Expected output Deprecation should be reported. ###...

A new major version is the perfect opportunity to do some overhaul on the codebase. I've replaced the type hints with actual type declarations on class properties (introduced in PHP...