Alexander Lisachenko
Alexander Lisachenko
Hello, master branch partially works on attributes already, please check the dev version
@jakublabno I don't believe that laminas-code is maintained now, therefore there is a need to refactor all code-generation part or switch to another library. I have some local PoC with...
@jakublabno any help is appreciated here ) Whole src/Proxy should be reviewed/replaced with something modern and capable of generating modern code with attributes. I've tried to do it on AST...
@copilot 1) there are build errors with PHP8.4, please check and fix them ``` There were 2 errors: 1) Go\Functional\ClassWeavingTest::testPropertyWeaving TypeError: preg_replace(): Argument #3 ($subject) must be of type array|string,...
@copilot still there are errors inside php-unit test run on PHP8.4 ``` There were 2 errors: 1) Go\Functional\ClassWeavingTest::testPropertyWeaving RuntimeException: Could not read proxy file: /home/runner/work/framework/framework/tests/Fixtures/project/web/../var/cache/aspect/_proxies/src/Application/Main.php/Go/Tests/TestProject/Application/Main.php /home/runner/work/framework/framework/tests/Go/PhpUnit/ProxyClassReflectionHelper.php:50 /home/runner/work/framework/framework/tests/Go/PhpUnit/ClassMemberWovenConstraint.php:38 /home/runner/work/framework/framework/tests/Go/Functional/BaseFunctionalTestCase.php:322 /home/runner/work/framework/framework/tests/Go/Functional/ClassWeavingTest.php:26 2)...
Yep, ReflectionFile, ReflectionFilenamespace is what makes my library easier for use. If someone could port this to BR - I would be very happy to switch to the BetterReflection, as...