Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cesargb committed Oct 20, 2023
1 parent 13291eb commit b418e64
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,19 @@ composer require descom/common
## Usage

```php
$skeleton = new Descom\Skeleton\SkeletonClass;
$finder = Symfony\Component\Finder\Finder::create()
->in([
__DIR__.'/src',
__DIR__.'/tests',
])
->name('*.php')
->notName('*.blade.php')
->ignoreDotFiles(true)
->ignoreVCS(true);

return (new PhpCsFixer\Config())
->setRules(Descom\Common\CsFixer::rules())
->setFinder($finder);
```

## Testing
Expand Down

0 comments on commit b418e64

Please # to comment.