Skip to content

Commit

Permalink
Remove extra spaces on PHP plain sample (#105)
Browse files Browse the repository at this point in the history
* Insert space before var asign

* Remove extra spaces
  • Loading branch information
softdevnf committed Nov 5, 2018
1 parent 3184962 commit e283c35
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions php/plain/container/Application/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
require_once 'vendor/autoload.php';
$app_insights_instrumentation =getenv('APPINSIGHTS_INSTRUMENTATIONKEY');
$app_insights_instrumentation = getenv('APPINSIGHTS_INSTRUMENTATIONKEY');
$telemetryClient = new \ApplicationInsights\Telemetry_Client();
$telemetryClient->getContext()->setInstrumentationKey($app_insights_instrumentation);
$telemetryClient->trackRequest('Server Requests','Azure DevOps Project', time());
Expand All @@ -25,7 +25,7 @@
<div class="tweet-container">
<a href="http://twitter.com/intent/tweet/?text=I%20just%20created%20a%20new%20PHP%20website%20on%20Azure%20using%20Azure%20DevOps%20Project&hashtags=AzureDevOpsProject%2CVSTS%20%40Azure%20%40VSTS">
<img src="img/tweetThis.svg" alt="tweetThis" />
</a>
</a>
</div>
<div class="content-body">
<div class="success-text">Success!</div>
Expand Down
4 changes: 2 additions & 2 deletions php/plain/containerWithTests/Application/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
require_once 'vendor/autoload.php';
$app_insights_instrumentation =getenv('APPINSIGHTS_INSTRUMENTATIONKEY');
$app_insights_instrumentation = getenv('APPINSIGHTS_INSTRUMENTATIONKEY');
$telemetryClient = new \ApplicationInsights\Telemetry_Client();
$telemetryClient->getContext()->setInstrumentationKey($app_insights_instrumentation);
$telemetryClient->trackRequest('Server Requests','Azure DevOps Project', time());
Expand All @@ -25,7 +25,7 @@
<div class="tweet-container">
<a href="http://twitter.com/intent/tweet/?text=I%20just%20created%20a%20new%20PHP%20website%20on%20Azure%20using%20Azure%20DevOps%20Project&hashtags=AzureDevOpsProject%2CVSTS%20%40Azure%20%40VSTS">
<img src="img/tweetThis.svg" alt="tweetThis" />
</a>
</a>
</div>
<div class="content-body">
<div class="success-text">Success!</div>
Expand Down
2 changes: 1 addition & 1 deletion php/plain/webapp/Application/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="tweet-container">
<a href="http://twitter.com/intent/tweet/?text=I%20just%20created%20a%20new%20PHP%20website%20on%20Azure%20using%20Azure%20DevOps%20Project&hashtags=AzureDevOpsProject%2CVSTS%20%40Azure%20%40VSTS">
<img src="img/tweetThis.svg" alt="tweetThis" />
</a>
</a>
</div>
<div class="content-body">
<div class="success-text">Success!</div>
Expand Down
2 changes: 1 addition & 1 deletion php/plain/webappWithTests/Application/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="tweet-container">
<a href="http://twitter.com/intent/tweet/?text=I%20just%20created%20a%20new%20PHP%20website%20on%20Azure%20using%20Azure%20DevOps%20Project&hashtags=AzureDevOpsProject%2CVSTS%20%40Azure%20%40VSTS">
<img src="img/tweetThis.svg" alt="tweetThis" />
</a>
</a>
</div>
<div class="content-body">
<div class="success-text">Success!</div>
Expand Down

0 comments on commit e283c35

Please sign in to comment.