Kieran
Kieran
Source: https://github.com/yadakhov/insert-on-duplicate-key/blob/master/src/InsertOnDuplicateKey.php#L207 Example: `insertOnDuplicateKey(..., [ 'col' => 'value' ])` This just sticks 'value' straight into the SQL without sanitisation: `ON DUPLICATE KEY UPDATE col = value` @yadakhov
If you're looping over `getContents()` and want to remove items from the `CSSList` it would be more performant to remove items by the key given it's already known. The current...
If you download an email with a large attachment (30M, for example), and disconnect your local network interface mid way through https://github.com/bytestream/Imap_Client/blob/ac98de92168777fb8bf0bacf3129fc178523defe/lib/Horde/Imap/Client/Socket/Connection/Socket.php#L186 then Horde hangs indefinitely. `feof` hangs indefinitely when...
`Horde_Imap_Client_Data_Format_Mailbox_MailboxTest::testBadInput` fails on PHP 8.2. This is due to `mb_convert_encoding("foo\0", 'UTF7-IMAP', 'UTF-8');` producing `foo&AAA-` on PHP 8.2, and `foo\0` on prior versions. See https://onlinephp.io/c/20a6. The change in data means the...
Given valid HTML5 (according to https://validator.nu/) `CSSInliner` converts `hello world` to `hello world` ```php
ref; https://github.com/Masterminds/html5-php
https://cdnjs.com/libraries/jquery-validate/1.20.1 returns no files. The files are present in https://github.com/jquery-validation/jquery-validation/tree/1.20.1/dist I accidentally pushed the tag without the `dist` directory but have since deleted and pushed the correct tag. Is it...
Related Ticket: Description of Changes: The `table.border` attribute is not valid in HTML5. HTML5 is now the the default doctype for TinyMCE so it does not make sense to use...
### Description ``` OpenAI\Responses\Models\ListResponse::from(): Argument #1 ($attributes) must be of type array, string given, called in /vendor/openai-php/client/src/Resources/Models.php on line 30 ``` https://github.com/openai-php/client/blob/061a73827795d01a4fab1a580e08bc5b92d90999/src/Resources/Models.php#L30 [`$response->data()`](https://github.com/openai-php/client/blob/061a73827795d01a4fab1a580e08bc5b92d90999/src/ValueObjects/Transporter/Response.php#L48) returns `array|string` but `ListResponse::from()` only accepts `array`....
### Laravel Version 11.28.1 ### PHP Version 8.3.12 ### Database Driver & Version _No response_ ### Description Calling `Artisan::call('queue:work')` multiple times results in the [`JobFailed` event listener](https://github.com/laravel/framework/blob/11.x/src/Illuminate/Queue/Console/WorkCommand.php#L187) being bound multiple...