├── vendor ├── bin │ └── doctrine-dbal ├── doctrine │ ├── dbal │ │ ├── lib │ │ │ └── Doctrine │ │ │ │ └── DBAL │ │ │ │ ├── README.markdown │ │ │ │ ├── Driver │ │ │ │ ├── IBMDB2 │ │ │ │ │ └── DB2Exception.php │ │ │ │ ├── Mysqli │ │ │ │ │ ├── MysqliException.php │ │ │ │ │ └── Driver.php │ │ │ │ ├── OCI8 │ │ │ │ │ └── OCI8Exception.php │ │ │ │ ├── SQLSrv │ │ │ │ │ └── LastInsertId.php │ │ │ │ ├── PingableConnection.php │ │ │ │ ├── DrizzlePDOMySql │ │ │ │ │ └── Connection.php │ │ │ │ ├── ServerInfoAwareConnection.php │ │ │ │ └── PDOSqlsrv │ │ │ │ │ └── Statement.php │ │ │ │ ├── Exception │ │ │ │ ├── ServerException.php │ │ │ │ ├── ConnectionException.php │ │ │ │ ├── SyntaxErrorException.php │ │ │ │ ├── ReadOnlyException.php │ │ │ │ ├── ConstraintViolationException.php │ │ │ │ ├── InvalidFieldNameException.php │ │ │ │ ├── TableNotFoundException.php │ │ │ │ ├── TableExistsException.php │ │ │ │ ├── NonUniqueFieldNameException.php │ │ │ │ ├── NotNullConstraintViolationException.php │ │ │ │ ├── UniqueConstraintViolationException.php │ │ │ │ ├── ForeignKeyConstraintViolationException.php │ │ │ │ ├── DatabaseObjectNotFoundException.php │ │ │ │ ├── DatabaseObjectExistsException.php │ │ │ │ └── InvalidArgumentException.php │ │ │ │ ├── Schema │ │ │ │ ├── Visitor │ │ │ │ │ └── NamespaceVisitor.php │ │ │ │ ├── View.php │ │ │ │ └── Identifier.php │ │ │ │ ├── LockMode.php │ │ │ │ ├── Sharding │ │ │ │ └── ShardChoser │ │ │ │ │ ├── MultiTenantShardChoser.php │ │ │ │ │ └── ShardChoser.php │ │ │ │ ├── Cache │ │ │ │ └── CacheException.php │ │ │ │ ├── Platforms │ │ │ │ ├── Keywords │ │ │ │ │ ├── MsSQLKeywords.php │ │ │ │ │ ├── PostgreSQL92Keywords.php │ │ │ │ │ ├── SQLServer2008Keywords.php │ │ │ │ │ ├── SQLAnywhere11Keywords.php │ │ │ │ │ ├── SQLAnywhere16Keywords.php │ │ │ │ │ ├── SQLServer2012Keywords.php │ │ │ │ │ └── SQLServer2005Keywords.php │ │ │ │ ├── SQLAnywhere11Platform.php │ │ │ │ └── SQLAzurePlatform.php │ │ │ │ ├── Types │ │ │ │ ├── FloatType.php │ │ │ │ ├── StringType.php │ │ │ │ ├── DecimalType.php │ │ │ │ ├── TextType.php │ │ │ │ ├── GuidType.php │ │ │ │ ├── SmallIntType.php │ │ │ │ ├── BigIntType.php │ │ │ │ └── IntegerType.php │ │ │ │ ├── Event │ │ │ │ └── SchemaEventArgs.php │ │ │ │ ├── Logging │ │ │ │ ├── EchoSQLLogger.php │ │ │ │ └── SQLLogger.php │ │ │ │ └── SQLParserUtilsException.php │ │ ├── bin │ │ │ └── doctrine-dbal │ │ ├── SECURITY.md │ │ ├── LICENSE │ │ ├── README.md │ │ └── composer.json │ ├── cache │ │ ├── .gitignore │ │ ├── .coveralls.yml │ │ ├── build.properties │ │ ├── tests │ │ │ ├── travis │ │ │ │ ├── php.ini │ │ │ │ └── phpunit.travis.xml │ │ │ └── Doctrine │ │ │ │ └── Tests │ │ │ │ ├── DoctrineTestCase.php │ │ │ │ └── Common │ │ │ │ └── Cache │ │ │ │ ├── XcacheCacheTest.php │ │ │ │ ├── WinCacheCacheTest.php │ │ │ │ ├── ApcCacheTest.php │ │ │ │ ├── ApcuCacheTest.php │ │ │ │ ├── ZendDataCacheTest.php │ │ │ │ ├── CouchbaseCacheTest.php │ │ │ │ ├── SQLite3CacheTest.php │ │ │ │ ├── RiakCacheTest.php │ │ │ │ ├── MemcacheCacheTest.php │ │ │ │ ├── VoidCacheTest.php │ │ │ │ ├── ArrayCacheTest.php │ │ │ │ ├── MemcachedCacheTest.php │ │ │ │ └── RedisCacheTest.php │ │ ├── README.md │ │ ├── phpunit.xml.dist │ │ ├── UPGRADE.md │ │ ├── LICENSE │ │ ├── .travis.yml │ │ ├── lib │ │ │ └── Doctrine │ │ │ │ └── Common │ │ │ │ └── Cache │ │ │ │ ├── Version.php │ │ │ │ ├── FlushableCache.php │ │ │ │ ├── ClearableCache.php │ │ │ │ ├── MultiGetCache.php │ │ │ │ └── MultiPutCache.php │ │ └── composer.json │ ├── inflector │ │ ├── .gitignore │ │ ├── tests │ │ │ └── Doctrine │ │ │ │ └── Tests │ │ │ │ ├── DoctrineTestCase.php │ │ │ │ └── TestInit.php │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── phpunit.xml.dist │ │ ├── composer.json │ │ └── LICENSE │ ├── lexer │ │ ├── README.md │ │ ├── composer.json │ │ └── LICENSE │ ├── common │ │ ├── humbug.json.dist │ │ ├── README.md │ │ ├── LICENSE │ │ ├── lib │ │ │ └── Doctrine │ │ │ │ └── Common │ │ │ │ ├── CommonException.php │ │ │ │ ├── Proxy │ │ │ │ └── Exception │ │ │ │ │ ├── ProxyException.php │ │ │ │ │ └── OutOfBoundsException.php │ │ │ │ ├── Util │ │ │ │ └── Inflector.php │ │ │ │ ├── Reflection │ │ │ │ ├── ClassFinderInterface.php │ │ │ │ └── ReflectionProviderInterface.php │ │ │ │ ├── Lexer.php │ │ │ │ ├── NotifyPropertyChanged.php │ │ │ │ ├── EventSubscriber.php │ │ │ │ ├── Persistence │ │ │ │ ├── Proxy.php │ │ │ │ └── Event │ │ │ │ │ └── ManagerEventArgs.php │ │ │ │ ├── Comparable.php │ │ │ │ └── PropertyChangedListener.php │ │ └── composer.json │ ├── annotations │ │ ├── phpstan.neon │ │ ├── README.md │ │ ├── LICENSE │ │ ├── composer.json │ │ └── lib │ │ │ └── Doctrine │ │ │ └── Common │ │ │ └── Annotations │ │ │ └── Annotation │ │ │ ├── Required.php │ │ │ ├── Attributes.php │ │ │ ├── Attribute.php │ │ │ └── IgnoreAnnotation.php │ └── collections │ │ ├── LICENSE │ │ ├── composer.json │ │ ├── README.md │ │ └── lib │ │ └── Doctrine │ │ └── Common │ │ └── Collections │ │ └── Expr │ │ ├── Expression.php │ │ └── Value.php ├── symfony │ └── yaml │ │ ├── .gitignore │ │ ├── Tests │ │ ├── Fixtures │ │ │ ├── embededPhp.yml │ │ │ ├── arrow.gif │ │ │ ├── sfObjects.yml │ │ │ ├── multiple_lines_as_literal_block.yml │ │ │ ├── index.yml │ │ │ ├── YtsErrorTests.yml │ │ │ ├── sfQuotes.yml │ │ │ ├── YtsNullsAndEmpties.yml │ │ │ ├── YtsAnchorAlias.yml │ │ │ ├── YtsBlockMapping.yml │ │ │ ├── YtsFlowCollections.yml │ │ │ ├── YtsDocumentSeparator.yml │ │ │ ├── sfMergeKey.yml │ │ │ └── sfComments.yml │ │ ├── ParseExceptionTest.php │ │ └── YamlTest.php │ │ ├── README.md │ │ ├── Exception │ │ ├── ExceptionInterface.php │ │ ├── DumpException.php │ │ └── RuntimeException.php │ │ ├── phpunit.xml.dist │ │ ├── composer.json │ │ └── LICENSE ├── autoload.php └── composer │ ├── autoload_classmap.php │ ├── autoload_namespaces.php │ ├── autoload_psr4.php │ ├── LICENSE │ └── autoload_real.php ├── conversionQ.yml ├── composer.json ├── converter ├── Logs │ └── converter_log.txt ├── util_conversion_functions.php └── converter_logger_interface.php ├── .idea └── codeStyleSettings.xml ├── user_to_phpBB_user.yml ├── index.php └── connection.php /vendor/bin/doctrine-dbal: -------------------------------------------------------------------------------- 1 | ../doctrine/dbal/bin/doctrine-dbal -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/README.markdown: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /conversionQ.yml: -------------------------------------------------------------------------------- 1 | - user_to_phpBB_user.yml 2 | - post_to_phpBB_post.yml 3 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | phpunit.xml 4 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | build/ 3 | phpunit.xml 4 | composer.lock -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/embededPhp.yml: -------------------------------------------------------------------------------- 1 | value: 2 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | composer.phar 4 | phpunit.xml 5 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require":{ 3 | "doctrine/dbal":"v2.5.12", 4 | "symfony/yaml": "^3.2" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/bin/doctrine-dbal: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | 10 | -------------------------------------------------------------------------------- /vendor/doctrine/common/humbug.json.dist: -------------------------------------------------------------------------------- 1 | { 2 | "source": { 3 | "directories": [ 4 | "lib\/Doctrine" 5 | ] 6 | }, 7 | "timeout": 10, 8 | "logs": { 9 | "text": "reports/humbuglog.txt" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/DoctrineTestCase.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 9 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/README.md: -------------------------------------------------------------------------------- 1 | # Doctrine Inflector 2 | 3 | Doctrine Inflector is a small library that can perform string manipulations 4 | with regard to upper-/lowercase and singular/plural forms of words. 5 | 6 | [![Build Status](https://travis-ci.org/doctrine/inflector.svg?branch=master)](https://travis-ci.org/doctrine/inflector) 7 | -------------------------------------------------------------------------------- /user_to_phpBB_user.yml: -------------------------------------------------------------------------------- 1 | table_def: 2 | table_source: user 3 | table_destination: phpBB_user 4 | col_def: 5 | - col1: ID 6 | col2: uid 7 | 8 | 9 | - col1: uname 10 | col2: user_name 11 | function: to_upper_case 12 | 13 | - col1: age 14 | col2: age 15 | 16 | - col1: password 17 | col2: pass 18 | function: to_upper_case 19 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/sfObjects.yml: -------------------------------------------------------------------------------- 1 | --- %YAML:1.0 2 | test: Objects 3 | brief: > 4 | Comments at the end of a line 5 | yaml: | 6 | ex1: "foo # bar" 7 | ex2: "foo # bar" # comment 8 | ex3: 'foo # bar' # comment 9 | ex4: foo # comment 10 | php: | 11 | array('ex1' => 'foo # bar', 'ex2' => 'foo # bar', 'ex3' => 'foo # bar', 'ex4' => 'foo') 12 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/XcacheCacheTest.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/doctrine/dbal/lib'), 10 | 'Doctrine\\Common\\Lexer\\' => array($vendorDir . '/doctrine/lexer/lib'), 11 | 'Doctrine\\Common\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib'), 12 | 'Doctrine\\Common\\Collections\\' => array($vendorDir . '/doctrine/collections/lib'), 13 | ); 14 | -------------------------------------------------------------------------------- /vendor/doctrine/common/README.md: -------------------------------------------------------------------------------- 1 | # Doctrine Common 2 | 3 | [![Build Status](https://secure.travis-ci.org/doctrine/common.png)](http://travis-ci.org/doctrine/common) 4 | 5 | The Doctrine Common project is a library that provides extensions to core PHP functionality. 6 | 7 | ## More resources: 8 | 9 | * [Website](http://www.doctrine-project.org) 10 | * [Documentation](http://docs.doctrine-project.org/projects/doctrine-common/en/latest/) 11 | * [Issue Tracker](http://www.doctrine-project.org/jira/browse/DCOM) 12 | * [Downloads](http://github.com/doctrine/common/downloads) 13 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Exception/ExceptionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Yaml\Exception; 13 | 14 | /** 15 | * Exception interface for all exceptions thrown by the component. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Exception/DumpException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Yaml\Exception; 13 | 14 | /** 15 | * Exception class thrown when an error occurs during dumping. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | class DumpException extends RuntimeException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/composer/autoload_psr4.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/symfony/yaml'), 10 | 'Doctrine\\Common\\Cache\\' => array($vendorDir . '/doctrine/cache/lib/Doctrine/Common/Cache'), 11 | 'Doctrine\\Common\\Annotations\\' => array($vendorDir . '/doctrine/annotations/lib/Doctrine/Common/Annotations'), 12 | 'Doctrine\\Common\\' => array($vendorDir . '/doctrine/common/lib/Doctrine/Common'), 13 | ); 14 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Exception/RuntimeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Yaml\Exception; 13 | 14 | /** 15 | * Exception class thrown when an error occurs during parsing. 16 | * 17 | * @author Romain Neutron 18 | */ 19 | class RuntimeException extends \RuntimeException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/SECURITY.md: -------------------------------------------------------------------------------- 1 | Security 2 | ======== 3 | 4 | The Doctrine library is operating very close to your database and as such needs 5 | to handle and make assumptions about SQL injection vulnerabilities. 6 | 7 | It is vital that you understand how Doctrine approaches security, because 8 | we cannot protect you from SQL injection. 9 | 10 | Please read the documentation chapter on Security in Doctrine DBAL to 11 | understand the assumptions we make. 12 | 13 | - [Latest security.rst page on Github](https://github.com/doctrine/dbal/blob/master/docs/en/reference/security.rst) 14 | - [Security Page in rendered documentation](http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/security.html) 15 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/README.md: -------------------------------------------------------------------------------- 1 | # Doctrine Cache 2 | 3 | Master: [![Build Status](https://secure.travis-ci.org/doctrine/cache.png?branch=master)](http://travis-ci.org/doctrine/cache) [![Coverage Status](https://coveralls.io/repos/doctrine/cache/badge.png?branch=master)](https://coveralls.io/r/doctrine/cache?branch=master) 4 | 5 | [![Latest Stable Version](https://poser.pugx.org/doctrine/cache/v/stable.png)](https://packagist.org/packages/doctrine/cache) [![Total Downloads](https://poser.pugx.org/doctrine/cache/downloads.png)](https://packagist.org/packages/doctrine/cache) 6 | 7 | Cache component extracted from the Doctrine Common project. 8 | 9 | ## Changelog 10 | 11 | ### v1.2 12 | 13 | * Added support for MongoDB as Cache Provider 14 | * Fix namespace version reset 15 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | ./tests/Doctrine/ 17 | 18 | 19 | 20 | 21 | 22 | ./lib/Doctrine/ 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/YtsErrorTests.yml: -------------------------------------------------------------------------------- 1 | --- 2 | test: Missing value for hash item 3 | todo: true 4 | brief: | 5 | Third item in this hash doesn't have a value 6 | yaml: | 7 | okay: value 8 | also okay: ~ 9 | causes error because no value specified 10 | last key: value okay here too 11 | python-error: causes error because no value specified 12 | 13 | --- 14 | test: Not indenting enough 15 | brief: | 16 | There was a bug in PyYaml where it was off by one 17 | in the indentation check. It was allowing the YAML 18 | below. 19 | # This is actually valid YAML now. Someone should tell showell. 20 | yaml: | 21 | foo: 22 | firstline: 1 23 | secondline: 2 24 | php: | 25 | array('foo' => null, 'firstline' => 1, 'secondline' => 2) 26 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/UPGRADE.md: -------------------------------------------------------------------------------- 1 | # Upgrade to 1.4 2 | 3 | ## Minor BC Break: `Doctrine\Common\Cache\FileCache#$extension` is now `private`. 4 | 5 | If you need to override the value of `Doctrine\Common\Cache\FileCache#$extension`, then use the 6 | second parameter of `Doctrine\Common\Cache\FileCache#__construct()` instead of overriding 7 | the property in your own implementation. 8 | 9 | ## Minor BC Break: file based caches paths changed 10 | 11 | `Doctrine\Common\Cache\FileCache`, `Doctrine\Common\Cache\PhpFileCache` and 12 | `Doctrine\Common\Cache\FilesystemCache` are using a different cache paths structure. 13 | 14 | If you rely on warmed up caches for deployments, consider that caches generated 15 | with `doctrine/cache` `<1.4` are not compatible with the new directory structure, 16 | and will be ignored. 17 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ApcCacheTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('APC must be enabled for the CLI with the ini setting apc.enable_cli=1'); 16 | } 17 | } 18 | 19 | protected function _getCacheDriver() 20 | { 21 | return new ApcCache(); 22 | } 23 | 24 | public function testLifetime() 25 | { 26 | $this->markTestSkipped('The APC cache TTL is not working in a single process/request. See https://bugs.php.net/bug.php?id=58084'); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ApcuCacheTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('APC must be enabled for the CLI with the ini setting apc.enable_cli=1'); 16 | } 17 | } 18 | 19 | protected function _getCacheDriver() 20 | { 21 | return new ApcuCache(); 22 | } 23 | 24 | public function testLifetime() 25 | { 26 | $this->markTestSkipped('The APC cache TTL is not working in a single process/request. See https://bugs.php.net/bug.php?id=58084'); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ZendDataCacheTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('Zend Data Cache only works in apache2handler SAPI.'); 16 | } 17 | } 18 | 19 | public function testGetStats() 20 | { 21 | $cache = $this->_getCacheDriver(); 22 | $stats = $cache->getStats(); 23 | 24 | $this->assertNull($stats); 25 | } 26 | 27 | protected function _getCacheDriver() 28 | { 29 | return new ZendDataCache(); 30 | } 31 | } -------------------------------------------------------------------------------- /vendor/doctrine/lexer/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "doctrine/lexer", 3 | "type": "library", 4 | "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.", 5 | "keywords": ["lexer", "parser"], 6 | "homepage": "http://www.doctrine-project.org", 7 | "license": "MIT", 8 | "authors": [ 9 | {"name": "Guilherme Blanco", "email": "guilhermeblanco@gmail.com"}, 10 | {"name": "Roman Borschel", "email": "roman@code-factory.org"}, 11 | {"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"} 12 | ], 13 | "require": { 14 | "php": ">=5.3.2" 15 | }, 16 | "autoload": { 17 | "psr-0": { "Doctrine\\Common\\Lexer\\": "lib/" } 18 | }, 19 | "extra": { 20 | "branch-alias": { 21 | "dev-master": "1.0.x-dev" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/CouchbaseCacheTest.php: -------------------------------------------------------------------------------- 1 | couchbase = new Couchbase('127.0.0.1', 'Administrator', 'password', 'default'); 19 | } catch(Exception $ex) { 20 | $this->markTestSkipped('Could not instantiate the Couchbase cache because of: ' . $ex); 21 | } 22 | } 23 | 24 | protected function _getCacheDriver() 25 | { 26 | $driver = new CouchbaseCache(); 27 | $driver->setCouchbase($this->couchbase); 28 | return $driver; 29 | } 30 | } -------------------------------------------------------------------------------- /vendor/doctrine/inflector/tests/Doctrine/Tests/TestInit.php: -------------------------------------------------------------------------------- 1 | 4 | Some characters at the beginning of a string must be escaped 5 | yaml: | 6 | foo: '| bar' 7 | php: | 8 | array('foo' => '| bar') 9 | --- 10 | test: A key can be a quoted string 11 | brief: > 12 | A key can be a quoted string 13 | yaml: | 14 | "foo1": bar 15 | 'foo2': bar 16 | "foo \" bar": bar 17 | 'foo '' bar': bar 18 | 'foo3: ': bar 19 | "foo4: ": bar 20 | foo5: { "foo \" bar: ": bar, 'foo '' bar: ': bar } 21 | php: | 22 | array( 23 | 'foo1' => 'bar', 24 | 'foo2' => 'bar', 25 | 'foo " bar' => 'bar', 26 | 'foo \' bar' => 'bar', 27 | 'foo3: ' => 'bar', 28 | 'foo4: ' => 'bar', 29 | 'foo5' => array( 30 | 'foo " bar: ' => 'bar', 31 | 'foo \' bar: ' => 'bar', 32 | ), 33 | ) 34 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/YtsNullsAndEmpties.yml: -------------------------------------------------------------------------------- 1 | --- %YAML:1.0 2 | test: Empty Sequence 3 | brief: > 4 | You can represent the empty sequence 5 | with an empty inline sequence. 6 | yaml: | 7 | empty: [] 8 | php: | 9 | array('empty' => array()) 10 | --- 11 | test: Empty Mapping 12 | brief: > 13 | You can represent the empty mapping 14 | with an empty inline mapping. 15 | yaml: | 16 | empty: {} 17 | php: | 18 | array('empty' => array()) 19 | --- 20 | test: Empty Sequence as Entire Document 21 | yaml: | 22 | [] 23 | php: | 24 | array() 25 | --- 26 | test: Empty Mapping as Entire Document 27 | yaml: | 28 | {} 29 | php: | 30 | array() 31 | --- 32 | test: Null as Document 33 | yaml: | 34 | ~ 35 | php: | 36 | null 37 | --- 38 | test: Empty String 39 | brief: > 40 | You can represent an empty string 41 | with a pair of quotes. 42 | yaml: | 43 | '' 44 | php: | 45 | '' 46 | -------------------------------------------------------------------------------- /vendor/doctrine/annotations/phpstan.neon: -------------------------------------------------------------------------------- 1 | parameters: 2 | autoload_files: 3 | - %currentWorkingDirectory%/tests/Doctrine/Tests/Common/Annotations/DocParserTest.php 4 | excludes_analyse: 5 | - %currentWorkingDirectory%/tests/*/Fixtures/* 6 | polluteScopeWithLoopInitialAssignments: true 7 | ignoreErrors: 8 | - '#Class Doctrine_Tests_Common_Annotations_Fixtures_ClassNoNamespaceNoComment not found#' 9 | - '#Instantiated class Doctrine_Tests_Common_Annotations_Fixtures_ClassNoNamespaceNoComment not found#' 10 | - '#Property Doctrine\\Tests\\Common\\Annotations\\DummyClassNonAnnotationProblem::\$foo has unknown class#' 11 | - '#Class Doctrine\\Tests\\Common\\Annotations\\True not found#' 12 | - '#Class Doctrine\\Tests\\Common\\Annotations\\False not found#' 13 | - '#Class Doctrine\\Tests\\Common\\Annotations\\Null not found#' 14 | - '#Call to an undefined method ReflectionClass::getUseStatements\(\)#' 15 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | col_def); $i++) 12 | // { 13 | // array_push($source_col,$map_obj->col_def[$i]['col1']); 14 | // } 15 | // print_r($source_col); 16 | // echo '
'.$map_obj->table_def['table_source']; 17 | $converter_obj = new converter("phpBBgsoc", "phpBBgsoc_dest", "root", "123"); 18 | //$converter_obj->build_process_queue(); 19 | // $logger = new converter\cl\converter_logger(); 20 | // $logger->conversion_start(); 21 | // $logger->conversion_end(); 22 | 23 | 24 | //echo '['.date('j-n-Y \a\t h:i:s A').']'; 25 | 26 | ?> 27 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | ./Tests/ 18 | 19 | 20 | 21 | 22 | 23 | ./ 24 | 25 | ./Tests 26 | ./vendor 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | ./tests/Doctrine/ 17 | 18 | 19 | 20 | 21 | 22 | ./lib/Doctrine/ 23 | 24 | 25 | 26 | 27 | 28 | performance 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/YtsAnchorAlias.yml: -------------------------------------------------------------------------------- 1 | --- %YAML:1.0 2 | test: Simple Alias Example 3 | brief: > 4 | If you need to refer to the same item of data twice, 5 | you can give that item an alias. The alias is a plain 6 | string, starting with an ampersand. The item may then 7 | be referred to by the alias throughout your document 8 | by using an asterisk before the name of the alias. 9 | This is called an anchor. 10 | yaml: | 11 | - &showell Steve 12 | - Clark 13 | - Brian 14 | - Oren 15 | - *showell 16 | php: | 17 | array('Steve', 'Clark', 'Brian', 'Oren', 'Steve') 18 | 19 | --- 20 | test: Alias of a Mapping 21 | brief: > 22 | An alias can be used on any item of data, including 23 | sequences, mappings, and other complex data types. 24 | yaml: | 25 | - &hello 26 | Meat: pork 27 | Starch: potato 28 | - banana 29 | - *hello 30 | php: | 31 | array(array('Meat'=>'pork', 'Starch'=>'potato'), 'banana', array('Meat'=>'pork', 'Starch'=>'potato')) 32 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/travis/phpunit.travis.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | ../Doctrine/ 20 | 21 | 22 | 23 | 24 | 25 | ../../lib/Doctrine/ 26 | 27 | 28 | 29 | 30 | 31 | performance 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/SQLite3CacheTest.php: -------------------------------------------------------------------------------- 1 | file = tempnam(null, 'doctrine-cache-test-'); 20 | unlink($this->file); 21 | $this->sqlite = new SQLite3($this->file); 22 | } 23 | 24 | protected function tearDown() 25 | { 26 | $this->sqlite = null; // DB must be closed before 27 | unlink($this->file); 28 | } 29 | 30 | public function testGetStats() 31 | { 32 | $this->assertNull($this->_getCacheDriver()->getStats()); 33 | } 34 | 35 | /** 36 | * {@inheritDoc} 37 | */ 38 | protected function _getCacheDriver() 39 | { 40 | return new SQLite3Cache($this->sqlite, 'test_table'); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /connection.php: -------------------------------------------------------------------------------- 1 | 'dbExam1', 6 | 'user'=>'root', 7 | 'password'=>'123', 8 | 'host'=>'localhost', 9 | 'driver'=>'pdo_mysql', 10 | ); 11 | $con= \Doctrine\DBAL\DriverManager::getConnection($cred,$config); 12 | $qb=$con->createQueryBuilder(); 13 | $col=array('ssn','profname'); 14 | $qb->select($col)->from('Professor'); 15 | $stmt=$qb->execute(); 16 | //$prof=$con->fetchAll('SELECT * FROM Professor'); 17 | $qb2=$con->createQueryBuilder(); 18 | 19 | //$qb2->insert('copy')->values(array('id'=>'?','name'=>'?'))->setParameter(0,1)->setParameter(1,'Bala'); 20 | //$qb2->execute(); 21 | 22 | while($row=$stmt->fetch()){ 23 | $qb2=$con->createQueryBuilder(); 24 | $col2=array('id','name'); 25 | $values=array_values($row); 26 | $insertArray=array_combine($col2,$values); 27 | $con->insert('copy',$insertArray); 28 | print_r($insertArray); 29 | echo '
'; 30 | // $qb2->insert('copy')->values($insertArray); 31 | // $qb2->execute(); 32 | 33 | } 34 | 35 | 36 | ?> 37 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/yaml", 3 | "type": "library", 4 | "description": "Symfony Yaml Component", 5 | "keywords": [], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.5.9" 20 | }, 21 | "require-dev": { 22 | "symfony/console": "~2.8|~3.0" 23 | }, 24 | "suggest": { 25 | "symfony/console": "For validating YAML files using the lint command" 26 | }, 27 | "autoload": { 28 | "psr-4": { "Symfony\\Component\\Yaml\\": "" }, 29 | "exclude-from-classmap": [ 30 | "/Tests/" 31 | ] 32 | }, 33 | "minimum-stability": "dev", 34 | "extra": { 35 | "branch-alias": { 36 | "dev-master": "3.2-dev" 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "doctrine/inflector", 3 | "type": "library", 4 | "description": "Common String Manipulations with regard to casing and singular/plural rules.", 5 | "keywords": ["string", "inflection", "singularize", "pluralize"], 6 | "homepage": "http://www.doctrine-project.org", 7 | "license": "MIT", 8 | "authors": [ 9 | {"name": "Guilherme Blanco", "email": "guilhermeblanco@gmail.com"}, 10 | {"name": "Roman Borschel", "email": "roman@code-factory.org"}, 11 | {"name": "Benjamin Eberlei", "email": "kontakt@beberlei.de"}, 12 | {"name": "Jonathan Wage", "email": "jonwage@gmail.com"}, 13 | {"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"} 14 | ], 15 | "require": { 16 | "php": ">=5.3.2" 17 | }, 18 | "require-dev": { 19 | "phpunit/phpunit": "4.*" 20 | }, 21 | "autoload": { 22 | "psr-0": { "Doctrine\\Common\\Inflector\\": "lib/" } 23 | }, 24 | "extra": { 25 | "branch-alias": { 26 | "dev-master": "1.1.x-dev" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/doctrine/annotations/README.md: -------------------------------------------------------------------------------- 1 | # Doctrine Annotations 2 | 3 | [![Build Status](https://travis-ci.org/doctrine/annotations.svg?branch=master)](https://travis-ci.org/doctrine/annotations) 4 | [![Dependency Status](https://www.versioneye.com/package/php--doctrine--annotations/badge.png)](https://www.versioneye.com/package/php--doctrine--annotations) 5 | [![Reference Status](https://www.versioneye.com/php/doctrine:annotations/reference_badge.svg)](https://www.versioneye.com/php/doctrine:annotations/references) 6 | [![Total Downloads](https://poser.pugx.org/doctrine/annotations/downloads.png)](https://packagist.org/packages/doctrine/annotations) 7 | [![Latest Stable Version](https://poser.pugx.org/doctrine/annotations/v/stable.png)](https://packagist.org/packages/doctrine/annotations) 8 | 9 | Docblock Annotations Parser library (extracted from [Doctrine Common](https://github.com/doctrine/common)). 10 | 11 | ## Documentation 12 | 13 | See the [doctrine-project website](http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/annotations.html). 14 | 15 | ## Changelog 16 | 17 | See [CHANGELOG.md](CHANGELOG.md). 18 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2017 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006-2015 Doctrine Project 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/doctrine/common/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006-2015 Doctrine Project 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006-2012 Doctrine Project 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/doctrine/lexer/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006-2013 Doctrine Project 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/doctrine/annotations/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006-2013 Doctrine Project 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/doctrine/collections/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006-2013 Doctrine Project 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/doctrine/inflector/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006-2015 Doctrine Project 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/composer/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Copyright (c) Nils Adermann, Jordi Boggiano 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is furnished 9 | to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all 12 | copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. 21 | 22 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/YtsBlockMapping.yml: -------------------------------------------------------------------------------- 1 | --- 2 | test: One Element Mapping 3 | brief: | 4 | A mapping with one key/value pair 5 | yaml: | 6 | foo: bar 7 | php: | 8 | array('foo' => 'bar') 9 | --- 10 | test: Multi Element Mapping 11 | brief: | 12 | More than one key/value pair 13 | yaml: | 14 | red: baron 15 | white: walls 16 | blue: berries 17 | php: | 18 | array( 19 | 'red' => 'baron', 20 | 'white' => 'walls', 21 | 'blue' => 'berries', 22 | ) 23 | --- 24 | test: Values aligned 25 | brief: | 26 | Often times human editors of documents will align the values even 27 | though YAML emitters generally don't. 28 | yaml: | 29 | red: baron 30 | white: walls 31 | blue: berries 32 | php: | 33 | array( 34 | 'red' => 'baron', 35 | 'white' => 'walls', 36 | 'blue' => 'berries', 37 | ) 38 | --- 39 | test: Colons aligned 40 | brief: | 41 | Spaces can come before the ': ' key/value separator. 42 | yaml: | 43 | red : baron 44 | white : walls 45 | blue : berries 46 | php: | 47 | array( 48 | 'red' => 'baron', 49 | 'white' => 'walls', 50 | 'blue' => 'berries', 51 | ) 52 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/ParseExceptionTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Yaml\Tests; 13 | 14 | use PHPUnit\Framework\TestCase; 15 | use Symfony\Component\Yaml\Exception\ParseException; 16 | 17 | class ParseExceptionTest extends TestCase 18 | { 19 | public function testGetMessage() 20 | { 21 | $exception = new ParseException('Error message', 42, 'foo: bar', '/var/www/app/config.yml'); 22 | $message = 'Error message in "/var/www/app/config.yml" at line 42 (near "foo: bar")'; 23 | 24 | $this->assertEquals($message, $exception->getMessage()); 25 | } 26 | 27 | public function testGetMessageWithUnicodeInFilename() 28 | { 29 | $exception = new ParseException('Error message', 42, 'foo: bar', 'äöü.yml'); 30 | $message = 'Error message in "äöü.yml" at line 42 (near "foo: bar")'; 31 | 32 | $this->assertEquals($message, $exception->getMessage()); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | sudo: false 4 | 5 | cache: 6 | directories: 7 | - vendor 8 | - $HOME/.composer/cache 9 | 10 | php: 11 | - 5.5 12 | - 5.6 13 | - 7.0 14 | - hhvm 15 | 16 | services: 17 | - riak 18 | - mongodb 19 | - memcached 20 | - redis-server 21 | 22 | before_install: 23 | - if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]] ; then pecl channel-update pecl.php.net; fi; 24 | - if [[ $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then pecl install riak-beta; fi; 25 | - if [[ $TRAVIS_PHP_VERSION =~ 5.[56] ]] ; then echo yes | pecl install apcu-4.0.10; fi; 26 | - if [[ $TRAVIS_PHP_VERSION = 7.* ]] ; then pecl config-set preferred_state beta; echo yes | pecl install apcu; fi; 27 | - if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]]; then phpenv config-add ./tests/travis/php.ini; fi; 28 | 29 | install: 30 | - travis_retry composer install 31 | 32 | script: 33 | - ./vendor/bin/phpunit -c ./tests/travis/phpunit.travis.xml -v 34 | 35 | after_script: 36 | - php vendor/bin/coveralls -v 37 | 38 | matrix: 39 | fast_finish: true 40 | allow_failures: 41 | - php: hhvm 42 | - php: 7.0 43 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/lib/Doctrine/Common/Cache/Version.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Cache; 21 | 22 | class Version 23 | { 24 | const VERSION = '1.6.1-DEV'; 25 | } 26 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/IBMDB2/DB2Exception.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Driver\IBMDB2; 21 | 22 | class DB2Exception extends \Exception 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /vendor/doctrine/collections/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "doctrine/collections", 3 | "type": "library", 4 | "description": "Collections Abstraction library", 5 | "keywords": ["collections", "array", "iterator"], 6 | "homepage": "http://www.doctrine-project.org", 7 | "license": "MIT", 8 | "authors": [ 9 | {"name": "Guilherme Blanco", "email": "guilhermeblanco@gmail.com"}, 10 | {"name": "Roman Borschel", "email": "roman@code-factory.org"}, 11 | {"name": "Benjamin Eberlei", "email": "kontakt@beberlei.de"}, 12 | {"name": "Jonathan Wage", "email": "jonwage@gmail.com"}, 13 | {"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"} 14 | ], 15 | "require": { 16 | "php": "^5.6 || ^7.0" 17 | }, 18 | "require-dev": { 19 | "phpunit/phpunit": "^5.7", 20 | "doctrine/coding-standard": "~0.1@dev" 21 | }, 22 | "autoload": { 23 | "psr-0": { "Doctrine\\Common\\Collections\\": "lib/" } 24 | }, 25 | "autoload-dev": { 26 | "psr-4": { 27 | "Doctrine\\Tests\\": "tests/Doctrine/Tests" 28 | } 29 | }, 30 | "extra": { 31 | "branch-alias": { 32 | "dev-master": "1.3.x-dev" 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/README.md: -------------------------------------------------------------------------------- 1 | # Doctrine DBAL 2 | 3 | Powerful database abstraction layer with many features for database schema introspection, schema management and PDO abstraction. 4 | 5 | * Master: [![Build Status](https://secure.travis-ci.org/doctrine/dbal.png?branch=master)](http://travis-ci.org/doctrine/dbal) [![Dependency Status](https://www.versioneye.com/php/doctrine:dbal/dev-master/badge.png)](https://www.versioneye.com/php/doctrine:dbal/dev-master) 6 | * 2.4: [![Build Status](https://secure.travis-ci.org/doctrine/dbal.png?branch=2.4)](http://travis-ci.org/doctrine/dbal) [![Dependency Status](https://www.versioneye.com/php/doctrine:dbal/2.4.2/badge.png)](https://www.versioneye.com/php/doctrine:dbal/2.4.2) 7 | * 2.3: [![Build Status](https://secure.travis-ci.org/doctrine/dbal.png?branch=2.3)](http://travis-ci.org/doctrine/dbal) [![Dependency Status](https://www.versioneye.com/php/doctrine:dbal/2.3.4/badge.png)](https://www.versioneye.com/php/doctrine:dbal/2.3.4) 8 | 9 | ## More resources: 10 | 11 | * [Website](http://www.doctrine-project.org/projects/dbal.html) 12 | * [Documentation](http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/) 13 | * [Issue Tracker](http://www.doctrine-project.org/jira/browse/DBAL) 14 | * [Downloads](http://github.com/doctrine/dbal/downloads) 15 | -------------------------------------------------------------------------------- /vendor/doctrine/annotations/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "doctrine/annotations", 3 | "type": "library", 4 | "description": "Docblock Annotations Parser", 5 | "keywords": ["annotations", "docblock", "parser"], 6 | "homepage": "http://www.doctrine-project.org", 7 | "license": "MIT", 8 | "authors": [ 9 | {"name": "Guilherme Blanco", "email": "guilhermeblanco@gmail.com"}, 10 | {"name": "Roman Borschel", "email": "roman@code-factory.org"}, 11 | {"name": "Benjamin Eberlei", "email": "kontakt@beberlei.de"}, 12 | {"name": "Jonathan Wage", "email": "jonwage@gmail.com"}, 13 | {"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"} 14 | ], 15 | "require": { 16 | "php": "^5.6 || ^7.0", 17 | "doctrine/lexer": "1.*" 18 | }, 19 | "require-dev": { 20 | "doctrine/cache": "1.*", 21 | "phpunit/phpunit": "^5.7" 22 | }, 23 | "autoload": { 24 | "psr-4": { "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" } 25 | }, 26 | "autoload-dev": { 27 | "psr-4": { "Doctrine\\Tests\\Common\\Annotations\\": "tests/Doctrine/Tests/Common/Annotations" } 28 | }, 29 | "extra": { 30 | "branch-alias": { 31 | "dev-master": "1.4.x-dev" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/doctrine/common/lib/Doctrine/Common/CommonException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common; 21 | 22 | /** 23 | * Base exception class for package Doctrine\Common. 24 | * 25 | * @author heinrich 26 | */ 27 | class CommonException extends \Exception 28 | { 29 | } 30 | -------------------------------------------------------------------------------- /vendor/doctrine/common/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "doctrine/common", 3 | "type": "library", 4 | "description": "Common Library for Doctrine projects", 5 | "keywords": ["collections", "spl", "eventmanager", "annotations", "persistence"], 6 | "homepage": "http://www.doctrine-project.org", 7 | "license": "MIT", 8 | "authors": [ 9 | {"name": "Guilherme Blanco", "email": "guilhermeblanco@gmail.com"}, 10 | {"name": "Roman Borschel", "email": "roman@code-factory.org"}, 11 | {"name": "Benjamin Eberlei", "email": "kontakt@beberlei.de"}, 12 | {"name": "Jonathan Wage", "email": "jonwage@gmail.com"}, 13 | {"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"} 14 | ], 15 | "require": { 16 | "php": "~5.6|~7.0", 17 | "doctrine/inflector": "1.*", 18 | "doctrine/cache": "1.*", 19 | "doctrine/collections": "1.*", 20 | "doctrine/lexer": "1.*", 21 | "doctrine/annotations": "1.*" 22 | }, 23 | "require-dev": { 24 | "phpunit/phpunit": "^5.4.6" 25 | }, 26 | "autoload": { 27 | "psr-4": { 28 | "Doctrine\\Common\\": "lib/Doctrine/Common" 29 | } 30 | }, 31 | "extra": { 32 | "branch-alias": { 33 | "dev-master": "2.7.x-dev" 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /vendor/doctrine/collections/README.md: -------------------------------------------------------------------------------- 1 | # Doctrine Collections 2 | 3 | [![Build Status](https://travis-ci.org/doctrine/collections.svg?branch=master)](https://travis-ci.org/doctrine/collections) 4 | [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/doctrine/collections/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/doctrine/collections/?branch=master) 5 | [![Code Coverage](https://scrutinizer-ci.com/g/doctrine/collections/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/doctrine/collections/?branch=master) 6 | 7 | Collections Abstraction library 8 | 9 | ## Changelog 10 | 11 | ### v1.3.0 12 | 13 | * [Explicit casting of first and max results in criteria API](https://github.com/doctrine/collections/pull/26) 14 | * [Keep keys when using `ArrayCollection#matching()` with sorting](https://github.com/doctrine/collections/pull/49) 15 | * [Made `AbstractLazyCollection#$initialized` protected for extensibility](https://github.com/doctrine/collections/pull/52) 16 | 17 | ### v1.2.0 18 | 19 | * Add a new ``AbstractLazyCollection`` 20 | 21 | ### v1.1.0 22 | 23 | * Deprecated ``Comparison::IS``, because it's only there for SQL semantics. 24 | These are fixed in the ORM instead. 25 | * Add ``Comparison::CONTAINS`` to perform partial string matches: 26 | 27 | $criteria->andWhere($criteria->expr()->contains('property', 'Foo')); 28 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "doctrine/cache", 3 | "type": "library", 4 | "description": "Caching library offering an object-oriented API for many cache backends", 5 | "keywords": ["cache", "caching"], 6 | "homepage": "http://www.doctrine-project.org", 7 | "license": "MIT", 8 | "authors": [ 9 | {"name": "Guilherme Blanco", "email": "guilhermeblanco@gmail.com"}, 10 | {"name": "Roman Borschel", "email": "roman@code-factory.org"}, 11 | {"name": "Benjamin Eberlei", "email": "kontakt@beberlei.de"}, 12 | {"name": "Jonathan Wage", "email": "jonwage@gmail.com"}, 13 | {"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"} 14 | ], 15 | "require": { 16 | "php": "~5.5|~7.0" 17 | }, 18 | "require-dev": { 19 | "phpunit/phpunit": "~4.8|~5.0", 20 | "satooshi/php-coveralls": "~0.6", 21 | "predis/predis": "~1.0" 22 | }, 23 | "conflict": { 24 | "doctrine/common": ">2.2,<2.4" 25 | }, 26 | "autoload": { 27 | "psr-4": { "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" } 28 | }, 29 | "autoload-dev": { 30 | "psr-4": { "Doctrine\\Tests\\": "tests/Doctrine/Tests" } 31 | }, 32 | "extra": { 33 | "branch-alias": { 34 | "dev-master": "1.6.x-dev" 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "doctrine/dbal", 3 | "type": "library", 4 | "description": "Database Abstraction Layer", 5 | "keywords": ["dbal", "database", "persistence", "queryobject"], 6 | "homepage": "http://www.doctrine-project.org", 7 | "license": "MIT", 8 | "authors": [ 9 | {"name": "Guilherme Blanco", "email": "guilhermeblanco@gmail.com"}, 10 | {"name": "Roman Borschel", "email": "roman@code-factory.org"}, 11 | {"name": "Benjamin Eberlei", "email": "kontakt@beberlei.de"}, 12 | {"name": "Jonathan Wage", "email": "jonwage@gmail.com"} 13 | ], 14 | "require": { 15 | "php": ">=5.3.2", 16 | "doctrine/common": ">=2.4,<2.8-dev" 17 | }, 18 | "require-dev": { 19 | "phpunit/phpunit": "4.*", 20 | "symfony/console": "2.*||^3.0" 21 | }, 22 | "suggest": { 23 | "symfony/console": "For helpful console commands such as SQL execution and import of files." 24 | }, 25 | "bin": ["bin/doctrine-dbal"], 26 | "autoload": { 27 | "psr-0": { "Doctrine\\DBAL\\": "lib/" } 28 | }, 29 | "extra": { 30 | "branch-alias": { 31 | "dev-master": "2.5.x-dev" 32 | } 33 | }, 34 | "archive": { 35 | "exclude": ["!vendor", "tests", "*phpunit.xml", ".travis.yml", "build.xml", "build.properties", "composer.phar"] 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/YamlTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Yaml\Tests; 13 | 14 | use PHPUnit\Framework\TestCase; 15 | use Symfony\Component\Yaml\Yaml; 16 | 17 | class YamlTest extends TestCase 18 | { 19 | public function testParseAndDump() 20 | { 21 | $data = array('lorem' => 'ipsum', 'dolor' => 'sit'); 22 | $yml = Yaml::dump($data); 23 | $parsed = Yaml::parse($yml); 24 | $this->assertEquals($data, $parsed); 25 | } 26 | 27 | /** 28 | * @expectedException \InvalidArgumentException 29 | * @expectedExceptionMessage The indentation must be greater than zero 30 | */ 31 | public function testZeroIndentationThrowsException() 32 | { 33 | Yaml::dump(array('lorem' => 'ipsum', 'dolor' => 'sit'), 2, 0); 34 | } 35 | 36 | /** 37 | * @expectedException \InvalidArgumentException 38 | * @expectedExceptionMessage The indentation must be greater than zero 39 | */ 40 | public function testNegativeIndentationThrowsException() 41 | { 42 | Yaml::dump(array('lorem' => 'ipsum', 'dolor' => 'sit'), 2, -4); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /vendor/doctrine/common/lib/Doctrine/Common/Proxy/Exception/ProxyException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Proxy\Exception; 21 | 22 | /** 23 | * Base exception interface for proxy exceptions. 24 | * 25 | * @link www.doctrine-project.org 26 | * @since 2.4 27 | * @author Marco Pivetta 28 | */ 29 | interface ProxyException 30 | { 31 | } 32 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/RiakCacheTest.php: -------------------------------------------------------------------------------- 1 | connection = new Connection('127.0.0.1', 8087); 32 | $this->bucket = new Bucket($this->connection, 'test'); 33 | } catch (Exception\RiakException $e) { 34 | $this->markTestSkipped('Cannot connect to Riak.'); 35 | } 36 | } 37 | 38 | /** 39 | * {@inheritdoc} 40 | */ 41 | public function testGetStats() 42 | { 43 | $cache = $this->_getCacheDriver(); 44 | $stats = $cache->getStats(); 45 | 46 | $this->assertNull($stats); 47 | } 48 | 49 | /** 50 | * Retrieve RiakCache instance. 51 | * 52 | * @return \Doctrine\Common\Cache\RiakCache 53 | */ 54 | protected function _getCacheDriver() 55 | { 56 | return new RiakCache($this->bucket); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/ServerException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Base class for all server related errors detected in the driver. 24 | * 25 | * @author Steve Müller 26 | * @link www.doctrine-project.org 27 | * @since 2.5 28 | */ 29 | class ServerException extends DriverException 30 | { 31 | } 32 | -------------------------------------------------------------------------------- /vendor/doctrine/common/lib/Doctrine/Common/Util/Inflector.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Util; 21 | 22 | use Doctrine\Common\Inflector\Inflector as BaseInflector; 23 | 24 | /** 25 | * Doctrine inflector has static methods for inflecting text. 26 | * 27 | * Kept for backwards compatibility reasons, was moved to its own component. 28 | */ 29 | class Inflector extends BaseInflector 30 | { 31 | } 32 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/ConnectionException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Base class for all connection related errors detected in the driver. 24 | * 25 | * @author Steve Müller 26 | * @link www.doctrine-project.org 27 | * @since 2.5 28 | */ 29 | class ConnectionException extends DriverException 30 | { 31 | } 32 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/SyntaxErrorException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Exception for a syntax error in a statement detected in the driver. 24 | * 25 | * @author Steve Müller 26 | * @link www.doctrine-project.org 27 | * @since 2.5 28 | */ 29 | class SyntaxErrorException extends ServerException 30 | { 31 | } 32 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/ReadOnlyException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Exception for a write operation attempt on a read-only database element detected in the driver. 24 | * 25 | * @author Steve Müller 26 | * @link www.doctrine-project.org 27 | * @since 2.5 28 | */ 29 | class ReadOnlyException extends ServerException 30 | { 31 | } 32 | -------------------------------------------------------------------------------- /vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Required.php: -------------------------------------------------------------------------------- 1 | . 19 | */ 20 | 21 | namespace Doctrine\Common\Annotations\Annotation; 22 | 23 | /** 24 | * Annotation that can be used to signal to the parser 25 | * to check if that attribute is required during the parsing process. 26 | * 27 | * @author Fabio B. Silva 28 | * 29 | * @Annotation 30 | */ 31 | final class Required 32 | { 33 | } 34 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/ConstraintViolationException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Base class for all constraint violation related errors detected in the driver. 24 | * 25 | * @author Steve Müller 26 | * @link www.doctrine-project.org 27 | * @since 2.5 28 | */ 29 | class ConstraintViolationException extends ServerException 30 | { 31 | } 32 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/InvalidFieldNameException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Exception for an invalid specified field name in a statement detected in the driver. 24 | * 25 | * @author Steve Müller 26 | * @link www.doctrine-project.org 27 | * @since 2.5 28 | */ 29 | class InvalidFieldNameException extends ServerException 30 | { 31 | } 32 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/TableNotFoundException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Exception for an unknown table referenced in a statement detected in the driver. 24 | * 25 | * @author Steve Müller 26 | * @link www.doctrine-project.org 27 | * @since 2.5 28 | */ 29 | class TableNotFoundException extends DatabaseObjectNotFoundException 30 | { 31 | } 32 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/TableExistsException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Exception for an already existing table referenced in a statement detected in the driver. 24 | * 25 | * @author Steve Müller 26 | * @link www.doctrine-project.org 27 | * @since 2.5 28 | */ 29 | class TableExistsException extends DatabaseObjectExistsException 30 | { 31 | } 32 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/NonUniqueFieldNameException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Exception for a non-unique/ambiguous specified field name in a statement detected in the driver. 24 | * 25 | * @author Steve Müller 26 | * @link www.doctrine-project.org 27 | * @since 2.5 28 | */ 29 | class NonUniqueFieldNameException extends ServerException 30 | { 31 | } 32 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Driver\Mysqli; 21 | 22 | use Doctrine\DBAL\Driver\AbstractDriverException; 23 | 24 | /** 25 | * Exception thrown in case the mysqli driver errors. 26 | * 27 | * @author Kim Hemsø Rasmussen 28 | * @author Steve Müller 29 | */ 30 | class MysqliException extends AbstractDriverException 31 | { 32 | } 33 | -------------------------------------------------------------------------------- /vendor/doctrine/collections/lib/Doctrine/Common/Collections/Expr/Expression.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Collections\Expr; 21 | 22 | /** 23 | * Expression for the {@link Selectable} interface. 24 | * 25 | * @author Benjamin Eberlei 26 | */ 27 | interface Expression 28 | { 29 | /** 30 | * @param ExpressionVisitor $visitor 31 | * 32 | * @return mixed 33 | */ 34 | public function visit(ExpressionVisitor $visitor); 35 | } 36 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/NotNullConstraintViolationException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Exception for a NOT NULL constraint violation detected in the driver. 24 | * 25 | * @author Benjamin Eberlei 26 | * @author Steve Müller 27 | * @link www.doctrine-project.org 28 | * @since 2.5 29 | */ 30 | class NotNullConstraintViolationException extends ConstraintViolationException 31 | { 32 | } 33 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/UniqueConstraintViolationException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Exception for a unique constraint violation detected in the driver. 24 | * 25 | * @author Benjamin Eberlei 26 | * @author Steve Müller 27 | * @link www.doctrine-project.org 28 | * @since 2.5 29 | */ 30 | class UniqueConstraintViolationException extends ConstraintViolationException 31 | { 32 | } 33 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/ForeignKeyConstraintViolationException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Exception for a foreign key constraint violation detected in the driver. 24 | * 25 | * @author Benjamin Eberlei 26 | * @author Steve Müller 27 | * @link www.doctrine-project.org 28 | * @since 2.5 29 | */ 30 | class ForeignKeyConstraintViolationException extends ConstraintViolationException 31 | { 32 | } 33 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/OCI8/OCI8Exception.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Driver\OCI8; 21 | 22 | use Doctrine\DBAL\Driver\AbstractDriverException; 23 | 24 | class OCI8Exception extends AbstractDriverException 25 | { 26 | /** 27 | * @param array $error 28 | * 29 | * @return \Doctrine\DBAL\Driver\OCI8\OCI8Exception 30 | */ 31 | public static function fromErrorInfo($error) 32 | { 33 | return new self($error['message'], null, $error['code']); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/doctrine/common/lib/Doctrine/Common/Reflection/ClassFinderInterface.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Reflection; 21 | 22 | /** 23 | * Finds a class in a PSR-0 structure. 24 | * 25 | * @author Karoly Negyesi 26 | */ 27 | interface ClassFinderInterface 28 | { 29 | /** 30 | * Finds a class. 31 | * 32 | * @param string $class The name of the class. 33 | * 34 | * @return string|null The name of the class or NULL if not found. 35 | */ 36 | public function findFile($class); 37 | } 38 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/lib/Doctrine/Common/Cache/FlushableCache.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Cache; 21 | 22 | /** 23 | * Interface for cache that can be flushed. 24 | * 25 | * @link www.doctrine-project.org 26 | * @since 1.4 27 | * @author Adirelle 28 | */ 29 | interface FlushableCache 30 | { 31 | /** 32 | * Flushes all cache entries, globally. 33 | * 34 | * @return bool TRUE if the cache entries were successfully flushed, FALSE otherwise. 35 | */ 36 | public function flushAll(); 37 | } 38 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/MemcacheCacheTest.php: -------------------------------------------------------------------------------- 1 | memcache = new Memcache(); 18 | 19 | if (@$this->memcache->connect('localhost', 11211) === false) { 20 | unset($this->memcache); 21 | $this->markTestSkipped('Cannot connect to Memcache.'); 22 | } 23 | } 24 | 25 | protected function tearDown() 26 | { 27 | if ($this->memcache instanceof Memcache) { 28 | $this->memcache->flush(); 29 | } 30 | } 31 | 32 | /** 33 | * {@inheritdoc} 34 | * 35 | * Memcache does not support " " and null byte as key so we remove them from the tests. 36 | */ 37 | public function provideCacheIds() 38 | { 39 | $ids = parent::provideCacheIds(); 40 | unset($ids[21], $ids[22]); 41 | 42 | return $ids; 43 | } 44 | 45 | public function testGetMemcacheReturnsInstanceOfMemcache() 46 | { 47 | $this->assertInstanceOf('Memcache', $this->_getCacheDriver()->getMemcache()); 48 | } 49 | 50 | /** 51 | * {@inheritDoc} 52 | */ 53 | protected function _getCacheDriver() 54 | { 55 | $driver = new MemcacheCache(); 56 | $driver->setMemcache($this->memcache); 57 | return $driver; 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Attributes.php: -------------------------------------------------------------------------------- 1 | . 19 | */ 20 | 21 | namespace Doctrine\Common\Annotations\Annotation; 22 | 23 | /** 24 | * Annotation that can be used to signal to the parser 25 | * to check the types of all declared attributes during the parsing process. 26 | * 27 | * @author Fabio B. Silva 28 | * 29 | * @Annotation 30 | */ 31 | final class Attributes 32 | { 33 | /** 34 | * @var array 35 | */ 36 | public $value; 37 | } 38 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/Visitor/NamespaceVisitor.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Schema\Visitor; 21 | 22 | /** 23 | * Visitor that can visit schema namespaces. 24 | * 25 | * @author Steve Müller 26 | * @link www.doctrine-project.org 27 | * @since 2.5 28 | */ 29 | interface NamespaceVisitor 30 | { 31 | /** 32 | * Accepts a schema namespace name. 33 | * 34 | * @param string $namespaceName The schema namespace name to accept. 35 | */ 36 | public function acceptNamespace($namespaceName); 37 | } 38 | -------------------------------------------------------------------------------- /vendor/doctrine/common/lib/Doctrine/Common/Lexer.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common; 21 | 22 | use Doctrine\Common\Lexer\AbstractLexer; 23 | 24 | /** 25 | * Base class for writing simple lexers, i.e. for creating small DSLs. 26 | * 27 | * Lexer moved into its own Component Doctrine\Common\Lexer. This class 28 | * only stays for being BC. 29 | * 30 | * @since 2.0 31 | * @author Guilherme Blanco 32 | * @author Jonathan Wage 33 | * @author Roman Borschel 34 | */ 35 | abstract class Lexer extends AbstractLexer 36 | { 37 | } 38 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/VoidCacheTest.php: -------------------------------------------------------------------------------- 1 | assertFalse($cache->contains('foo')); 17 | $this->assertFalse($cache->contains('bar')); 18 | } 19 | 20 | public function testShouldAlwaysReturnFalseOnFetch() 21 | { 22 | $cache = new VoidCache(); 23 | 24 | $this->assertFalse($cache->fetch('foo')); 25 | $this->assertFalse($cache->fetch('bar')); 26 | } 27 | 28 | public function testShouldAlwaysReturnTrueOnSaveButNotStoreAnything() 29 | { 30 | $cache = new VoidCache(); 31 | 32 | $this->assertTrue($cache->save('foo', 'fooVal')); 33 | 34 | $this->assertFalse($cache->contains('foo')); 35 | $this->assertFalse($cache->fetch('foo')); 36 | } 37 | 38 | public function testShouldAlwaysReturnTrueOnDelete() 39 | { 40 | $cache = new VoidCache(); 41 | 42 | $this->assertTrue($cache->delete('foo')); 43 | } 44 | 45 | public function testShouldAlwaysReturnNullOnGetStatus() 46 | { 47 | $cache = new VoidCache(); 48 | 49 | $this->assertNull($cache->getStats()); 50 | } 51 | 52 | public function testShouldAlwaysReturnTrueOnFlush() 53 | { 54 | $cache = new VoidCache(); 55 | 56 | $this->assertTrue($cache->flushAll()); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/LockMode.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL; 21 | 22 | /** 23 | * Contains all DBAL LockModes. 24 | * 25 | * @link www.doctrine-project.org 26 | * @since 1.0 27 | * @author Benjamin Eberlei 28 | * @author Roman Borschel 29 | */ 30 | class LockMode 31 | { 32 | const NONE = 0; 33 | const OPTIMISTIC = 1; 34 | const PESSIMISTIC_READ = 2; 35 | const PESSIMISTIC_WRITE = 4; 36 | 37 | /** 38 | * Private constructor. This class cannot be instantiated. 39 | */ 40 | final private function __construct() 41 | { 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/SQLSrv/LastInsertId.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Driver\SQLSrv; 21 | 22 | /** 23 | * Last Id Data Container. 24 | * 25 | * @since 2.3 26 | * @author Benjamin Eberlei 27 | */ 28 | class LastInsertId 29 | { 30 | /** 31 | * @var integer 32 | */ 33 | private $id; 34 | 35 | /** 36 | * @param integer $id 37 | */ 38 | public function setId($id) 39 | { 40 | $this->id = $id; 41 | } 42 | 43 | /** 44 | * @return integer 45 | */ 46 | public function getId() 47 | { 48 | return $this->id; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/DatabaseObjectNotFoundException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Base class for all unknown database object related errors detected in the driver. 24 | * 25 | * A database object is considered any asset that can be created in a database 26 | * such as schemas, tables, views, sequences, triggers, constraints, indexes, 27 | * functions, stored procedures etc. 28 | * 29 | * @author Steve Müller 30 | * @link www.doctrine-project.org 31 | * @since 2.5 32 | */ 33 | class DatabaseObjectNotFoundException extends ServerException 34 | { 35 | } 36 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/DatabaseObjectExistsException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | /** 23 | * Base class for all already existing database object related errors detected in the driver. 24 | * 25 | * A database object is considered any asset that can be created in a database 26 | * such as schemas, tables, views, sequences, triggers, constraints, indexes, 27 | * functions, stored procedures etc. 28 | * 29 | * @author Steve Müller 30 | * @link www.doctrine-project.org 31 | * @since 2.5 32 | */ 33 | class DatabaseObjectExistsException extends ServerException 34 | { 35 | } 36 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Sharding/ShardChoser/MultiTenantShardChoser.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Sharding\ShardChoser; 21 | 22 | use Doctrine\DBAL\Sharding\PoolingShardConnection; 23 | 24 | /** 25 | * The MultiTenant Shard choser assumes that the distribution value directly 26 | * maps to the shard id. 27 | * 28 | * @author Benjamin Eberlei 29 | */ 30 | class MultiTenantShardChoser implements ShardChoser 31 | { 32 | /** 33 | * {@inheritdoc} 34 | */ 35 | public function pickShard($distributionValue, PoolingShardConnection $conn) 36 | { 37 | return $distributionValue; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Attribute.php: -------------------------------------------------------------------------------- 1 | . 19 | */ 20 | 21 | namespace Doctrine\Common\Annotations\Annotation; 22 | 23 | /** 24 | * Annotation that can be used to signal to the parser 25 | * to check the attribute type during the parsing process. 26 | * 27 | * @author Fabio B. Silva 28 | * 29 | * @Annotation 30 | */ 31 | final class Attribute 32 | { 33 | /** 34 | * @var string 35 | */ 36 | public $name; 37 | 38 | /** 39 | * @var string 40 | */ 41 | public $type; 42 | 43 | /** 44 | * @var boolean 45 | */ 46 | public $required = false; 47 | } 48 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/InvalidArgumentException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Exception; 21 | 22 | use Doctrine\DBAL\DBALException; 23 | 24 | /** 25 | * Exception to be thrown when invalid arguments are passed to any DBAL API 26 | * 27 | * @author Marco Pivetta 28 | * @link www.doctrine-project.org 29 | * @since 2.5 30 | */ 31 | class InvalidArgumentException extends DBALException 32 | { 33 | /** 34 | * @return self 35 | */ 36 | public static function fromEmptyCriteria() 37 | { 38 | return new self('Empty criteria was used, expected non-empty criteria'); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PingableConnection.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Driver; 21 | 22 | /** 23 | * An interface for connections which support a "native" ping method. 24 | * 25 | * @link www.doctrine-project.org 26 | * @since 2.5 27 | * @author Till Klampaeckel 28 | * @author Benjamin Eberlei 29 | */ 30 | interface PingableConnection 31 | { 32 | /** 33 | * Pings the database server to determine if the connection is still 34 | * available. Return true/false based on if that was successful or not. 35 | * 36 | * @return bool 37 | */ 38 | public function ping(); 39 | } 40 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ArrayCacheTest.php: -------------------------------------------------------------------------------- 1 | _getCacheDriver(); 18 | $cache->fetch('test1'); 19 | $cache->fetch('test2'); 20 | $cache->fetch('test3'); 21 | 22 | $cache->save('test1', 123); 23 | $cache->save('test2', 123); 24 | 25 | $cache->fetch('test1'); 26 | $cache->fetch('test2'); 27 | $cache->fetch('test3'); 28 | 29 | $stats = $cache->getStats(); 30 | $this->assertEquals(2, $stats[Cache::STATS_HITS]); 31 | $this->assertEquals(5, $stats[Cache::STATS_MISSES]); // +1 for internal call to DoctrineNamespaceCacheKey 32 | $this->assertNotNull($stats[Cache::STATS_UPTIME]); 33 | $this->assertNull($stats[Cache::STATS_MEMORY_USAGE]); 34 | $this->assertNull($stats[Cache::STATS_MEMORY_AVAILABLE]); 35 | 36 | $cache->delete('test1'); 37 | $cache->delete('test2'); 38 | 39 | $cache->fetch('test1'); 40 | $cache->fetch('test2'); 41 | $cache->fetch('test3'); 42 | 43 | $stats = $cache->getStats(); 44 | $this->assertEquals(2, $stats[Cache::STATS_HITS]); 45 | $this->assertEquals(8, $stats[Cache::STATS_MISSES]); // +1 for internal call to DoctrineNamespaceCacheKey 46 | } 47 | 48 | protected function isSharedStorage() 49 | { 50 | return false; 51 | } 52 | } -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/DrizzlePDOMySql/Connection.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Driver\DrizzlePDOMySql; 21 | 22 | /** 23 | * @author Kim Hemsø Rasmussen 24 | */ 25 | class Connection extends \Doctrine\DBAL\Driver\PDOConnection 26 | { 27 | /** 28 | * {@inheritdoc} 29 | */ 30 | public function quote($value, $type = \PDO::PARAM_STR) 31 | { 32 | if (\PDO::PARAM_BOOL === $type) { 33 | if ($value) { 34 | return 'true'; 35 | } else { 36 | return 'false'; 37 | } 38 | } 39 | 40 | return parent::quote($value, $type); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/lib/Doctrine/Common/Cache/ClearableCache.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Cache; 21 | 22 | /** 23 | * Interface for cache that can be flushed. 24 | * 25 | * Intended to be used for partial clearing of a cache namespace. For a more 26 | * global "flushing", see {@see FlushableCache}. 27 | * 28 | * @link www.doctrine-project.org 29 | * @since 1.4 30 | * @author Adirelle 31 | */ 32 | interface ClearableCache 33 | { 34 | /** 35 | * Deletes all cache entries in the current cache namespace. 36 | * 37 | * @return bool TRUE if the cache entries were successfully deleted, FALSE otherwise. 38 | */ 39 | public function deleteAll(); 40 | } 41 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/MemcachedCacheTest.php: -------------------------------------------------------------------------------- 1 | memcached = new Memcached(); 18 | $this->memcached->setOption(Memcached::OPT_COMPRESSION, false); 19 | $this->memcached->addServer('127.0.0.1', 11211); 20 | 21 | if (@fsockopen('127.0.0.1', 11211) === false) { 22 | unset($this->memcached); 23 | $this->markTestSkipped('Cannot connect to Memcached.'); 24 | } 25 | } 26 | 27 | protected function tearDown() 28 | { 29 | if ($this->memcached instanceof Memcached) { 30 | $this->memcached->flush(); 31 | } 32 | } 33 | 34 | /** 35 | * {@inheritdoc} 36 | * 37 | * Memcached does not support " ", null byte and very long keys so we remove them from the tests. 38 | */ 39 | public function provideCacheIds() 40 | { 41 | $ids = parent::provideCacheIds(); 42 | unset($ids[21], $ids[22], $ids[24]); 43 | 44 | return $ids; 45 | } 46 | 47 | public function testGetMemcachedReturnsInstanceOfMemcached() 48 | { 49 | $this->assertInstanceOf('Memcached', $this->_getCacheDriver()->getMemcached()); 50 | } 51 | 52 | /** 53 | * {@inheritDoc} 54 | */ 55 | protected function _getCacheDriver() 56 | { 57 | $driver = new MemcachedCache(); 58 | $driver->setMemcached($this->memcached); 59 | return $driver; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/RedisCacheTest.php: -------------------------------------------------------------------------------- 1 | _redis = new \Redis(); 18 | $ok = @$this->_redis->connect('127.0.0.1'); 19 | if (!$ok) { 20 | $this->markTestSkipped('Cannot connect to Redis.'); 21 | } 22 | } 23 | 24 | public function testHitMissesStatsAreProvided() 25 | { 26 | $cache = $this->_getCacheDriver(); 27 | $stats = $cache->getStats(); 28 | 29 | $this->assertNotNull($stats[Cache::STATS_HITS]); 30 | $this->assertNotNull($stats[Cache::STATS_MISSES]); 31 | } 32 | 33 | public function testGetRedisReturnsInstanceOfRedis() 34 | { 35 | $this->assertInstanceOf('Redis', $this->_getCacheDriver()->getRedis()); 36 | } 37 | 38 | public function testSerializerOptionWithOutIgbinaryExtension() 39 | { 40 | if (defined('Redis::SERIALIZER_IGBINARY') && extension_loaded('igbinary')) { 41 | $this->markTestSkipped('Extension igbinary is loaded.'); 42 | } 43 | 44 | $this->assertEquals( 45 | \Redis::SERIALIZER_PHP, 46 | $this->_getCacheDriver()->getRedis()->getOption(\Redis::OPT_SERIALIZER) 47 | ); 48 | } 49 | 50 | /** 51 | * {@inheritDoc} 52 | */ 53 | protected function _getCacheDriver() 54 | { 55 | $driver = new RedisCache(); 56 | $driver->setRedis($this->_redis); 57 | return $driver; 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Cache/CacheException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Cache; 21 | 22 | /** 23 | * @author Benjamin Eberlei 24 | * @since 2.2 25 | */ 26 | class CacheException extends \Doctrine\DBAL\DBALException 27 | { 28 | /** 29 | * @return \Doctrine\DBAL\Cache\CacheException 30 | */ 31 | static public function noCacheKey() 32 | { 33 | return new self("No cache key was set."); 34 | } 35 | 36 | /** 37 | * @return \Doctrine\DBAL\Cache\CacheException 38 | */ 39 | static public function noResultDriverConfigured() 40 | { 41 | return new self("Trying to cache a query but no result driver is configured."); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /vendor/doctrine/collections/lib/Doctrine/Common/Collections/Expr/Value.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Collections\Expr; 21 | 22 | class Value implements Expression 23 | { 24 | /** 25 | * @var mixed 26 | */ 27 | private $value; 28 | 29 | /** 30 | * @param mixed $value 31 | */ 32 | public function __construct($value) 33 | { 34 | $this->value = $value; 35 | } 36 | 37 | /** 38 | * @return mixed 39 | */ 40 | public function getValue() 41 | { 42 | return $this->value; 43 | } 44 | 45 | /** 46 | * {@inheritDoc} 47 | */ 48 | public function visit(ExpressionVisitor $visitor) 49 | { 50 | return $visitor->walkValue($this); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/Keywords/MsSQLKeywords.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | 21 | namespace Doctrine\DBAL\Platforms\Keywords; 22 | 23 | /** 24 | * MsSQL Keywordlist 25 | * 26 | * @license BSD http://www.opensource.org/licenses/bsd-license.php 27 | * @link www.doctrine-project.com 28 | * @since 2.0 29 | * @author Benjamin Eberlei 30 | * @author David Coallier 31 | * @author Steve Müller 32 | * @deprecated Use SQLServerKeywords class instead. 33 | */ 34 | class MsSQLKeywords extends SQLServerKeywords 35 | { 36 | /** 37 | * {@inheritdoc} 38 | */ 39 | public function getName() 40 | { 41 | return 'MsSQL'; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/lib/Doctrine/Common/Cache/MultiGetCache.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Cache; 21 | 22 | /** 23 | * Interface for cache drivers that allows to get many items at once. 24 | * 25 | * @link www.doctrine-project.org 26 | * @since 1.4 27 | * @author Asmir Mustafic 28 | */ 29 | interface MultiGetCache 30 | { 31 | /** 32 | * Returns an associative array of values for keys is found in cache. 33 | * 34 | * @param string[] $keys Array of keys to retrieve from cache 35 | * @return mixed[] Array of retrieved values, indexed by the specified keys. 36 | * Values that couldn't be retrieved are not contained in this array. 37 | */ 38 | function fetchMultiple(array $keys); 39 | } 40 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/View.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Schema; 21 | 22 | /** 23 | * Representation of a Database View. 24 | * 25 | * @link www.doctrine-project.org 26 | * @since 1.0 27 | * @author Benjamin Eberlei 28 | */ 29 | class View extends AbstractAsset 30 | { 31 | /** 32 | * @var string 33 | */ 34 | private $_sql; 35 | 36 | /** 37 | * @param string $name 38 | * @param string $sql 39 | */ 40 | public function __construct($name, $sql) 41 | { 42 | $this->_setName($name); 43 | $this->_sql = $sql; 44 | } 45 | 46 | /** 47 | * @return string 48 | */ 49 | public function getSql() 50 | { 51 | return $this->_sql; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /vendor/doctrine/common/lib/Doctrine/Common/Proxy/Exception/OutOfBoundsException.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Proxy\Exception; 21 | 22 | use OutOfBoundsException as BaseOutOfBoundsException; 23 | 24 | /** 25 | * Proxy Invalid Argument Exception. 26 | * 27 | * @link www.doctrine-project.org 28 | * @author Fredrik Wendel 29 | */ 30 | class OutOfBoundsException extends BaseOutOfBoundsException implements ProxyException 31 | { 32 | /** 33 | * @param string $className 34 | * @param string $idField 35 | * 36 | * @return self 37 | */ 38 | public static function missingPrimaryKeyValue($className, $idField) 39 | { 40 | return new self(sprintf("Missing value for primary key %s on %s", $idField, $className)); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/FloatType.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Types; 21 | 22 | use Doctrine\DBAL\Platforms\AbstractPlatform; 23 | 24 | class FloatType extends Type 25 | { 26 | /** 27 | * {@inheritdoc} 28 | */ 29 | public function getName() 30 | { 31 | return Type::FLOAT; 32 | } 33 | 34 | /** 35 | * {@inheritdoc} 36 | */ 37 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) 38 | { 39 | return $platform->getFloatDeclarationSQL($fieldDeclaration); 40 | } 41 | 42 | /** 43 | * {@inheritdoc} 44 | */ 45 | public function convertToPHPValue($value, AbstractPlatform $platform) 46 | { 47 | return (null === $value) ? null : (double) $value; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /vendor/doctrine/common/lib/Doctrine/Common/NotifyPropertyChanged.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common; 21 | 22 | /** 23 | * Contract for classes that provide the service of notifying listeners of 24 | * changes to their properties. 25 | * 26 | * @link www.doctrine-project.org 27 | * @since 2.0 28 | * @author Guilherme Blanco 29 | * @author Jonathan Wage 30 | * @author Roman Borschel 31 | */ 32 | interface NotifyPropertyChanged 33 | { 34 | /** 35 | * Adds a listener that wants to be notified about property changes. 36 | * 37 | * @param PropertyChangedListener $listener 38 | * 39 | * @return void 40 | */ 41 | public function addPropertyChangedListener(PropertyChangedListener $listener); 42 | } 43 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Sharding/ShardChoser/ShardChoser.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Sharding\ShardChoser; 21 | 22 | use Doctrine\DBAL\Sharding\PoolingShardConnection; 23 | 24 | /** 25 | * Given a distribution value this shard-choser strategy will pick the shard to 26 | * connect to for retrieving rows with the distribution value. 27 | * 28 | * @author Benjamin Eberlei 29 | */ 30 | interface ShardChoser 31 | { 32 | /** 33 | * Picks a shard for the given distribution value. 34 | * 35 | * @param string $distributionValue 36 | * @param \Doctrine\DBAL\Sharding\PoolingShardConnection $conn 37 | * 38 | * @return integer 39 | */ 40 | function pickShard($distributionValue, PoolingShardConnection $conn); 41 | } 42 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/SQLAnywhere11Platform.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Platforms; 21 | 22 | /** 23 | * The SQLAnywhere11Platform provides the behavior, features and SQL dialect of the 24 | * SAP Sybase SQL Anywhere 11 database platform. 25 | * 26 | * @author Steve Müller 27 | * @link www.doctrine-project.org 28 | * @since 2.5 29 | */ 30 | class SQLAnywhere11Platform extends SQLAnywherePlatform 31 | { 32 | /** 33 | * {@inheritdoc} 34 | */ 35 | public function getRegexpExpression() 36 | { 37 | return 'REGEXP'; 38 | } 39 | 40 | /** 41 | * {@inheritdoc} 42 | */ 43 | protected function getReservedKeywordsClass() 44 | { 45 | return 'Doctrine\DBAL\Platforms\Keywords\SQLAnywhere11Keywords'; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /vendor/doctrine/common/lib/Doctrine/Common/EventSubscriber.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common; 21 | 22 | /** 23 | * An EventSubscriber knows himself what events he is interested in. 24 | * If an EventSubscriber is added to an EventManager, the manager invokes 25 | * {@link getSubscribedEvents} and registers the subscriber as a listener for all 26 | * returned events. 27 | * 28 | * @link www.doctrine-project.org 29 | * @since 2.0 30 | * @author Guilherme Blanco 31 | * @author Jonathan Wage 32 | * @author Roman Borschel 33 | */ 34 | interface EventSubscriber 35 | { 36 | /** 37 | * Returns an array of events this subscriber wants to listen to. 38 | * 39 | * @return array 40 | */ 41 | public function getSubscribedEvents(); 42 | } 43 | -------------------------------------------------------------------------------- /vendor/doctrine/common/lib/Doctrine/Common/Reflection/ReflectionProviderInterface.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Reflection; 21 | 22 | interface ReflectionProviderInterface 23 | { 24 | /** 25 | * Gets the ReflectionClass equivalent for this class. 26 | * 27 | * @return \ReflectionClass 28 | */ 29 | public function getReflectionClass(); 30 | 31 | /** 32 | * Gets the ReflectionMethod equivalent for this class. 33 | * 34 | * @param string $name 35 | * 36 | * @return \ReflectionMethod 37 | */ 38 | public function getReflectionMethod($name); 39 | 40 | /** 41 | * Gets the ReflectionProperty equivalent for this class. 42 | * 43 | * @param string $name 44 | * 45 | * @return \ReflectionProperty 46 | */ 47 | public function getReflectionProperty($name); 48 | } 49 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/Keywords/PostgreSQL92Keywords.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Platforms\Keywords; 21 | 22 | /** 23 | * PostgreSQL 9.2 reserved keywords list. 24 | * 25 | * @author Steve Müller 26 | * @link www.doctrine-project.org 27 | * @since 2.5 28 | */ 29 | class PostgreSQL92Keywords extends PostgreSQL91Keywords 30 | { 31 | /** 32 | * {@inheritdoc} 33 | */ 34 | public function getName() 35 | { 36 | return 'PostgreSQL92'; 37 | } 38 | 39 | /** 40 | * {@inheritdoc} 41 | * 42 | * @link http://www.postgresql.org/docs/9.2/static/sql-keywords-appendix.html 43 | */ 44 | protected function getKeywords() 45 | { 46 | return array_merge(parent::getKeywords(), array( 47 | 'COLLATION', 48 | )); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Event/SchemaEventArgs.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Event; 21 | 22 | use Doctrine\Common\EventArgs; 23 | 24 | /** 25 | * Base class for schema related events. 26 | * 27 | * @link www.doctrine-project.org 28 | * @since 2.2 29 | * @author Jan Sorgalla 30 | */ 31 | class SchemaEventArgs extends EventArgs 32 | { 33 | /** 34 | * @var boolean 35 | */ 36 | private $_preventDefault = false; 37 | 38 | /** 39 | * @return \Doctrine\DBAL\Event\SchemaEventArgs 40 | */ 41 | public function preventDefault() 42 | { 43 | $this->_preventDefault = true; 44 | 45 | return $this; 46 | } 47 | 48 | /** 49 | * @return boolean 50 | */ 51 | public function isDefaultPrevented() 52 | { 53 | return $this->_preventDefault; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/YtsFlowCollections.yml: -------------------------------------------------------------------------------- 1 | --- 2 | test: Simple Inline Array 3 | brief: > 4 | Sequences can be contained on a 5 | single line, using the inline syntax. 6 | Separate each entry with commas and 7 | enclose in square brackets. 8 | yaml: | 9 | seq: [ a, b, c ] 10 | php: | 11 | array('seq' => array('a', 'b', 'c')) 12 | --- 13 | test: Simple Inline Hash 14 | brief: > 15 | Mapping can also be contained on 16 | a single line, using the inline 17 | syntax. Each key-value pair is 18 | separated by a colon, with a comma 19 | between each entry in the mapping. 20 | Enclose with curly braces. 21 | yaml: | 22 | hash: { name: Steve, foo: bar } 23 | php: | 24 | array('hash' => array('name' => 'Steve', 'foo' => 'bar')) 25 | --- 26 | test: Multi-line Inline Collections 27 | todo: true 28 | brief: > 29 | Both inline sequences and inline mappings 30 | can span multiple lines, provided that you 31 | indent the additional lines. 32 | yaml: | 33 | languages: [ Ruby, 34 | Perl, 35 | Python ] 36 | websites: { YAML: yaml.org, 37 | Ruby: ruby-lang.org, 38 | Python: python.org, 39 | Perl: use.perl.org } 40 | php: | 41 | array( 42 | 'languages' => array('Ruby', 'Perl', 'Python'), 43 | 'websites' => array( 44 | 'YAML' => 'yaml.org', 45 | 'Ruby' => 'ruby-lang.org', 46 | 'Python' => 'python.org', 47 | 'Perl' => 'use.perl.org' 48 | ) 49 | ) 50 | --- 51 | test: Commas in Values (not in the spec!) 52 | todo: true 53 | brief: > 54 | List items in collections are delimited by commas, but 55 | there must be a space after each comma. This allows you 56 | to add numbers without quoting. 57 | yaml: | 58 | attendances: [ 45,123, 70,000, 17,222 ] 59 | php: | 60 | array('attendances' => array(45123, 70000, 17222)) 61 | -------------------------------------------------------------------------------- /vendor/doctrine/cache/lib/Doctrine/Common/Cache/MultiPutCache.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Cache; 21 | 22 | /** 23 | * Interface for cache drivers that allows to put many items at once. 24 | * 25 | * @link www.doctrine-project.org 26 | * @since 1.6 27 | * @author Daniel Gorgan 28 | */ 29 | interface MultiPutCache 30 | { 31 | /** 32 | * Returns a boolean value indicating if the operation succeeded. 33 | * 34 | * @param array $keysAndValues Array of keys and values to save in cache 35 | * @param int $lifetime The lifetime. If != 0, sets a specific lifetime for these 36 | * cache entries (0 => infinite lifeTime). 37 | * 38 | * @return bool TRUE if the operation was successful, FALSE if it wasn't. 39 | */ 40 | function saveMultiple(array $keysAndValues, $lifetime = 0); 41 | } 42 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/ServerInfoAwareConnection.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Driver; 21 | 22 | /** 23 | * Contract for a connection that is able to provide information about the server it is connected to. 24 | * 25 | * @author Steve Müller 26 | * @link www.doctrine-project.org 27 | * @since 2.5 28 | */ 29 | interface ServerInfoAwareConnection 30 | { 31 | /** 32 | * Returns the version number of the database server connected to. 33 | * 34 | * @return string 35 | */ 36 | public function getServerVersion(); 37 | 38 | /** 39 | * Checks whether a query is required to retrieve the database server version. 40 | * 41 | * @return boolean True if a query is required to retrieve the database server version, false otherwise. 42 | */ 43 | public function requiresQueryForServerVersion(); 44 | } 45 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/Driver.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Driver\Mysqli; 21 | 22 | use Doctrine\DBAL\Driver\AbstractMySQLDriver; 23 | use Doctrine\DBAL\DBALException; 24 | 25 | /** 26 | * @author Kim Hemsø Rasmussen 27 | */ 28 | class Driver extends AbstractMySQLDriver 29 | { 30 | /** 31 | * {@inheritdoc} 32 | */ 33 | public function connect(array $params, $username = null, $password = null, array $driverOptions = array()) 34 | { 35 | try { 36 | return new MysqliConnection($params, $username, $password, $driverOptions); 37 | } catch (MysqliException $e) { 38 | throw DBALException::driverException($this, $e); 39 | } 40 | } 41 | 42 | /** 43 | * {@inheritdoc} 44 | */ 45 | public function getName() 46 | { 47 | return 'mysqli'; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/StringType.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Types; 21 | 22 | use Doctrine\DBAL\Platforms\AbstractPlatform; 23 | 24 | /** 25 | * Type that maps an SQL VARCHAR to a PHP string. 26 | * 27 | * @since 2.0 28 | */ 29 | class StringType extends Type 30 | { 31 | /** 32 | * {@inheritdoc} 33 | */ 34 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) 35 | { 36 | return $platform->getVarcharTypeDeclarationSQL($fieldDeclaration); 37 | } 38 | 39 | /** 40 | * {@inheritdoc} 41 | */ 42 | public function getDefaultLength(AbstractPlatform $platform) 43 | { 44 | return $platform->getVarcharDefaultLength(); 45 | } 46 | 47 | /** 48 | * {@inheritdoc} 49 | */ 50 | public function getName() 51 | { 52 | return Type::STRING; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/DecimalType.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Types; 21 | 22 | use Doctrine\DBAL\Platforms\AbstractPlatform; 23 | 24 | /** 25 | * Type that maps an SQL DECIMAL to a PHP string. 26 | * 27 | * @since 2.0 28 | */ 29 | class DecimalType extends Type 30 | { 31 | /** 32 | * {@inheritdoc} 33 | */ 34 | public function getName() 35 | { 36 | return Type::DECIMAL; 37 | } 38 | 39 | /** 40 | * {@inheritdoc} 41 | */ 42 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) 43 | { 44 | return $platform->getDecimalTypeDeclarationSQL($fieldDeclaration); 45 | } 46 | 47 | /** 48 | * {@inheritdoc} 49 | */ 50 | public function convertToPHPValue($value, AbstractPlatform $platform) 51 | { 52 | return (null === $value) ? null : $value; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/YtsDocumentSeparator.yml: -------------------------------------------------------------------------------- 1 | --- %YAML:1.0 2 | test: Trailing Document Separator 3 | todo: true 4 | brief: > 5 | You can separate YAML documents 6 | with a string of three dashes. 7 | yaml: | 8 | - foo: 1 9 | bar: 2 10 | --- 11 | more: stuff 12 | python: | 13 | [ 14 | [ { 'foo': 1, 'bar': 2 } ], 15 | { 'more': 'stuff' } 16 | ] 17 | ruby: | 18 | [ { 'foo' => 1, 'bar' => 2 } ] 19 | 20 | --- 21 | test: Leading Document Separator 22 | todo: true 23 | brief: > 24 | You can explicitly give an opening 25 | document separator to your YAML stream. 26 | yaml: | 27 | --- 28 | - foo: 1 29 | bar: 2 30 | --- 31 | more: stuff 32 | python: | 33 | [ 34 | [ {'foo': 1, 'bar': 2}], 35 | {'more': 'stuff'} 36 | ] 37 | ruby: | 38 | [ { 'foo' => 1, 'bar' => 2 } ] 39 | 40 | --- 41 | test: YAML Header 42 | todo: true 43 | brief: > 44 | The opening separator can contain directives 45 | to the YAML parser, such as the version 46 | number. 47 | yaml: | 48 | --- %YAML:1.0 49 | foo: 1 50 | bar: 2 51 | php: | 52 | array('foo' => 1, 'bar' => 2) 53 | documents: 1 54 | 55 | --- 56 | test: Red Herring Document Separator 57 | brief: > 58 | Separators included in blocks or strings 59 | are treated as blocks or strings, as the 60 | document separator should have no indentation 61 | preceding it. 62 | yaml: | 63 | foo: | 64 | --- 65 | php: | 66 | array('foo' => "---\n") 67 | 68 | --- 69 | test: Multiple Document Separators in Block 70 | brief: > 71 | This technique allows you to embed other YAML 72 | documents within literal blocks. 73 | yaml: | 74 | foo: | 75 | --- 76 | foo: bar 77 | --- 78 | yo: baz 79 | bar: | 80 | fooness 81 | php: | 82 | array( 83 | 'foo' => "---\nfoo: bar\n---\nyo: baz\n", 84 | 'bar' => "fooness\n" 85 | ) 86 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/TextType.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Types; 21 | 22 | use Doctrine\DBAL\Platforms\AbstractPlatform; 23 | 24 | /** 25 | * Type that maps an SQL CLOB to a PHP string. 26 | * 27 | * @since 2.0 28 | */ 29 | class TextType extends Type 30 | { 31 | /** 32 | * {@inheritdoc} 33 | */ 34 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) 35 | { 36 | return $platform->getClobTypeDeclarationSQL($fieldDeclaration); 37 | } 38 | 39 | /** 40 | * {@inheritdoc} 41 | */ 42 | public function convertToPHPValue($value, AbstractPlatform $platform) 43 | { 44 | return (is_resource($value)) ? stream_get_contents($value) : $value; 45 | } 46 | 47 | /** 48 | * {@inheritdoc} 49 | */ 50 | public function getName() 51 | { 52 | return Type::TEXT; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOSqlsrv/Statement.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Driver\PDOSqlsrv; 21 | 22 | use Doctrine\DBAL\Driver\PDOStatement; 23 | use PDO; 24 | 25 | /** 26 | * PDO SQL Server Statement 27 | */ 28 | class Statement extends PDOStatement 29 | { 30 | /** 31 | * {@inheritdoc} 32 | */ 33 | public function bindParam($column, &$variable, $type = PDO::PARAM_STR, $length = null, $driverOptions = null) 34 | { 35 | if ($type === PDO::PARAM_LOB && $driverOptions === null) { 36 | $driverOptions = PDO::SQLSRV_ENCODING_BINARY; 37 | } 38 | 39 | return parent::bindParam($column, $variable, $type, $length, $driverOptions); 40 | } 41 | 42 | /** 43 | * {@inheritdoc} 44 | */ 45 | public function bindValue($param, $value, $type = PDO::PARAM_STR) 46 | { 47 | return $this->bindParam($param, $value, $type); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/Keywords/SQLServer2008Keywords.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Platforms\Keywords; 21 | 22 | /** 23 | * Microsoft SQL Server 2008 reserved keyword dictionary. 24 | * 25 | * @license BSD http://www.opensource.org/licenses/bsd-license.php 26 | * @link www.doctrine-project.com 27 | * @since 2.3 28 | * @author Steve Müller 29 | */ 30 | class SQLServer2008Keywords extends SQLServer2005Keywords 31 | { 32 | /** 33 | * {@inheritdoc} 34 | */ 35 | public function getName() 36 | { 37 | return 'SQLServer2008'; 38 | } 39 | 40 | /** 41 | * {@inheritdoc} 42 | * 43 | * @link http://msdn.microsoft.com/en-us/library/ms189822%28v=sql.100%29.aspx 44 | */ 45 | protected function getKeywords() 46 | { 47 | return array_merge(parent::getKeywords(), array( 48 | 'MERGE' 49 | )); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /vendor/composer/autoload_real.php: -------------------------------------------------------------------------------- 1 | = 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); 27 | if ($useStaticLoader) { 28 | require_once __DIR__ . '/autoload_static.php'; 29 | 30 | call_user_func(\Composer\Autoload\ComposerStaticInite76993bcee994386db4894ce2f1e259f::getInitializer($loader)); 31 | } else { 32 | $map = require __DIR__ . '/autoload_namespaces.php'; 33 | foreach ($map as $namespace => $path) { 34 | $loader->set($namespace, $path); 35 | } 36 | 37 | $map = require __DIR__ . '/autoload_psr4.php'; 38 | foreach ($map as $namespace => $path) { 39 | $loader->setPsr4($namespace, $path); 40 | } 41 | 42 | $classMap = require __DIR__ . '/autoload_classmap.php'; 43 | if ($classMap) { 44 | $loader->addClassMap($classMap); 45 | } 46 | } 47 | 48 | $loader->register(true); 49 | 50 | return $loader; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /vendor/doctrine/common/lib/Doctrine/Common/Persistence/Proxy.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Persistence; 21 | 22 | /** 23 | * Interface for proxy classes. 24 | * 25 | * @author Roman Borschel 26 | * @since 2.2 27 | */ 28 | interface Proxy 29 | { 30 | /** 31 | * Marker for Proxy class names. 32 | * 33 | * @var string 34 | */ 35 | const MARKER = '__CG__'; 36 | 37 | /** 38 | * Length of the proxy marker. 39 | * 40 | * @var integer 41 | */ 42 | const MARKER_LENGTH = 6; 43 | 44 | /** 45 | * Initializes this proxy if its not yet initialized. 46 | * 47 | * Acts as a no-op if already initialized. 48 | * 49 | * @return void 50 | */ 51 | public function __load(); 52 | 53 | /** 54 | * Returns whether this proxy is initialized or not. 55 | * 56 | * @return bool 57 | */ 58 | public function __isInitialized(); 59 | } 60 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/Identifier.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Schema; 21 | 22 | /** 23 | * An abstraction class for an asset identifier. 24 | * 25 | * Wraps identifier names like column names in indexes / foreign keys 26 | * in an abstract class for proper quotation capabilities. 27 | * 28 | * @author Steve Müller 29 | * @link www.doctrine-project.org 30 | * @since 2.4 31 | */ 32 | class Identifier extends AbstractAsset 33 | { 34 | /** 35 | * Constructor. 36 | * 37 | * @param string $identifier Identifier name to wrap. 38 | * @param bool $quote Whether to force quoting the given identifier. 39 | */ 40 | public function __construct($identifier, $quote = false) 41 | { 42 | $this->_setName($identifier); 43 | 44 | if ($quote && ! $this->_quoted) { 45 | $this->_setName('"' . $this->getName() . '"'); 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/Keywords/SQLAnywhere11Keywords.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Platforms\Keywords; 21 | 22 | /** 23 | * SAP Sybase SQL Anywhere 11 reserved keywords list. 24 | * 25 | * @author Steve Müller 26 | */ 27 | class SQLAnywhere11Keywords extends SQLAnywhereKeywords 28 | { 29 | /** 30 | * {@inheritdoc} 31 | */ 32 | public function getName() 33 | { 34 | return 'SQLAnywhere11'; 35 | } 36 | 37 | /** 38 | * {@inheritdoc} 39 | * 40 | * @link http://dcx.sybase.com/1100/en/dbreference_en11/alhakeywords.html 41 | */ 42 | protected function getKeywords() 43 | { 44 | return array_merge( 45 | array_diff( 46 | parent::getKeywords(), 47 | array('IQ') 48 | ), 49 | array( 50 | 'MERGE', 51 | 'OPENSTRING' 52 | ) 53 | ); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/GuidType.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Types; 21 | 22 | use Doctrine\DBAL\Platforms\AbstractPlatform; 23 | 24 | /** 25 | * Represents a GUID/UUID datatype (both are actually synonyms) in the database. 26 | * 27 | * @author Benjamin Eberlei 28 | * @since 2.3 29 | */ 30 | class GuidType extends StringType 31 | { 32 | /** 33 | * {@inheritdoc} 34 | */ 35 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) 36 | { 37 | return $platform->getGuidTypeDeclarationSQL($fieldDeclaration); 38 | } 39 | 40 | /** 41 | * {@inheritdoc} 42 | */ 43 | public function getName() 44 | { 45 | return Type::GUID; 46 | } 47 | 48 | /** 49 | * {@inheritdoc} 50 | */ 51 | public function requiresSQLCommentHint(AbstractPlatform $platform) 52 | { 53 | return !$platform->hasNativeGuidType(); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/sfMergeKey.yml: -------------------------------------------------------------------------------- 1 | --- %YAML:1.0 2 | test: Simple In Place Substitution 3 | brief: > 4 | If you want to reuse an entire alias, only overwriting what is different 5 | you can use a << in place substitution. This is not part of the official 6 | YAML spec, but a widely implemented extension. See the following URL for 7 | details: http://yaml.org/type/merge.html 8 | yaml: | 9 | foo: &foo 10 | a: Steve 11 | b: Clark 12 | c: Brian 13 | e: notnull 14 | bar: 15 | a: before 16 | d: other 17 | e: ~ 18 | <<: *foo 19 | b: new 20 | x: Oren 21 | c: 22 | foo: bar 23 | bar: foo 24 | foo2: &foo2 25 | a: Ballmer 26 | ding: &dong [ fi, fei, fo, fam] 27 | check: 28 | <<: 29 | - *foo 30 | - *dong 31 | isit: tested 32 | head: 33 | <<: [ *foo , *dong , *foo2 ] 34 | taz: &taz 35 | a: Steve 36 | w: 37 | p: 1234 38 | nested: 39 | <<: *taz 40 | d: Doug 41 | w: &nestedref 42 | p: 12345 43 | z: 44 | <<: *nestedref 45 | php: | 46 | array( 47 | 'foo' => array('a' => 'Steve', 'b' => 'Clark', 'c' => 'Brian', 'e' => 'notnull'), 48 | 'bar' => array('a' => 'before', 'd' => 'other', 'e' => null, 'b' => 'new', 'c' => array('foo' => 'bar', 'bar' => 'foo'), 'x' => 'Oren'), 49 | 'foo2' => array('a' => 'Ballmer'), 50 | 'ding' => array('fi', 'fei', 'fo', 'fam'), 51 | 'check' => array('a' => 'Steve', 'b' => 'Clark', 'c' => 'Brian', 'e' => 'notnull', 'fi', 'fei', 'fo', 'fam', 'isit' => 'tested'), 52 | 'head' => array('a' => 'Steve', 'b' => 'Clark', 'c' => 'Brian', 'e' => 'notnull', 'fi', 'fei', 'fo', 'fam'), 53 | 'taz' => array('a' => 'Steve', 'w' => array('p' => 1234)), 54 | 'nested' => array('a' => 'Steve', 'w' => array('p' => 12345), 'd' => 'Doug', 'z' => array('p' => 12345)) 55 | ) 56 | -------------------------------------------------------------------------------- /vendor/doctrine/common/lib/Doctrine/Common/Comparable.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common; 21 | 22 | /** 23 | * Comparable interface that allows to compare two value objects to each other for similarity. 24 | * 25 | * @link www.doctrine-project.org 26 | * @since 2.2 27 | * @author Benjamin Eberlei 28 | * @author Guilherme Blanco 29 | */ 30 | interface Comparable 31 | { 32 | /** 33 | * Compares the current object to the passed $other. 34 | * 35 | * Returns 0 if they are semantically equal, 1 if the other object 36 | * is less than the current one, or -1 if its more than the current one. 37 | * 38 | * This method should not check for identity using ===, only for semantical equality for example 39 | * when two different DateTime instances point to the exact same Date + TZ. 40 | * 41 | * @param mixed $other 42 | * 43 | * @return int 44 | */ 45 | public function compareTo($other); 46 | } 47 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Logging/EchoSQLLogger.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Logging; 21 | 22 | /** 23 | * A SQL logger that logs to the standard output using echo/var_dump. 24 | * 25 | * @link www.doctrine-project.org 26 | * @since 2.0 27 | * @author Benjamin Eberlei 28 | * @author Guilherme Blanco 29 | * @author Jonathan Wage 30 | * @author Roman Borschel 31 | */ 32 | class EchoSQLLogger implements SQLLogger 33 | { 34 | /** 35 | * {@inheritdoc} 36 | */ 37 | public function startQuery($sql, array $params = null, array $types = null) 38 | { 39 | echo $sql . PHP_EOL; 40 | 41 | if ($params) { 42 | var_dump($params); 43 | } 44 | 45 | if ($types) { 46 | var_dump($types); 47 | } 48 | } 49 | 50 | /** 51 | * {@inheritdoc} 52 | */ 53 | public function stopQuery() 54 | { 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/sfComments.yml: -------------------------------------------------------------------------------- 1 | --- %YAML:1.0 2 | test: Comments at the end of a line 3 | brief: > 4 | Comments at the end of a line 5 | yaml: | 6 | ex1: "foo # bar" 7 | ex2: "foo # bar" # comment 8 | ex3: 'foo # bar' # comment 9 | ex4: foo # comment 10 | ex5: foo # comment with tab before 11 | ex6: foo#foo # comment here 12 | ex7: foo # ignore me # and me 13 | php: | 14 | array('ex1' => 'foo # bar', 'ex2' => 'foo # bar', 'ex3' => 'foo # bar', 'ex4' => 'foo', 'ex5' => 'foo', 'ex6' => 'foo#foo', 'ex7' => 'foo') 15 | --- 16 | test: Comments in the middle 17 | brief: > 18 | Comments in the middle 19 | yaml: | 20 | foo: 21 | # some comment 22 | # some comment 23 | bar: foo 24 | # some comment 25 | # some comment 26 | php: | 27 | array('foo' => array('bar' => 'foo')) 28 | --- 29 | test: Comments on a hash line 30 | brief: > 31 | Comments on a hash line 32 | yaml: | 33 | foo: # a comment 34 | foo: bar # a comment 35 | php: | 36 | array('foo' => array('foo' => 'bar')) 37 | --- 38 | test: 'Value starting with a #' 39 | brief: > 40 | 'Value starting with a #' 41 | yaml: | 42 | foo: '#bar' 43 | php: | 44 | array('foo' => '#bar') 45 | --- 46 | test: Document starting with a comment and a separator 47 | brief: > 48 | Commenting before document start is allowed 49 | yaml: | 50 | # document comment 51 | --- 52 | foo: bar # a comment 53 | php: | 54 | array('foo' => 'bar') 55 | --- 56 | test: Comment containing a colon on a hash line 57 | brief: > 58 | Comment containing a colon on a scalar line 59 | yaml: 'foo # comment: this is also part of the comment' 60 | php: | 61 | 'foo' 62 | --- 63 | test: 'Hash key containing a #' 64 | brief: > 65 | 'Hash key containing a #' 66 | yaml: 'foo#bar: baz' 67 | php: | 68 | array('foo#bar' => 'baz') 69 | --- 70 | test: 'Hash key ending with a space and a #' 71 | brief: > 72 | 'Hash key ending with a space and a #' 73 | yaml: | 74 | 'foo #': baz 75 | php: | 76 | array('foo #' => 'baz') 77 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/Keywords/SQLAnywhere16Keywords.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Platforms\Keywords; 21 | 22 | /** 23 | * SAP Sybase SQL Anywhere 16 reserved keywords list. 24 | * 25 | * @author Steve Müller 26 | */ 27 | class SQLAnywhere16Keywords extends SQLAnywhere12Keywords 28 | { 29 | /** 30 | * {@inheritdoc} 31 | */ 32 | public function getName() 33 | { 34 | return 'SQLAnywhere16'; 35 | } 36 | 37 | /** 38 | * {@inheritdoc} 39 | * 40 | * @link http://dcx.sybase.com/index.html#sa160/en/dbreference/alhakeywords.html 41 | */ 42 | protected function getKeywords() 43 | { 44 | return array_merge( 45 | parent::getKeywords(), 46 | array( 47 | 'ARRAY', 48 | 'JSON', 49 | 'ROW', 50 | 'ROWTYPE', 51 | 'UNNEST', 52 | 'VARRAY' 53 | ) 54 | ); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /vendor/doctrine/common/lib/Doctrine/Common/PropertyChangedListener.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common; 21 | 22 | /** 23 | * Contract for classes that are potential listeners of a NotifyPropertyChanged 24 | * implementor. 25 | * 26 | * @link www.doctrine-project.org 27 | * @since 2.0 28 | * @author Guilherme Blanco 29 | * @author Jonathan Wage 30 | * @author Roman Borschel 31 | */ 32 | interface PropertyChangedListener 33 | { 34 | /** 35 | * Notifies the listener of a property change. 36 | * 37 | * @param object $sender The object on which the property changed. 38 | * @param string $propertyName The name of the property that changed. 39 | * @param mixed $oldValue The old value of the property that changed. 40 | * @param mixed $newValue The new value of the property that changed. 41 | * 42 | * @return void 43 | */ 44 | function propertyChanged($sender, $propertyName, $oldValue, $newValue); 45 | } 46 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Logging/SQLLogger.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Logging; 21 | 22 | /** 23 | * Interface for SQL loggers. 24 | * 25 | * @link www.doctrine-project.org 26 | * @since 2.0 27 | * @author Benjamin Eberlei 28 | * @author Guilherme Blanco 29 | * @author Jonathan Wage 30 | * @author Roman Borschel 31 | */ 32 | interface SQLLogger 33 | { 34 | /** 35 | * Logs a SQL statement somewhere. 36 | * 37 | * @param string $sql The SQL to be executed. 38 | * @param array|null $params The SQL parameters. 39 | * @param array|null $types The SQL parameter types. 40 | * 41 | * @return void 42 | */ 43 | public function startQuery($sql, array $params = null, array $types = null); 44 | 45 | /** 46 | * Marks the last started query as stopped. This can be used for timing of queries. 47 | * 48 | * @return void 49 | */ 50 | public function stopQuery(); 51 | } 52 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/SmallIntType.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Types; 21 | 22 | use Doctrine\DBAL\Platforms\AbstractPlatform; 23 | 24 | /** 25 | * Type that maps a database SMALLINT to a PHP integer. 26 | * 27 | * @author robo 28 | */ 29 | class SmallIntType extends Type 30 | { 31 | /** 32 | * {@inheritdoc} 33 | */ 34 | public function getName() 35 | { 36 | return Type::SMALLINT; 37 | } 38 | 39 | /** 40 | * {@inheritdoc} 41 | */ 42 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) 43 | { 44 | return $platform->getSmallIntTypeDeclarationSQL($fieldDeclaration); 45 | } 46 | 47 | /** 48 | * {@inheritdoc} 49 | */ 50 | public function convertToPHPValue($value, AbstractPlatform $platform) 51 | { 52 | return (null === $value) ? null : (int) $value; 53 | } 54 | 55 | /** 56 | * {@inheritdoc} 57 | */ 58 | public function getBindingType() 59 | { 60 | return \PDO::PARAM_INT; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/BigIntType.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Types; 21 | 22 | use Doctrine\DBAL\Platforms\AbstractPlatform; 23 | 24 | /** 25 | * Type that maps a database BIGINT to a PHP string. 26 | * 27 | * @author robo 28 | * @since 2.0 29 | */ 30 | class BigIntType extends Type 31 | { 32 | /** 33 | * {@inheritdoc} 34 | */ 35 | public function getName() 36 | { 37 | return Type::BIGINT; 38 | } 39 | 40 | /** 41 | * {@inheritdoc} 42 | */ 43 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) 44 | { 45 | return $platform->getBigIntTypeDeclarationSQL($fieldDeclaration); 46 | } 47 | 48 | /** 49 | * {@inheritdoc} 50 | */ 51 | public function getBindingType() 52 | { 53 | return \PDO::PARAM_STR; 54 | } 55 | 56 | /** 57 | * {@inheritdoc} 58 | */ 59 | public function convertToPHPValue($value, AbstractPlatform $platform) 60 | { 61 | return (null === $value) ? null : (string) $value; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/ManagerEventArgs.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Persistence\Event; 21 | 22 | use Doctrine\Common\EventArgs; 23 | use Doctrine\Common\Persistence\ObjectManager; 24 | 25 | /** 26 | * Provides event arguments for the preFlush event. 27 | * 28 | * @link www.doctrine-project.org 29 | * @since 2.2 30 | * @author Roman Borschel 31 | * @author Benjamin Eberlei 32 | */ 33 | class ManagerEventArgs extends EventArgs 34 | { 35 | /** 36 | * @var ObjectManager 37 | */ 38 | private $objectManager; 39 | 40 | /** 41 | * Constructor. 42 | * 43 | * @param ObjectManager $objectManager 44 | */ 45 | public function __construct(ObjectManager $objectManager) 46 | { 47 | $this->objectManager = $objectManager; 48 | } 49 | 50 | /** 51 | * Retrieves the associated ObjectManager. 52 | * 53 | * @return ObjectManager 54 | */ 55 | public function getObjectManager() 56 | { 57 | return $this->objectManager; 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/Keywords/SQLServer2012Keywords.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Platforms\Keywords; 21 | 22 | /** 23 | * Microsoft SQL Server 2012 reserved keyword dictionary. 24 | * 25 | * @license BSD http://www.opensource.org/licenses/bsd-license.php 26 | * @link www.doctrine-project.com 27 | * @since 2.3 28 | * @author Steve Müller 29 | */ 30 | class SQLServer2012Keywords extends SQLServer2008Keywords 31 | { 32 | /** 33 | * {@inheritdoc} 34 | */ 35 | public function getName() 36 | { 37 | return 'SQLServer2012'; 38 | } 39 | 40 | /** 41 | * {@inheritdoc} 42 | * 43 | * @link http://msdn.microsoft.com/en-us/library/ms189822.aspx 44 | */ 45 | protected function getKeywords() 46 | { 47 | return array_merge(parent::getKeywords(), array( 48 | 'SEMANTICKEYPHRASETABLE', 49 | 'SEMANTICSIMILARITYDETAILSTABLE', 50 | 'SEMANTICSIMILARITYTABLE', 51 | 'TRY_CONVERT', 52 | 'WITHIN GROUP' 53 | )); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/SQLParserUtilsException.php: -------------------------------------------------------------------------------- 1 | . 20 | */ 21 | 22 | namespace Doctrine\DBAL; 23 | 24 | /** 25 | * Doctrine\DBAL\ConnectionException 26 | * 27 | * @license http://www.opensource.org/licenses/mit-license.php MIT 28 | * @link www.doctrine-project.org 29 | * @since 2.4 30 | * @author Lars Strojny 31 | */ 32 | class SQLParserUtilsException extends DBALException 33 | { 34 | /** 35 | * @param string $paramName 36 | * 37 | * @return \Doctrine\DBAL\SQLParserUtilsException 38 | */ 39 | public static function missingParam($paramName) 40 | { 41 | return new self(sprintf('Value for :%1$s not found in params array. Params array key should be "%1$s"', $paramName)); 42 | } 43 | 44 | /** 45 | * @param string $typeName 46 | * 47 | * @return \Doctrine\DBAL\SQLParserUtilsException 48 | */ 49 | public static function missingType($typeName) 50 | { 51 | return new self(sprintf('Value for :%1$s not found in types array. Types array key should be "%1$s"', $typeName)); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/IgnoreAnnotation.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\Common\Annotations\Annotation; 21 | 22 | /** 23 | * Annotation that can be used to signal to the parser to ignore specific 24 | * annotations during the parsing process. 25 | * 26 | * @Annotation 27 | * @author Johannes M. Schmitt 28 | */ 29 | final class IgnoreAnnotation 30 | { 31 | /** 32 | * @var array 33 | */ 34 | public $names; 35 | 36 | /** 37 | * Constructor. 38 | * 39 | * @param array $values 40 | * 41 | * @throws \RuntimeException 42 | */ 43 | public function __construct(array $values) 44 | { 45 | if (is_string($values['value'])) { 46 | $values['value'] = array($values['value']); 47 | } 48 | if (!is_array($values['value'])) { 49 | throw new \RuntimeException(sprintf('@IgnoreAnnotation expects either a string name, or an array of strings, but got %s.', json_encode($values['value']))); 50 | } 51 | 52 | $this->names = $values['value']; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/Keywords/SQLServer2005Keywords.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Platforms\Keywords; 21 | 22 | /** 23 | * Microsoft SQL Server 2005 reserved keyword dictionary. 24 | * 25 | * @license BSD http://www.opensource.org/licenses/bsd-license.php 26 | * @link www.doctrine-project.com 27 | * @since 2.3 28 | * @author Steve Müller 29 | */ 30 | class SQLServer2005Keywords extends SQLServerKeywords 31 | { 32 | /** 33 | * {@inheritdoc} 34 | */ 35 | public function getName() 36 | { 37 | return 'SQLServer2005'; 38 | } 39 | 40 | /** 41 | * {@inheritdoc} 42 | * 43 | * @link http://msdn.microsoft.com/en-US/library/ms189822%28v=sql.90%29.aspx 44 | */ 45 | protected function getKeywords() 46 | { 47 | return array_merge(array_diff(parent::getKeywords(), array('DUMMY')), array( 48 | 'EXTERNAL', 49 | 'PIVOT', 50 | 'REVERT', 51 | 'SECURITYAUDIT', 52 | 'TABLESAMPLE', 53 | 'UNPIVOT' 54 | )); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/IntegerType.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Types; 21 | 22 | use Doctrine\DBAL\Platforms\AbstractPlatform; 23 | 24 | /** 25 | * Type that maps an SQL INT to a PHP integer. 26 | * 27 | * @author Roman Borschel 28 | * @since 2.0 29 | */ 30 | class IntegerType extends Type 31 | { 32 | /** 33 | * {@inheritdoc} 34 | */ 35 | public function getName() 36 | { 37 | return Type::INTEGER; 38 | } 39 | 40 | /** 41 | * {@inheritdoc} 42 | */ 43 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) 44 | { 45 | return $platform->getIntegerTypeDeclarationSQL($fieldDeclaration); 46 | } 47 | 48 | /** 49 | * {@inheritdoc} 50 | */ 51 | public function convertToPHPValue($value, AbstractPlatform $platform) 52 | { 53 | return (null === $value) ? null : (int) $value; 54 | } 55 | 56 | /** 57 | * {@inheritdoc} 58 | */ 59 | public function getBindingType() 60 | { 61 | return \PDO::PARAM_INT; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/SQLAzurePlatform.php: -------------------------------------------------------------------------------- 1 | . 18 | */ 19 | 20 | namespace Doctrine\DBAL\Platforms; 21 | 22 | use Doctrine\DBAL\Schema\Table; 23 | 24 | /** 25 | * Platform to ensure compatibility of Doctrine with SQL Azure 26 | * 27 | * On top of SQL Server 2008 the following functionality is added: 28 | * 29 | * - Create tables with the FEDERATED ON syntax. 30 | */ 31 | class SQLAzurePlatform extends SQLServer2008Platform 32 | { 33 | /** 34 | * {@inheritDoc} 35 | */ 36 | public function getCreateTableSQL(Table $table, $createFlags=self::CREATE_INDEXES) 37 | { 38 | $sql = parent::getCreateTableSQL($table, $createFlags); 39 | 40 | if ($table->hasOption('azure.federatedOnColumnName')) { 41 | $distributionName = $table->getOption('azure.federatedOnDistributionName'); 42 | $columnName = $table->getOption('azure.federatedOnColumnName'); 43 | $stmt = ' FEDERATED ON (' . $distributionName . ' = ' . $columnName . ')'; 44 | 45 | $sql[0] = $sql[0] . $stmt; 46 | } 47 | 48 | return $sql; 49 | } 50 | } 51 | --------------------------------------------------------------------------------