Browse Source

Fix #18205: Add `.phpstorm.meta.php` file for better auto-completion in PhpStorm

tags/2.0.37
Sergei Predvoditelev 4 years ago committed by GitHub
parent
commit
a496eeaf83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 26
      framework/.phpstorm.meta.php
  2. 1
      framework/CHANGELOG.md

26
framework/.phpstorm.meta.php

@ -0,0 +1,26 @@
<?php
// .phpstorm.meta.php
namespace PHPSTORM_META {
override(
\yii\di\Container::get(0),
map([
'' => '@',
])
);
override(
\yii\di\Instance::ensure(0),
map([
'' => '@',
])
);
override(
\Yii::createObject(0),
map([
'' => '@',
])
);
}

1
framework/CHANGELOG.md

@ -8,6 +8,7 @@ Yii Framework 2 Change Log
- Bug #18170: Fix 2.0.36 regression in passing extra console command arguments to the action (darkdef) - Bug #18170: Fix 2.0.36 regression in passing extra console command arguments to the action (darkdef)
- Bug #18182: `yii\db\Expression` was not supported as condition in `ActiveRecord::findOne()` and `ActiveRecord::findAll()` (rhertogh) - Bug #18182: `yii\db\Expression` was not supported as condition in `ActiveRecord::findOne()` and `ActiveRecord::findAll()` (rhertogh)
- Bug #18189: Fix "Invalid parameter number" in `yii\rbac\DbManager::removeItem()` (samdark) - Bug #18189: Fix "Invalid parameter number" in `yii\rbac\DbManager::removeItem()` (samdark)
- Enh #18205: Add `.phpstorm.meta.php` file for better auto-completion in PhpStorm (vjik)
2.0.36 July 07, 2020 2.0.36 July 07, 2020

Loading…
Cancel
Save