Commit Graph

56 Commits

Author SHA1 Message Date
Sebastian Meyer fc54a7161b Adjust phpDoc 2024-02-07 18:29:32 +01:00
Sebastian Meyer 01cd52aeae Make Collection type-sensitive 2024-02-05 15:37:02 +01:00
Sebastian Meyer 14f586d9bf Add Collection datas tructure 2024-01-30 22:25:42 +01:00
Sebastian Meyer a63164c9fc Update phpDoc 2024-01-30 22:24:10 +01:00
Sebastian Meyer 03cb7a3002 Fix phpDocs 2024-01-28 16:35:33 +01:00
Sebastian Meyer 11a7179c21 Update phpDoc 2024-01-26 16:37:41 +01:00
Sebastian Meyer addf2e869d Add Psalm tooling 2024-01-26 11:40:26 +01:00
Sebastian Meyer 7a8ac2f87a Update PHPDoc 2024-01-24 22:45:04 +01:00
Sebastian Meyer 7311da4b22 Add error handler for exceptions 2024-01-24 22:44:31 +01:00
Sebastian Meyer ca19810a56 Update PHPDocs 2024-01-23 17:58:33 +01:00
Sebastian Meyer f832b58a3e Make StrictList compatible with SplDoublyLinkedList 2024-01-22 21:03:54 +01:00
Sebastian Meyer 1eb426de38 Declare interfaces for traits 2024-01-22 18:45:51 +01:00
Sebastian Meyer b20a8df00c Add exception handling to Singleton trait 2024-01-03 15:27:36 +01:00
Sebastian Meyer a0315b8196 Update PHPDoc for Singleton trait 2023-12-20 13:48:35 +01:00
Sebastian Meyer ba2ec7a516 Use documented variable names in signature 2023-12-19 16:02:05 +01:00
Sebastian Meyer 2314e685a3 Convert error handler function to callable 2023-12-16 21:15:47 +01:00
Sebastian Meyer c7a615143e Add PHPDoc for magically readable properties 2023-11-21 23:40:24 +01:00
Sebastian Meyer 69982816bf Rename template TValue 2023-11-21 22:42:55 +01:00
Sebastian Meyer 9fd7fdaec9 Remove redundant public method 2023-11-21 18:04:25 +01:00
Sebastian Meyer da33bce753 Raise PHPStan level to 9 2023-11-19 20:53:44 +01:00
Sebastian Meyer a53e3303a0 Add PHPStan with strict rules 2023-11-19 16:01:58 +01:00
Sebastian Meyer 6730748032 Run PHP-CS-Fixer 2023-11-19 15:56:42 +01:00
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