2
0
mirror of https://github.com/opencultureconsulting/php-basics.git synced 2025-03-09 00:00:38 +01:00

56 Commits

Author SHA1 Message Date
c7a615143e Add PHPDoc for magically readable properties 2023-11-21 23:40:24 +01:00
f27b88d01f Update .gitignore 2023-11-21 23:14:56 +01:00
69982816bf Rename template TValue 2023-11-21 22:42:55 +01:00
983bfc7789
Update phpstan.yml
Signed-off-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-11-21 22:22:15 +01:00
650186635c
Update phpmd.yml
Signed-off-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-11-21 22:22:02 +01:00
f7a40f9b4a Add badges for workflows 2023-11-21 22:17:39 +01:00
0267c99d92 Merge branch 'main' of https://github.com/opencultureconsulting/php-basics 2023-11-21 22:07:41 +01:00
4d77176b2a
Add PHPMD GitHub workflow
Signed-off-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-11-21 21:59:06 +01:00
9fd7fdaec9 Remove redundant public method 2023-11-21 18:04:25 +01:00
38e1ff72b3 Revert "Remove PHPMD workflow"
This reverts commit 38d566b9dcf9174778bf427ac4ef1c44df7c1078.
2023-11-21 17:59:45 +01:00
38d566b9dc Remove PHPMD workflow 2023-11-21 17:58:40 +01:00
e4783a72a5
Add PHPMD GitHub workflow
Signed-off-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-11-21 17:49:50 +01:00
00988c7cee Fix Dependabot configuration file 2023-11-21 17:39:12 +01:00
70c28b5d02
Add Dependabot GitHub workflow
Signed-off-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2023-11-21 17:37:55 +01:00
f70f4f78e2 Add PHPStan GitHub workflow 2023-11-21 17:19:58 +01:00
47b23373b7 Use newest version of PHP-CS-Fixer 2023-11-19 21:12:41 +01:00
da33bce753 Raise PHPStan level to 9 2023-11-19 20:53:44 +01:00
a53e3303a0 Add PHPStan with strict rules 2023-11-19 16:01:58 +01:00
6730748032 Run PHP-CS-Fixer 2023-11-19 15:56:42 +01:00
044603465e Set default error code to E_USER_ERROR 2023-11-19 13:52:22 +01:00
afd6ec6e92 Add alias methods to StrictQueue and StrictStack 2023-11-19 10:52:11 +01:00
e198aca844 Fix namespaces in phpDocs 2023-11-18 22:22:27 +01:00
a65299546c Use sprintf() for error messages 2023-11-18 18:50:14 +01:00
7456e56266 Make namespaces more consistent 2023-11-18 18:13:51 +01:00
9f2f58556a Fix PSR-12 code styling 2023-11-18 17:37:22 +01:00
5f45256d23 Consolidate documentation 2023-11-18 16:53:42 +01:00
9266905a2b Consolidate namespaces 2023-11-15 14:43:11 +01:00
b39a482136 Add generic interface implementations 2023-11-15 12:01:40 +01:00
4b02d4f0e6 Improve phpDoc documentation 2023-11-15 12:01:21 +01:00
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
a970ffaf9c Update composer.json 2023-11-12 15:54:00 +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
ac57fcfd32 Use late static binding in traits 2023-11-11 20:06:53 +01:00
3f5bcbf26b Update singleton trait 2023-11-11 09:34:02 +01:00
524073fdbb Update Stack.php 2023-11-10 22:41:32 +01:00
b1596411a5 Remove redundant use statements 2023-11-10 22:40:19 +01:00
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
9cb46b4935 Move project to php-basics 2023-11-06 17:54:14 +01:00
7398804b71 Use PSR-12 code styling 2023-11-04 09:45:24 +01:00
ef1f8ba8ef Clarify documentation 2023-10-11 18:42:26 +02:00
7b79f60005 Remove ineffective final keyword 2023-10-11 17:03:44 +02:00
ad37644ff0 Add queue trait 2023-10-11 16:36:43 +02:00
2006073f94 Fix for late static binding 2023-10-11 13:31:51 +02:00
b5ddbab61f Adhere to PSR-12 coding styles 2023-10-11 13:31:20 +02:00
9653d7872e Use strict typing 2023-10-08 21:57:28 +02:00
c248a6047c Fix link to documentation 2023-10-08 10:46:27 +02:00