imposter icon indicating copy to clipboard operation
imposter copied to clipboard

Wrapping all composer vendor packages inside your own namespace. Intended for WordPress plugins

Results 14 imposter issues
Sort by recently updated
recently updated
newest added

Bumps [codeception/codeception](https://github.com/Codeception/Codeception) from 4.1.20 to 4.2.2. Release notes Sourced from codeception/codeception's releases. 4.2.2 Propagate --ext and --override parameters to included test suites (#6536) Fixed false negative message about stecman/symfony-console-completion package...

dependencies

Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) from 3.6.0 to 3.7.1. Release notes Sourced from squizlabs/php_codesniffer's releases. 3.7.1 Fixed bug #3609: Methods/constants with name empty/isset/unset are always reported as error Thanks to Juliette Reinders Folmer...

dependencies

Bumps [guzzlehttp/psr7](https://github.com/guzzle/psr7) from 1.8.2 to 1.8.5. Release notes Sourced from guzzlehttp/psr7's releases. 1.8.5 See change log for changes. 1.8.4 See change log for changes. 1.8.3 See change log for changes....

dependencies

Currently [`class_alias`](http://www.php.net/manual/en/function.class-alias.php) is not supported. I need this because I would like to use imposter for Twig, but they make use of `class_alias`, for example here: https://github.com/twigphp/Twig/blob/2.x/src/Environment.php#L995 I think the...

PHP Fatal error: Uncaught Error: Class 'AZGFDRIVE\Vendor\Monolog\Logger' not found All seemed to go well. My prefix was added everywhere in vendor directory as expected. But when Logger is called, the...

This PR adds a simple filter to include only PHP files and to exclude VCS directories (e.g. .git, .svn, etc)

Modify https://github.com/Roave/FunctionFQNReplacer to perform search and replace. Main difference: https://github.com/Roave/FunctionFQNReplacer/blob/master/src/NodeVisitor/ReplaceUnqualifiedFunctionCallsWithQualifiedReferences.php#L123-L137

Hi! I have added a test case and implementation to support PHP traits as requested here #111 and #149. Instead of backwards-referencing in a Regexp to check if the `use`...

Trait: ```php namespace Package\Section; use Package\Traits class Example { use Traits\Common; } ``` Gets replaced with: ```php namespace Imposter\Prefix\Package\Section; use Imposter\Prefix\Package\Traits class Example { use Imposter\Prefix\Traits\Common; } ``` We could...

Let's assume we have a package with: ``` "autoload": { "files": [ "src/functions.php" ] }, ``` Where this `functions.php` file content is: ```php namespace PackageName function my_func() {} ``` Now,...