Skip to content

Commit a496eea

Browse files
authored
Fix #18205: Add .phpstorm.meta.php file for better auto-completion in PhpStorm
1 parent d0a1a04 commit a496eea

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

framework/.phpstorm.meta.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
// .phpstorm.meta.php
3+
4+
namespace PHPSTORM_META {
5+
6+
override(
7+
\yii\di\Container::get(0),
8+
map([
9+
'' => '@',
10+
])
11+
);
12+
13+
override(
14+
\yii\di\Instance::ensure(0),
15+
map([
16+
'' => '@',
17+
])
18+
);
19+
20+
override(
21+
\Yii::createObject(0),
22+
map([
23+
'' => '@',
24+
])
25+
);
26+
}

framework/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Yii Framework 2 Change Log
88
- Bug #18170: Fix 2.0.36 regression in passing extra console command arguments to the action (darkdef)
99
- Bug #18182: `yii\db\Expression` was not supported as condition in `ActiveRecord::findOne()` and `ActiveRecord::findAll()` (rhertogh)
1010
- Bug #18189: Fix "Invalid parameter number" in `yii\rbac\DbManager::removeItem()` (samdark)
11+
- Enh #18205: Add `.phpstorm.meta.php` file for better auto-completion in PhpStorm (vjik)
1112

1213

1314
2.0.36 July 07, 2020

0 commit comments

Comments
 (0)