-
Notifications
You must be signed in to change notification settings - Fork 182
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 #329 from FriendsOfCake/chore/maintainance
Maintenance
- Loading branch information
Showing
12 changed files
with
58 additions
and
45 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 |
---|---|---|
|
@@ -11,3 +11,6 @@ trim_trailing_whitespace = true | |
|
||
[*.yml] | ||
indent_size = 2 | ||
|
||
[*.neon] | ||
indent_style = tab |
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,7 @@ | ||
codecov: | ||
require_ci_to_pass: no | ||
|
||
coverage: | ||
range: "90...100" | ||
|
||
comment: false |
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 |
---|---|---|
|
@@ -17,11 +17,14 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-version: ['8.1', '8.2'] | ||
prefer-lowest: [''] | ||
php-version: ['8.1', '8.2', '8.3'] | ||
dependencies: ['highest'] | ||
include: | ||
- php-version: '8.4' | ||
dependencies: 'highest' | ||
composer-options: '--ignore-platform-req=php' | ||
- php-version: '8.1' | ||
prefer-lowest: 'prefer-lowest' | ||
dependencies: 'lowest' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -42,27 +45,27 @@ jobs: | |
wkhtmltopdf --version | ||
- name: Composer install | ||
run: | | ||
if ${{ matrix.prefer-lowest == 'prefer-lowest' }}; then | ||
composer update --prefer-lowest --prefer-stable | ||
else | ||
composer install | ||
fi | ||
uses: ramsey/composer-install@v3 | ||
with: | ||
dependency-versions: ${{ matrix.dependencies }} | ||
composer-options: ${{ matrix.composer-options }} | ||
|
||
- name: Setup problem matchers for PHPUnit | ||
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" | ||
|
||
- name: Run PHPUnit | ||
run: | | ||
if [[ ${{ matrix.php-version }} == '8.1' ]]; then | ||
vendor/bin/phpunit --coverage-clover=coverage.xml | ||
if [[ ${{ matrix.php-version }} == '8.3' ]]; then | ||
vendor/bin/phpunit --display-warnings --display-deprecations --display-incomplete --display-skipped --coverage-clover=coverage.xml | ||
else | ||
vendor/bin/phpunit | ||
vendor/bin/phpunit --display-warnings --display-deprecations | ||
fi | ||
- name: Code Coverage Report | ||
if: matrix.php-version == '8.1' | ||
uses: codecov/codecov-action@v3 | ||
if: matrix.php-version == '8.3' | ||
uses: codecov/codecov-action@v4 | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
cs-stan: | ||
uses: cakephp/.github/.github/workflows/[email protected] | ||
|
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,5 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phive xmlns="https://phar.io/phive"> | ||
<phar name="phpstan" version="1.10.37" installed="1.10.37" location="./tools/phpstan" copy="false"/> | ||
<phar name="psalm" version="5.15.0" installed="5.15.0" location="./tools/psalm" copy="false"/> | ||
<phar name="phpstan" version="2.0.1" installed="2.0.1" location="./tools/phpstan" copy="false"/> | ||
<phar name="psalm" version="5.26.1" installed="5.26.1" location="./tools/psalm" copy="false"/> | ||
</phive> |
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,8 +1,10 @@ | ||
parameters: | ||
level: 6 | ||
checkMissingIterableValueType: false | ||
bootstrapFiles: | ||
- vendor/cakephp/cakephp/src/Core/Exception/CakeException.php | ||
- tests/bootstrap.php | ||
paths: | ||
- src | ||
level: 8 | ||
bootstrapFiles: | ||
- vendor/cakephp/cakephp/src/Core/Exception/CakeException.php | ||
- tests/bootstrap.php | ||
paths: | ||
- src | ||
ignoreErrors: | ||
- | ||
identifier: missingType.iterableValue |
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
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 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 |
---|---|---|
|
@@ -16,6 +16,8 @@ | |
*/ | ||
class PdfViewTest extends TestCase | ||
{ | ||
protected PdfView $View; | ||
|
||
/** | ||
* setup callback | ||
* | ||
|