diff options
author | Ryan Weaver <ryan@thatsquality.com> | 2015-09-23 21:55:58 -0400 |
---|---|---|
committer | Ryan Weaver <ryan@thatsquality.com> | 2015-09-23 21:55:58 -0400 |
commit | 038c729fb636a7e38ff980ebae14db1b4d76f841 (patch) | |
tree | 908551511fefb930f6cd92b15c93d104e22b5bd8 | |
parent | 98eafc5e5215835870d20037abdfac7b60d4a84d (diff) | |
download | symfony-security-038c729fb636a7e38ff980ebae14db1b4d76f841.zip symfony-security-038c729fb636a7e38ff980ebae14db1b4d76f841.tar.gz symfony-security-038c729fb636a7e38ff980ebae14db1b4d76f841.tar.bz2 |
Adding the necessary files so that Guard can be its own installable component
-rw-r--r-- | Guard/.gitignore | 3 | ||||
-rw-r--r-- | Guard/LICENSE | 19 | ||||
-rw-r--r-- | Guard/README.md | 22 | ||||
-rw-r--r-- | Guard/composer.json | 36 | ||||
-rw-r--r-- | Guard/phpunit.xml.dist | 33 |
5 files changed, 113 insertions, 0 deletions
diff --git a/Guard/.gitignore b/Guard/.gitignore new file mode 100644 index 0000000..c49a5d8 --- /dev/null +++ b/Guard/.gitignore @@ -0,0 +1,3 @@ +vendor/ +composer.lock +phpunit.xml diff --git a/Guard/LICENSE b/Guard/LICENSE new file mode 100644 index 0000000..43028bc --- /dev/null +++ b/Guard/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2004-2015 Fabien Potencier + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/Guard/README.md b/Guard/README.md new file mode 100644 index 0000000..845340f --- /dev/null +++ b/Guard/README.md @@ -0,0 +1,22 @@ +Security Component - Guard +========================== + +The Guard component brings many layers of authentication together, making +it much easier to create complex authentication systems where you have +total control. + +Resources +--------- + +Documentation: + +https://symfony.com/doc/2.8/book/security.html + +Tests +----- + +You can run the unit tests with the following command: + + $ cd path/to/Symfony/Component/Security/Guard/ + $ composer.phar install --dev + $ phpunit diff --git a/Guard/composer.json b/Guard/composer.json new file mode 100644 index 0000000..1e0dc8c --- /dev/null +++ b/Guard/composer.json @@ -0,0 +1,36 @@ +{ + "name": "symfony/security-guard", + "type": "library", + "description": "Symfony Security Component - Guard", + "keywords": [], + "homepage": "https://symfony.com", + "license": "MIT", + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "require": { + "php": ">=5.3.9", + "symfony/security-core": "~2.8|~3.0.0", + "symfony/security-http": "~2.8|~3.0.0" + }, + "require-dev": { + "symfony/phpunit-bridge": "~2.8|~3.0.0", + "psr/log": "~1.0" + }, + "autoload": { + "psr-4": { "Symfony\\Component\\Security\\Guard\\": "" } + }, + "minimum-stability": "dev", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + } +} diff --git a/Guard/phpunit.xml.dist b/Guard/phpunit.xml.dist new file mode 100644 index 0000000..093628b --- /dev/null +++ b/Guard/phpunit.xml.dist @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<phpunit backupGlobals="false" + backupStaticAttributes="false" + colors="true" + convertErrorsToExceptions="true" + convertNoticesToExceptions="true" + convertWarningsToExceptions="true" + processIsolation="false" + stopOnFailure="false" + syntaxCheck="false" + bootstrap="vendor/autoload.php" +> + <php> + <ini name="error_reporting" value="-1" /> + </php> + + <testsuites> + <testsuite name="Symfony Security Component Guard Suite"> + <directory>./Tests/</directory> + </testsuite> + </testsuites> + + <filter> + <whitelist> + <directory>./</directory> + <exclude> + <directory>./vendor</directory> + <directory>./Tests</directory> + </exclude> + </whitelist> + </filter> +</phpunit> |