initial commit
commit
a00aaa037c
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"name": "gbili/exception",
|
||||||
|
"description": "Provides basic exception classes",
|
||||||
|
"authors" : [
|
||||||
|
{
|
||||||
|
"name" : "Guillermo Pages",
|
||||||
|
"email" : "public.gullermo@gmail.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"keywords": [
|
||||||
|
"exception"
|
||||||
|
],
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Gbili\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload-dev": {
|
||||||
|
"psr-4": {
|
||||||
|
"Gbili\\": "tests/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.3"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^6"
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@
|
|||||||
|
<phpunit bootstrap="vendor/autoload.php">
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="gbilidyninterface">
|
||||||
|
<directory suffix="Test.php">tests</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
</phpunit>
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
namespace Gbili\Exception;
|
||||||
|
|
||||||
|
class Exception
|
||||||
|
extends \Exception
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,11 @@
|
|||||||
|
<?php
|
||||||
|
namespace Gbili\Exception;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Use this in a getter whose property has not been set yet
|
||||||
|
*/
|
||||||
|
class GettingBeforeSettingException
|
||||||
|
extends \Gbili\Exception\Exception
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue