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

Support PHP8.0 #91

Closed
wants to merge 1 commit into from
Closed
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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ Add the dependency to `phpmentors/workflower` into your `composer.json` file as
composer require phpmentors/workflower "1.4.*"
```

when your PHP version >= 8.0, you can install `1.5.*`

```
composer require phpmentors/workflower "1.5.*"
```

Comment on lines +60 to +65
Copy link
Author

Choose a reason for hiding this comment

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

Need to publish a new version with v1.5.0.

**Development version:**

```
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^8.0",
"ext-dom": "*",
"symfony/expression-language": "~3.4|~4.0|~5.0"
},
"require-dev": {
"phpunit/phpunit": "~6.5"
"phpunit/phpunit": "~8.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Workflow/ProcessInstanceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ProcessInstanceTest extends TestCase
/**
* {@inheritdoc}
*/
protected function setUp()
protected function setUp(): void
{
$this->workflowRepository = new WorkflowRepository();
}
Expand Down