Skip to content

Commit 5281769

Browse files
Upgrades
1 parent 638a154 commit 5281769

File tree

10 files changed

+12
-86
lines changed

10 files changed

+12
-86
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@
99
/phpstan-baseline.neon export-ignore
1010
/phpstan.neon.dist export-ignore
1111
/phpunit.xml.dist export-ignore
12-
/psalm-baseline.xml export-ignore
13-
/psalm.xml export-ignore
1412
/README.md export-ignore
1513
/vendor-bin export-ignore

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contributions are **welcome** and will be fully **credited**.
44

5-
We accept contributions via pull requests on Github. Please review these guidelines before continuing.
5+
We accept contributions via pull requests on GitHub. Please review these guidelines before continuing.
66

77
## Guidelines
88

.github/SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Supported Versions
44

55
After each new major release, the previous release will be supported for no
6-
less than 2 years, unless explictly stated otherwise. This may mean that there
6+
less than 2 years, unless explicitly stated otherwise. This may mean that there
77
are multiple supported versions at any given time.
88

99
## Reporting a Vulnerability

.github/workflows/static.yml

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111

1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v5
14+
uses: actions/checkout@v6
1515

1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: '8.4'
19+
php-version: '8.5'
2020
tools: composer:v2
2121
coverage: none
2222
env:
@@ -38,37 +38,3 @@ jobs:
3838

3939
- name: Execute PHPStan
4040
run: vendor/bin/phpstan analyze --no-progress
41-
42-
psalm:
43-
name: Psalm
44-
runs-on: ubuntu-24.04
45-
46-
steps:
47-
- name: Checkout code
48-
uses: actions/checkout@v5
49-
50-
- name: Setup PHP
51-
uses: shivammathur/setup-php@v2
52-
with:
53-
php-version: '8.4'
54-
tools: composer:v2
55-
coverage: none
56-
env:
57-
update: true
58-
59-
- name: Install Dependencies
60-
uses: nick-invision/retry@v3
61-
with:
62-
timeout_minutes: 5
63-
max_attempts: 5
64-
command: composer update --no-interaction --no-progress
65-
66-
- name: Install Psalm
67-
uses: nick-invision/retry@v3
68-
with:
69-
timeout_minutes: 5
70-
max_attempts: 5
71-
command: composer bin psalm update --no-interaction --no-progress
72-
73-
- name: Execute Psalm
74-
run: vendor/bin/psalm.phar --no-progress --output-format=github

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Checkout Code
18-
uses: actions/checkout@v5
18+
uses: actions/checkout@v6
1919

2020
- name: Setup PHP
2121
uses: shivammathur/setup-php@v2

Makefile

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,17 @@
11
install:
2-
@docker run -it -w /data -v ${PWD}:/data:delegated -v ~/.composer:/root/.composer:delegated --entrypoint composer --rm registry.gitlab.com/grahamcampbell/php:8.4-base update
3-
@docker run -it -w /data -v ${PWD}:/data:delegated -v ~/.composer:/root/.composer:delegated --entrypoint composer --rm registry.gitlab.com/grahamcampbell/php:8.4-base bin all update
2+
@docker run -it -w /data -v ${PWD}:/data:delegated -v ~/.composer:/root/.composer:delegated --entrypoint composer --rm registry.gitlab.com/grahamcampbell/php:8.5-base update
3+
@docker run -it -w /data -v ${PWD}:/data:delegated -v ~/.composer:/root/.composer:delegated --entrypoint composer --rm registry.gitlab.com/grahamcampbell/php:8.5-base bin all update
44

55
phpunit:
6-
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/phpunit --rm registry.gitlab.com/grahamcampbell/php:8.4-cli
6+
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/phpunit --rm registry.gitlab.com/grahamcampbell/php:8.5-cli
77

88
phpstan-analyze:
9-
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:8.4-cli analyze
9+
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:8.5-cli analyze
1010

1111
phpstan-baseline:
12-
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:8.4-cli analyze --generate-baseline
12+
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:8.5-cli analyze --generate-baseline
1313

14-
psalm-analyze:
15-
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:8.4-cli
16-
17-
psalm-baseline:
18-
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:8.4-cli --set-baseline=psalm-baseline.xml
19-
20-
psalm-show-info:
21-
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:8.4-cli --show-info=true
22-
23-
test: phpunit phpstan-analyze psalm-analyze
14+
test: phpunit phpstan-analyze
2415

2516
clean:
2617
@rm -rf .phpunit.result.cache composer.lock vendor vendor-bin/*/composer.lock vendor-bin/*/vendor

psalm-baseline.xml

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

psalm.xml

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

vendor-bin/phpstan/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"phpstan/phpstan": "2.1.22"
3+
"phpstan/phpstan": "2.1.33"
44
},
55
"config": {
66
"preferred-install": "dist"

vendor-bin/psalm/composer.json

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

0 commit comments

Comments
 (0)