forked from microsoft/sql-server-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from microsoft/master
syncyng the fork
- Loading branch information
Showing
291 changed files
with
42,744 additions
and
3,184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
; This file is for unifying the coding style for different editors and IDEs. | ||
; More information at http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*.php] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.bat] | ||
end_of_line = crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "microsoft/sql-server-samples", | ||
"description": "Official Microsoft GitHub Repository containing code samples for SQL Server", | ||
"type": "project", | ||
"require": { | ||
"php": ">=7.0.0" | ||
}, | ||
"require-dev": { | ||
"squizlabs/php_codesniffer": "^3.5" | ||
}, | ||
"license": "MIT", | ||
"minimum-stability": "stable", | ||
"scripts": { | ||
"cs-check": "phpcs -p --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1", | ||
"cs-fix": "phpcbf -p --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="MS SQL Server Examples"> | ||
<description>The coding standard for MS SQL Server PHP Examples.</description> | ||
|
||
<!-- Folders & files to be checked --> | ||
<file>samples/tutorials/php</file> | ||
|
||
<!-- File extensions to be checked --> | ||
<arg name="extensions" value="php"/> | ||
|
||
<!-- PSR-2 base standard --> | ||
<rule ref="PSR2"/> | ||
|
||
<!-- Disable code style sniff on side effects --> | ||
<rule ref="PSR1"> | ||
<exclude name="PSR1.Files.SideEffects"/> | ||
</rule> | ||
|
||
<!-- General sniffs --> | ||
<rule ref="Generic.Files.LineLength"/> | ||
<rule ref="Squiz.Arrays.ArrayBracketSpacing"/> | ||
<rule ref="Squiz.Commenting.FunctionCommentThrowTag"/> | ||
<rule ref="Squiz.Classes.LowercaseClassKeywords"/> | ||
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop"/> | ||
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall"/> | ||
<rule ref="Generic.CodeAnalysis.JumbledIncrementer"/> | ||
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/> | ||
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/> | ||
<rule ref="Squiz.Commenting.DocCommentAlignment"/> | ||
<rule ref="Generic.Formatting.NoSpaceAfterCast"/> | ||
<rule ref="Squiz.Operators.ValidLogicalOperators"/> | ||
<rule ref="Generic.PHP.DeprecatedFunctions"/> | ||
<rule ref="Squiz.PHP.DisallowSizeFunctionsInLoops"/> | ||
<rule ref="Squiz.PHP.Eval"/> | ||
<rule ref="Generic.PHP.ForbiddenFunctions"/> | ||
<rule ref="Squiz.PHP.NonExecutableCode"/> | ||
<rule ref="Squiz.Classes.ClassFileName"/> | ||
<rule ref="Squiz.Scope.MemberVarScope"/> | ||
<rule ref="Squiz.Scope.StaticThisUsage"/> | ||
<rule ref="Squiz.WhiteSpace.CastSpacing"/> | ||
<rule ref="Squiz.WhiteSpace.LanguageConstructSpacing"/> | ||
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing"/> | ||
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/> | ||
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/> | ||
<rule ref="Squiz.WhiteSpace.ScopeClosingBrace"/> | ||
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing"> | ||
<properties> | ||
<property name="equalsSpacing" value="1"/> | ||
</properties> | ||
</rule> | ||
|
||
</ruleset> |
139 changes: 0 additions & 139 deletions
139
samples/databases/wide-world-importers/sample-scripts/polybase/DemonstratePolybase.sql
This file was deleted.
Oops, something went wrong.
75 changes: 0 additions & 75 deletions
75
samples/databases/wide-world-importers/sample-scripts/polybase/README.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.