Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove not longer required stubs #309

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
php-version:
- "7.1"
- "7.2"

dependencies:
- "locked"
Expand Down Expand Up @@ -90,8 +90,6 @@ jobs:
- "7.4"

phpunit-version:
- "6.0.0"
- "7.0.0"
- "8.0.0"
- "9.0.0"

Expand Down Expand Up @@ -157,6 +155,9 @@ jobs:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"

dependencies:
- "locked"
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/.build/
/.notes/
/vendor/
/.php-cs-fixer.php
/.php-cs-fixer.cache
/phpunit.xml
/.phpunit.result.cache
/.phpunit.cache/
38 changes: 19 additions & 19 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,38 @@
{
"name": "jangregor/phpstan-prophecy",
"type": "phpstan-extension",
"description": "Provides a phpstan/phpstan extension for phpspec/prophecy",
"license": "MIT",
"type": "phpstan-extension",
"authors": [
{
"name": "Jan Gregor Emge-Triebel",
"email": "jan@jangregor.me"
}
],
"require": {
"php": "^7.1 || ^8.0",
"php": "^7.2 || ^8.0",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the stubs are added in 1.17.0 which only supports version from ^7.2 so we not longer can test on 7.1

"phpstan/phpstan": "^1.0.0"
},
"conflict": {
"phpspec/prophecy": "<1.7.0,>=2.0.0",
"phpunit/phpunit": "<6.0.0,>=10.0.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.1.1",
"ergebnis/license": "^1.0.0",
"ergebnis/php-cs-fixer-config": "~2.2.0",
"phpspec/prophecy": "^1.7.0",
"phpunit/phpunit": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0"
"ergebnis/php-cs-fixer-config": "^2.2 || ^3.0 || ^4.0 || ^5.0",
"phpspec/prophecy": "^1.17.0",
"phpunit/phpunit": "^8.0.0 || ^9.0.0"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prophecy 1.17 does only support PHPUnit 8, 9 (10 soon). So we can not longer test against 6 and 7.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

phpunit 10 is now supported

},
"conflict": {
"phpspec/prophecy": "<1.17.0,>=2.0.0",
"phpunit/phpunit": "<8.0.0,>=10.0.0"
},
"autoload": {
"psr-4": {
"JanGregor\\Prophecy\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"JanGregor\\Prophecy\\Test\\": "test/"
}
},
"config": {
"allow-plugins": {
Expand All @@ -36,15 +46,5 @@
"extension.neon"
]
}
},
"autoload": {
"psr-4": {
"JanGregor\\Prophecy\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"JanGregor\\Prophecy\\Test\\": "test/"
}
}
}
Loading
Loading