first commit
This commit is contained in:
0
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Again/foo.xml
vendored
Normal file
0
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Again/foo.xml
vendored
Normal file
11
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Again/index.php
vendored
Normal file
11
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Again/index.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
9
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/BadFileName.php
vendored
Normal file
9
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/BadFileName.php
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Component\Config\Tests\Fixtures;
|
||||
|
||||
class FileNameMismatchOnPurpose
|
||||
{
|
||||
}
|
||||
|
||||
throw new \RuntimeException('Mismatch between file name and class name.');
|
||||
7
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/BadParent.php
vendored
Normal file
7
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/BadParent.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Component\Config\Tests\Fixtures;
|
||||
|
||||
class BadParent extends MissingParent
|
||||
{
|
||||
}
|
||||
18
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/BarNode.php
vendored
Normal file
18
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/BarNode.php
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Config\Tests\Fixtures;
|
||||
|
||||
use Symfony\Component\Config\Definition\ArrayNode;
|
||||
|
||||
class BarNode extends ArrayNode
|
||||
{
|
||||
}
|
||||
23
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Builder/BarNodeDefinition.php
vendored
Normal file
23
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Builder/BarNodeDefinition.php
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Config\Tests\Fixtures\Builder;
|
||||
|
||||
use Symfony\Component\Config\Definition\Builder\NodeDefinition;
|
||||
use Symfony\Component\Config\Tests\Fixtures\BarNode;
|
||||
|
||||
class BarNodeDefinition extends NodeDefinition
|
||||
{
|
||||
protected function createNode()
|
||||
{
|
||||
return new BarNode($this->name);
|
||||
}
|
||||
}
|
||||
34
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Builder/NodeBuilder.php
vendored
Normal file
34
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Builder/NodeBuilder.php
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Config\Tests\Fixtures\Builder;
|
||||
|
||||
use Symfony\Component\Config\Definition\Builder\NodeBuilder as BaseNodeBuilder;
|
||||
|
||||
class NodeBuilder extends BaseNodeBuilder
|
||||
{
|
||||
public function barNode($name)
|
||||
{
|
||||
return $this->node($name, 'bar');
|
||||
}
|
||||
|
||||
protected function getNodeClass($type)
|
||||
{
|
||||
switch ($type) {
|
||||
case 'variable':
|
||||
return __NAMESPACE__.'\\'.ucfirst($type).'NodeDefinition';
|
||||
case 'bar':
|
||||
return __NAMESPACE__.'\\'.ucfirst($type).'NodeDefinition';
|
||||
default:
|
||||
return parent::getNodeClass($type);
|
||||
}
|
||||
}
|
||||
}
|
||||
18
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Builder/VariableNodeDefinition.php
vendored
Normal file
18
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Builder/VariableNodeDefinition.php
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Config\Tests\Fixtures\Builder;
|
||||
|
||||
use Symfony\Component\Config\Definition\Builder\VariableNodeDefinition as BaseVariableNodeDefinition;
|
||||
|
||||
class VariableNodeDefinition extends BaseVariableNodeDefinition
|
||||
{
|
||||
}
|
||||
11
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Builder/index.php
vendored
Normal file
11
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Builder/index.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
102
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Configuration/ExampleConfiguration.php
vendored
Normal file
102
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Configuration/ExampleConfiguration.php
vendored
Normal file
@@ -0,0 +1,102 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Config\Tests\Fixtures\Configuration;
|
||||
|
||||
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
|
||||
use Symfony\Component\Config\Definition\ConfigurationInterface;
|
||||
|
||||
class ExampleConfiguration implements ConfigurationInterface
|
||||
{
|
||||
public function getConfigTreeBuilder()
|
||||
{
|
||||
$treeBuilder = new TreeBuilder();
|
||||
$rootNode = $treeBuilder->root('acme_root');
|
||||
|
||||
$rootNode
|
||||
->fixXmlConfig('parameter')
|
||||
->fixXmlConfig('connection')
|
||||
->fixXmlConfig('cms_page')
|
||||
->children()
|
||||
->booleanNode('boolean')->defaultTrue()->end()
|
||||
->scalarNode('scalar_empty')->end()
|
||||
->scalarNode('scalar_null')->defaultNull()->end()
|
||||
->scalarNode('scalar_true')->defaultTrue()->end()
|
||||
->scalarNode('scalar_false')->defaultFalse()->end()
|
||||
->scalarNode('scalar_default')->defaultValue('default')->end()
|
||||
->scalarNode('scalar_array_empty')->defaultValue([])->end()
|
||||
->scalarNode('scalar_array_defaults')->defaultValue(['elem1', 'elem2'])->end()
|
||||
->scalarNode('scalar_required')->isRequired()->end()
|
||||
->scalarNode('scalar_deprecated')->setDeprecated()->end()
|
||||
->scalarNode('scalar_deprecated_with_message')->setDeprecated('Deprecation custom message for "%node%" at "%path%"')->end()
|
||||
->scalarNode('node_with_a_looong_name')->end()
|
||||
->enumNode('enum_with_default')->values(['this', 'that'])->defaultValue('this')->end()
|
||||
->enumNode('enum')->values(['this', 'that'])->end()
|
||||
->arrayNode('array')
|
||||
->info('some info')
|
||||
->canBeUnset()
|
||||
->children()
|
||||
->scalarNode('child1')->end()
|
||||
->scalarNode('child2')->end()
|
||||
->scalarNode('child3')
|
||||
->info(
|
||||
"this is a long\n".
|
||||
"multi-line info text\n".
|
||||
'which should be indented'
|
||||
)
|
||||
->example('example setting')
|
||||
->end()
|
||||
->end()
|
||||
->end()
|
||||
->arrayNode('scalar_prototyped')
|
||||
->prototype('scalar')->end()
|
||||
->end()
|
||||
->arrayNode('parameters')
|
||||
->useAttributeAsKey('name')
|
||||
->prototype('scalar')->info('Parameter name')->end()
|
||||
->end()
|
||||
->arrayNode('connections')
|
||||
->prototype('array')
|
||||
->children()
|
||||
->scalarNode('user')->end()
|
||||
->scalarNode('pass')->end()
|
||||
->end()
|
||||
->end()
|
||||
->end()
|
||||
->arrayNode('cms_pages')
|
||||
->useAttributeAsKey('page')
|
||||
->prototype('array')
|
||||
->useAttributeAsKey('locale')
|
||||
->prototype('array')
|
||||
->children()
|
||||
->scalarNode('title')->isRequired()->end()
|
||||
->scalarNode('path')->isRequired()->end()
|
||||
->end()
|
||||
->end()
|
||||
->end()
|
||||
->end()
|
||||
->arrayNode('pipou')
|
||||
->useAttributeAsKey('name')
|
||||
->prototype('array')
|
||||
->prototype('array')
|
||||
->children()
|
||||
->scalarNode('didou')
|
||||
->end()
|
||||
->end()
|
||||
->end()
|
||||
->end()
|
||||
->end()
|
||||
->end()
|
||||
;
|
||||
|
||||
return $treeBuilder;
|
||||
}
|
||||
}
|
||||
11
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Configuration/index.php
vendored
Normal file
11
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Configuration/index.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
7
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/ParseError.php
vendored
Normal file
7
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/ParseError.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Component\Config\Tests\Fixtures;
|
||||
|
||||
class ParseError
|
||||
{
|
||||
// missing closing bracket
|
||||
0
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Resource/.hiddenFile
vendored
Normal file
0
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Resource/.hiddenFile
vendored
Normal file
9
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Resource/ConditionalClass.php
vendored
Normal file
9
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Resource/ConditionalClass.php
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Component\Config\Tests\Fixtures\Resource;
|
||||
|
||||
if (!class_exists(MissingClass::class)) {
|
||||
class ConditionalClass
|
||||
{
|
||||
}
|
||||
}
|
||||
11
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Resource/index.php
vendored
Normal file
11
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Resource/index.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
3
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/document_type.xml
vendored
Normal file
3
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/document_type.xml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE scan [<!ENTITY test SYSTEM "php://filter/read=convert.base64-encode/resource={{ resource }}">]>
|
||||
<scan></scan>
|
||||
11
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/index.php
vendored
Normal file
11
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/index.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
2
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/invalid.xml
vendored
Normal file
2
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/invalid.xml
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<root>
|
||||
2
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/invalid_schema.xml
vendored
Normal file
2
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/invalid_schema.xml
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<root2 xmlns="http://example.com/schema" />
|
||||
0
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/not_readable.xml
vendored
Normal file
0
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/not_readable.xml
vendored
Normal file
9
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/schema.xsd
vendored
Normal file
9
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/schema.xsd
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsd:schema xmlns="http://example.com/schema"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://example.com/schema"
|
||||
elementFormDefault="qualified">
|
||||
|
||||
<xsd:element name="root" />
|
||||
</xsd:schema>
|
||||
3
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/valid.xml
vendored
Normal file
3
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/Util/valid.xml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<root xmlns="http://example.com/schema">
|
||||
</root>
|
||||
0
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/foo.xml
vendored
Normal file
0
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/foo.xml
vendored
Normal file
11
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/index.php
vendored
Normal file
11
modules/inpostshipping/vendor/symfony/config/Tests/Fixtures/index.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
Reference in New Issue
Block a user