ProxyManager icon indicating copy to clipboard operation
ProxyManager copied to clipboard

🎩✨🌈 OOP Proxy wrappers/utilities - generates and manages proxies of your objects

Results 67 ProxyManager issues
Sort by recently updated
recently updated
newest added

I have class with accessing to private property within final method like this: ``` class ClassWithFinalMethodAndPrivateProperty { private $prop = 'privet'; final public function finalMethod() { return $this->prop; } }...

bug
BC break

As @guilhermeblanco suggested, we can fully support internal PHP classes methods' default parameter values by using a trick like following. Assuming this is an internal php class, and that we...

enhancement

- Changed the PHP `~8.0.0` constraint to `~8.0` - Ran composer update with composer `2.3.9` and PHP `8.0.21` - Added PHP `8.1` to the github pipes - Updated psalm config...

enhancement

These test cases are needed to keep covering the related situations, but the deprecations thrown since PHP 8.1 should be silenced. https://wiki.php.net/rfc/phase_out_serializable

enhancement

Fix https://github.com/Ocramius/ProxyManager/issues/374 Let me know if you're interested in this PR, I could add more tests if yes.

When you generate a AccessInterceptorValueHolder proxy, a `E_USER_NOTICE` is always triggered when a property is not defined on the class, even if the that class has a `__get`-method. This is...

bug

Backported from https://github.com/FriendsOfPHP/proxy-manager-lts/pull/20 Fix #346

Back-ported from https://github.com/FriendsOfPHP/proxy-manager-lts/pull/22 Embeds #738 and #757 for now (only last commit is specific to this PR). Fix #737 and #722 I guess.

`Properties::onlyNonReferenceableProperties()` is currently NOT the complement of `::withoutNonReferenceableProperties()` because of this missing check. Also: nullable typed properties with non default values ARE referenceable.

When using a promoted readonly only property in a class, this library will generate code that tries to change the readonly property and therefor breaking execution. Consider the following class...

enhancement
question