Skip to content

Commit

Permalink
fix(Repo): Actions - Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
4513 committed Mar 17, 2024
1 parent 2e3b528 commit 315e334
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/min-stability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpcodesniffer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpcoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vendor-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
vendor/
storage/
.phpunit.cache/

.phpunit.result.cache
composer.lock
Expand Down
2 changes: 2 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 10 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@
"ISO",
"ISO-4217",
"currencies",
"currency"
"currency",
"MiBo",
"Library",
"PHP",
"Package",
"Lib",
"Money"
],
"authors": [
{
Expand Down Expand Up @@ -35,16 +41,16 @@
}
},
"require": {
"php": "^8.1",
"php": "^8.2",
"ext-dom": "*",
"ext-xmlreader": "*",
"ext-simplexml": "*",
"psr/log": "^3.0",
"ext-curl": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpunit/php-invoker": "^3.1",
"phpunit/phpunit": "^10.5",
"phpunit/php-invoker": "^4.0",
"phpstan/phpstan": "^1.5",
"squizlabs/php_codesniffer": "^3.6"
},
Expand Down
31 changes: 12 additions & 19 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
<?xml version="1.0" encoding="UTF-8" ?>
<phpunit colors="true"
convertDeprecationsToExceptions="true"
convertNoticesToExceptions="true"
forceCoversAnnotation="true"
beStrictAboutTodoAnnotatedTests="true"
enforceTimeLimit="true">

<testsuites>
<testsuite name="Core Tests">
<directory>./tests/Core/</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>

<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" enforceTimeLimit="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" requireCoverageMetadata="true">
<testsuites>
<testsuite name="Core Tests">
<directory>./tests/Core/</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>

0 comments on commit 315e334

Please sign in to comment.