Skip to content

Commit 094558d

Browse files
committed
Update
- Licensing
1 parent aff24bf commit 094558d

File tree

7 files changed

+61
-19
lines changed

7 files changed

+61
-19
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 FloatPHP
3+
Copyright (c) 2024 FloatPHP
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# FloatPHP (Exceptions)
22

3-
<img src="https://www.floatphp.com/assets/img/floatphp.png" width="100" alt="Micro PHP framework">
3+
<img src="https://floatphp.com/assets/img/floatphp.png" width="100" alt="Micro PHP framework">
44

55
FloatPHP **Exceptions Components**.
6+
This components defines framwork exceptions.
67

78
## ⚡ Installing:
89

composer.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
{
22
"name": "floatphp/exceptions",
3-
"version" : "1.0.2",
3+
"version" : "1.1.0",
44
"type": "library",
55
"description": "FloatPHP Exceptions Components",
66
"keywords": ["floatphp","micro-framework","framework","PSR","ORM","jakiboy"],
7-
"homepage": "https://www.floatphp.com/",
7+
"homepage": "https://floatphp.com",
88
"license": "MIT",
99
"authors": [
1010
{
1111
"name": "Jihad Sinnaour",
1212
"email": "mail@jihadsinnaour.com",
1313
"role": "Founder"
14-
},
15-
{
16-
"name": "Softgine",
17-
"email": "e-mailing@soft-gine.com",
18-
"role": "Developer"
1914
}
2015
],
2116
"require": {

src/Helpers/CacheException.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?php
22
/**
3-
* @author : JIHAD SINNAOUR
3+
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : Exceptions Component
6-
* @version : 1.0.2
7-
* @category : PHP framework
8-
* @copyright : (c) 2017 - 2023 Jihad Sinnaour <mail@jihadsinnaour.com>
9-
* @link : https://www.floatphp.com
6+
* @version : 1.1.0
7+
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <mail@jihadsinnaour.com>
8+
* @link : https://floatphp.com
109
* @license : MIT
1110
*
1211
* This file if a part of FloatPHP Framework.

src/Helpers/ConfigurableException.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
/**
3+
* @author : Jakiboy
4+
* @package : FloatPHP
5+
* @subpackage : Exceptions Component
6+
* @version : 1.1.0
7+
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <mail@jihadsinnaour.com>
8+
* @link : https://floatphp.com
9+
* @license : MIT
10+
*
11+
* This file if a part of FloatPHP Framework.
12+
*/
13+
14+
declare(strict_types=1);
15+
16+
namespace FloatPHP\Exceptions\Helpers;
17+
18+
class ConfigurableException extends \Exception
19+
{
20+
public static function invalidOrmObject()
21+
{
22+
return 'Invalid ORM Object';
23+
}
24+
}

src/Kernel/ConfigurationException.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?php
22
/**
3-
* @author : JIHAD SINNAOUR
3+
* @author : Jakiboy
44
* @package : FloatPHP
55
* @subpackage : Exceptions Component
6-
* @version : 1.0.2
7-
* @category : PHP framework
8-
* @copyright : (c) 2017 - 2023 Jihad Sinnaour <mail@jihadsinnaour.com>
9-
* @link : https://www.floatphp.com
6+
* @version : 1.1.0
7+
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <mail@jihadsinnaour.com>
8+
* @link : https://floatphp.com
109
* @license : MIT
1110
*
1211
* This file if a part of FloatPHP Framework.

src/Kernel/OrmException.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
/**
3+
* @author : Jakiboy
4+
* @package : FloatPHP
5+
* @subpackage : Exceptions Component
6+
* @version : 1.1.0
7+
* @copyright : (c) 2018 - 2024 Jihad Sinnaour <mail@jihadsinnaour.com>
8+
* @link : https://floatphp.com
9+
* @license : MIT
10+
*
11+
* This file if a part of FloatPHP Framework.
12+
*/
13+
14+
declare(strict_types=1);
15+
16+
namespace FloatPHP\Exceptions\Kernel;
17+
18+
class OrmException extends \Exception
19+
{
20+
public static function invalidDbObject()
21+
{
22+
return 'Invalid Db Object : Database not connected';
23+
}
24+
}

0 commit comments

Comments
 (0)