Игорь Тарасов
Игорь Тарасов
Curl transport provide transparent content deflating and cookies persistence. Ok, but what about caching feature. For example I use this in my project: ```php
The code: ```php $request = (new Client())->get('http://test.site'); $request->cookies->add(new Cookie(['name' => 'name1', 'value' => 'value1'])); echo $request->toString(); ``` Produce next output: ``` GET http://test.site ``` There is no Cookie header. But...
In StreamTransport::send() ```php public function send($request) { $request->beforeSend(); $request->prepare(); ... ``` Also in Request::beforeSend() ```php public function beforeSend() { $this->client->beforeSend($this); $event = new RequestEvent(); ... ```` We need to handle...
For shared caches, like APCu, Memcache, the defaut behaviour require to use keyPrefix, because of interpolability of hosting application, which share caches. So, defult configuration is not usabled. I'm proposing...
```php class TestModel extends Model { public $myfield; } $model = new TestModel([ 'myfield' => 1 ]); $model->addError('myfield', 'Test ERROR'); $form = ActiveForm::begin(); echo $form->field($model, 'myfield')->radioList([1 => 1, 2 =>...
```php class TestModel extends Model { public $myfield; } $model = new TestModel(['myfield' => 1]); $form = ActiveForm::begin(); echo $form->field($model, 'myfield')->radioList([ 1 => 1, 2 => 2]); ``` Produce this...
Missing inputOptions in \yii\bootstrap4\ActiveField::staticControl ```php public function staticControl($options = []) { + $options = array_merge($this->inputOptions, $options); $this->adjustLabelFor($options); $this->parts['{input}'] = Html::activeStaticControl($this->model, $this->attribute, $options); return $this; } ``` Yii version - 2.0.23...
Added @phpdoc tags for code inspector work in IDE.
- Issue Type: `Performance` - Extension Name: `auto-close-tag` - Extension Version: `0.5.6` - OS Version: `Linux x64 4.9.0-9-amd64` - VSCode version: `1.32.1` :warning: Make sure to **attach** this file from...
[Enter feedback here] `skip-definer` option does not exists in `mysqldump`. This option only in `mysqlPump` --- #### Document Details ⚠ *Do not edit this section. It is required for learn.microsoft.com...