-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
99 additions
and
68 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 @@ | ||
custom: https://petrknap.github.io/donate.html |
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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
name: Docker | ||
name: composer ci-script | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
build-and-run: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: docker build -t $GITHUB_REPOSITORY:$GITHUB_SHA . | ||
- run: docker run $GITHUB_REPOSITORY:$GITHUB_SHA composer ci-script | ||
- name: Run composer ci-script | ||
run: docker run $GITHUB_REPOSITORY:$GITHUB_SHA composer ci-script |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/bin/ | ||
/vendor/ | ||
/composer.lock |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
authors | ||
composer PetrKnap\\SpaydQr | ||
dockerfile php 8.0-cli | ||
dockerfile php 8.1-cli | ||
docker-scripts petrknap/php-spaydqr | ||
donation | ||
git-crlf "*.bat" | ||
github-workflow docker "composer ci-script" | ||
github-workflow linter-docker | ||
github-workflow linter-php 8.0 | ||
github-workflow linter-php 8.1 | ||
license LGPL-3.0-or-later |
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
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,26 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace PetrKnap\SpaydQr; | ||
|
||
use PetrKnap\Shorts\PhpUnit\MarkdownFileTestInterface; | ||
use PetrKnap\Shorts\PhpUnit\MarkdownFileTestTrait; | ||
use PHPUnit\Framework\TestCase; | ||
|
||
class ReadmeTest extends TestCase implements MarkdownFileTestInterface | ||
{ | ||
use MarkdownFileTestTrait; | ||
|
||
public static function getPathToMarkdownFile(): string | ||
{ | ||
return __DIR__ . '/../README.md'; | ||
} | ||
|
||
public static function getExpectedOutputsOfPhpExamples(): iterable | ||
{ | ||
return [ | ||
'example' => file_get_contents(__DIR__ . '/ReadmeTest/example.html'), | ||
]; | ||
} | ||
} |
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 @@ | ||
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAIAAAD2HxkiAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAGIUlEQVR4nO3dQXLjOBAAQWnD//+y9zB3aMyBUE0587qxEm2zBocmwOf39/cD6Hw9Ho/n81lfxnXX/hFZ/Mgn/1UachnXbL/4ax/4AXfvf/VlwG8nQoiJEGIihJgIISZCiIkQYiKE2Nf6Pw8ZGV8byG4f427/wFvPoLffG/M/8JqXf0orIcRECDERQkyEEBMhxEQIMRFCTIQQezGsXzg5ud7+gYuLv/ZzDdngv31z+pDHCbbfG6PuXishxEQIMRFCTIQQEyHERAgxEUJMhBC7Pqyfb/vYffsG/+3fNWQiv/1Jg89mJYSYCCEmQoiJEGIihJgIISZCiIkQYp88rJ+/OX1hyDkDHGAlhJgIISZCiIkQYiKEmAghJkKIiRBi14f1Q14IvrB9gL5wckv7/P3415y8o0bdvVZCiIkQYiKEmAghJkKIiRBiIoSYCCH2Ylhvz/VfGjKRH7J9fsjpBHe5e62EEBMhxEQIMRFCTIQQEyHERAgxEULsOWqL8X3dZS78U0Om/599l1oJISZCiIkQYiKEmAghJkKIiRBiIoTY12PMoHnIXHjhUw/P3277RvghRxC86TdvJYSYCCEmQoiJEGIihJgIISZCiIkQYqffWb/9pepDvmvIC9xPvs7+pO0/16hnIayEEBMhxEQIMRFCTIQQEyHERAgxEULsLcfgn3yp+vY5/skN/vMPE1gYMscfws56uDERQkyEEBMhxEQIMRFCTIQQEyHEBr2zfsih5dcMGbvf+tGF7ebc22tWQoiJEGIihJgIISZCiIkQYiKEmAgh9vz+/j45ub5myLz75Bvhh5xaP+S4g5Pfdf4DrYQQEyHERAgxEUJMhBATIcRECDERQuz6O+sXtk9dT26RHvI287vsCs/desT/h5UQY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fuz7/Z/uW3YSWEmAghJkKIiRBiIoSYCCEmQoiJEGIvhvWf+q7wIfPuhZMPBgyZyC+cvAzH4MOvI0KIiRBiIoSYCCEmQoiJEGIihNhz/p5l+GxWQoj9D2II2FTI2au4AAAAAElFTkSuQmCC"> |
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