Thanks to visit codestin.com
Credit goes to github.com

Skip to content

SCA with Php Inspections (EA Extended) #24960

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

Closed
wants to merge 4 commits 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
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public function setClassCache(array $classes)
*/
public function setAnnotatedClassCache(array $annotatedClasses)
{
file_put_contents(($this->warmupDir ?: $this->getCacheDir()).'/annotations.map', sprintf('<?php return %s;', var_export($annotatedClasses, true)));
file_put_contents(($this->warmupDir ?: $this->getCacheDir()).'/annotations.map', sprintf('<?php return %s;', var_export($annotatedClasses, true)), LOCK_EX);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Workflow/Definition.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private function setInitialPlace($place)

private function addPlace($place)
{
if (!preg_match('{^[\w\d_-]+$}', $place)) {
if (!preg_match('{^[\w_-]+$}', $place)) {
throw new InvalidArgumentException(sprintf('The place "%s" contains invalid characters.', $place));
}

Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Workflow/DefinitionBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function setInitialPlace($place)
*/
public function addPlace($place)
{
if (!preg_match('{^[\w\d_-]+$}', $place)) {
if (!preg_match('{^[\w_-]+$}', $place)) {
throw new InvalidArgumentException(sprintf('The place "%s" contains invalid characters.', $place));
}

Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Workflow/Transition.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Transition
*/
public function __construct($name, $froms, $tos)
{
if (!preg_match('{^[\w\d_-]+$}', $name)) {
if (!preg_match('{^[\w_-]+$}', $name)) {
throw new InvalidArgumentException(sprintf('The transition "%s" contains invalid characters.', $name));
}

Expand Down