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

[5.2] Cleanup of return types for phpstan #43350

Merged
merged 4 commits into from
May 29, 2024

Conversation

Hackwar
Copy link
Member

@Hackwar Hackwar commented Apr 24, 2024

Summary of Changes

This cleans up a few false return statements.

Testing Instructions

Codereview

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@Hackwar Hackwar requested a review from HLeithner May 2, 2024 19:48
@pe7er pe7er self-assigned this May 29, 2024
@HLeithner HLeithner merged commit dfb572d into joomla:5.2-dev May 29, 2024
3 checks passed
@HLeithner HLeithner added this to the Joomla! 5.2.0 milestone May 29, 2024
@Hackwar Hackwar deleted the 5.2-phpstan-return branch May 29, 2024 17:31
pe7er pushed a commit that referenced this pull request Jun 4, 2024
* [5.2] Cleanup of return types for phpstan (#43350)

* Cleanup of return types

* Return nothing instead of an empty string

* Update OverridesModel.php

* [5.2] TinyMCE Accordion

Since Joomla 5.0 we have shipped a version of tinyMCE that includes a plugin called accordion. However we never exposed it to our plugin so it was not available to use.

This PR remedies that.
New installs will see the accordion icon on the toolbar with the list icons
For existing installs you will need to EITHER drag the icon into the toolbar in the plugin configuration OR if you havent changed the toolbar you can use the clear and the the use advanced preset buttons.

Technically tinymce have misnamed the the plugin as it should not be confused with other accordion functionality such as the js based solution that can be enabled with bootstrap.

This plugin implements the native html details/summary disclosure element which requires no javascript and is accessible out of the box.

To test
As this requires a js change either apply the pr and run `nmp ci` or use one of the prebuilt packages

If it is a new install then the icon will now be able in the toolbar. If it is an upgrade then you will need to use the tinymce plugin editor to add it (as described above)

* cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants