Update website
This commit is contained in:
parent
41ce1aa076
commit
ea0eb1c6e0
4222 changed files with 721797 additions and 14 deletions
19
vendor/renanbr/bibtex-parser/src/Exception/ExceptionInterface.php
vendored
Normal file
19
vendor/renanbr/bibtex-parser/src/Exception/ExceptionInterface.php
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the BibTex Parser.
|
||||
*
|
||||
* (c) Renan de Lima Barbosa <renandelima@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace RenanBr\BibTexParser\Exception;
|
||||
|
||||
/**
|
||||
* Interface for package exceptions.
|
||||
*/
|
||||
interface ExceptionInterface
|
||||
{
|
||||
}
|
35
vendor/renanbr/bibtex-parser/src/Exception/ParserException.php
vendored
Normal file
35
vendor/renanbr/bibtex-parser/src/Exception/ParserException.php
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the BibTex Parser.
|
||||
*
|
||||
* (c) Renan de Lima Barbosa <renandelima@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace RenanBr\BibTexParser\Exception;
|
||||
|
||||
use Exception;
|
||||
|
||||
class ParserException extends Exception implements ExceptionInterface
|
||||
{
|
||||
/**
|
||||
* @param string $character
|
||||
* @param int $line
|
||||
* @param int $column
|
||||
*/
|
||||
public static function unexpectedCharacter($character, $line, $column)
|
||||
{
|
||||
// Avoid var_export() weird treatment for \0
|
||||
$character = "\0" === $character ? "'\\0'" : var_export($character, true);
|
||||
|
||||
return new self(sprintf(
|
||||
'Unexpected character %s at line %d column %d',
|
||||
$character,
|
||||
$line,
|
||||
$column
|
||||
));
|
||||
}
|
||||
}
|
18
vendor/renanbr/bibtex-parser/src/Exception/ProcessorException.php
vendored
Normal file
18
vendor/renanbr/bibtex-parser/src/Exception/ProcessorException.php
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the BibTex Parser.
|
||||
*
|
||||
* (c) Renan de Lima Barbosa <renandelima@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace RenanBr\BibTexParser\Exception;
|
||||
|
||||
use Exception;
|
||||
|
||||
class ProcessorException extends Exception implements ExceptionInterface
|
||||
{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue