Alex

Results 21 issues of Alex

DB Postgresql 13 ``` *** applying m161114_094902_add_url_column_to_comment_table > add column url text to table {{%comment}} ...Exception 'yii\db\Exception' with message 'SQLSTATE[42701]: Duplicate column: 7 ERROR: column "url" of relation "comment" already...

Please Current version repository is `0.3.0` In to the CHANGELOG `0.1.2`

```php class User extends Model { public function rules() { return [ [['login'], 'string'], [['login'], 'loginValidator'], [['login'], '\yii\validators\UniqueValidator'], ]; } public function loginValidator($attribute) { // ... } } ``` Было...

difficult

| Q | A | ------------- | --- | Is bugfix? | ✔️ | New feature? | ❌ | Breaks BC? | ❌ | Fixed issues | https://github.com/yiisoft/yii2/issues/19589

### What steps will reproduce the problem? error_reporting | strrpos(): Passing null to parameter #1 ($haystack) of type string is deprecated -- | -- line | 209 code | 8192...

```php $target = array( true, array( "variable1" => 100000, "variable2" => "Hello, World!", "Hello!" ), 0.234, 0, null, 590834290589032580 ); $encoded_data = \CBOR\CBOREncoder::encode($target); $decoded_variable = \CBOR\CBOREncoder::decode($encoded_data); var_dump($decoded_variable); ``` Response: ```...

| Q | A | ------------- | --- | Is bugfix? | ✔️ | New feature? | ❌ | Breaks BC? | ❌ | Fixed issues | #20055

enhancement

https://github.com/LAV45/yii2-translated-behavior/blob/master/src/TranslatedBehavior.php#L245 В большинстве случаев currentTranslate используется как проксирующая связь и не обязательно получать экземпляр класса.

enhancement