Skip to content

Commit

Permalink
Align with php-skeleton 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
milan-miscevic committed Apr 1, 2022
1 parent 8c320fa commit 430f3eb
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 64 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
php-version: "${{ matrix.php-version }}"
- uses: "actions/checkout@v2"
- uses: "php-actions/composer@v1"
- run: "vendor/bin/infection --min-msi=80"
- env:
INFECTION_DASHBOARD_API_KEY: ${{ secrets.INFECTION_DASHBOARD_API_KEY }}
run: "vendor/bin/infection --min-msi=80"

phpstan:
name: "PHPStan static analysis"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
[![GitHub Build](https://github.com/milan-miscevic/inert/workflows/Test/badge.svg?branch=master)](https://github.com/milan-miscevic/inert/actions)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=milan-miscevic_inert&metric=alert_status)](https://sonarcloud.io/dashboard?id=milan-miscevic_inert)
[![Type Coverage](https://shepherd.dev/github/milan-miscevic/inert/coverage.svg)](https://shepherd.dev/github/milan-miscevic/inert)
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fmilan-miscevic%2Finert%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/milan-miscevic/inert/master)

This repository provides a mini PHP framework with basic MVC and service container support. The name comes from the type of projects it is intended for - small and (almost) non-dynamic, or just inert.

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
"psr/container": "^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.7.0",
"friendsofphp/php-cs-fixer": "^3.8.0",
"infection/infection": "^0.26.6",
"phpstan/phpstan": "^1.4.9",
"phpstan/phpstan": "^1.5.2",
"phpstan/phpstan-strict-rules": "^1.1",
"phpunit/phpunit": "^9.5.18",
"phpunit/phpunit": "^9.5.19",
"vimeo/psalm": "^4.22.0"
},
"autoload": {
Expand Down
114 changes: 55 additions & 59 deletions composer.lock

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

5 changes: 4 additions & 1 deletion infection.json.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"directories": ["src"]
},
"logs": {
"text": "./logs/infection.log"
"text": "./logs/infection.log",
"stryker": {
"report": "master"
}
},
"tmpDir": "./logs",
"mutators": {
Expand Down
Loading

0 comments on commit 430f3eb

Please sign in to comment.