Skip to content

Commit

Permalink
Use PHP attributes in favour of annotations (#5)
Browse files Browse the repository at this point in the history
Switch over to using PHP attributes instead of doctrine annotations so
we can drop the dependency on doctrine/annotations
  • Loading branch information
kielabokkie authored May 25, 2023
1 parent 240db20 commit 08c479b
Show file tree
Hide file tree
Showing 8 changed files with 508 additions and 466 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-php/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.1'
- id: get-composer-cache-directory
name: Get Composer caches directory path
run: echo "::set-output name=dir::$(php composer.phar config cache-files-dir)"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ '8.0', '8.1', '8.2' ]
php-version: [ '8.1', '8.2' ]
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-php
Expand Down
16 changes: 16 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/phpunit.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"require": {
"php": ">=8.0",
"ext-json": "*",
"doctrine/annotations": "^1.0",
"phpdocumentor/reflection-docblock": "^5.3",
"phpstan/phpdoc-parser": "^1.2",
"symfony/cache": "^5.0 | ^6.0",
Expand Down
Loading

0 comments on commit 08c479b

Please sign in to comment.