Skip to content

Commit b92d089

Browse files
committed
rules
1 parent 45f4b7f commit b92d089

File tree

57 files changed

+126
-268
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+126
-268
lines changed

administrator/components/com_actionlogs/src/Field/ExtensionField.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,14 @@
1515
use Joomla\CMS\HTML\HTMLHelper;
1616
use Joomla\CMS\Language\Text;
1717
use Joomla\Component\Actionlogs\Administrator\Helper\ActionlogsHelper;
18-
use Joomla\Database\DatabaseAwareInterface;
19-
use Joomla\Database\DatabaseAwareTrait;
2018

2119
/**
2220
* Field to load a list of all extensions that have logged actions
2321
*
2422
* @since 3.9.0
2523
*/
26-
class ExtensionField extends ListField implements DatabaseAwareInterface
24+
class ExtensionField extends ListField
2725
{
28-
use DatabaseAwareTrait;
29-
3026
/**
3127
* The form field type.
3228
*

administrator/components/com_actionlogs/src/Field/LogcreatorField.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,14 @@
1212
\defined('_JEXEC') or die;
1313

1414
use Joomla\CMS\Form\Field\ListField;
15-
use Joomla\Database\DatabaseAwareInterface;
16-
use Joomla\Database\DatabaseAwareTrait;
1715

1816
/**
1917
* Field to load a list of all users that have logged actions
2018
*
2119
* @since 3.9.0
2220
*/
23-
class LogcreatorField extends ListField implements DatabaseAwareInterface
21+
class LogcreatorField extends ListField
2422
{
25-
use DatabaseAwareTrait;
26-
2723
/**
2824
* Cached array of the category items.
2925
*

administrator/components/com_actionlogs/src/Field/LogtypeField.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,14 @@
1616
use Joomla\CMS\HTML\HTMLHelper;
1717
use Joomla\CMS\Language\Text;
1818
use Joomla\Component\Actionlogs\Administrator\Helper\ActionlogsHelper;
19-
use Joomla\Database\DatabaseAwareInterface;
20-
use Joomla\Database\DatabaseAwareTrait;
2119

2220
/**
2321
* Field to load a list of all users that have logged actions
2422
*
2523
* @since 3.9.0
2624
*/
27-
class LogtypeField extends ListField implements DatabaseAwareInterface
25+
class LogtypeField extends ListField
2826
{
29-
use DatabaseAwareTrait;
30-
3127
/**
3228
* The form field type.
3329
*

administrator/components/com_actionlogs/src/Field/PlugininfoField.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,14 @@
1515
use Joomla\CMS\HTML\HTMLHelper;
1616
use Joomla\CMS\Language\Text;
1717
use Joomla\CMS\Router\Route;
18-
use Joomla\Database\DatabaseAwareInterface;
19-
use Joomla\Database\DatabaseAwareTrait;
2018

2119
/**
2220
* Information field.
2321
*
2422
* @since 3.9.2
2523
*/
26-
class PlugininfoField extends FormField implements DatabaseAwareInterface
24+
class PlugininfoField extends FormField
2725
{
28-
use DatabaseAwareTrait;
29-
3026
/**
3127
* The form field type.
3228
*

administrator/components/com_categories/src/Field/CategoryeditField.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
use Joomla\CMS\Form\Field\ListField;
1616
use Joomla\CMS\HTML\HTMLHelper;
1717
use Joomla\CMS\Language\Text;
18-
use Joomla\Database\DatabaseAwareInterface;
19-
use Joomla\Database\DatabaseAwareTrait;
2018
use Joomla\Database\ParameterType;
2119
use Joomla\Utilities\ArrayHelper;
2220

@@ -25,10 +23,8 @@
2523
*
2624
* @since 1.6
2725
*/
28-
class CategoryeditField extends ListField implements DatabaseAwareInterface
26+
class CategoryeditField extends ListField
2927
{
30-
use DatabaseAwareTrait;
31-
3228
/**
3329
* To allow creation of new categories.
3430
*

administrator/components/com_categories/src/Field/ComponentsCategoryField.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,15 @@
1414
use Joomla\CMS\Factory;
1515
use Joomla\CMS\Form\Field\ListField;
1616
use Joomla\CMS\Language\Text;
17-
use Joomla\Database\DatabaseAwareInterface;
18-
use Joomla\Database\DatabaseAwareTrait;
1917
use Joomla\Utilities\ArrayHelper;
2018

2119
/**
2220
* Components Category field.
2321
*
2422
* @since 1.6
2523
*/
26-
class ComponentsCategoryField extends ListField implements DatabaseAwareInterface
24+
class ComponentsCategoryField extends ListField
2725
{
28-
use DatabaseAwareTrait;
29-
3026
/**
3127
* The form field type.
3228
*

administrator/components/com_categories/src/Field/Modal/CategoryField.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,15 @@
1717
use Joomla\CMS\Language\LanguageHelper;
1818
use Joomla\CMS\Language\Text;
1919
use Joomla\CMS\Session\Session;
20-
use Joomla\Database\DatabaseAwareInterface;
21-
use Joomla\Database\DatabaseAwareTrait;
2220
use Joomla\Database\ParameterType;
2321

2422
/**
2523
* Supports a modal category picker.
2624
*
2725
* @since 3.1
2826
*/
29-
class CategoryField extends FormField implements DatabaseAwareInterface
27+
class CategoryField extends FormField
3028
{
31-
use DatabaseAwareTrait;
32-
3329
/**
3430
* The form field type.
3531
*

administrator/components/com_config/src/Field/ConfigComponentsField.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,15 @@
1515
use Joomla\CMS\Filesystem\File;
1616
use Joomla\CMS\Form\Field\ListField;
1717
use Joomla\CMS\Language\Text;
18-
use Joomla\Database\DatabaseAwareInterface;
19-
use Joomla\Database\DatabaseAwareTrait;
2018
use Joomla\Utilities\ArrayHelper;
2119

2220
/**
2321
* Text Filters form field.
2422
*
2523
* @since 3.7.0
2624
*/
27-
class ConfigComponentsField extends ListField implements DatabaseAwareInterface
25+
class ConfigComponentsField extends ListField
2826
{
29-
use DatabaseAwareTrait;
30-
3127
/**
3228
* The form field type.
3329
*

administrator/components/com_config/src/Field/FiltersField.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,14 @@
1515
use Joomla\CMS\Form\FormField;
1616
use Joomla\CMS\Language\Text;
1717
use Joomla\CMS\Layout\LayoutHelper;
18-
use Joomla\Database\DatabaseAwareInterface;
19-
use Joomla\Database\DatabaseAwareTrait;
2018

2119
/**
2220
* Text Filters form field.
2321
*
2422
* @since 1.6
2523
*/
26-
class FiltersField extends FormField implements DatabaseAwareInterface
24+
class FiltersField extends FormField
2725
{
28-
use DatabaseAwareTrait;
29-
3026
/**
3127
* The form field type.
3228
*

administrator/components/com_contact/src/Field/Modal/ContactField.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,15 @@
1717
use Joomla\CMS\Language\LanguageHelper;
1818
use Joomla\CMS\Language\Text;
1919
use Joomla\CMS\Session\Session;
20-
use Joomla\Database\DatabaseAwareInterface;
21-
use Joomla\Database\DatabaseAwareTrait;
2220
use Joomla\Database\ParameterType;
2321

2422
/**
2523
* Supports a modal contact picker.
2624
*
2725
* @since 1.6
2826
*/
29-
class ContactField extends FormField implements DatabaseAwareInterface
27+
class ContactField extends FormField
3028
{
31-
use DatabaseAwareTrait;
32-
3329
/**
3430
* The form field type.
3531
*

0 commit comments

Comments
 (0)