Skip to content
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

PSR-12 conversion #22

Merged
merged 26 commits into from
Jun 28, 2022

Conversation

joomla-bot
Copy link

This pull requests converts the branch to the PSR-12 coding standard.

HLeithner and others added 26 commits June 25, 2022 12:35
Prepare to remove JCOMPAT_UNICODE_PROPERTIES constants from global namespace and replace it with a static variable within the test function. This is a preparation for PSR12 transformation to satisfy PSR1.Files.SideEffects.FoundWithSymbols rule. Beside that it doesn't make sense to declare a global constant which is only used in the local class.
The handler auto register should have been removed in Joomla! 4.0.
* Move demo tasks to service provider

* Update plugins/task/demotasks/services/provider.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
…controllers (joomla#38103)

* Replace Factory::getApplication() by $this->app in component's controllers

* Remove un-used import. Thanks @Quy

Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>
Co-authored-by: Quy <quy@fluxbb.org>
Co-authored-by: Franciska Perisa <9084265+fancyFranci@users.noreply.github.com>
* <supported_databases> in updates XML always resulted in an error
* Use uppercase for array key and language string key

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
* Remove the item vue and merge it into the tree vue for ease

* Add accessible keyboard support for the media manager disk view
* Refactored WebAuthn plugin

* Fix the WebAuthn management page which was broken in joomla#37464

* Fix wrong `@since` doc tag

* Fix docblock typo

* Fix docblock typo

* Fix docblock typo

* Fix docblock typo

* Fix docblock typo

* Fix broken management interface

* Make unnecessarily static method back into non-static

* Replace static helper with injected object

* Come on, commit the ENTIRE file!

* Use the user factory

* Fix error when going through the user factory

* Fix: cannot add WebAuthn authenticator right back after deleting it

* Remove useless switch branch

* Remove useless exception

* Display make and model of the authenticator, if possible

* Add missing JWT signature algorithms

* Fix copyright date

* Fix for PHP 8 using FIDO keys and Android phones

* Reactivate the tooltips after adding an authenticator

* Option to disable the attestation support

* The Windows Hello icon was invisible on white background

* Attempt to fix Appveyor not having Sodium in the Windows build

* Work around third party library bug...

* Create events in a forwards-compatible manner

* Concrete events

* Fix event woes

* Update plugins/system/webauthn/webauthn.xml

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update administrator/language/en-GB/plg_system_webauthn.ini

Co-authored-by: Brian Teeman <brian@teeman.net>

* Improve the layout for editing an authenticator

It now follows the Bootstrap 5 form aesthetic. Moreover,
there are gaps between the text input and the Save and
Cancel buttons.

* Confirm deletion of authenticators

* Make the bots happy again

* Code polishing

* Marking classes final
* Use setApplication / getApplication in the plugin class
* Remove unused `$db` from the plugin class

* Blind fix

Currently joomla#38060 has broken everything it seems?

* Bring application injection in sync with core

* Remove whitespace

* Add use statement

* Fix wrong event creation in AjaxHandlerLogin

* License change

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
Co-authored-by: Brian Teeman <brian@teeman.net>
Co-authored-by: Roland Dalmulder <contact@rolandd.com>
Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>
Co-authored-by: Harald Leithner <leithner@itronic.at>
Co-authored-by: George Wilson <georgejameswilson@googlemail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants