Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- "8.2"
- "8.3"
- "8.4"
- "8.5"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
Expand All @@ -25,5 +26,9 @@ jobs:
tools: composer:v2
- name: "Install dependencies"
run: "composer install --no-interaction"
- name: "PHPCSFixer installation"
run: "composer install --no-interaction --working-dir=tools/php-cs-fixer"
- name: "PHPCSFixer check"
run: "php tools/php-cs-fixer/vendor/bin/php-cs-fixer check"
- name: "PHPUnit"
run: "php vendor/bin/phpunit"
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
composer.lock
test.php
tools/php-cs-fixer/composer.lock
vendor/
.idea/
.phpunit.result.cache
Expand Down
55 changes: 27 additions & 28 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
{
"name": "ircmaxell/php-cfg",
"description": "A Control Flow Graph implementation for PHP",
"license": "MIT",
"authors": [
{
"name": "Anthony Ferrara",
"email": "ircmaxell@gmail.com"
}
],
"require": {
"php": ">=8.1",
"nikic/php-parser": "^5.0",
"phpdocumentor/graphviz": "^1.0.4",
"adhocore/cli": "^v1.0.0"
},
"require-dev": {
"phpunit/phpunit": ">=10.0",
"friendsofphp/php-cs-fixer": ">=3.86"
},
"autoload": {
"psr-4": {
"PHPCfg\\": "lib/PHPCfg/",
"PHPCfg\\Cli\\": "src/Cli"
}
},
"bin": [
"bin/php-cfg"
]
"name": "ircmaxell/php-cfg",
"description": "A Control Flow Graph implementation for PHP",
"license": "MIT",
"authors": [
{
"name": "Anthony Ferrara",
"email": "ircmaxell@gmail.com"
}
],
"require": {
"php": ">=8.1",
"nikic/php-parser": "^5.0",
"phpdocumentor/graphviz": "^2.1.0",
"adhocore/cli": "^v1.9.4"
},
"require-dev": {
"phpunit/phpunit": "^10.0"
},
"autoload": {
"psr-4": {
"PHPCfg\\": "lib/PHPCfg/",
"PHPCfg\\Cli\\": "src/Cli"
}
},
"bin": [
"bin/php-cfg"
]
}
Loading
Loading