Skip to content

Commit

Permalink
Update phpunit (MiczFlor#2253)
Browse files Browse the repository at this point in the history
* fixed markdown warnings

* fix flake warnings

* Bump coverallsapp/github-action from 1 to 2

Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1 to 2.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Upgrade guide](https://github.com/coverallsapp/github-action/blob/main/UPGRADE.md)
- [Commits](coverallsapp/github-action@v1...v2)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github/codeql-action from 2 to 3

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump actions/setup-python from 4 to 5

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump php-mock/php-mock-phpunit from 2.8.0 to 2.9.0

Bumps [php-mock/php-mock-phpunit](https://github.com/php-mock/php-mock-phpunit) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/php-mock/php-mock-phpunit/releases)
- [Commits](php-mock/php-mock-phpunit@2.8.0...2.9.0)

---
updated-dependencies:
- dependency-name: php-mock/php-mock-phpunit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump phpunit/phpunit from 9.6.13 to 9.6.15

Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.13 to 9.6.15.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.15/ChangeLog-9.6.md)
- [Commits](sebastianbergmann/phpunit@9.6.13...9.6.15)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* update phpunit

* dont enforce php version in action

* explicitly set used version 7.4

* pin instantiator version to 1.5

* test usage of 7.3

* revert last change

* update to latest phpunit 11 and remove patch for serialize

* use php 10 instead of 11

* update to latest phpunit an php 8.x for github action

* fix phpunit command line option

* remove unnecessary package

* pin php-mock-phpunit only to major version

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
s-martin and dependabot[bot] authored Feb 13, 2024
1 parent 0b452b6 commit d345db1
Show file tree
Hide file tree
Showing 3 changed files with 286 additions and 447 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup PHP with XDebug
uses: shivammathur/setup-php@v2
with:
php-version: 7.3
php-version: 8.x
coverage: xdebug
tools: composer

Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
"description": "A Raspberry Pi jukebox, playing local music, podcasts, web radio and streams triggered by RFID cards, web app or home automation. All plug and play via USB. GPIO scripts available.",
"type": "project",
"require-dev": {
"phpunit/phpunit": "^9",
"php-mock/php-mock-phpunit": "^2.6",
"mpyw/phpunit-patch-serializable-comparison": "^0.0.2"
"phpunit/phpunit": "^11",
"php-mock/php-mock-phpunit": "^2"
},
"license": "MIT",
"authors": [
Expand All @@ -15,7 +14,7 @@
],
"minimum-stability": "stable",
"scripts": {
"test": "vendor/bin/phpunit ./tests/htdocs --exclude real-env",
"test": "vendor/bin/phpunit ./tests/htdocs --exclude-group real-env",
"test-all": "vendor/bin/phpunit ./tests/htdocs"
}
}
Loading

0 comments on commit d345db1

Please sign in to comment.