https://github.com/rey26/linked-sorted-list
Linked sorted list using PHP 8.1 and Symfony 6
https://github.com/rey26/linked-sorted-list
phpunit symfony6
Last synced: 3 months ago
JSON representation
Linked sorted list using PHP 8.1 and Symfony 6
- Host: GitHub
- URL: https://github.com/rey26/linked-sorted-list
- Owner: rey26
- Created: 2023-09-24T15:22:44.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-25T04:01:43.000Z (over 1 year ago)
- Last Synced: 2025-01-13T01:08:24.574Z (5 months ago)
- Topics: phpunit, symfony6
- Language: PHP
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linked sorted list
This repository implements linked sorted list of simple entity by its value. It is meant to demonstrate my ability to implement best possible PHP 8.1 practices.
## Installation
1. `docker-compose up -d --build` inside main directory
## Usage
* Create Node entity using NodeFactory, Node value can be either string or integer.
* All nodes in linked list should have either all values of type string or integer.
* Handle LinkedList of Node elements in LinkedListService and use its methods.
* Always set LinkedList before doing anything else.## Testing
1. run `php bin/phpunit` inside php container (`docker-compose exec php /bin/bash`)