Skip to content

Commit ed21cf8

Browse files
bergmeisterJamesWTruher
authored andcommitted
use https links where possible (tested) (#873)
1 parent b5afd5d commit ed21cf8

8 files changed

+10
-10
lines changed

Engine/Commands/GetScriptAnalyzerRuleCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands
2323
/// <summary>
2424
/// GetScriptAnalyzerRuleCommand: Cmdlet to list all the analyzer rule names and descriptions.
2525
/// </summary>
26-
[Cmdlet(VerbsCommon.Get, "ScriptAnalyzerRule", HelpUri = "http://go.microsoft.com/fwlink/?LinkId=525913")]
26+
[Cmdlet(VerbsCommon.Get, "ScriptAnalyzerRule", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=525913")]
2727
public class GetScriptAnalyzerRuleCommand : PSCmdlet, IOutputWriter
2828
{
2929
#region Parameters

Engine/Commands/InvokeScriptAnalyzerCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands
3939
"ScriptAnalyzer",
4040
DefaultParameterSetName = "File",
4141
SupportsShouldProcess = true,
42-
HelpUri = "http://go.microsoft.com/fwlink/?LinkId=525914")]
42+
HelpUri = "https://go.microsoft.com/fwlink/?LinkId=525914")]
4343
public class InvokeScriptAnalyzerCommand : PSCmdlet, IOutputWriter
4444
{
4545
#region Private variables

Engine/Settings/CodeFormattingStroustrup.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Inspired by http://eslint.org/docs/rules/brace-style#stroustrup
1+
# Inspired by https://eslint.org/docs/rules/brace-style#stroustrup
22
@{
33
IncludeRules = @(
44
'PSPlaceOpenBrace',

Engine/VariableAnalysisBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ internal static void DominanceFrontiers(List<Block> Blocks, Block Entry)
546546
/// <summary>
547547
/// Returns the immediate dominator of each block. The array returned is
548548
/// indexed by postorder number of each block.
549-
/// Based on http://www.cs.rice.edu/~keith/Embed/dom.pdf
549+
/// Based on https://www.cs.rice.edu/~keith/Embed/dom.pdf
550550
/// </summary>
551551
/// <param name="entry"></param>
552552
/// <param name="Blocks"></param>

PowerShellBestPractices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,6 @@ The following guidelines come from a combined effort from both the PowerShell te
126126
###Reference:
127127
* Cmdlet Development Guidelines from MSDN site (Cmdlet Development Guidelines): https://msdn.microsoft.com/en-us/library/ms714657(v=vs.85).aspx
128128
* The Community Book of PowerShell Practices (Compiled by Don Jones and Matt Penny and the Windows PowerShell Community): https://powershell.org/community-book-of-powershell-practices/
129-
* PowerShell DSC Resource Design and Testing Checklist: http://blogs.msdn.com/b/powershell/archive/2014/11/18/powershell-dsc-resource-design-and-testing-checklist.aspx
129+
* PowerShell DSC Resource Design and Testing Checklist: https://blogs.msdn.com/b/powershell/archive/2014/11/18/powershell-dsc-resource-design-and-testing-checklist.aspx
130130
* DSC Guidelines can also be found in the DSC Resources Repository: https://github.com/PowerShell/DscResources
131131
* The Unofficial PowerShell Best Practices and Style Guide: https://github.com/PoshCode/PowerShellPracticeAndStyle

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ Contributing to ScriptAnalyzer
353353
==============================
354354
You are welcome to contribute to this project. There are many ways to contribute:
355355

356-
1. Submit a bug report via [Issues]( https://github.com/PowerShell/PSScriptAnalyzer/issues). For a guide to submitting good bug reports, please read [Painless Bug Tracking](http://www.joelonsoftware.com/articles/fog0000000029.html).
356+
1. Submit a bug report via [Issues]( https://github.com/PowerShell/PSScriptAnalyzer/issues). For a guide to submitting good bug reports, please read [Painless Bug Tracking](https://www.joelonsoftware.com/articles/fog0000000029.html).
357357
2. Verify fixes for bugs.
358358
3. Submit your fixes for a bug. Before submitting, please make sure you have:
359359
* Performed code reviews of your own
@@ -366,7 +366,7 @@ You are welcome to contribute to this project. There are many ways to contribute
366366
7. Tell others about the project.
367367
8. Tell the developers how much you appreciate the product!
368368

369-
You might also read these two blog posts about contributing code: [Open Source Contribution Etiquette](http://tirania.org/blog/archive/2010/Dec-31.html) by Miguel de Icaza, and [Don’t “Push” Your Pull Requests](http://www.igvita.com/2011/12/19/dont-push-your-pull-requests/) by Ilya Grigorik.
369+
You might also read these two blog posts about contributing code: [Open Source Contribution Etiquette](http://tirania.org/blog/archive/2010/Dec-31.html) by Miguel de Icaza, and [Don’t “Push” Your Pull Requests](https://www.igvita.com/2011/12/19/dont-push-your-pull-requests/) by Ilya Grigorik.
370370

371371
Before submitting a feature or substantial code contribution, please discuss it with the Windows PowerShell team via [Issues](https://github.com/PowerShell/PSScriptAnalyzer/issues), and ensure it follows the product roadmap. Note that all code submissions will be rigorously reviewed by the Windows PowerShell Team. Only those that meet a high bar for both quality and roadmap fit will be merged into the source.
372372

RuleDocumentation/ProvideCommentHelp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Comment based help should be provided for all PowerShell commands. This test only checks for the presence of comment based help and not on the validity or format.
88

9-
For assistance on comment based help, use the command ```Get-Help about_comment_based_help``` or the article, "How to Write Cmdlet Help" (http://go.microsoft.com/fwlink/?LinkID=123415).
9+
For assistance on comment based help, use the command ```Get-Help about_comment_based_help``` or the article, "How to Write Cmdlet Help" (https://go.microsoft.com/fwlink/?LinkID=123415).
1010

1111
## Configuration
1212

Tests/Rules/GoodCmdlet.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function Get-File
2525
[CmdletBinding(DefaultParameterSetName='Parameter Set 1',
2626
SupportsShouldProcess=$true,
2727
PositionalBinding=$false,
28-
HelpUri = 'http://www.microsoft.com/',
28+
HelpUri = 'https://www.microsoft.com/',
2929
ConfirmImpact='Medium')]
3030
[Alias()]
3131
[OutputType([String], [System.Double], [Hashtable], "MyCustom.OutputType")]
@@ -134,7 +134,7 @@ function Get-Folder
134134
[CmdletBinding(DefaultParameterSetName='Parameter Set 1',
135135
SupportsShouldProcess,
136136
PositionalBinding=$false,
137-
HelpUri = 'http://www.microsoft.com/',
137+
HelpUri = 'https://www.microsoft.com/',
138138
ConfirmImpact='Medium')]
139139
[Alias()]
140140
[OutputType([String], [System.Double], [Hashtable], "MyCustom.OutputType")]

0 commit comments

Comments
 (0)