Skip to content

Commit

Permalink
Updated dependnecies, added phive, added infection badge
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Aug 1, 2020
1 parent 13a82a6 commit f0b4259
Show file tree
Hide file tree
Showing 9 changed files with 1,283 additions and 4,716 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
/.github/ export-ignore
/docs export-ignore
/tests export-ignore
/tools export-ignore
/tools/* binary
/.phive export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs export-ignore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- cron: '* 8 * * *'

jobs:
compatibility:
mutation:
name: "Mutation Tests"

runs-on: ${{ matrix.operating-system }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- cron: '* 8 * * *'

jobs:
compatibility:
static-analyze:
name: "Static Analyze"

runs-on: ${{ matrix.operating-system }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- cron: '* 8 * * *'

jobs:
compatibility:
tests:
name: "Tests"

runs-on: ${{ matrix.operating-system }}
Expand Down
7 changes: 7 additions & 0 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="php-cs-fixer" version="^2.16.3" installed="2.16.4" location="./tools/php-cs-fixer" copy="true"/>
<phar name="infection" version="^0.16.3" installed="0.16.4" location="./tools/infection" copy="true"/>
<phar name="phpstan" version="^0.12.32" installed="0.12.34" location="./tools/phpstan" copy="true"/>
<phar name="psalm" version="^3.12.2" installed="3.13.1" location="./tools/psalm" copy="true"/>
</phive>
18 changes: 6 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,10 @@
"require": {
"php": ">=7.4.2",
"ext-json": "*",
"aeon-php/calendar": "^0.2.0"
"aeon-php/calendar": "^0.3.0"
},
"require-dev": {
"phpunit/phpunit": "^9.2",
"phpstan/phpstan": "^0.12.25",
"vimeo/psalm": "^3.11",
"phpstan/phpstan-phpunit": "^0.12.8",
"psalm/plugin-phpunit": "^0.10.1",
"friendsofphp/php-cs-fixer": "^2.16",
"infection/infection": "^0.16.3",
"google/apiclient": "^2.0"
},
"license": "MIT",
Expand Down Expand Up @@ -47,14 +41,14 @@
"phpunit"
],
"test:mutation": [
"infection --threads=2"
"tools/infection --threads=2"
],
"static:analyze": [
"psalm --output-format=compact",
"phpstan analyze -c phpstan.neon",
"php-cs-fixer fix --dry-run"
"tools/psalm --output-format=compact",
"tools/phpstan analyze -c phpstan.neon",
"tools/php-cs-fixer fix --dry-run"
],
"cs:php:fix": "php-cs-fixer fix"
"cs:php:fix": "tools/php-cs-fixer fix"
},
"extra": {
"branch-alias": {
Expand Down
Loading

0 comments on commit f0b4259

Please sign in to comment.