Skip to content

Commit a9ce531

Browse files
authored
Merge branch 'master' into fix-duplicate-columns-in-relation-sorting
2 parents a6bcf32 + caa6381 commit a9ce531

38 files changed

+1439
-2002
lines changed

.gitattributes

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.editorconfig export-ignore
66
.gitattributes export-ignore
77
.gitignore export-ignore
8-
.php_cs export-ignore
98
.scrutinizer.yml export-ignore
10-
.travis.yml export-ignore
11-
phpunit.xml export-ignore
9+
.styleci.yml export-ignore
10+
phpstan.neon.dist export-ignore
11+
phpunit.xml.dist export-ignore

.github/workflows/tests.yml renamed to .github/workflows/continuous-integration.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: tests
1+
name: "Continuous Integration"
22

33
on:
44
push:
@@ -7,14 +7,14 @@ on:
77
- cron: '0 0 * * *'
88

99
jobs:
10-
tests:
10+
phpunit:
1111

1212
runs-on: ubuntu-latest
1313

1414
strategy:
1515
fail-fast: true
1616
matrix:
17-
php: [7.3, 7.4, 8.0]
17+
php: [8.0, 8.1]
1818
stability: [prefer-stable]
1919

2020
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
@@ -39,7 +39,7 @@ jobs:
3939
with:
4040
timeout_minutes: 5
4141
max_attempts: 5
42-
command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
42+
command: COMPOSER_ROOT_VERSION=dev-master composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
4343

4444
- name: Execute tests
4545
run: vendor/bin/phpunit --verbose

.github/workflows/static-analysis.yml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: "Static Analysis"
2+
3+
on:
4+
push:
5+
paths:
6+
- .github/workflows/static-analysis.yml
7+
- composer.*
8+
- phpstan.neon.dist
9+
- src/**
10+
- tests/**
11+
12+
pull_request:
13+
paths:
14+
- .github/workflows/static-analysis.yml
15+
- composer.*
16+
- phpstan.neon.dist
17+
- src/**
18+
- tests/**
19+
20+
schedule:
21+
- cron: '0 0 * * *'
22+
23+
jobs:
24+
static-analysis-phpstan:
25+
26+
name: "Static Analysis with PHPStan"
27+
runs-on: ubuntu-latest
28+
29+
strategy:
30+
fail-fast: true
31+
matrix:
32+
php: [8.1]
33+
stability: [prefer-stable]
34+
35+
steps:
36+
- name: Checkout code
37+
uses: actions/checkout@v2
38+
39+
- name: Setup PHP
40+
uses: shivammathur/setup-php@v2
41+
with:
42+
php-version: ${{ matrix.php }}
43+
tools: composer:v2
44+
coverage: none
45+
46+
- name: Install dependencies
47+
uses: nick-invision/retry@v1
48+
with:
49+
timeout_minutes: 5
50+
max_attempts: 5
51+
command: COMPOSER_ROOT_VERSION=dev-master composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
52+
53+
- name: "Run a static analysis with phpstan/phpstan"
54+
run: "vendor/bin/phpstan --error-format=checkstyle"

.php_cs

-77
This file was deleted.

.scrutinizer.yml

-10
This file was deleted.

.styleci.yml

-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
11
preset: laravel
2-
3-
enabled:
4-
- align_double_arrow
5-
- align_equals
6-
- no_useless_else
7-
8-
disabled:
9-
- concat_without_spaces
10-
- unalign_equals

0 commit comments

Comments
 (0)