Skip to content

Commit 9809d9f

Browse files
committed
update
1 parent 8dbd479 commit 9809d9f

File tree

8 files changed

+502
-890
lines changed

8 files changed

+502
-890
lines changed

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "composer" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"
12+
13+
- package-ecosystem: "github-actions"
14+
directory: "/"
15+
schedule:
16+
# Check for updates to GitHub Actions every week
17+
interval: "weekly"

.github/workflows/phpci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ jobs:
1010

1111
strategy:
1212
matrix:
13-
php-versions: ['7.4', '8.1']
14-
13+
php-versions:
14+
- '8.3'
15+
- '8.4'
1516
steps:
16-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v5
1718

1819
- name: Set up PHP ${{ matrix.php-versions }}
1920
uses: shivammathur/setup-php@v2

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ install:
22
composer install
33

44
test:
5-
composer run-script phpunit tests
5+
composer exec phpunit tests
66

77
lint:
8-
composer run-script phpcs -- --standard=PSR12 src tests
8+
composer exec phpcs -- --standard=PSR12 src tests

composer.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,15 @@
1010
}
1111
],
1212
"require": {
13-
"php": ">=7.4 || >=8.1"
14-
},
15-
"scripts": {
16-
"phpcs": "phpcs",
17-
"phpunit": "phpunit",
18-
"test": "phpunit tests"
13+
"php": ">=8.3"
1914
},
2015
"autoload": {
2116
"files": [
2217
"src/Points.php"
2318
]
2419
},
2520
"require-dev": {
26-
"phpunit/phpunit": "^9.5",
27-
"squizlabs/php_codesniffer": "^3.6"
21+
"phpunit/phpunit": "^12",
22+
"squizlabs/php_codesniffer": "*"
2823
}
2924
}

0 commit comments

Comments
 (0)