Skip to content

Commit 7e31b54

Browse files
authored
Release/1.2.0 (#18)
* chore: Updates project dependencies and GitHub Actions workflows.
1 parent 54c6751 commit 7e31b54

File tree

6 files changed

+76
-61
lines changed

6 files changed

+76
-61
lines changed

.github/dependabot.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: "composer"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
open-pull-requests-limit: 0
9+
labels:
10+
- "php"
11+
- "security"
12+
- "dependencies"
13+
groups:
14+
php-security:
15+
applies-to: security-updates
16+
patterns:
17+
- "*"
18+
19+
- package-ecosystem: "github-actions"
20+
directory: "/"
21+
schedule:
22+
interval: "weekly"
23+
commit-message:
24+
prefix: "build"
25+
labels:
26+
- "dependencies"
27+
- "github-actions"
28+
groups:
29+
github-actions:
30+
patterns:
31+
- "*"

.github/workflows/auto-assign.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Assign issues and pull requests
1919
uses: gustavofreze/auto-assign@2.0.0
2020
with:
21-
assignees: '${{ secrets.ASSIGNEES }}'
21+
assignees: '${{ vars.ASSIGNEES }}'
2222
github_token: '${{ secrets.GITHUB_TOKEN }}'
2323
allow_self_assign: 'true'
2424
allow_no_assignees: 'true'

.github/workflows/ci.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Security checks
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
schedule:
9+
- cron: "0 0 * * *"
10+
11+
permissions:
12+
actions: read
13+
contents: read
14+
security-events: write
15+
16+
jobs:
17+
analyze:
18+
name: Analyze
19+
runs-on: ubuntu-latest
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
language: [ "actions" ]
24+
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v6
28+
29+
- name: Initialize CodeQL
30+
uses: github/codeql-action/init@v4
31+
with:
32+
languages: ${{ matrix.language }}
33+
34+
- name: Perform CodeQL analysis
35+
uses: github/codeql-action/analyze@v4

.gitignore

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.idea
2-
vendor
3-
report
4-
.phpunit.cache
52

6-
composer.lock
7-
.phpunit.result.cache
3+
/vendor/
4+
/report
5+
*.lock
6+
.phpunit.*

composer.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,13 @@
4242
}
4343
},
4444
"require": {
45-
"php": "^8.3",
46-
"tiny-blocks/collection": "dev-main"
45+
"php": "^8.3"
4746
},
4847
"require-dev": {
4948
"phpmd/phpmd": "^2.15",
50-
"phpstan/phpstan": "^1",
51-
"phpunit/phpunit": "^11",
52-
"infection/infection": "^0",
49+
"phpstan/phpstan": "^1.12",
50+
"phpunit/phpunit": "^11.5",
51+
"infection/infection": "^0.32",
5352
"squizlabs/php_codesniffer": "^3.11"
5453
},
5554
"scripts": {
@@ -58,7 +57,7 @@
5857
"phpmd": "phpmd ./src text phpmd.xml --suffixes php --ignore-violations-on-exit",
5958
"phpstan": "phpstan analyse -c phpstan.neon.dist --quiet --no-progress",
6059
"test-file": "phpunit --configuration phpunit.xml --no-coverage --filter",
61-
"mutation-test": "infection --only-covered --threads=max --logger-html=report/coverage/mutation-report.html --coverage=report/coverage",
60+
"mutation-test": "infection --threads=max --logger-html=report/coverage/mutation-report.html --coverage=report/coverage",
6261
"test-no-coverage": "phpunit --configuration phpunit.xml --no-coverage tests",
6362
"review": [
6463
"@phpcs",

0 commit comments

Comments
 (0)