Commit Graph

84 Commits

Author SHA1 Message Date
Sebastian Meyer 044603465e Set default error code to E_USER_ERROR 2023-11-19 13:52:22 +01:00
Sebastian Meyer afd6ec6e92 Add alias methods to StrictQueue and StrictStack 2023-11-19 10:52:11 +01:00
Sebastian Meyer e198aca844 Fix namespaces in phpDocs 2023-11-18 22:22:27 +01:00
Sebastian Meyer a65299546c Use sprintf() for error messages 2023-11-18 18:50:14 +01:00
Sebastian Meyer 7456e56266 Make namespaces more consistent 2023-11-18 18:13:51 +01:00
Sebastian Meyer 9f2f58556a Fix PSR-12 code styling 2023-11-18 17:37:22 +01:00
Sebastian Meyer 5f45256d23 Consolidate documentation 2023-11-18 16:53:42 +01:00
Sebastian Meyer 9266905a2b Consolidate namespaces 2023-11-15 14:43:11 +01:00
Sebastian Meyer b39a482136 Add generic interface implementations 2023-11-15 12:01:40 +01:00
Sebastian Meyer 4b02d4f0e6 Improve phpDoc documentation 2023-11-15 12:01:21 +01:00
Sebastian Meyer bd4b72168f Make setIteratorMode final for stacks and queues 2023-11-13 15:18:16 +01:00
Sebastian Meyer 39d6cd31e6 Rename errorhandler 2023-11-12 15:56:57 +01:00
Sebastian Meyer 4b7ee9b876 Add error handler to convert to exceptions 2023-11-12 15:50:19 +01:00
Sebastian Meyer a84046755e Reimplement data structures based on SPL 2023-11-12 15:34:08 +01:00
Sebastian Meyer dc4209e40f Throw exception when cloning singleton 2023-11-12 15:27:56 +01:00
Sebastian Meyer ac57fcfd32 Use late static binding in traits 2023-11-11 20:06:53 +01:00
Sebastian Meyer 3f5bcbf26b Update singleton trait 2023-11-11 09:34:02 +01:00
Sebastian Meyer 524073fdbb Update Stack.php 2023-11-10 22:41:32 +01:00
Sebastian Meyer b1596411a5 Remove redundant use statements 2023-11-10 22:40:19 +01:00
Sebastian Meyer 4e02397519 Rework data structures 2023-11-10 22:36:25 +01:00
Sebastian Meyer 0b3e23ebdc Add StrictQueue and StrictStack data structures 2023-11-07 23:45:51 +01:00
Sebastian Meyer 9cb46b4935 Move project to php-basics 2023-11-06 17:54:14 +01:00
Sebastian Meyer 7398804b71 Use PSR-12 code styling 2023-11-04 09:45:24 +01:00
Sebastian Meyer ef1f8ba8ef Clarify documentation 2023-10-11 18:42:26 +02:00
Sebastian Meyer 7b79f60005 Remove ineffective final keyword 2023-10-11 17:03:44 +02:00
Sebastian Meyer ad37644ff0 Add queue trait 2023-10-11 16:36:43 +02:00
Sebastian Meyer 2006073f94 Fix for late static binding 2023-10-11 13:31:51 +02:00
Sebastian Meyer b5ddbab61f Adhere to PSR-12 coding styles 2023-10-11 13:31:20 +02:00
Sebastian Meyer 9653d7872e Use strict typing 2023-10-08 21:57:28 +02:00
Sebastian Meyer 424faf83a0 Make singleton constructor private 2023-09-29 21:50:16 +02:00
Sebastian Meyer 74e18eb4f6 Update Singleton.php 2023-09-29 19:29:16 +02:00
Sebastian Meyer 128e377712 Catch exceptions 2023-09-29 19:28:08 +02:00
Sebastian Meyer 00d6e24f31 Add missing return type declaration 2023-09-29 19:27:16 +02:00
Sebastian Meyer 68d9c6fa3f Initial Commit 2023-09-11 19:31:06 +02:00