| views/Ajax/DismissFormCommand.php |
|
none |
| views/Ajax/HighlightCommand.php |
|
none |
| views/Ajax/ReplaceTitleCommand.php |
|
none |
| views/Ajax/ScrollTopCommand.php |
|
none |
| views/Ajax/SetFormCommand.php |
|
none |
| views/Ajax/ShowButtonsCommand.php |
|
none |
| views/Ajax/TriggerPreviewCommand.php |
|
none |
| views/Ajax/ViewAjaxResponse.php |
|
none |
| views/Analyzer.php |
|
none |
| views/EventSubscriber/RouteSubscriber.php |
|
none |
| views/ManyToOneHelper.php |
|
none |
| views/Plugin/Block/ViewsBlock.php |
|
none |
| views/Plugin/Block/ViewsExposedFilterBlock.php |
|
none |
| views/Plugin/Derivative/DefaultWizardDeriver.php |
|
none |
| views/Plugin/Derivative/ViewsEntityRow.php |
|
none |
| views/Plugin/Derivative/ViewsExposedFilterBlock.php |
|
none |
| views/Plugin/Discovery/ViewsHandlerDiscovery.php |
|
none |
| views/Plugin/entity_reference/selection/ViewsSelection.php |
|
none |
| views/Plugin/views/access/AccessPluginBase.php |
|
none |
| views/Plugin/views/access/None.php |
|
none |
| views/Plugin/views/area/AreaPluginBase.php |
|
none |
| views/Plugin/views/area/Broken.php |
|
none |
| views/Plugin/views/area/Entity.php |
|
none |
| views/Plugin/views/area/Result.php |
|
none |
| views/Plugin/views/area/Text.php |
|
none |
| views/Plugin/views/area/TextCustom.php |
|
none |
| views/Plugin/views/area/Title.php |
|
none |
| views/Plugin/views/area/TokenizeAreaPluginBase.php |
|
none |
| views/Plugin/views/area/View.php |
|
none |
| views/Plugin/views/argument/Broken.php |
|
none |
| views/Plugin/views/argument/DayDate.php |
|
none |
| views/Plugin/views/argument/Formula.php |
|
none |
| views/Plugin/views/argument/FullDate.php |
|
none |
| views/Plugin/views/argument/GroupByNumeric.php |
|
none |
| views/Plugin/views/argument/ManyToOne.php |
|
none |
| views/Plugin/views/argument/MonthDate.php |
|
none |
| views/Plugin/views/argument/Null.php |
|
none |
| views/Plugin/views/argument/Numeric.php |
|
none |
| views/Plugin/views/argument/Standard.php |
|
none |
| views/Plugin/views/argument/String.php |
|
none |
| views/Plugin/views/argument/WeekDate.php |
|
none |
| views/Plugin/views/argument/YearDate.php |
|
none |
| views/Plugin/views/argument/YearMonthDate.php |
|
none |
| views/Plugin/views/argument_default/ArgumentDefaultPluginBase.php |
|
none |
| views/Plugin/views/argument_default/Fixed.php |
|
none |
| views/Plugin/views/argument_default/Raw.php |
|
none |
| views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php |
|
none |
| views/Plugin/views/argument_validator/None.php |
|
none |
| views/Plugin/views/argument_validator/Numeric.php |
|
none |
| views/Plugin/views/cache/CachePluginBase.php |
|
none |
| views/Plugin/views/cache/None.php |
|
none |
| views/Plugin/views/cache/Time.php |
|
none |
| views/Plugin/views/display/Attachment.php |
|
none |
| views/Plugin/views/display/DefaultDisplay.php |
|
none |
| views/Plugin/views/display/DisplayPluginBase.php |
|
none |
| views/Plugin/views/display/Embed.php |
|
none |
| views/Plugin/views/display/Feed.php |
|
none |
| views/Plugin/views/display/Page.php |
|
none |
| views/Plugin/views/display/PathPluginBase.php |
|
none |
| views/Plugin/views/display_extender/DefaultDisplayExtender.php |
|
none |
| views/Plugin/views/display_extender/DisplayExtenderPluginBase.php |
|
none |
| views/Plugin/views/exposed_form/Basic.php |
|
none |
| views/Plugin/views/exposed_form/ExposedFormPluginBase.php |
|
none |
| views/Plugin/views/exposed_form/InputRequired.php |
|
none |
| views/Plugin/views/field/Boolean.php |
|
none |
| views/Plugin/views/field/Broken.php |
|
none |
| views/Plugin/views/field/Counter.php |
|
none |
| views/Plugin/views/field/Custom.php |
|
none |
| views/Plugin/views/field/Date.php |
|
none |
| views/Plugin/views/field/Dropbutton.php |
|
none |
| views/Plugin/views/field/EntityLabel.php |
|
none |
| views/Plugin/views/field/FileSize.php |
|
none |
| views/Plugin/views/field/Links.php |
|
none |
| views/Plugin/views/field/Markup.php |
|
none |
| views/Plugin/views/field/Numeric.php |
|
none |
| views/Plugin/views/field/PrerenderList.php |
|
none |
| views/Plugin/views/field/Serialized.php |
|
none |
| views/Plugin/views/field/Standard.php |
|
none |
| views/Plugin/views/field/TimeInterval.php |
|
none |
| views/Plugin/views/field/Url.php |
|
none |
| views/Plugin/views/field/Xss.php |
|
none |
| views/Plugin/views/filter/BooleanOperatorString.php |
|
none |
| views/Plugin/views/filter/Broken.php |
|
none |
| views/Plugin/views/filter/Bundle.php |
|
none |
| views/Plugin/views/filter/Combine.php |
|
none |
| views/Plugin/views/filter/Date.php |
|
none |
| views/Plugin/views/filter/GroupByNumeric.php |
|
none |
| views/Plugin/views/filter/Standard.php |
|
none |
| views/Plugin/views/HandlerBase.php |
|
none |
| views/Plugin/views/join/JoinPluginBase.php (has also class: JoinComplex) |
|
none |
| views/Plugin/views/join/Standard.php |
|
none |
| views/Plugin/views/join/Subquery.php |
|
none |
| views/Plugin/views/pager/Full.php |
|
none |
| views/Plugin/views/pager/Mini.php |
|
none |
| views/Plugin/views/pager/None.php |
|
none |
| views/Plugin/views/pager/Some.php |
|
none |
| views/Plugin/views/pager/SqlBase.php |
|
none |
| views/Plugin/views/PluginBase.php |
|
none |
| views/Plugin/views/query/QueryPluginBase.php |
|
none |
| views/Plugin/views/relationship/Broken.php |
|
none |
| views/Plugin/views/relationship/GroupwiseMax.php |
|
none |
| views/Plugin/views/relationship/RelationshipPluginBase.php |
|
none |
| views/Plugin/views/relationship/Standard.php |
|
none |
| views/Plugin/views/row/Fields.php |
|
none |
| views/Plugin/views/row/RowPluginBase.php |
|
none |
| views/Plugin/views/row/RssFields.php |
|
none |
| views/Plugin/views/sort/Broken.php |
|
none |
| views/Plugin/views/sort/Date.php |
|
none |
| views/Plugin/views/sort/GroupByNumeric.php |
|
none |
| views/Plugin/views/sort/MenuHierarchy.php |
|
none |
| views/Plugin/views/sort/Random.php |
|
none |
| views/Plugin/views/sort/SortPluginBase.php |
|
none |
| views/Plugin/views/sort/Standard.php |
|
none |
| views/Plugin/views/style/DefaultStyle.php |
|
none |
| views/Plugin/views/style/DefaultSummary.php |
|
none |
| views/Plugin/views/style/Grid.php |
|
none |
| views/Plugin/views/style/HtmlList.php |
|
none |
| views/Plugin/views/style/Mapping.php |
|
none |
| views/Plugin/views/style/Rss.php |
|
none |
| views/Plugin/views/style/Table.php |
|
none |
| views/Plugin/views/style/UnformattedSummary.php |
|
none |
| views/Plugin/views/wizard/Standard.php |
|
none |
| views/Plugin/views/wizard/WizardException.php |
|
none |
| views/Plugin/ViewsHandlerManager.php |
|
none |
| views/Plugin/ViewsPluginManager.php |
|
none |
| views/Routing/ViewPageController.php |
|
none |
| views/ViewAccessController.php |
|
none |
| views/ViewExecutableFactory.php |
|
none |
| views/Views.php |
|
none |
| views/ViewsAccessCheck.php |
|
none |
| views/ViewsData.php |
|
none |
| views/ViewsDataHelper.php |
|
none |
| views/ViewStorageController.php |
|
none |
Comments
Comment #0.0
dawehnerupdated
Comment #0.1
yesct commentedupdating link for creating new issues
Comment #0.2
yesct commentedI'm not sure if it makes sense to list the properties in the table
Comment #1
yesct commented1.
When renaming, should we
Update the docblock for the properties to agree with https://drupal.org/node/1354#var
?
Looking at a sample of issues from #1856630: [Change notice] [META] Rename Views methods to core standards, it looks like those did *not* add missing doc blocks to functions that were being renamed.
2.
Is there an easy way to list all the classes?
Comment #1.0
yesct commentedUpdated issue summary.
Comment #2
yesct commentedWell, I made the list of files with:
grep -R "class " core/modules/views | grep " {" | grep -v "\/Tests\/" | grep -v "\/tests\/" | grep -v " if [(]" | sed 's/abstract //' | grep -v " \* " | grep -v " function " | grep -v " foreach " | cut -d":" -f1 | cut -c"31-" | awk '{print " <tr><td>" $1 "</td><td></td><td></td><td>[#@]</td></tr>"}'Oops. I dont want to actually skip the line with * class.
Adding that file (JoinPluginBase) back in manually.
[edit: oh, that was core/modules/views/lib/Drupal/views/Plugin/views/join/JoinPluginBase.php: * class JoinComplex extends JoinPluginBase {
and JoinPluginBase was already listed. Added a note in the table that it has an additional class in it.]
Comment #2.0
yesct commentedadded all the files to the table
Comment #2.1
yesct commentedadded class JoinComplex
Comment #2.2
yesct commentedmarked the ones that have no properties that need to be renamed and noted the var names in the ones that do
Comment #3
yesct commentedI checked all the files with a script and updated the table in the issue summary.
there are only a few that need issues, the ones that do not have any variables that need renaming I marked as "none" in the issue column.
used the previous command and made a file with the list of files in it
grep -R "class " core/modules/views | grep " {" | grep -v "\/Tests\/" | grep -v "\/tests\/" | grep -v " if [(]" | sed 's/abstract //' | grep -v " \* " | grep -v " function " | grep -v " foreach " | cut -d":" -f1 > ~/drupal-stuff/viewsclasses.all.txtthen did:
Comment #3.0
yesct commentedhad one the wrong column
Comment #4
danylevskyiComment #4.0
danylevskyiUpdated issue summary.
Comment #4.1
danylevskyiAssigned issue.
Comment #4.2
danylevskyiAssigned issue.
Comment #4.3
Garbar commentedUpdated issue summary.
Comment #4.4
Garbar commentedUpdated issue summary.
Comment #4.5
Garbar commentedUpdated issue summary.
Comment #5
jlindsey15 commentedI was doing the issue for Equality.php, where the relevant property is $always_multiple. I was curious so I did a grep for always_multiple, and I found it in Search.php and Name.php, which aren't listed here... Should they be or am I missing something?
Comment #5.0
jlindsey15 commentedAdded child issue.
Comment #5.1
jlindsey15 commentedAdded sub-issue
Comment #5.2
mac_weber commentedAdded issue for WizardPluginBase
Comment #5.3
mac_weber commentedAdded issue for ResultRow #2078607
Comment #5.4
mac_weber commentedAdds link to EntityRow #2078627
Comment #6
mac_weber commentedI just added instructions to not change class properties that would make changes in
.ymlfiles.Comment #7
gistland commentedWow. Terrific!!!
Comment #7.0
gistland commentedAdds instructions to not make changes in class properties that changes yml files
Comment #8
lokapujyaI think you need to handle the dependencies of any function you rename. For example, other files may call the methods that you have changed.
Comment #9
dawehnerJust to be sure, I don't think a file based approach will work at all.
What you rather need is a variable name based approach, as you have to rename all its definitions and uses at once in order to not break it. Note: Views does not have covered every single line of code,
so renaming variables here and there is potentially problematic.
Comment #9.0
dawehnerUpdated issue summary.
Comment #9.1
leeotzu commentedUpdated issue summary.
Comment #9.2
leeotzu commentedUpdated issue summary.
Comment #9.3
leeotzu commentedUpdated issue summary.
Comment #10
lokapujyaComment #11
lokapujyaComment #12
lokapujyaComment #13
lokapujyaUpdated the issue summary to show that you are responsible for all properties in the class and updating any place that uses the public properties.
Comment #14
lokapujyaComment #15
lokapujyaComment #16
lokapujyaComment #17
lokapujyaComment #18
internetdevels commentedData grouped from one table to two separate tables.
Comment #19
bohartAll sub-issues was created and added to table.
Comment #20
yesct commentedSee #2078593-15: In WizardPluginBase Rename Views properties to core standards. The children of this meta, and this meta might be postponed to 8.1.x being open for development according to https://www.drupal.org/contribute/core/beta-changes
Comment #21
yesct commentedyeah, I'm more confident this is postponed. updated issue summary section more.
Thus removing the Novice tag per https://www.drupal.org/core-mentoring/novice-tasks
Comment #22
yesct commentedSo.. I'm gonna postpone all the children, and set them to minor tasks in 8.1.x
[edit:]
I think it should be 8.1.x where possible to do in a non API BC breaking way.
For example: any property that is protected will not be API breaking to rename it.
Also, any property that has a getter/setter... we should consider it not API breaking to rename, cause contrib and core should be using the getter and setter anyway.
For properties that have no methods to access them when needed... that didn't get refactored to be good OOP in time, I guess those should be 9.0.x?
Comment #23
chi commented8.1.x is already open for development.
Comment #38
andypostFiled #3344578: In StylePluginBase Rename Views properties to core standards
Comment #39
quietone commentedThis issue is making corrections to conform to coding standards. Changes of this type are now done by sniff, not individual file, see #2571965: [meta] Fix PHP coding standards in core, stage 1 for history of the change. I think all the child issues should be closed and credit moved to a new issue to Fix Drupal.NamingConventions.ValidVariableName.LowerCamelName.
Comment #40
quietone commentedThere are more than just views files that the sniff reports with the problem. So, I am making this a child to the meta for fixing Drupal.NamingConventions.ValidVariableName.LowerCamelName.
Comment #41
quietone commentedAfter some more thought, I am going to close this issue dues to the reasons in #39 and transfer credit to the Meta for implementing the sniff, #3346468: [meta] Fix class properties violating Drupal.NamingConventions.ValidVariableName.LowerCamelName. I am choosing duplicate as that seems the best fit.
Now, what to do with the children. The child issue will have changes that are still valid and credit should be given for that work, according to policy. For now, I will postpone them and make a comment on the new meta about them. That will prevent people from working on them until we have agreement on how to deprecate these properties.