=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== php-proxy-manager-2.2.3/CHANGELOG.md-99- [#308](https://github.com/Ocramius/ProxyManager/issues/308) php-proxy-manager-2.2.3/CHANGELOG.md:100:- PHP 7.0.7 contains additional limitations as to when `$this` can be used. Specifically, `$this` cannot be used as a php-proxy-manager-2.2.3/CHANGELOG.md:101: parameter name for closures that have an already assigned `$this`. Due to `$this` being incorrectly used as parameter php-proxy-manager-2.2.3/CHANGELOG.md-102- name within this library, running ProxyManager on PHP 7.0.7 would have caused a fatal error. ############################################## php-proxy-manager-2.2.3/CHANGELOG.md-210- php-proxy-manager-2.2.3/CHANGELOG.md:211:eval('<?php ' . $proxyClass->generate()); php-proxy-manager-2.2.3/CHANGELOG.md-212- ############################################## php-proxy-manager-2.2.3/UPGRADE.md-39- at [Ocramius/GeneratedHydrator](https://github.com/Ocramius/GeneratedHydrator) [#65](https://github.com/Ocramius/ProxyManager/pull/65) php-proxy-manager-2.2.3/UPGRADE.md:40: * When having a `public function __get($name)` defined (by-val) and public properties, it won't be possible to get public php-proxy-manager-2.2.3/UPGRADE.md-41- properties by-ref while initializing the object. Either drop `__get()` or implement ############################################## php-proxy-manager-2.2.3/UPGRADE.md-51- php-proxy-manager-2.2.3/UPGRADE.md:52: * An optional parameter `$options` was introduced php-proxy-manager-2.2.3/UPGRADE.md:53: in [`ProxyManager\Inflector\ClassNameInflectorInterface#getProxyClassName($className, array $options = array())`](https://github.com/Ocramius/ProxyManager/blob/master/src/ProxyManager/Inflector/ClassNameInflectorInterface.php) php-proxy-manager-2.2.3/UPGRADE.md-54- parametrize the generated class name as of [#10](https://github.com/Ocramius/ProxyManager/pull/10) ############################################## php-proxy-manager-2.2.3/UPGRADE.md-75- * Moved code generation logic to [`Zend\Code`](https://github.com/zendframework/zf2) php-proxy-manager-2.2.3/UPGRADE.md:76: * Added method [`ProxyManager\Inflector\ClassNameInflectorInterface#isProxyClassName($className)`](https://github.com/Ocramius/ProxyManager/blob/master/src/ProxyManager/Inflector/ClassNameInflectorInterface.php) php-proxy-manager-2.2.3/UPGRADE.md-77- * The constructor of [`ProxyManager\Autoloader\Autoloader`](https://github.com/Ocramius/ProxyManager/blob/master/src/ProxyManager/Autoloader/Autoloader.php) php-proxy-manager-2.2.3/UPGRADE.md:78: changed from `__construct(\ProxyManager\FileLocator\FileLocatorInterface $fileLocator)` to php-proxy-manager-2.2.3/UPGRADE.md:79: `__construct(\ProxyManager\FileLocator\FileLocatorInterface $fileLocator, \ProxyManager\Inflector\ClassNameInflectorInterface $classNameInflector)` php-proxy-manager-2.2.3/UPGRADE.md-80- * Classes implementing `CG\Core\GeneratorStrategyInterface` now implement ############################################## php-proxy-manager-2.2.3/docs/access-interceptor-scope-localizer.md-54- * In all interceptor methods (see [access interceptor value holder](access-interceptor-value-holder.md)), php-proxy-manager-2.2.3/docs/access-interceptor-scope-localizer.md:55: the `$instance` passed in is the proxy itself. There is no way to gather a reference to the php-proxy-manager-2.2.3/docs/access-interceptor-scope-localizer.md-56- original object right now, and that's mainly to protect from misuse. ############################################## php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-144- * an (array) cast of an object would provide: php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md:145: * - `"\0Ns\\ClassName\0propertyName"` for `private $propertyName` php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-146- * defined on `Ns\ClassName` php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md:147: * - `"\0Ns\\ClassName\0propertyName"` for `protected $propertyName` php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-148- * defined in any level of the hierarchy php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md:149: * - `"propertyName"` for `public $propertyName` php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-150- * defined in any level of the hierarchy ############################################## php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-182- php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md:183:### Lazy initialization `$properties` explained php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-184- ############################################## php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-187-casting an object to an array. php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md:188:`ProxyManager` simply copies a reference to the properties into the `$properties` array passed to the php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-189-initializer, which allows you to set the state of the object without accessing any of its public ############################################## php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-193- php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md:194: * `"\0Ns\\ClassName\0propertyName"` means `private $propertyName` defined in `Ns\ClassName`; php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md:195: * `"\0*\0propertyName"` means `protected $propertyName` defined in any level of the class php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-196- hierarchy; php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md:197: * `"propertyName"` means `public $propertyName` defined in any level of the class hierarchy. php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-198- ############################################## php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-241- php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md:242:This code would initialize `$property1`, `$property2` and `$property3` php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-243-respectively to `"foo"`, `"bar"` and `"baz"`. ############################################## php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-274- php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md:275:Remember to call `$ghostObject->setProxyInitializer(null);`, or to set `$initializer = null` inside your php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-276-initializer closure to disable initialization of your proxy, or else initialization will trigger ############################################## php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-352- php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md:353:If we want to skip the property `$id` from lazy-loading, we might want to tell that to php-proxy-manager-2.2.3/docs/lazy-loading-ghost-object.md-354-the `LazyLoadingGhostFactory`. Here is a longer example, with a more near-real-world ############################################## php-proxy-manager-2.2.3/docs/lazy-loading-value-holder.md-194- php-proxy-manager-2.2.3/docs/lazy-loading-value-holder.md:195:Remember to call `$proxy->setProxyInitializer(null);` to disable initialization of your proxy, or it will happen more php-proxy-manager-2.2.3/docs/lazy-loading-value-holder.md-196-than once. ############################################## php-proxy-manager-2.2.3/src/ProxyManager/Factory/AbstractBaseFactory.php-89- /** php-proxy-manager-2.2.3/src/ProxyManager/Factory/AbstractBaseFactory.php:90: * Generates the provided `$proxyClassName` from the given `$className` and `$proxyParameters` php-proxy-manager-2.2.3/src/ProxyManager/Factory/AbstractBaseFactory.php-91- * ############################################## php-proxy-manager-2.2.3/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php-53- php-proxy-manager-2.2.3/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php:54: eval($code); php-proxy-manager-2.2.3/src/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php-55- ############################################## php-proxy-manager-2.2.3/src/ProxyManager/ProxyGenerator/AccessInterceptorScopeLocalizer/MethodGenerator/Util/InterceptorGenerator.php-23- * It MUST assign the return value to a variable php-proxy-manager-2.2.3/src/ProxyManager/ProxyGenerator/AccessInterceptorScopeLocalizer/MethodGenerator/Util/InterceptorGenerator.php:24: * `$returnValue` instead of directly returning php-proxy-manager-2.2.3/src/ProxyManager/ProxyGenerator/AccessInterceptorScopeLocalizer/MethodGenerator/Util/InterceptorGenerator.php-25- * @param \ProxyManager\Generator\MethodGenerator $method ############################################## php-proxy-manager-2.2.3/src/ProxyManager/ProxyGenerator/AccessInterceptorValueHolder/MethodGenerator/Util/InterceptorGenerator.php-23- * It MUST assign the return value to a variable php-proxy-manager-2.2.3/src/ProxyManager/ProxyGenerator/AccessInterceptorValueHolder/MethodGenerator/Util/InterceptorGenerator.php:24: * `$returnValue` instead of directly returning php-proxy-manager-2.2.3/src/ProxyManager/ProxyGenerator/AccessInterceptorValueHolder/MethodGenerator/Util/InterceptorGenerator.php-25- * @param \ProxyManager\Generator\MethodGenerator $method ############################################## php-proxy-manager-2.2.3/src/ProxyManager/ProxyGenerator/Util/PublicScopeSimulator.php-32- * @param PropertyGenerator $valueHolder name of the property containing the target object from which php-proxy-manager-2.2.3/src/ProxyManager/ProxyGenerator/Util/PublicScopeSimulator.php:33: * to read the property. `$this` if none provided php-proxy-manager-2.2.3/src/ProxyManager/ProxyGenerator/Util/PublicScopeSimulator.php-34- * @param string|null $returnPropertyName name of the property to which we want to assign the result of ############################################## php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/access-interceptor-scope-localizer.md-54- * In all interceptor methods (see [access interceptor value holder](access-interceptor-value-holder.md)), php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/access-interceptor-scope-localizer.md:55: the `$instance` passed in is the proxy itself. There is no way to gather a reference to the php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/access-interceptor-scope-localizer.md-56- original object right now, and that's mainly to protect from misuse. ############################################## php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-144- * an (array) cast of an object would provide: php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md:145: * - `"\0Ns\\ClassName\0propertyName"` for `private $propertyName` php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-146- * defined on `Ns\ClassName` php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md:147: * - `"\0Ns\\ClassName\0propertyName"` for `protected $propertyName` php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-148- * defined in any level of the hierarchy php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md:149: * - `"propertyName"` for `public $propertyName` php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-150- * defined in any level of the hierarchy ############################################## php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-182- php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md:183:### Lazy initialization `$properties` explained php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-184- ############################################## php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-187-casting an object to an array. php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md:188:`ProxyManager` simply copies a reference to the properties into the `$properties` array passed to the php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-189-initializer, which allows you to set the state of the object without accessing any of its public ############################################## php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-193- php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md:194: * `"\0Ns\\ClassName\0propertyName"` means `private $propertyName` defined in `Ns\ClassName`; php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md:195: * `"\0*\0propertyName"` means `protected $propertyName` defined in any level of the class php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-196- hierarchy; php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md:197: * `"propertyName"` means `public $propertyName` defined in any level of the class hierarchy. php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-198- ############################################## php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-241- php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md:242:This code would initialize `$property1`, `$property2` and `$property3` php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-243-respectively to `"foo"`, `"bar"` and `"baz"`. ############################################## php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-274- php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md:275:Remember to call `$ghostObject->setProxyInitializer(null);`, or to set `$initializer = null` inside your php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-276-initializer closure to disable initialization of your proxy, or else initialization will trigger ############################################## php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-352- php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md:353:If we want to skip the property `$id` from lazy-loading, we might want to tell that to php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-ghost-object.md-354-the `LazyLoadingGhostFactory`. Here is a longer example, with a more near-real-world ############################################## php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-value-holder.md-194- php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-value-holder.md:195:Remember to call `$proxy->setProxyInitializer(null);` to disable initialization of your proxy, or it will happen more php-proxy-manager-2.2.3/.pc/0001-Point-to-homemade-autoload.php-in-docs-and-examples.patch/docs/lazy-loading-value-holder.md-196-than once.