First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
13
vendor/symfony/debug/Tests/Fixtures/AnnotatedClass.php
vendored
Normal file
13
vendor/symfony/debug/Tests/Fixtures/AnnotatedClass.php
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
class AnnotatedClass
|
||||
{
|
||||
/**
|
||||
* @deprecated since version 3.4.
|
||||
*/
|
||||
public function deprecatedMethod()
|
||||
{
|
||||
}
|
||||
}
|
3
vendor/symfony/debug/Tests/Fixtures/ClassAlias.php
vendored
Normal file
3
vendor/symfony/debug/Tests/Fixtures/ClassAlias.php
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
|
||||
class_alias('Symfony\Component\Debug\Tests\Fixtures\NotPSR0bis', 'Symfony\Component\Debug\Tests\Fixtures\ClassAlias');
|
12
vendor/symfony/debug/Tests/Fixtures/DeprecatedClass.php
vendored
Normal file
12
vendor/symfony/debug/Tests/Fixtures/DeprecatedClass.php
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
/**
|
||||
* @deprecated but this is a test
|
||||
* deprecation notice
|
||||
* @foobar
|
||||
*/
|
||||
class DeprecatedClass
|
||||
{
|
||||
}
|
12
vendor/symfony/debug/Tests/Fixtures/DeprecatedInterface.php
vendored
Normal file
12
vendor/symfony/debug/Tests/Fixtures/DeprecatedInterface.php
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
/**
|
||||
* @deprecated but this is a test
|
||||
* deprecation notice
|
||||
* @foobar
|
||||
*/
|
||||
interface DeprecatedInterface
|
||||
{
|
||||
}
|
17
vendor/symfony/debug/Tests/Fixtures/ExtendedFinalMethod.php
vendored
Normal file
17
vendor/symfony/debug/Tests/Fixtures/ExtendedFinalMethod.php
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
class ExtendedFinalMethod extends FinalMethod
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function finalMethod()
|
||||
{
|
||||
}
|
||||
|
||||
public function anotherMethod()
|
||||
{
|
||||
}
|
||||
}
|
10
vendor/symfony/debug/Tests/Fixtures/FinalClass.php
vendored
Normal file
10
vendor/symfony/debug/Tests/Fixtures/FinalClass.php
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
/**
|
||||
* @final since version 3.3.
|
||||
*/
|
||||
class FinalClass
|
||||
{
|
||||
}
|
17
vendor/symfony/debug/Tests/Fixtures/FinalMethod.php
vendored
Normal file
17
vendor/symfony/debug/Tests/Fixtures/FinalMethod.php
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
class FinalMethod
|
||||
{
|
||||
/**
|
||||
* @final since version 3.3.
|
||||
*/
|
||||
public function finalMethod()
|
||||
{
|
||||
}
|
||||
|
||||
public function anotherMethod()
|
||||
{
|
||||
}
|
||||
}
|
15
vendor/symfony/debug/Tests/Fixtures/InternalClass.php
vendored
Normal file
15
vendor/symfony/debug/Tests/Fixtures/InternalClass.php
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
/**
|
||||
* @internal since version 3.4.
|
||||
*/
|
||||
class InternalClass
|
||||
{
|
||||
use InternalTrait2;
|
||||
|
||||
public function usedInInternalClass()
|
||||
{
|
||||
}
|
||||
}
|
10
vendor/symfony/debug/Tests/Fixtures/InternalInterface.php
vendored
Normal file
10
vendor/symfony/debug/Tests/Fixtures/InternalInterface.php
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
interface InternalInterface
|
||||
{
|
||||
}
|
10
vendor/symfony/debug/Tests/Fixtures/InternalTrait.php
vendored
Normal file
10
vendor/symfony/debug/Tests/Fixtures/InternalTrait.php
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
trait InternalTrait
|
||||
{
|
||||
}
|
23
vendor/symfony/debug/Tests/Fixtures/InternalTrait2.php
vendored
Normal file
23
vendor/symfony/debug/Tests/Fixtures/InternalTrait2.php
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
trait InternalTrait2
|
||||
{
|
||||
/**
|
||||
* @internal since version 3.4
|
||||
*/
|
||||
public function internalMethod()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal but should not trigger a deprecation
|
||||
*/
|
||||
public function usedInInternalClass()
|
||||
{
|
||||
}
|
||||
}
|
7
vendor/symfony/debug/Tests/Fixtures/NonDeprecatedInterface.php
vendored
Normal file
7
vendor/symfony/debug/Tests/Fixtures/NonDeprecatedInterface.php
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
interface NonDeprecatedInterface extends DeprecatedInterface
|
||||
{
|
||||
}
|
5
vendor/symfony/debug/Tests/Fixtures/PEARClass.php
vendored
Normal file
5
vendor/symfony/debug/Tests/Fixtures/PEARClass.php
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
|
||||
class Symfony_Component_Debug_Tests_Fixtures_PEARClass
|
||||
{
|
||||
}
|
3
vendor/symfony/debug/Tests/Fixtures/Throwing.php
vendored
Normal file
3
vendor/symfony/debug/Tests/Fixtures/Throwing.php
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
|
||||
throw new \Exception('boo');
|
24
vendor/symfony/debug/Tests/Fixtures/ToStringThrower.php
vendored
Normal file
24
vendor/symfony/debug/Tests/Fixtures/ToStringThrower.php
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
class ToStringThrower
|
||||
{
|
||||
private $exception;
|
||||
|
||||
public function __construct(\Exception $e)
|
||||
{
|
||||
$this->exception = $e;
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
{
|
||||
try {
|
||||
throw $this->exception;
|
||||
} catch (\Exception $e) {
|
||||
// Using user_error() here is on purpose so we do not forget
|
||||
// that this alias also should work alongside with trigger_error().
|
||||
return user_error($e, E_USER_ERROR);
|
||||
}
|
||||
}
|
||||
}
|
7
vendor/symfony/debug/Tests/Fixtures/casemismatch.php
vendored
Normal file
7
vendor/symfony/debug/Tests/Fixtures/casemismatch.php
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
class CaseMismatch
|
||||
{
|
||||
}
|
7
vendor/symfony/debug/Tests/Fixtures/notPsr0Bis.php
vendored
Normal file
7
vendor/symfony/debug/Tests/Fixtures/notPsr0Bis.php
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
class NotPSR0bis
|
||||
{
|
||||
}
|
7
vendor/symfony/debug/Tests/Fixtures/psr4/Psr4CaseMismatch.php
vendored
Normal file
7
vendor/symfony/debug/Tests/Fixtures/psr4/Psr4CaseMismatch.php
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
class PSR4CaseMismatch
|
||||
{
|
||||
}
|
7
vendor/symfony/debug/Tests/Fixtures/reallyNotPsr0.php
vendored
Normal file
7
vendor/symfony/debug/Tests/Fixtures/reallyNotPsr0.php
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
class NotPSR0
|
||||
{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue