Skip to content

Commit 6ba71b0

Browse files
committed
Normalize and format files
1 parent d2cc714 commit 6ba71b0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
- name: Test can build anonymous project
183183
run: |
184184
cd ./source/tests/Fixtures/anonymous-project
185-
185+
186186
php ../../System/bin/Assert.php "str_contains(shell_exec('hyde build'), 'Your static site has been built!')"
187187
php ../../System/bin/Assert.php "file_exists_and_is_not_empty('_site/posts/hello-world.html')"
188188
php ../../System/bin/Assert.php "file_exists_and_is_not_empty('_site/docs/search.html')"
@@ -200,7 +200,7 @@ jobs:
200200
cd ./source/tests/Fixtures/full-project
201201
php ../../System/bin/Assert.php "! str_contains(shell_exec('hyde --version'), 'Experimental Standalone')"
202202
php ../../System/bin/Assert.php "str_contains(shell_exec('hyde'), 'File proxied by standalone')"
203-
203+
204204
test-realtime-compiler:
205205
needs: build-executable
206206

@@ -271,7 +271,7 @@ jobs:
271271
run: |
272272
# Create fake composer vendor autoload file
273273
mkdir vendor && echo '<?php set_error_handler(function($errno,$errstr,$errfile,$errline){throw new \ErrorException($errstr,0,$errno,$errfile,$errline);});return[];' > vendor/autoload.php
274-
274+
275275
# Create fake app bootstrap file
276276
mkdir app && echo "<?php namespace{echo 'Hello World'.PHP_EOL;return new class{public function make(){return new class{public function handle(){return 0;}public function terminate(){return 0;}};}};}namespace Symfony\Component\Console\Input{class ArgvInput{}}namespace Symfony\Component\Console\Output{class ConsoleOutput{}}" > app/bootstrap.php
277277

app/Commands/ServeCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ protected function getServerStub(string $phar): string
7474
return <<<PHP
7575
<?php
7676
// Proxies the realtime compiler server from the Phar archive
77-
77+
7878
Phar::loadPhar('$phar', 'hyde.phar');
79-
79+
8080
putenv('HYDE_AUTOLOAD_PATH=phar://hyde.phar/vendor/autoload.php');
81-
81+
8282
return require 'phar://hyde.phar/vendor/hyde/realtime-compiler/bin/server.php';
8383
PHP;
8484
}

0 commit comments

Comments
 (0)