Skip to content

Commit 63a13a4

Browse files
CHANGE(Other): @W-15325513@: Update all our old doc URLs to point to new sf docs (#1417)
1 parent ac5751f commit 63a13a4

16 files changed

+20
-20
lines changed

.github/ISSUE_TEMPLATE/0scanner_run_bug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ assignees: ''
1111
Oftentimes, you can resolve `scanner run` issues on your own. Follow these steps.
1212
1313
1. Read the error message.
14-
2. Read [Salesforce Code Analyzer](https://forcedotcom.github.io/sfdx-scanner/) documentation.
14+
2. Read [Salesforce Code Analyzer](https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/overview) documentation.
1515
3. Double-check the command that you ran. Ensure that items like file names, method names, and category names are correctly spelled and cased.
1616
4. Verify that your code is syntactically valid.
1717
5. Verify that the error is reproducible on another machine.

.github/ISSUE_TEMPLATE/1scanner_run_dfa_bug.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ assignees: ''
1111
Oftentimes, you can resolve `scanner run dfa` issues on your own. Follow these steps.
1212
1313
1. Read the error message.
14-
2. Read [Salesforce Graph Engine](https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/introduction/) documentation.
15-
3. Read our guide for [troubleshooting Graph Engine errors](https://forcedotcom.github.io/sfdx-scanner/en/v3.x/troubleshooting/#issues-using-salesforce-graph-engine).
16-
4. Read our guidelines to resolve [LimitReached errors](https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/working-with-sfge/#understand-limitreached-errors) and [path evaluation timeouts](https://forcedotcom.github.io/sfdx-scanner/en/v3.x/troubleshooting/#issues-using-salesforce-graph-engine).
17-
5. Read our [Guide to Writing Graph Engine-Friendly Code](https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/graph-engine-recommendations/).
14+
2. Read [Salesforce Graph Engine](https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/salesforce-graph-engine.html) documentation.
15+
3. Read our guide for [troubleshooting Graph Engine errors](https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/troubleshooting.html).
16+
4. Read our guidelines to resolve [LimitReached errors](https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/working-with-graph-engine.html#limitreached-errors) and [path evaluation timeouts](https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/troubleshooting.html#issues-using-salesforce-graph-engine).
17+
5. Read our [Guide to Writing Graph Engine-Friendly Code](https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/graph-engine-friendly-code.html).
1818
6. Double-check the command that you entered. Ensure that items like file names, method names, and category names are correctly spelled and cased.
1919
7. Verify that your code is syntactically valid.
2020
8. Verify that the error is reproducible on another machine.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Code Analyzer current supports the PMD rule engine, PMD Copy Paste Detector, ESL
1616
Integrate Code Analyzer into your Continuous Integration/Continuous Development (CI/CD) process to enforce rules that you define and to produce high-quality code.
1717

1818
# Salesforce Code Analyzer Documentation
19-
Read [Salesforce Code Analyzer](https://forcedotcom.github.io/sfdx-scanner/) documentation to learn:
19+
Read [Salesforce Code Analyzer](https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/overview) documentation to learn:
2020
* how to install Code Analyzer
2121
* what is included in the Code Analyzer command reference
2222
* the structure of Code Analyzer architecture

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"/retire-js",
9898
"/oclif.lock"
9999
],
100-
"homepage": "https://forcedotcom.github.io/sfdx-scanner",
100+
"homepage": "https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/overview",
101101
"keywords": [
102102
"sfdx-plugin",
103103
"sf-plugin"

sfge/src/main/java/com/salesforce/rules/AbstractRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected boolean isPilot() {
6363
* Unless the rule has a predetermined URL, we'll return a link to information about the engine.
6464
*/
6565
protected String getUrl() {
66-
return "https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/";
66+
return "https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/salesforce-graph-engine.html";
6767
}
6868

6969
public static class Descriptor {

sfge/src/main/java/com/salesforce/rules/ApexFlsViolationRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public final class ApexFlsViolationRule extends AbstractPathTraversalRule {
3737
* again.
3838
*/
3939
static final String URL =
40-
"https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/rules/#ApexFlsViolationRule";
40+
"https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/apexflsviolation-rule.html";
4141

4242
private static final String DESCRIPTION =
4343
"Identifies data read/write operations that may not have CRUD/FLS";

sfge/src/main/java/com/salesforce/rules/ApexNullPointerExceptionRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
public final class ApexNullPointerExceptionRule extends AbstractPathAnomalyRule {
1717
private static final String URL =
18-
"https://forcedotcom.github.io./sfdx-scanner/en/v3.x/salesforce-graph-engine/rules/#ApexNullPointerExceptionRule";
18+
"https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/apexnullpointerexception-rule.html";
1919
// ApexNullPointerExceptionRule cares about all sources, since they're all equally capable
2020
// of throwing NPEs.
2121
private static final ImmutableSet<Type> SOURCE_TYPES = ImmutableSet.copyOf(Type.values());

sfge/src/main/java/com/salesforce/rules/AvoidDatabaseOperationInLoop.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public final class AvoidDatabaseOperationInLoop extends AbstractPathTraversalRul
1717
ImmutableSet.copyOf(ApexPathSource.Type.values());
1818

1919
private static final String URL =
20-
"https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/rules/#AvoidDatabaseOperationInLoop";
20+
"https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/avoiddatabaseoperationinloop-rule.html";
2121

2222
private final AvoidDatabaseOperationInLoopHandler ruleHandler;
2323

sfge/src/main/java/com/salesforce/rules/AvoidMultipleMassSchemaLookups.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class AvoidMultipleMassSchemaLookups extends AbstractPathTraversalRule {
2020
private final MultipleMassSchemaLookupRuleHandler ruleHandler;
2121

2222
private static final String URL =
23-
"https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/rules/#AvoidMultipleMassSchemaLookups";
23+
"https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/avoidmultiplemassschemalookup-rule.html";
2424

2525
private AvoidMultipleMassSchemaLookups() {
2626
ruleHandler = MultipleMassSchemaLookupRuleHandler.getInstance();

sfge/src/main/java/com/salesforce/rules/PerformNullCheckOnSoqlVariables.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public final class PerformNullCheckOnSoqlVariables extends AbstractPathTraversal
2323
ImmutableSet.copyOf(ApexPathSource.Type.values());
2424

2525
private static final String URL =
26-
"https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/rules/#PerformNullCheckOnSoqlVariables";
26+
"https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/performnullcheckonsoqlvariables-rule.html";
2727

2828
// don't instantiate
2929
private PerformNullCheckOnSoqlVariables() {}

0 commit comments

Comments
 (0)