Skip to content

Commit 7d229ff

Browse files
authored
Data Mapper Next (#4)
Data Mapper Next
2 parents 816cb1e + 56466b1 commit 7d229ff

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+2146
-1990
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.github/ export-ignore
2+
doc/ export-ignore
3+
tests/ export-ignore

.github/workflows/run-tests.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: run-tests
22

33
on:
4-
- push
54
- pull_request
65

76
jobs:
@@ -16,13 +15,15 @@ jobs:
1615

1716
steps:
1817
- name: Checkout code
19-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
2019

2120
- name: Cache dependencies
22-
uses: actions/cache@v2
21+
uses: actions/cache@v3
2322
with:
24-
path: ~/.composer/cache/files
25-
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
23+
path: |
24+
.phpstan-cache
25+
vendor
26+
key: composer-${{ hashFiles('composer.json') }}
2627

2728
- name: Setup PHP
2829
uses: shivammathur/setup-php@v2
@@ -33,10 +34,10 @@ jobs:
3334
tools: composer:v2
3435

3536
- name: Install dependencies
36-
run: composer update --prefer-stable --prefer-dist --no-interaction
37+
run: composer update --no-interaction
3738

3839
- name: Code Styles
3940
run: vendor/bin/phpcs -p
4041

4142
- name: Execute tests
42-
run: vendor/bin/phpunit
43+
run: vendor/bin/phpunit

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.idea/
22
vendor/
3-
.phpunit.result.cache
3+
jmapper_*
4+
.phpunit.result.cache

0 commit comments

Comments
 (0)