joomla / joomla-cms

Home of the Joomla! Content Management System
https://www.joomla.org
GNU General Public License v2.0
4.77k stars 3.65k forks source link

[4.0] [WIP] Use namespaced classes #24108

Closed C-Lodder closed 5 years ago

C-Lodder commented 5 years ago
brianteeman commented 5 years ago

Checked a few and all of these are already done. JRegistryFormatIni JRegistryFormatJson JRegistryFormatPhp JRegistryFormatXml JStringInflector JStringNormalise JData JDataSet JDataDumpable JUpdate JUpdateAdapter JUpdater JUpdaterCollection JUpdaterExtension

C-Lodder commented 5 years ago

thanks @brianteeman

brianteeman commented 5 years ago

These are all done as well JImageFilterBackgroundfill JImageFilterBrightness JImageFilterContrast JImageFilterEdgedetect JImageFilterEmboss JImageFilterNegate JImageFilterSmooth

brianteeman commented 5 years ago

JInputCookie JBuffer JButton JBrowser JOpenSearchImage JOpenSearchUrl JCache JCacheControllerOutput JCacheControllerPage JCacheStorageApcu JCacheStorageHelper JCacheStorageFile JCacheStorageMemcached JCacheStorageRedis JCacheStorageWincache JCacheExceptionUnsupported JFeedParserAtom JFeedParserNamespace JFeedParserRss JFeedParserRssItunes JFeedParserRssMedia JFeedFactory JFeedlink

C-Lodder commented 5 years ago

JCache is still referenced in some comment blocks, so will leave that for now

brianteeman commented 5 years ago

When I did the original pass through updating these I ignored the docblocks and comments

brianteeman commented 5 years ago

JLanguageAssociations JLanguageHelper JLanguageStemmer JLanguageMultilang JLanguageTransliterate JLanguageStemmerPorteren

brianteeman commented 5 years ago

JDatabaseExporter JDatabaseExporterMysqli JDatabaseExporterPdomysql JDatabaseExporterPgsql JDatabaseImporterMysqli JDatabaseImporterPdomysql JDatabaseImporterPgsql JDatabaseImporter

brianteeman commented 5 years ago

JDatabaseQueryElement JDatabaseQueryLimitable JDatabaseQueryPreparable JDatabaseQueryMysqli JDatabaseQueryPdo JDatabaseQueryPdomysql JDatabaseQueryPgsql JDatabaseQuerySqlazure JDatabaseQuerySqlite JDatabaseQuerySqlsrv

brianteeman commented 5 years ago

JFormRuleBoolean JFormRuleCalendar JFormRuleCaptcha JFormRuleColor JFormRuleNotequals JFormRuleNumber JFormRuleOptions JFormRulePassword JFormRuleRules JFormRuleUsername

brianteeman commented 5 years ago

JFormFieldAliastag JFormFieldAuthor JFormFieldCacheHandler JFormFieldCalendar JFormFieldCaptcha JFormFieldCategory JFormFieldCheckbox JFormFieldCheckboxes JFormFieldChromeStyle JFormFieldColor JFormFieldCombo JFormFieldComponentlayout JFormFieldComponents JFormFieldContenthistory JFormFieldContenttype JFormFieldEditor JFormFieldEMail JFormFieldFile JFormFieldFileList JFormFieldFolderList JFormFieldFrontend_Language JFormFieldHeadertag JFormFieldHelpsite JFormFieldHidden JFormFieldGroupedList JFormFieldHeadertag JFormFieldHelpsite JFormFieldHidden JFormFieldImageList JFormFieldInteger JFormFieldLastvisitDateRange JFormFieldLimitbox JFormFieldMenu JFormFieldMenuitem JFormFieldMeter JFormFieldModulelayout JFormFieldModuleOrder JFormFieldModulePosition JFormFieldModuletag JFormFieldNote JFormFieldPassword JFormFieldPlugins JFormFieldPlugin_Status JFormFieldRange JFormFieldRedirect_Status JFormFieldRegistrationDateRange JFormFieldRules JFormFieldSessionHandler JFormFieldSpacer JFormFieldSQL JFormFieldStatus JFormFieldSubform JFormFieldTag JFormFieldTel JFormFieldTemplatestyle JFormFieldTimezone JFormFieldUserActive JFormFieldUserGroupList JFormFieldUserState

brianteeman commented 5 years ago

JMailHelper #24119

brianteeman commented 5 years ago

JLogLogger JLogLoggerDatabase JLogLoggerEcho JLogLoggerFormattedtext JLogLoggerMessagequeue JLogLoggerSyslog JLogLoggerW3c

brianteeman commented 5 years ago

JHttpTransportCurl JHttpTransportSocket JHttpTransportStream

C-Lodder commented 5 years ago

List up to date

brianteeman commented 5 years ago

I don't know how we should address the following scenarios

a code comment - example * This function is passed log entries by JLogLoggerCallback.

a docblock - example * @param \JInput $input Input another example

    /**
     * The event input.
     *
     * @var \JInput
     * @since  4.0.0
     */
    private $input = null;
C-Lodder commented 5 years ago

I'm in the process of improving the regex. I'll ping you when I'm done and also give you my node script which will assist in automatically making the changes for you.

brianteeman commented 5 years ago

/me doesnt like automatic scripts ;)

brianteeman commented 5 years ago

Can this be closed now @C-Lodder

ghost commented 5 years ago

@C-Lodder can this be closed, which Categorie belongs it on Issue Tracker?

C-Lodder commented 5 years ago

Why close this? There are still lots of classes that require converting

ghost commented 5 years ago

@C-Lodder i asked as Brian asked before. Can you please give me a Hint for Categorie (is it "Code Style")?

C-Lodder commented 5 years ago

@franz-wohlkoenig Yeah I suppose Code Style would be fine

brianteeman commented 5 years ago

i didnt realise you had closed your pr

brianteeman commented 5 years ago

Pretty sure that this can be closed now

joomla-cms-bot commented 5 years ago

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/24108