Added Laravel project
This commit is contained in:
3
Laravel/vendor/symfony/debug/Tests/Fixtures/ClassAlias.php
vendored
Normal file
3
Laravel/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
Laravel/vendor/symfony/debug/Tests/Fixtures/DeprecatedClass.php
vendored
Normal file
12
Laravel/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
Laravel/vendor/symfony/debug/Tests/Fixtures/DeprecatedInterface.php
vendored
Normal file
12
Laravel/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
Laravel/vendor/symfony/debug/Tests/Fixtures/ExtendedFinalMethod.php
vendored
Normal file
17
Laravel/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
Laravel/vendor/symfony/debug/Tests/Fixtures/FinalClass.php
vendored
Normal file
10
Laravel/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
Laravel/vendor/symfony/debug/Tests/Fixtures/FinalMethod.php
vendored
Normal file
17
Laravel/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()
|
||||
{
|
||||
}
|
||||
}
|
7
Laravel/vendor/symfony/debug/Tests/Fixtures/NonDeprecatedInterface.php
vendored
Normal file
7
Laravel/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
Laravel/vendor/symfony/debug/Tests/Fixtures/PEARClass.php
vendored
Normal file
5
Laravel/vendor/symfony/debug/Tests/Fixtures/PEARClass.php
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
class Symfony_Component_Debug_Tests_Fixtures_PEARClass
|
||||
{
|
||||
}
|
3
Laravel/vendor/symfony/debug/Tests/Fixtures/Throwing.php
vendored
Normal file
3
Laravel/vendor/symfony/debug/Tests/Fixtures/Throwing.php
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
throw new \Exception('boo');
|
24
Laravel/vendor/symfony/debug/Tests/Fixtures/ToStringThrower.php
vendored
Normal file
24
Laravel/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
Laravel/vendor/symfony/debug/Tests/Fixtures/casemismatch.php
vendored
Normal file
7
Laravel/vendor/symfony/debug/Tests/Fixtures/casemismatch.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
class CaseMismatch
|
||||
{
|
||||
}
|
7
Laravel/vendor/symfony/debug/Tests/Fixtures/notPsr0Bis.php
vendored
Normal file
7
Laravel/vendor/symfony/debug/Tests/Fixtures/notPsr0Bis.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
class NotPSR0bis
|
||||
{
|
||||
}
|
7
Laravel/vendor/symfony/debug/Tests/Fixtures/psr4/Psr4CaseMismatch.php
vendored
Normal file
7
Laravel/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
Laravel/vendor/symfony/debug/Tests/Fixtures/reallyNotPsr0.php
vendored
Normal file
7
Laravel/vendor/symfony/debug/Tests/Fixtures/reallyNotPsr0.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Component\Debug\Tests\Fixtures;
|
||||
|
||||
class NotPSR0
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user