feat(csrf): Allows to disable CSRF on form (#FRAM-123) (#10) #43
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
php.yml
on: push
Analysis
3m 16s
Test coverage
24s
Matrix: build
Annotations
19 warnings
PHP 7.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, szenius/set-timezone@v1.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP 7.4
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, szenius/set-timezone@v1.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP 7.3
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, szenius/set-timezone@v1.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP 7.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, szenius/set-timezone@v1.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP 8.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, szenius/set-timezone@v1.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP 8.0
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, szenius/set-timezone@v1.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP 8.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, szenius/set-timezone@v1.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, szenius/set-timezone@v1.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Analysis
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, szenius/set-timezone@v1.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Analysis:
src/Aggregate/ArrayElementBuilder.php#L375
Escaped Mutant:
--- Original
+++ New
@@ @@
/**
* {@inheritdoc}
*/
- protected function registry() : RegistryInterface
+ private function registry() : RegistryInterface
{
return $this->registry;
}
}
|
Analysis:
src/Aggregate/Collection/DependencyIterator.php#L88
Escaped Mutant:
--- Original
+++ New
@@ @@
}
// Create the new iterator, and reset
$this->levelIterator = $this->currentLevel->getIterator();
- $this->levelIterator->rewind();
+
}
// The children is not already registered
// We should skip this step
|
Analysis:
src/Aggregate/Collection/DependencyIterator.php#L124
Escaped Mutant:
--- Original
+++ New
@@ @@
{
$this->currentLevel = $this->first;
$this->levelIterator = $this->currentLevel->getIterator();
- $this->levelIterator->rewind();
+
// The child is not registered, we should go next
// Or the iterator is not valid
if (!$this->levelIterator->valid() || !isset($this->children[$this->key()])) {
|
Analysis:
src/Aggregate/Collection/DependencyTree.php#L96
Escaped Mutant:
--- Original
+++ New
@@ @@
return false;
}
$level = $this->level($name);
- if ($level->number() === 0) {
+ if ($level->number() === -1) {
// The child is not part of a dependency
// Web can remove from index safely
$level->remove($name);
|
Analysis:
src/Aggregate/Collection/DependencyTree.php#L96
Escaped Mutant:
--- Original
+++ New
@@ @@
return false;
}
$level = $this->level($name);
- if ($level->number() === 0) {
+ if ($level->number() !== 0) {
// The child is not part of a dependency
// Web can remove from index safely
$level->remove($name);
|
Analysis:
src/Aggregate/Collection/DependencyTree.php#L99
Escaped Mutant:
--- Original
+++ New
@@ @@
}
$level = $this->level($name);
if ($level->number() === 0) {
- // The child is not part of a dependency
- // Web can remove from index safely
- $level->remove($name);
+
unset($this->depth[$name]);
} else {
// The child is part of a dependency
|
Analysis:
src/Aggregate/Collection/DependencyTree.php#L104
Escaped Mutant:
--- Original
+++ New
@@ @@
$level->remove($name);
unset($this->depth[$name]);
} else {
- // The child is part of a dependency
- // Keep it in the index, but remove its dependencies
- $level->reset($name);
+
}
unset($this->children[$name]);
return true;
|
Analysis:
src/Aggregate/Form.php#L315
Escaped Mutant:
--- Original
+++ New
@@ @@
*/
public function offsetSet($offset, $value) : void
{
- throw new BadMethodCallException(__CLASS__ . ' is immutable');
+ throw new BadMethodCallException(__CLASS__);
}
/**
* {@inheritdoc}
|
Analysis:
src/Aggregate/Form.php#L315
Escaped Mutant:
--- Original
+++ New
@@ @@
*/
public function offsetSet($offset, $value) : void
{
- throw new BadMethodCallException(__CLASS__ . ' is immutable');
+ throw new BadMethodCallException(' is immutable');
}
/**
* {@inheritdoc}
|
Analysis:
src/Aggregate/Form.php#L315
Escaped Mutant:
--- Original
+++ New
@@ @@
*/
public function offsetSet($offset, $value) : void
{
- throw new BadMethodCallException(__CLASS__ . ' is immutable');
+ throw new BadMethodCallException(' is immutable' . __CLASS__);
}
/**
* {@inheritdoc}
|