Skip to content

Commit

Permalink
Major refactore
Browse files Browse the repository at this point in the history
  • Loading branch information
yeganemehr committed Oct 7, 2021
1 parent 0b565f4 commit 12598a6
Show file tree
Hide file tree
Showing 19 changed files with 4,684 additions and 611 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
vendor
/vendor
/.php-cs-fixer.cache
/coverage
/junit.xml
/.phpunit.cache
11 changes: 11 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

$finder = PhpCsFixer\Finder::create()
->in([__DIR__ . "/src", __DIR__ . "/tests"]);

$config = new PhpCsFixer\Config();
return $config->setRules([
'@Symfony' => true,
])
->setFinder($finder)
;
30 changes: 20 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,37 @@
"name": "dnj/isomaker",
"description": "A library for make ISO files customize",
"type": "library",
"authors": [
{
"name": "JeyServer LTD",
"email": "[email protected]"
}
],
"license": "MIT",
"autoload": {
"psr-4": {
"dnj\\IsoMaker\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"dnj\\IsoMaker\\tests\\": "tests"
}
},
"require": {
"php": "^7.3|^8.0"
"php": "^7.4|^8.0",
"symfony/process": "^5.1.4",
"dnj/tmp-filesystem": "^1.0",
"spatie/enum": "^3.9"
},
"require-dev": {
"phpstan/phpstan": "^0.12.85"
"phpstan/phpstan": "^0.12.85",
"phpunit/phpunit": "^9.5",
"dnj/tmp-filesystem": "^1.0",
"friendsofphp/php-cs-fixer": "^3.1"
},
"scripts": {
"test:types": "./vendor/bin/phpstan analyse --debug --memory-limit 128M",
"test:types": "./vendor/bin/phpstan analyse",
"test:phpunit": "vendor/bin/phpunit",
"test:codestyle": "vendor/bin/php-cs-fixer fix -v --dry-run --stop-on-violation --using-cache=no",
"test": [
"@test:types"
"@test:types",
"@test:phpunit",
"@test:codestyle"
]
}
}
Loading

0 comments on commit 12598a6

Please sign in to comment.