Skip to content

Commit 34d3801

Browse files
authored
Merge pull request #13 from Hyunk3l/codex/pr-06-docs-maintenance
Refresh docs and add Dependabot maintenance config
2 parents 3cd5615 + ed0d7f9 commit 34d3801

2 files changed

Lines changed: 20 additions & 18 deletions

File tree

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "composer"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 10
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"
12+
open-pull-requests-limit: 10

README.md

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,14 @@
66

77
## Just another collection of design patterns implementations in PHP
88

9-
## Run Tests
10-
11-
* Run `./composer.phar install`
12-
* Now launch UTs running `./vendor/bin/phpunit test/`
9+
## Requirements
10+
- PHP 8.3+
1311

14-
## Run PHP CS fixer
12+
## Setup
13+
- Run `./composer.phar install`
1514

16-
[https://github.com/FriendsOfPHP/PHP-CS-Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)
17-
18-
Install the tool:
19-
```
20-
mkdir tools
21-
mkdir tools/php-cs-fixer
22-
./composer.phar require --working-dir=tools/php-cs-fixer friendsofphp/php-cs-fixer
23-
```
15+
## Run Tests
16+
- Run `./composer.phar test`
2417

25-
Run the tool:
26-
```
27-
./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix src
28-
./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix test
29-
```
18+
## Run Coding Standards
19+
- Run `./composer.phar cs`

0 commit comments

Comments
 (0)