Skip to content

Commit f865e0b

Browse files
authored
Merge pull request #87 from marcreichel/chore/cleanup
🧹 Cleanup
2 parents 3b82c97 + e18f36e commit f865e0b

11 files changed

+23
-134
lines changed

.github/workflows/code-quality-pr.yml

-18
This file was deleted.

.github/workflows/code-quality.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ name: PHPStan
33
on:
44
push:
55
branches: [ main ]
6-
paths-ignore:
7-
- 'LICENSE'
8-
- 'README.md'
6+
pull_request:
7+
branches: [ main ]
98

109
jobs:
1110
phpstan:

.github/workflows/code-style-pr.yml

-18
This file was deleted.

.github/workflows/code-style.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ name: Pint
33
on:
44
push:
55
branches: [ main ]
6-
paths-ignore:
7-
- 'LICENSE'
8-
- 'README.md'
6+
pull_request:
7+
branches: [ main ]
98

109
jobs:
1110
pint:

.github/workflows/codecov.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@ name: Code coverage
22

33
on:
44
push:
5-
branches:
6-
- main
7-
paths-ignore:
8-
- LICENSE
9-
- README.md
5+
branches: [ main ]
106

117
jobs:
128
build:

.github/workflows/deploy-docs.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: Deploy docs
22

33
on:
44
push:
5-
branches:
6-
- main
7-
paths:
8-
- docs/**/*
5+
branches: [ main ]
6+
paths: [ docs/**/* ]
97
workflow_dispatch:
108

119
jobs:

.github/workflows/tests-pr.yml

-58
This file was deleted.

.github/workflows/tests.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ name: Tests
22

33
on:
44
push:
5-
branches:
6-
- main
7-
paths-ignore:
8-
- LICENSE
9-
- README.md
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
108

119
jobs:
1210
run-tests:
@@ -17,15 +15,13 @@ jobs:
1715
matrix:
1816
os: [ubuntu-latest]
1917
php: [8.3, 8.2, 8.1]
20-
laravel: ['8.*', '9.*', '10.*', '11.*']
18+
laravel: ['9.*', '10.*', '11.*']
2119
stability: [prefer-stable]
2220
include:
2321
- laravel: 10.*
2422
testbench: 8.*
2523
- laravel: 9.*
2624
testbench: 7.*
27-
- laravel: 8.*
28-
testbench: 6.*
2925
- laravel: 11.*
3026
testbench: 9.*
3127
exclude:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ vendor/
33
build/
44
report/
55
composer.lock
6+
.phpunit.cache
67
.phpunit.result.cache
78
cghooks.lock
89

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"require": {
1515
"php": "^8.1",
1616
"ext-json": "*",
17-
"illuminate/support": "^8.40.0|^9.0|^10.0|^11.0",
17+
"illuminate/support": "^9.0|^10.0|^11.0",
1818
"guzzlehttp/guzzle": "~6.0|~7.0",
1919
"nesbot/carbon": "^2.53.1|^3.0"
2020
},

phpunit.xml

+10-16
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,14 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
5-
bootstrap="vendor/autoload.php"
6-
colors="true"
7-
executionOrder="random"
8-
failOnWarning="true"
9-
failOnRisky="true"
10-
failOnEmptyTestSuite="true"
11-
beStrictAboutOutputDuringTests="true"
12-
verbose="true"
13-
>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php"
4+
colors="true" executionOrder="random" failOnWarning="true" failOnRisky="true" failOnEmptyTestSuite="true"
5+
beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache">
146
<testsuites>
157
<testsuite name="IGDBLaravel Test Suite">
168
<directory>tests</directory>
179
</testsuite>
1810
</testsuites>
1911
<coverage>
20-
<include>
21-
<directory suffix=".php">./src</directory>
22-
</include>
2312
<report>
2413
<html outputDirectory="build/coverage"/>
2514
<text outputFile="build/coverage.txt"/>
@@ -30,6 +19,11 @@
3019
<junit outputFile="build/report.junit.xml"/>
3120
</logging>
3221
<php>
33-
<env name="IGDB_WEBHOOK_SECRET" value="secret" />
22+
<env name="IGDB_WEBHOOK_SECRET" value="secret"/>
3423
</php>
24+
<source>
25+
<include>
26+
<directory>./src</directory>
27+
</include>
28+
</source>
3529
</phpunit>

0 commit comments

Comments
 (0)