Throws internal errors as exceptions.
@@ -291,9 +291,9 @@Convert an internal PHP error into an ErrorException.
diff --git a/doc/classes/OCC-Basics-ErrorHandlers-TriggerExceptionError.html b/doc/classes/OCC-Basics-ErrorHandlers-TriggerExceptionError.html index c5ddbb2..b8ad1b3 100644 --- a/doc/classes/OCC-Basics-ErrorHandlers-TriggerExceptionError.html +++ b/doc/classes/OCC-Basics-ErrorHandlers-TriggerExceptionError.html @@ -198,9 +198,9 @@Triggers errors for uncaught exceptions.
@@ -291,9 +291,9 @@ converts it into an internal PHP error of severityE_U
Convert an uncaught exception into an PHP error.
diff --git a/doc/files/src/ErrorHandlers/ThrowErrorException.php.txt b/doc/files/src/ErrorHandlers/ThrowErrorException.php.txt
index 271b77b..695ce23 100644
--- a/doc/files/src/ErrorHandlers/ThrowErrorException.php.txt
+++ b/doc/files/src/ErrorHandlers/ThrowErrorException.php.txt
@@ -35,6 +35,8 @@ use function error_reporting;
*
* > Usage: `set_error_handler(new ThrowErrorException());`
*
+ * @api
+ *
* @author Sebastian Meyer
* @package Basics\ErrorHandlers
*/
diff --git a/doc/files/src/ErrorHandlers/TriggerExceptionError.php.txt b/doc/files/src/ErrorHandlers/TriggerExceptionError.php.txt
index 16e9527..dcc08fc 100644
--- a/doc/files/src/ErrorHandlers/TriggerExceptionError.php.txt
+++ b/doc/files/src/ErrorHandlers/TriggerExceptionError.php.txt
@@ -36,6 +36,8 @@ use function trigger_error;
*
* > Usage: `set_exception_handler(new TriggerExceptionError());`
*
+ * @api
+ *
* @author Sebastian Meyer
* @package Basics\ErrorHandlers
*/
diff --git a/doc/guides/changelog.html b/doc/guides/changelog.html
index 50284ca..fff628e 100644
--- a/doc/guides/changelog.html
+++ b/doc/guides/changelog.html
@@ -176,6 +176,12 @@
+
+ v2.1.1
+
+
+ New Features:
+
+
+
+
+
+ - Added Composer commands for development tools (PHP_CodeSniffer, PHP-CS-Fixer, PHPStan, Psalm and phpDocumentor)
+
+
+
+
+ Minor Changes:
+
+
+
+
+
+ - Extended documentation
+
+
+
+
+
v2.1.0
@@ -311,6 +344,15 @@ function _magicSet{Property}(mixed $value): void
Introduced InvalidDataTypeException
for strict datastructures
+
+
+
+ Minor Changes:
+
+
+
+
+
- Extended documentation
@@ -345,7 +387,7 @@ public function __construct(array $allowedTypes = [])
v1.0.1
- New Features:
+
Minor Changes:
diff --git a/doc/guides/index.html b/doc/guides/index.html
index 6487c41..ff67c83 100644
--- a/doc/guides/index.html
+++ b/doc/guides/index.html
@@ -227,6 +227,12 @@
Changelog
+ -
+ v2.1.1
+
+
+
+
-
v2.1.0
diff --git a/doc/guides/usage/installation.html b/doc/guides/usage/installation.html
index a57edcd..aaf0641 100644
--- a/doc/guides/usage/installation.html
+++ b/doc/guides/usage/installation.html
@@ -238,8 +238,8 @@ git clone https://github.com/opencultureconsulting/php-basics.git basics<
If you want to use a specific version other than the latest development state, you have to specify the desired tag as
well:
- # This will clone the repository state at version "2.1.0" into the "basics" directory
-git clone --branch=v2.1.0 https://github.com/opencultureconsulting/php-basics.git basics
+ # This will clone the repository state at version "2.1.1" into the "basics" directory
+git clone --branch=v2.1.1 https://github.com/opencultureconsulting/php-basics.git basics
Be aware that you also need to make the classes and traits available in your application by either adding them to your