Skip to content

Commit

Permalink
[Dependency] Update dependencies (#67)
Browse files Browse the repository at this point in the history
* Update PHP, PHPUnit, and Slevomat

* Update GitHub action

* Add plugin to composer

* Downgrade PHPUnit and update GitHub action

* Remove pcov clobber
  • Loading branch information
cjreed121 authored Apr 2, 2024
1 parent b80c18d commit ab824a4
Show file tree
Hide file tree
Showing 3 changed files with 638 additions and 659 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: Test

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
php-version: ['7.1', '7.2', '7.3', '7.4']
php-version: ['8.1', '8.2']

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -40,9 +40,6 @@ jobs:
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest

- name: Setup pcov
run: vendor/bin/pcov clobber

- name: Lint
run: vendor/bin/phpcs --colors -p --standard=SubmittyStandard ./SubmittyStandard

Expand Down
12 changes: 7 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@
"description": "Submitty PHP CodeSniffer Standard",
"version": "3.0.0",
"require": {
"php": ">=7.1",
"php": ">=8.1",
"squizlabs/php_codesniffer": "^3.5.4",
"slevomat/coding-standard": "^7.0.15"
"slevomat/coding-standard": "^8.15.0"
},
"config": {
"platform": {
"php": "7.1"
"php": "8.1"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require-dev": {
"pcov/clobber": "^2.0",
"phpunit/phpunit": "^7.5.12",
"phpunit/phpunit": "^9.3.4",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1"
},
"suggest": {
Expand Down
Loading

0 comments on commit ab824a4

Please sign in to comment.