-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.3] Deprecations: Changes we can make with 5.3 for the actionlog component (Backend) #44261
base: 5.3-dev
Are you sure you want to change the base?
Conversation
administrator/components/com_actionlogs/src/Controller/ActionlogsController.php
Outdated
Show resolved
Hide resolved
administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php
Outdated
Show resolved
Hide resolved
administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php
Outdated
Show resolved
Hide resolved
administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php
Outdated
Show resolved
Hide resolved
administrator/components/com_actionlogs/src/Model/ActionlogsModel.php
Outdated
Show resolved
Hide resolved
…elper.php Co-authored-by: Brian Teeman <[email protected]>
administrator/components/com_actionlogs/src/View/Actionlogs/HtmlView.php
Outdated
Show resolved
Hide resolved
administrator/components/com_actionlogs/src/Model/ActionlogsModel.php
Outdated
Show resolved
Hide resolved
…elper.php Co-authored-by: Brian Teeman <[email protected]>
administrator/components/com_actionlogs/src/View/Actionlogs/HtmlView.php
Outdated
Show resolved
Hide resolved
Can you please update the PR title so that it is clearer what is being changed here. |
…mlView.php Co-authored-by: Brian Teeman <[email protected]>
…del.php Co-authored-by: Brian Teeman <[email protected]>
administrator/components/com_actionlogs/src/Model/ActionlogsModel.php
Outdated
Show resolved
Hide resolved
administrator/components/com_actionlogs/src/Model/ActionlogsModel.php
Outdated
Show resolved
Hide resolved
administrator/components/com_actionlogs/src/Controller/ActionlogsController.php
Outdated
Show resolved
Hide resolved
administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php
Outdated
Show resolved
Hide resolved
administrator/components/com_actionlogs/src/Model/ActionlogsModel.php
Outdated
Show resolved
Hide resolved
administrator/components/com_actionlogs/src/View/Actionlogs/HtmlView.php
Outdated
Show resolved
Hide resolved
@brianteeman what's the issue when removing (C) ? the @copyright already says that it's about the copyright isn't it? |
I can provide more legal references if required |
@brianteeman using "Copyright" as word should also be ok, right? But I am looking what is the best way in terms of IDE configuration. |
In the USA it would be ok - not sure about elsewhere. We should be consistent though. |
I did it again on another way, so anything should be fine now and the PR can be tested |
administrator/components/com_actionlogs/src/Model/ActionlogsModel.php
Outdated
Show resolved
Hide resolved
administrator/components/com_actionlogs/src/Model/ActionlogsModel.php
Outdated
Show resolved
Hide resolved
I am confused about this codestyle as it doesnt appear to be consistent
In the second one shouldnt the two bind queries be part of the first query - so something like
|
I missed the whole file. About the code style for multiline chaining. Honestly I am not 100% sure what it better readable. The reformat applies when you have something like $var->action1()
->action2()
->action3() then it is converted into $var
->action1()
->action2()
->action3() It might be better to let it as it is, the difference is not so big |
Summary of Changes
Implementing changes to our codebase regarding depreciated code. Done by component and splited into back and frontend for easier testing.
Testing Instructions
Test the backend for the action log component. Test also other componets e.g. user who add information to the action log.
Actual result BEFORE applying this Pull Request
Anything works
Expected result AFTER applying this Pull Request
Anything works