Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
cesargb committed Oct 20, 2023
1 parent b418e64 commit 5a93ac5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
->ignoreVCS(true);

return (new PhpCsFixer\Config())
->setRules(Descom\Common\CsFixer::rules())
->setRules(Descom\Dev\CsFixer::rules())
->setFinder($finder);
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Via Composer

```bash
composer require descom/common
composer require --dev descom/dev
```

## Usage
Expand All @@ -22,12 +22,6 @@ $finder = Symfony\Component\Finder\Finder::create()
->ignoreVCS(true);

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

## Testing

``` bash
composer test
```
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "descom/common",
"description": "Package to PHP projects in Descom.es",
"name": "descom/dev",
"description": "Package to PHP Developer projects in Descom.es",
"type": "library",
"require": {
"php": "^8.0"
},
"homepage": "https://github.com/descom-es/php-common",
"homepage": "https://github.com/descom-es/php-dev",
"license": "MIT",
"authors": [
{
Expand All @@ -27,7 +27,7 @@
},
"autoload": {
"psr-4": {
"Descom\\Common\\": "src"
"Descom\\Dev\\": "src"
}
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/CsFixer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Descom\Common;
namespace Descom\Dev;

class CsFixer
{
Expand Down
4 changes: 2 additions & 2 deletions tests/CsFixerTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Descom\Skeleton\Test;
namespace Descom\Dev\Test;

use Descom\Common\CsFixer;
use Descom\Dev\CsFixer;
use PHPUnit\Framework\TestCase;

class CsFixerTest extends TestCase
Expand Down

0 comments on commit 5a93ac5

Please sign in to comment.