Title: PHP.Generic.BadPattern.5 warning in container.php
Last modified: June 24, 2020

---

# PHP.Generic.BadPattern.5 warning in container.php

 *  Resolved [dknut](https://wordpress.org/support/users/dknut/)
 * (@dknut)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/php-generic-badpattern-5-warning-in-container-php/)
 * VaultPress message. False positive? What do you think?
    Regards, Dknut

Viewing 1 replies (of 1 total)

 *  Plugin Author [Micah Wood](https://wordpress.org/support/users/wpscholar/)
 * (@wpscholar)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/php-generic-badpattern-5-warning-in-container-php/#post-13030142)
 * [@dknut](https://wordpress.org/support/users/dknut/) From the research that I’ve
   done, it seems to be a false positive. This issue seems to be related to dynamic
   function calls; which is a common pattern when using dependency injection containers.
    -  This reply was modified 5 years, 11 months ago by [Micah Wood](https://wordpress.org/support/users/wpscholar/).

Viewing 1 replies (of 1 total)

The topic ‘PHP.Generic.BadPattern.5 warning in container.php’ is closed to new replies.

 * ![](https://ps.w.org/mpress-hide-from-search/assets/icon-256x256.png?rev=2286584)
 * [Hide from Search](https://wordpress.org/plugins/mpress-hide-from-search/)
 * [Support Threads](https://wordpress.org/support/plugin/mpress-hide-from-search/)
 * [Active Topics](https://wordpress.org/support/plugin/mpress-hide-from-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mpress-hide-from-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mpress-hide-from-search/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Micah Wood](https://wordpress.org/support/users/wpscholar/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/php-generic-badpattern-5-warning-in-container-php/#post-13030142)
 * Status: resolved