Skip to content

Commit 6b10529

Browse files
authored
Merge pull request #7 from cspray/task/update-at-1.1
Use annotated target 1.1
2 parents 972339d + fab9bbd commit 6b10529

6 files changed

+361
-338
lines changed

.github/workflows/testing.yml

+15-10
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,19 @@ jobs:
1515
XDEBUG_MODE: coverage
1616

1717
steps:
18-
- uses: actions/checkout@v3
19-
- name: Composer
20-
uses: php-actions/composer@v6
21-
- name: Tests
22-
uses: php-actions/phpunit@v3
18+
- uses: actions/checkout@v4
19+
- name: Setup PHP
20+
uses: shivammathur/setup-php@v2
2321
with:
24-
php_extensions: "xdebug"
25-
coverage_html: "coverage/web"
26-
coverage_text: true
27-
- name: Static Analysis
28-
run: "vendor/bin/psalm"
22+
php-version: 8.1
23+
tools: composer:2
24+
- name: Setup problem matchers for PHP
25+
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
26+
- name: Setup problem matchers for PHPUnit
27+
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
28+
- name: Composer Install
29+
run: composer install
30+
- name: PHPUnit
31+
run: ./vendor/bin/phpunit
32+
- name: Psalm
33+
run: ./vendor/bin/psalm

composer.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@
1616
"require": {
1717
"php": "^8.1",
1818
"ext-dom": "*",
19-
"cspray/annotated-target": "^0.3"
19+
"cspray/annotated-target": "^1.1"
2020
},
2121
"require-dev": {
2222
"cspray/phinal": "^2.0",
2323
"mikey179/vfsstream": "^1.6",
2424
"phpunit/phpunit": "^10.1",
25+
"symfony/console": "^6.4",
26+
"symfony/filesystem": "^6.4",
27+
"symfony/string": "^6.4",
2528
"vimeo/psalm": "^5.11"
2629
}
2730
}

0 commit comments

Comments
 (0)