Skip to content

Commit a0f75d7

Browse files
authored
Merge pull request #1349 from hydephp/format-files
Apply style fixes and reformat source code files
2 parents 9fe400f + a6cde6e commit a0f75d7

26 files changed

+122
-122
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ jobs:
211211

212212
- name: Ping statistics server with test results
213213
run: |
214-
cp build/junit.xml report.xml
214+
cp build/junit.xml report.xml
215215
curl https://raw.githubusercontent.com/hydephp/develop/08308fb9e9b4f72321bf90d37a8c9143a938a231/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
216216
php ping.php "Monorepo PR Test" ${{ secrets.OPENANALYTICS_TOKEN }}
217217

.github/workflows/deploy-documentation-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
</p>
8080
</div>
8181
</aside>
82-
82+
8383
<!-- Hotpatch for https://github.com/hydephp/develop/issues/968 -->
8484
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/hydephp/develop@master/_media/app.css">
8585
HTML

.github/workflows/split-monorepo.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ jobs:
7373
echo "No changes to this package. Exiting gracefully.";
7474
exit 0;
7575
fi
76-
76+
7777
git config user.name github-actions
7878
git config user.email [email protected]
7979
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/hyde.git
80-
80+
8181
git add .
8282
git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
83-
83+
8484
git push upstream develop
8585
echo "No changes to this package. Exiting gracefully."
8686
@@ -122,14 +122,14 @@ jobs:
122122
echo "No changes to this package. Exiting gracefully.";
123123
exit 0;
124124
fi
125-
125+
126126
git config user.name github-actions
127127
git config user.email [email protected]
128128
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/framework.git
129-
129+
130130
git add .
131131
git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
132-
132+
133133
git push upstream develop
134134
echo "No changes to this package. Exiting gracefully."
135135
@@ -171,14 +171,14 @@ jobs:
171171
echo "No changes to this package. Exiting gracefully.";
172172
exit 0;
173173
fi
174-
174+
175175
git config user.name github-actions
176176
git config user.email [email protected]
177177
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/realtime-compiler.git
178-
178+
179179
git add .
180180
git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
181-
181+
182182
git push upstream master
183183
184184
hydefront:
@@ -219,14 +219,14 @@ jobs:
219219
echo "No changes to this package. Exiting gracefully.";
220220
exit 0;
221221
fi
222-
222+
223223
git config user.name github-actions
224224
git config user.email [email protected]
225225
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/hydefront.git
226-
226+
227227
git add .
228228
git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
229-
229+
230230
git push upstream master
231231
232232
docs:
@@ -271,14 +271,14 @@ jobs:
271271
echo "No changes to this package. Exiting gracefully.";
272272
exit 0;
273273
fi
274-
274+
275275
git config user.name github-actions
276276
git config user.email [email protected]
277277
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/hydephp.com.git
278-
278+
279279
git add .
280280
git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
281-
281+
282282
git push upstream upcoming
283283
echo "No changes to this package. Exiting gracefully."
284284
@@ -320,14 +320,14 @@ jobs:
320320
echo "No changes to this package. Exiting gracefully.";
321321
exit 0;
322322
fi
323-
323+
324324
git config user.name github-actions
325325
git config user.email [email protected]
326326
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/testing.git
327-
327+
328328
git add .
329329
git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
330-
330+
331331
git push upstream master
332332
333333
ui-kit:
@@ -364,7 +364,7 @@ jobs:
364364
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
365365
run: |
366366
cd ui-kit
367-
367+
368368
if ! [[ `git status --porcelain` ]]; then
369369
echo "No changes to this package. Exiting gracefully.";
370370
exit 0;

.github/workflows/test-pull-requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050

5151
- name: Ping statistics server with test results
5252
run: |
53-
cp build/junit.xml report.xml
53+
cp build/junit.xml report.xml
5454
curl https://raw.githubusercontent.com/hydephp/develop/08308fb9e9b4f72321bf90d37a8c9143a938a231/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
5555
php ping.php "Monorepo PR Test" ${{ secrets.OPENANALYTICS_TOKEN }}
5656

