Skip to content

Commit

Permalink
Merge pull request #375 from phpDocumentor/build-php84
Browse files Browse the repository at this point in the history
Build on php 8.4
  • Loading branch information
jaapio authored Nov 3, 2024
2 parents 60741fe + f985773 commit 8ea9464
Show file tree
Hide file tree
Showing 14 changed files with 929 additions and 2,687 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,41 +13,41 @@ on: # yamllint disable-line rule:truthy
jobs:
code-coverage:
name: "Code Coverage"
uses: "phpDocumentor/.github/.github/workflows/code-coverage.yml@main"
uses: "phpDocumentor/.github/.github/workflows/code-coverage.yml@v0.8"
with:
composer-root-version: "5.x-dev"

coding-standards:
name: "Coding Standards"
uses: "phpDocumentor/.github/.github/workflows/coding-standards.yml@v0.7"
uses: "phpDocumentor/.github/.github/workflows/coding-standards.yml@v0.8"
with:
composer-root-version: "5.x-dev"

dependency-analysis:
name: "Dependency analysis"
uses: "phpDocumentor/.github/.github/workflows/dependency-analysis.yml@v0.7"
uses: "phpDocumentor/.github/.github/workflows/dependency-analysis.yml@v0.8"
with:
composer-root-version: "5.x-dev"

lint-root:
name: "Lint root"
uses: "phpDocumentor/.github/.github/workflows/lint.yml@main"
uses: "phpDocumentor/.github/.github/workflows/lint.yml@v0.8"
with:
composer-options: "--no-check-publish --ansi"

static-analysis:
name: "Static analysis"
uses: "phpDocumentor/.github/.github/workflows/static-analysis.yml@v0.7"
uses: "phpDocumentor/.github/.github/workflows/static-analysis.yml@v0.8"
with:
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, pcntl, posix"
composer-root-version: "5.x-dev"

unit-tests:
name: "Unit test"
uses: "phpDocumentor/.github/.github/workflows/continuous-integration.yml@v0.7"
uses: "phpDocumentor/.github/.github/workflows/continuous-integration.yml@v0.8"
with:
composer-root-version: "5.x-dev"
php-versions: "['7.4', '8.0', '8.1', '8.2', '8.3']"
upcoming-releases: true

bc_check:
name: "BC Check"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fix-code-style:
.PHONY: static-code-analysis
static-code-analysis: vendor ## Runs a static code analysis with phpstan/phpstan and vimeo/psalm
docker run -it --rm -v${PWD}:/opt/project -w /opt/project php:7.4 vendor/bin/phpstan --configuration=phpstan.neon
docker run -it --rm -v${PWD}:/opt/project -w /opt/project php:7.4 vendor/bin/psalm
docker run -it --rm -v${PWD}:/opt/project -w /opt/project php:7.4 vendor/bin/psalm.phar

.PHONY: test
test: test-unit ## Runs all test suites with phpunit/phpunit
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"phpstan/phpstan-mockery": "^1.1",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-webmozart-assert": "^1.2",
"vimeo/psalm": "^5.13"
"psalm/phar": "^5.26"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 8ea9464

Please sign in to comment.