Permalink
Browse files

merged branch staabm/patch-1 (PR #12)

This PR was merged into the master branch.

Commits
-------

a1b9cdc Fixed typo in regex

Discussion
----------

Fixed typo in regex
  • Loading branch information...
2 parents 5145334 + a1b9cdc commit d899bf0fced05ade613e0ec46b3859dbd5bbafa0 @fabpot fabpot committed Feb 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 SensioLabs/Security/SecurityChecker.php
@@ -28,7 +28,7 @@ public function check($lock, $format = 'text')
if (is_dir($lock) && file_exists($lock.'/composer.lock')) {
$lock = $lock.'/composer.lock';
- } elseif (preg_match('/composer.json$/', $lock)) {
+ } elseif (preg_match('/composer\.json$/', $lock)) {
$lock = str_replace('composer.json', 'composer.lock', $lock);
}

0 comments on commit d899bf0

Please sign in to comment.