-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d0ca2d
commit 887a7af
Showing
77 changed files
with
3,538 additions
and
554 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
.. title:: Changelog | ||
|
||
Changelog | ||
######### | ||
|
||
* :ref:`v2-0-0` | ||
* :ref:`v1-1-0` | ||
* :ref:`v1-0-1` | ||
* :ref:`v1-0-0` | ||
|
||
.. _v2-0-0: | ||
|
||
v2.0.0 | ||
====== | ||
|
||
**Breaking Changes:** | ||
|
||
* Raised minimum PHP version from 8.0 to 8.1 | ||
* Renamed traits for :php:namespace:`OCC\Basics\Interfaces` and moved to different namespace | ||
* Renamed internal methods for :php:trait:`OCC\Basics\Traits\Getter` and :php:trait:`OCC\Basics\Traits\Setter` to avoid | ||
confusion with regular class method | ||
|
||
.. code-block:: php | ||
// old methods | ||
protected function magicGet{PascalCasePropertyName}(): mixed | ||
protected function magicSet{PascalCasePropertyName}(mixed $value): void | ||
.. code-block:: php | ||
// new methods | ||
protected function _magicGet{PascalCasePropertyName}(): mixed | ||
protected function _magicSet{PascalCasePropertyName}(mixed $value): void | ||
**New Features:** | ||
|
||
* Added new datastructure :php:class:`OCC\Basics\DataStructures\StrictCollection` | ||
* Added new error handler :php:class:`OCC\Basics\ErrorHandlers\TriggerExceptionError` | ||
* Added new trait :php:trait:`OCC\Basics\Traits\OverloadingGetter` | ||
* Added new trait :php:trait:`OCC\Basics\Traits\OverloadingSetter` | ||
* Extended API for all datastructures | ||
* Extended `documentation <https://opencultureconsulting.github.io/basics/>`_ | ||
|
||
.. _v1-1-0: | ||
|
||
v1.1.0 | ||
====== | ||
|
||
**Breaking Changes:** | ||
|
||
* Changed the constructor's signature for all :php:namespace:`OCC\Basics\DataStructures` to improve compatibility with | ||
the corresponding `SPL datastructures <https://www.php.net/spl.datastructures>`_ | ||
|
||
.. code-block:: php | ||
// old constructor signature | ||
public function __construct(iterable $items = [], array $allowedTypes = []) | ||
.. code-block:: php | ||
// new constructor signature | ||
public function __construct(array $allowedTypes = []) | ||
.. _v1-0-1: | ||
|
||
v1.0.1 | ||
====== | ||
|
||
**New Features:** | ||
|
||
* Improved exception handling in :php:trait:`Singleton <OCC\Basics\Traits\Singleton>` trait | ||
|
||
.. _v1-0-0: | ||
|
||
v1.0.0 | ||
====== | ||
|
||
**Initial Release** |
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.. title:: Overview | ||
|
||
Overview | ||
######## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. title:: User Guide | ||
|
||
User Guide | ||
########## | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
requirements | ||
installation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.. title:: Installation | ||
|
||
Installation | ||
############ | ||
|
||
.. code-block:: shell | ||
composer require opencultureconsulting/basics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.. title:: Requirements | ||
|
||
Requirements | ||
############ | ||
|
||
PHP 8.1 | ||
Composer 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.