Skip to content

Commit

Permalink
[MOOSE-169]: [MOOSE-169] Add PHPStorm meta file so Storm knows how to…
Browse files Browse the repository at this point in the history
… map classes using our DI system.
  • Loading branch information
dpellenwood committed Nov 22, 2024
1 parent c5b1a7f commit 7b715ae
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Thumbs.db
.DS_Store
.idea
pimple.json
.phpstorm.meta.php

# IDE generated files #
######################
Expand Down
18 changes: 18 additions & 0 deletions .phpstorm.meta.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php declare(strict_types=1);

// .phpstorm.meta.php
namespace PHPSTORM_META {

override( \Psr\Container\ContainerInterface::get( 0 ), map( [
'' => '@',
] ) );
override( \DI\Container::get( 0 ), map( [
'' => '@',
] ) );
override( \DI\FactoryInterface::make( 0 ), map( [
'' => '@',
] ) );
override( \DI\Container::make( 0 ), map( [
'' => '@',
] ) );
}

0 comments on commit 7b715ae

Please sign in to comment.