Skip to content

Commit

Permalink
Force Symfony 4.4 usage
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubinix committed Jun 6, 2021
1 parent e14175b commit d631618
Show file tree
Hide file tree
Showing 25 changed files with 2,613 additions and 1,664 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ $app[''cubicle.quests.advancer']->startQuest($questId, $userId);
Quests can have a list of tasks which are required to be completed before the quest can be finished (e.g. User needs to login 5x).
A quest can have multiple tasks. The boolean operators ``AND`` and ``OR`` can be used to combine tasks. These operators can also be nested (e.g. User needs to login 5x OR The Sun is shining).

#### Trigger
To decide which quest will be started after another quest was finished trigger conditions can be defined. The first quests which matches all the trigger conditions will then be started.

#### Slot
With slots it is possible to limit the amount of quests open at the time. Each slot allows one open quest. The availability of quests can be limited with a start and end date which can be useful for limited events. Slots are tied to a registry.

Expand Down
11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"type": "library",
"require": {
"php": "^7.2",
"symfony/workflow": "^3.2 || ^4.0 || ^5.0",
"symfony/workflow": "^4.4",
"roave/security-advisories": "dev-master",
"doctrine/orm": "^2.5",
"symfony/console": "^3.2 || ^4.0 || ^5.0",
"symfony/console": "^4.4",
"doctrine/cache": "^1.6"
},
"license": "MIT",
Expand All @@ -31,8 +31,9 @@
"phpunit/phpunit": "^8.0",
"friendsofphp/php-cs-fixer": "^2.0",
"silex/silex": "^2.0",
"phpstan/phpstan": "^0.11.5",
"phpstan/phpstan-strict-rules": "^0.11.0",
"phpstan/phpstan-phpunit": "^0.11.0"
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12",
"phpstan/phpstan-phpunit": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12.6"
}
}
Loading

0 comments on commit d631618

Please sign in to comment.