Skip to content

Commit c1f26c5

Browse files
authored
Merge pull request #55 from ohdearapp/monitors
v4 - uses monitors endpoint - now built on Saloon
2 parents b34f85d + fcc57fd commit c1f26c5

File tree

213 files changed

+5921
-1712
lines changed

Some content is hidden

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

213 files changed

+5921
-1712
lines changed

.env.example

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Run static analysis
2+
3+
on:
4+
push:
5+
paths:
6+
- '**.php'
7+
- 'phpstan.neon'
8+
- '.github/workflows/run-static-analysis.yml'
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
phpstan:
16+
name: PHPStan
17+
runs-on: ubuntu-latest
18+
timeout-minutes: 10
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Setup PHP
24+
uses: shivammathur/setup-php@v2
25+
with:
26+
php-version: 8.4
27+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, redis, relay
28+
coverage: none
29+
30+
- name: Run composer install
31+
run: composer install -n --prefer-dist
32+
33+
- name: Run static analysis
34+
run: composer analyse

.github/workflows/run-tests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: [8.2, 8.1]
12+
php: [8.4, 8.3, 8.2, 8.1]
1313
dependency-version: [prefer-lowest, prefer-stable]
1414

1515
name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
@@ -25,9 +25,6 @@ jobs:
2525
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
2626
coverage: none
2727

28-
- name: Copy .env.example file
29-
run: cp .env.example .env
30-
3128
- name: Install dependencies
3229
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
3330

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ tests/ApiTest.php
88
.php_cs.cache
99
.php-cs-fixer.cache
1010
.phpunit.cache
11+
tests/TestSupport/.env
1112

0 commit comments

Comments
 (0)