PHP code example of ixnode / php-branch-diagram-builder
1. Go to this page and download the library: Download ixnode/php-branch-diagram-builder library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ixnode / php-branch-diagram-builder example snippets
bash
$ composer
bash
❯ git clone [email protected]:ixnode/php-branch-diagram-builder.git && \
cd php-branch-diagram-builder
bash
> phpunit tests --testdox
PHPUnit 9.5.10 by Sebastian Bergmann and contributors.
Branch (Ixnode\PHPBranchDiagramBuilder\Tests\Branch)
✔ Branch
✔ Branch name
✔ Branch title
Step (Ixnode\PHPBranchDiagramBuilder\Tests\Step)
✔ 1) Test StepTest class (unknown: NULL -> master).
✔ 2) Test StepTest class (init: master -> master).
✔ 3) Test StepTest class (init: NULL -> master).
✔ 4) Test StepTest class (checkout: NULL -> master).
✔ 5) Test StepTest class (checkout: master -> NULL).
✔ 6) Test StepTest class (checkout: master -> master).
✔ 7) Test StepTest class (checkout: master -> develop).
✔ 8) Test StepTest class (commit: NULL -> master).
✔ 9) Test StepTest class (commit: master -> NULL).
✔ 10) Test StepTest class (commit: master -> master).
✔ 11) Test StepTest class (commit: master -> develop).
✔ 12) Test StepTest class (merge: NULL -> master).
✔ 13) Test StepTest class (merge: develop -> NULL).
✔ 14) Test StepTest class (merge: develop -> develop).
✔ 15) Test StepTest class (merge: develop -> master).
Time: 00:00.015, Memory: 6.00 MB
OK (18 tests, 35 assertions)
> phpstan analyse --level 8 --memory-limit 256M src tests
24/24 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
[OK] No errors
> vendor/bin/php-cs-fixer --dry-run --using-cache=no --rules=@PSR12 fix src
Loaded config default.
Checked all files in 0.262 seconds, 14.000 MB memory used
> vendor/bin/php-cs-fixer --dry-run --using-cache=no --rules=@PSR12 fix tests
Loaded config default.
Checked all files in 0.035 seconds, 12.000 MB memory used
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.