Compare commits
No commits in common. "master" and "3.0.0" have entirely different histories.
5 changed files with 10 additions and 17 deletions
|
@ -3,18 +3,12 @@ workspace:
|
|||
path: package
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- FLOW_VERSION: 7.3
|
||||
PHP_VERSION: 7.4
|
||||
- FLOW_VERSION: 7.3
|
||||
PHP_VERSION: 8.1
|
||||
- FLOW_VERSION: 8.2
|
||||
PHP_VERSION: 8.1
|
||||
|
||||
FLOW_VERSION:
|
||||
- 7.3
|
||||
|
||||
pipeline:
|
||||
functional-tests:
|
||||
image: "thecodingmachine/php:${PHP_VERSION}-v4-cli"
|
||||
image: thecodingmachine/php:7.4-v4-cli
|
||||
environment:
|
||||
# Enable the PDO_SQLITE extension
|
||||
- "PHP_EXTENSION_PDO_SQLITE=1"
|
||||
|
|
|
@ -8,7 +8,6 @@ namespace DigiComp\FlowSessionLock\Annotations;
|
|||
* @Annotation
|
||||
* @Target({"METHOD"})
|
||||
*/
|
||||
#[\Attribute(\Attribute::TARGET_METHOD)]
|
||||
final class Unlock
|
||||
final class ReadOnly
|
||||
{
|
||||
}
|
|
@ -36,7 +36,7 @@ class ReadOnlyAspect
|
|||
protected bool $readOnly = false;
|
||||
|
||||
/**
|
||||
* @Flow\Around("methodAnnotatedWith(DigiComp\FlowSessionLock\Annotations\Unlock) || filter(DigiComp\FlowSessionLock\Aspects\ReadOnlyFilter)")
|
||||
* @Flow\Around("methodAnnotatedWith(DigiComp\FlowSessionLock\Annotations\ReadOnly) || filter(DigiComp\FlowSessionLock\Aspects\ReadOnlyFilter)")
|
||||
* @param JoinPointInterface $joinPoint
|
||||
* @return mixed
|
||||
*/
|
||||
|
|
|
@ -22,7 +22,7 @@ class ExampleController extends ActionController
|
|||
|
||||
/**
|
||||
* @Flow\Session(autoStart=true);
|
||||
* @FlowSessionLock\Unlock
|
||||
* @FlowSessionLock\ReadOnly
|
||||
* @return string
|
||||
*/
|
||||
public function unprotectedByAnnotationAction()
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
"description": "Session locking for Neos Flow - it secures the session becoming corrupted by concurrent access to the same session by different requests",
|
||||
"type": "neos-package",
|
||||
"require": {
|
||||
"neos/flow": "^7.3.0 | ^8.2",
|
||||
"php": "^7.4 | ^8.1",
|
||||
"symfony/lock": "^5.2.0 | ^6.2.0"
|
||||
"neos/flow": "^7.3.0",
|
||||
"php": ">=7.4",
|
||||
"symfony/lock": "^5.2.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"ext-pcntl": "*"
|
||||
|
@ -20,7 +20,7 @@
|
|||
"package-key": "DigiComp.FlowSessionLock"
|
||||
},
|
||||
"branch-alias": {
|
||||
"dev-develop": "4.0.x-dev",
|
||||
"dev-develop": "3.0.x-dev",
|
||||
"dev-version/2.x-dev": "2.1.x-dev"
|
||||
},
|
||||
"applied-flow-migrations": [
|
||||
|
|
Loading…
Add table
Reference in a new issue