Skip to content

Commit

Permalink
Chore: php8.2, update ci stuff ... (#583)
Browse files Browse the repository at this point in the history
set php 8.2 as min requirement
php-versions: ["8.2", "8.3", "8.4"]
allow latest phpunit
fix phpcs
fix phpstan issues
fix unit tests
add missing ci pipelines
add missing make files
add missing phpstan files
  • Loading branch information
julianzimmermann authored Jan 15, 2025
1 parent 90f1d06 commit 489a454
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: [ "8.1", "8.2", "8.3" ]
php-versions: [ "8.2", "8.3", "8.4" ]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ phpstan:

.PHONY: codeception
codeception:
./vendor/bin/codecept run --env standalone
./vendor/bin/codecept run --env standalone --coverage --coverage-xml --coverage-html

.PHONY: ci
ci: phpcs codeception phpstan
Expand All @@ -25,6 +25,6 @@ ci: phpcs codeception phpstan
clean:
rm -Rf composer.lock
rm -Rf ./vendor
find ./tests/_output/ -not -name .gitignore -not -name .gitkeep -delete
find ./tests/_output/ -not -name .gitignore -delete
rm -Rf src/Generated/*
rm -Rf src/Orm/*
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
],
"require": {
"php": ">=8.1",
"php": ">=8.2",
"fond-of-oryx/easy-api": "^1.0.0",
"spryker/company-user": "^1.0.0 || ^2.0.0",
"spryker/glue-application": "^1.0.0",
Expand All @@ -31,7 +31,7 @@
"psr-4": {
"FondOfOryx\\": "tests/FondOfOryx/",
"Generated\\": "src/Generated/",
"Orm\\Zed\\": "src/Orm/Zed/"
"Orm\\": "src/Orm/"
}
},
"config": {
Expand Down

0 comments on commit 489a454

Please sign in to comment.