Skip to content

Commit

Permalink
chore: Update Dependencies (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankverhoeven authored Mar 16, 2022
1 parent e082a03 commit 4139fb7
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 17 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2

updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
14 changes: 2 additions & 12 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ jobs:
with:
php-version: 8.0
coverage: none
- uses: actions/cache@v2
with:
path: vendor
key: php-8.0-vendor-${{ hashFiles('**/composer.json') }}
restore-keys: php-8.0-vendor-
- run: composer install --no-interaction --no-ansi --no-suggest
- uses: ramsey/composer-install@v2
- id: set-php-versions
run: echo "::set-output name=php-versions::$(bin/devtools list:php-versions)"
- id: set-tools
Expand All @@ -38,11 +33,6 @@ jobs:
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- uses: actions/cache@v2
with:
path: vendor
key: php-${{ matrix.php-version }}-vendor-${{ hashFiles('**/composer.json') }}
restore-keys: php-${{ matrix.php-version }}-vendor-
- run: composer install --no-interaction --no-ansi --no-suggest
- uses: ramsey/composer-install@v2

- run: bin/devtools ${{ matrix.tool }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
.phpcs-cache
.phpunit.result.cache
composer.lock
infection-log.txt
vendor
15 changes: 11 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,23 @@
"MyOnlineStore\\DevTools\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"infection/extension-installer": true
}
},
"require": {
"php": "^7.4 || ^8.0",
"symfony/console": "^5.3",
"composer/semver": "^3.2",
"symfony/process": "^5.3"
"symfony/console": "^5.4 || ^6.0",
"composer/semver": "^3.3",
"symfony/process": "^5.4 || ^6.0",
"roave/infection-static-analysis-plugin": "^1.18"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"myonlinestore/coding-standard": "^3.1",
"vimeo/psalm": "^4.10",
"vimeo/psalm": "^4.22",
"phpunit/phpunit": "^8.5 || ^9.5"
},
"bin": [
Expand Down
11 changes: 11 additions & 0 deletions infection.json.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"timeout": 5,
"source": {
"directories": [
"src"
]
},
"logs": {
"text": "infection-log.txt"
}
}
1 change: 1 addition & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<arg value="sp"/>

<file>src</file>
<file>tests</file>

<rule ref="MyOnlineStore"/>
</ruleset>
1 change: 0 additions & 1 deletion psalm.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<psalm
errorLevel="1"
resolveFromConfigFile="true"
totallyTyped="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
Expand Down

0 comments on commit 4139fb7

Please sign in to comment.