packages/framework/resources/views/components/article-excerpt.blade.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
<footer>
1717
@isset($post->date)
1818
<span class="opacity-75">
19-
<span itemprop="dateCreated datePublished">
20-
{{ $post->date->short }}</span>{{ isset($post->author) ? ',' : '' }}
21-
</span>
19+
<span itemprop="dateCreated datePublished">
20+
{{ $post->date->short }}</span>{{ isset($post->author) ? ',' : '' }}
21+
</span>
2222
@endisset
2323
@isset($post->author)
2424
<span itemprop="author" itemscope itemtype="https://schema.org/Person">
25-
<span class="opacity-75">by</span>
26-
<span itemprop="name">
27-
{{ $post->author->name ?? $post->author->username }}
28-
</span>
29-
</span>
25+
<span class="opacity-75">by</span>
26+
<span itemprop="name">
27+
{{ $post->author->name ?? $post->author->username }}
28+
</span>
29+
</span>
3030
@endisset
3131
</footer>
3232

packages/framework/resources/views/components/docs/search-widget.blade.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
:title="searchWindowOpen ? 'Close search window' : 'Open search window'; $nextTick(() => { setTimeout(() => { document.getElementById('search-input').focus(); }); });"
33
class="absolute right-4 top-4 mr-4 z-10 opacity-75 hover:opacity-100 hidden md:block"
44
aria-label="Toggle search window">
5-
<span x-show="! searchWindowOpen">
6-
Search <svg class="float-left mr-1 dark:fill-white" xmlns="http://www.w3.org/2000/svg" height="24"
5+
<span x-show="! searchWindowOpen">
6+
Search <svg class="float-left mr-1 dark:fill-white" xmlns="http://www.w3.org/2000/svg" height="24"
77
viewBox="0 0 24 24" width="24" role="presentation">
8-
<path d="M0 0h24v24H0z" fill="none"/>
9-
<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>
10-
</span>
8+
<path d="M0 0h24v24H0z" fill="none"/>
9+
<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>
10+
</span>
1111
<span x-show="searchWindowOpen">
12-
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 20 20">
13-
<path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"></path>
14-
</svg>
15-
</span>
12+
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 20 20">
13+
<path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"></path>
14+
</svg>
15+
</span>
1616
</button>
1717
<button id="searchMenuButtonMobile" x-on:click="searchWindowOpen = ! searchWindowOpen"
1818
:title="searchWindowOpen ? 'Close search window' : 'Open search window'; $nextTick(() => { setTimeout(() => { document.getElementById('search-input').focus(); }); });"

packages/framework/src/Console/Commands/BuildSiteCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
class BuildSiteCommand extends Command
2626
{
2727
/** @var string */
28-
protected $signature = 'build
28+
protected $signature = 'build
2929
{--run-dev : Run the NPM dev script after build}
3030
{--run-prod : Run the NPM prod script after build}
3131
{--run-prettier : Format the output using NPM Prettier}

packages/framework/src/Console/Commands/MakePageCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
class MakePageCommand extends Command
2121
{
2222
/** @var string */
23-
protected $signature = 'make:page
24-
{title? : The name of the page file to create. Will be used to generate the slug}
25-
{--type=markdown : The type of page to create (markdown, blade, or docs)}
23+
protected $signature = 'make:page
24+
{title? : The name of the page file to create. Will be used to generate the slug}
25+
{--type=markdown : The type of page to create (markdown, blade, or docs)}
2626
{--blade : Create a Blade page}
2727
{--docs : Create a Documentation page}
28-
{--force : Overwrite any existing files}';
28+
{--force : Overwrite any existing files}';
2929

3030
/** @var string */
3131
protected $description = 'Scaffold a new Markdown, Blade, or documentation page file';

packages/framework/src/Console/ConsoleServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ protected static function logo(): string
5353
}
5454

5555
return <<<ASCII
56-
56+
5757
\033[94m __ __ __ \033[91m ___ __ _____
5858
\033[94m / // /_ _____/ /__ \033[91m/ _ \/ // / _ \
5959
\033[94m / _ / // / _ / -_)\033[91m ___/ _ / ___/
6060
\033[94m /_//_/\_, /\_,_/\__/\033[91m_/ /_//_/_/
6161
\033[94m /___/
62-
62+
6363
\033[0m
6464
ASCII;
6565
}

packages/framework/src/Framework/Actions/CreatesNewPageSourceFile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ protected function createBladeFile(): void
9898
@extends('hyde::layouts.app')
9999
@section('content')
100100
@php(\$title = "$this->title")
101-
101+
102102
<main class="mx-auto max-w-7xl py-16 px-8">
103103
<h1 class="text-center text-3xl font-bold">$this->title</h1>
104104
</main>
105-
105+
106106
@endsection
107107
108108
BLADE

0 commit comments

Comments
 (0)