Comments (8)
Hi everyone,
Let me take a look at the PR and make a release.
Sorry for the delay, we are only spending time on maintenance on our spare time...
from lmcuser.
This will take a few iterations.
There are many deprecation notices when running the test suite on php 8.2 in addition to the one mentioned above.
from lmcuser.
@curzio-della-santa did you test other sources how it works with PHP 8.2? any other issues?
Yes I did test, and I found no additional dynamic assignment in this library.
from lmcuser.
Agree with lon9man
I've checked the code, the mentioned line sets a dynamic-property that does not seem to be used anywhere.
Since there is a public getter for Request, this line could be removed without causing problems to the vast majority of user.
If someone is relying on this property to exist (despite the poor programming), can change the code to use the getter instead.
Because depreaction notices are usually not shown in production environments, is it currently for me only an annoying problem in test environment.
from lmcuser.
@lon9man @curzio-della-santa did you manage to overcome this issue? If yes, how? Thank you for your inputs!
from lmcuser.
@tomekszad I've now written the PR to delete this malicious line, hope the maintainers of the library approve it for next release.
As said above, is only a warning for a line that can be simply commented out or removed in development environment, where deprecation warning are normally returned in the output.
In my current situation I can simply comment out the line after composer install.
Can be done with following command on CLI:
sed -i '100 s/^/\/\//' vendor/lm-commons/lmc-user/src/Authentication/Adapter/AdapterChainEvent.php
(Warning, this script comments out line 100 regardless what's in it, use at own risk)
from lmcuser.
@curzio-della-santa thank you for your reply! We on the other hand, have simply forked the repo, and fixed it on our fork.
Cheers!
from lmcuser.
@curzio-della-santa did you test other sources how it works with PHP 8.2? any other issues?
from lmcuser.
Related Issues (20)
- Unable to resolve service "Laminas\Hydrator\ClassMethodsHydrator" to a factory error HOT 3
- UserMapper can't be created via factory after #13
- Is composer test-coverage obsolete?
- Add capability to redirect to any URI HOT 7
- Feature Request: Redirecting to url even when logged in
- Laminas version 3 support. HOT 2
- Laminas\Hydrator\ClassMethodsHydrator not found HOT 1
- 2 Factor authentication HOT 4
- Authentication error messages are ignored in the authenticate action in the user controller
- Usage of Psr Container and minor directory structure change request. HOT 6
- Change directory structure from PSR-0 to PSR-4 HOT 1
- PSR-0 to PSR-4 change HOT 7
- Add password recovery functionality
- README file has incorrect descriptions for configuration options
- The login view does not handle the redirect parameter correctly
- Use Laminas Component installer
- Version 4 Plan - Features and Enhancements Roadmap HOT 3
- Use another provider for CI HOT 1
- Add type declarations to parameters and return values.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lmcuser.