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 #29

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
c2bb06a
Replace FinderHelperRoute import with namespaced version
HLeithner Apr 27, 2022
cc5e55e
CS on switch statements
HLeithner Apr 27, 2022
a9b35cc
Remove unnecessary require not used since 2010
HLeithner Apr 27, 2022
3636b98
Remove unnecessary require not used anymore
HLeithner Apr 27, 2022
a12b247
Deprecate constant JCOMPAT_UNICODE_PROPERTIES
HLeithner Apr 27, 2022
8eb20eb
Add phpcs exception for BufferStreamHandler
HLeithner Apr 27, 2022
49a3a61
Fix phpcs:disable
HLeithner Apr 27, 2022
67b5541
Add no break to switch in com_config controller
HLeithner Apr 27, 2022
37435f2
PSR-12 Preparation
HLeithner May 17, 2022
7937482
chore: Set permissions for GitHub actions (#38144)
nathannaveen Jun 27, 2022
e4f622c
[4.2] Replace Factory::getApplication() by $this->app in component's …
joomdonation Jun 27, 2022
854b373
Allow tabbing through the media manager ui (#38141)
wilsonge Jun 27, 2022
026dc0f
Fix multiselect when not all rows have checkboxes (#38146)
wilsonge Jun 27, 2022
0eeae2d
in updates XML always resulted in an error (#38121)
nikosdion Jun 27, 2022
8b2cf5a
Media Manager Folder Selectory a11y (#38126)
wilsonge Jun 27, 2022
170f91a
Refactored WebAuthn with Windows Hello support (#37910)
nikosdion Jun 27, 2022
7475255
Add psr12 converter
HLeithner May 17, 2022
6d9cc0f
Merge pull request #37681 from HLeithner/4.2-psr12-preparation
HLeithner Jun 27, 2022
e7f5cc1
Phase 1 convert CMS to PSR-12
HLeithner Jun 27, 2022
dd91072
Phase 2 convert CMS to PSR-12
HLeithner Jun 27, 2022
6a01d92
PSR12
HLeithner Jun 27, 2022
09d14c6
Merge pull request #37686 from HLeithner/4.2-psr12
HLeithner Jun 27, 2022
d90b64d
Merge tag 'psr12anchor' into psr12/merge/38155
HLeithner Jun 27, 2022
b220ca5
Phase 1 convert BRANCH to PSR-12
HLeithner Jun 27, 2022
cfcf1bb
Merge tag 'psr12final' into psr12/merge/38155
HLeithner Jun 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ install:
- choco install composer
- cd C:\projects\joomla-cms
- refreshenv
- composer install --no-progress --profile
- composer install --no-progress --profile --ignore-platform-req=ext-sodium
before_test:
# Database setup for MySQL via PowerShell tools
- >
Expand Down
4 changes: 2 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ steps:
depends_on: [ composer ]
commands:
- echo $(date)
- ./libraries/vendor/bin/phpcs --extensions=php -p --standard=libraries/vendor/joomla/cms-coding-standards/lib/Joomla-CMS .
- ./libraries/vendor/bin/phpcs --extensions=php -p --standard=ruleset.xml .
- echo $(date)

- name: npm
Expand Down Expand Up @@ -475,6 +475,6 @@ trigger:

---
kind: signature
hmac: d5db8148323f0205a8c0cd165da3934f5a77b25f73862d09ead95d3c42f1df01
hmac: 783273e5140ae315f2403b13eb12f4773b77995a3d44a38551b55c89b9d40350

...
6 changes: 3 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
# Unix-style end of lines and a blank line at the end of the file
[*]
indent_style = tab
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{js,json,scss,css,vue}]
indent_style = space
indent_size = 2
5 changes: 5 additions & 0 deletions .github/workflows/create-translation-pull-request-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@ on:
# Run daily at 7:26
- cron: '26 7 * * *'

permissions:
contents: read

jobs:
build:
permissions:
contents: write # for Git to git push
runs-on: ubuntu-latest
# Only run this action the translation-bot repository in the translation branch
if: ${{ github.repository == 'joomla-translation-bot/joomla-cms' && github.ref == 'refs/heads/translation' }}
Expand Down
46 changes: 23 additions & 23 deletions administrator/components/com_actionlogs/services/provider.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @package Joomla.Administrator
* @subpackage com_actionlogs
Expand All @@ -25,30 +26,29 @@
*/
return new class implements ServiceProviderInterface
{
/**
* Registers the service provider with a DI container.
*
* @param Container $container The DI container.
*
* @return void
*
* @since 4.0.0
*/
public function register(Container $container)
{
$container->registerServiceProvider(new MVCFactory('\\Joomla\\Component\\Actionlogs'));
$container->registerServiceProvider(new ComponentDispatcherFactory('\\Joomla\\Component\\Actionlogs'));
/**
* Registers the service provider with a DI container.
*
* @param Container $container The DI container.
*
* @return void
*
* @since 4.0.0
*/
public function register(Container $container)
{
$container->registerServiceProvider(new MVCFactory('\\Joomla\\Component\\Actionlogs'));
$container->registerServiceProvider(new ComponentDispatcherFactory('\\Joomla\\Component\\Actionlogs'));

$container->set(
ComponentInterface::class,
function (Container $container)
{
$component = new MVCComponent($container->get(ComponentDispatcherFactoryInterface::class));
$container->set(
ComponentInterface::class,
function (Container $container) {
$component = new MVCComponent($container->get(ComponentDispatcherFactoryInterface::class));

$component->setMVCFactory($container->get(MVCFactoryInterface::class));
$component->setMVCFactory($container->get(MVCFactoryInterface::class));

return $component;
}
);
}
return $component;
}
);
}
};
Loading