Skip to content

Commit 3c3b811

Browse files
committed
Rename project name and bump version
1 parent aded39c commit 3c3b811

23 files changed

+54
-50
lines changed

CHANGELOG.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## [Unreleased]
44

5+
## [0.3] - 2020-08-11
6+
- Rename project name
7+
58
## [0.2] - 2020-07-03
69
### Changed
710
- Require PHP >= 7.0
@@ -40,7 +43,8 @@
4043
- A blank line before and after class properties
4144

4245

43-
[Unreleased]: https://github.com/pattisahusiwa/phpcodeconv/compare/v0.2...HEAD
44-
[0.2]: https://github.com/pattisahusiwa/phpcodeconv/compare/v0.1...v0.2
45-
[0.1]: https://github.com/pattisahusiwa/phpcodeconv/compare/v0.1.0-alpha...v0.1
46-
[0.1-alpha]: https://github.com/pattisahusiwa/phpcodeconv/releases/tag/v0.1.0-alpha
46+
[Unreleased]: https://github.com/pattisahusiwa/coding-standard/compare/v0.3...HEAD
47+
[0.3]: https://github.com/pattisahusiwa/coding-standard/compare/v0.2...v0.3
48+
[0.2]: https://github.com/pattisahusiwa/coding-standard/compare/v0.1...v0.2
49+
[0.1]: https://github.com/pattisahusiwa/coding-standard/compare/v0.1.0-alpha...v0.1
50+
[0.1-alpha]: https://github.com/pattisahusiwa/coding-standard/releases/tag/v0.1.0-alpha

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# phpcodeconv - PHP Coding Convention
1+
# ptscs - PHP Coding Standard
22

3-
[![Packagist License](https://img.shields.io/packagist/l/pattisahusiwa/phpcodeconv)](https://github.com/pattisahusiwa/phpcodeconv/blob/master/LICENSE)
4-
[![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/pattisahusiwa/phpcodeconv)](https://php.net/)
5-
[![Packagist Version](https://img.shields.io/packagist/v/pattisahusiwa/phpcodeconv?label=latest)](https://github.com/pattisahusiwa/phpcodeconv/releases)
3+
[![Packagist License](https://img.shields.io/packagist/l/pattisahusiwa/coding-standard)](https://github.com/pattisahusiwa/coding-standard/blob/master/LICENSE)
4+
[![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/pattisahusiwa/coding-standard)](https://php.net/)
5+
[![Packagist Version](https://img.shields.io/packagist/v/pattisahusiwa/coding-standard?label=latest)](https://github.com/pattisahusiwa/coding-standard/releases)
66

77
Another PHP Coding Standard for PHP_CodeSniffer
88

99
## Installation
1010
Install with composer
1111
```
12-
composer require --dev pattisahusiwa/phpcodeconv
12+
composer require --dev pattisahusiwa/coding-standard
1313
```
1414

1515
## Usage
@@ -28,12 +28,12 @@ Add this content into your `phpcs.xml`
2828

2929
<exclude-pattern>vendor</exclude-pattern>
3030

31-
<rule ref="phpcodeconv"/>
31+
<rule ref="ptscs"/>
3232
</ruleset>
3333
```
3434

3535
Run `phpcs` to validate your source code style.
3636

3737

3838
## License
39-
See [license](https://github.com/pattisahusiwa/phpcodeconv/blob/master/LICENSE) file.
39+
See [license](https://github.com/pattisahusiwa/coding-standard/blob/master/LICENSE) file.

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "pattisahusiwa/phpcodeconv",
2+
"name": "pattisahusiwa/coding-standard",
33
"description": "Another PHP Coding Standard for PHP_CodeSniffer",
44
"keywords": [
55
"standard",
@@ -16,9 +16,9 @@
1616
"email": "asis.pattisahusiwa@gmail.com"
1717
}
1818
],
19-
"homepage": "https://github.com/pattisahusiwa/phpcodeconv",
19+
"homepage": "https://github.com/pattisahusiwa/coding-standard",
2020
"support": {
21-
"issues": "https://github.com/pattisahusiwa/phpcodeconv/issues"
21+
"issues": "https://github.com/pattisahusiwa/coding-standard/issues"
2222
},
2323
"minimum-stability": "stable",
2424
"prefer-stable": true,
@@ -28,7 +28,7 @@
2828
},
2929
"autoload-dev": {
3030
"psr-4": {
31-
"PhpCodeConv\\Tests\\": "tests"
31+
"Ptscs\\Tests\\": "tests"
3232
}
3333
},
3434
"require": {

phpcs.xml.dist

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<arg value="psv"/>
88
<arg name="extensions" value="php"/>
99

10-
<file>phpcodeconv</file>
10+
<file>ptscs</file>
1111
<file>tests</file>
1212

1313
<exclude-pattern>vendor</exclude-pattern>
1414
<exclude-pattern>tests/Inc</exclude-pattern>
1515

16-
<rule ref="phpcodeconv/ruleset.xml"/>
16+
<rule ref="ptscs/ruleset.xml"/>
1717
</ruleset>

phpstan.neon.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
parameters:
22
level: max
33
paths:
4-
- phpcodeconv
4+
- ptscs
55
- tests
66

77
excludes_analyse:

phpcodeconv/ruleset.xml ptscs/ruleset.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<ruleset name="phpcodeconv">
2+
<ruleset name="ptscs">
33
<description>Another PHP Coding Standard for PHP_CodeSniffer</description>
44

55
<arg name="tab-width" value="4"/>

tests/Sniffs/AbstractTestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs;
3+
namespace Ptscs\Tests\Sniffs;
44

55
use PHPUnit\Framework\TestCase;
66

tests/Sniffs/Arrays/ArrayBracketSpacingTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\Arrays;
3+
namespace Ptscs\Tests\Sniffs\Arrays;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class ArrayBracketSpacingTest extends AbstractTestCase
88
{

tests/Sniffs/Arrays/ArrayDeclarationTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\Arrays;
3+
namespace Ptscs\Tests\Sniffs\Arrays;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class ArrayDeclarationTest extends AbstractTestCase
88
{

tests/Sniffs/SniffEntity.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs;
3+
namespace Ptscs\Tests\Sniffs;
44

55
final class SniffEntity
66
{

tests/Sniffs/Strings/ConcatenationSpacingTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\Strings;
3+
namespace Ptscs\Tests\Sniffs\Strings;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class ConcatenationSpacingTest extends AbstractTestCase
88
{

tests/Sniffs/Strings/DoubleQuoteUsageTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\Strings;
3+
namespace Ptscs\Tests\Sniffs\Strings;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class DoubleQuoteUsageTest extends AbstractTestCase
88
{

tests/Sniffs/Strings/EchoedStringsTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\Strings;
3+
namespace Ptscs\Tests\Sniffs\Strings;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class EchoedStringsTest extends AbstractTestCase
88
{

tests/Sniffs/Validator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs;
3+
namespace Ptscs\Tests\Sniffs;
44

55
use InvalidArgumentException;
66
use PHP_CodeSniffer\Config;

tests/Sniffs/WhiteSpace/CastSpacingTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\WhiteSpace;
3+
namespace Ptscs\Tests\Sniffs\WhiteSpace;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class CastSpacingTest extends AbstractTestCase
88
{

tests/Sniffs/WhiteSpace/FunctionOpeningBraceSpaceTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\WhiteSpace;
3+
namespace Ptscs\Tests\Sniffs\WhiteSpace;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class FunctionOpeningBraceSpaceTest extends AbstractTestCase
88
{

tests/Sniffs/WhiteSpace/FunctionSpacingTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\WhiteSpace;
3+
namespace Ptscs\Tests\Sniffs\WhiteSpace;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class FunctionSpacingTest extends AbstractTestCase
88
{

tests/Sniffs/WhiteSpace/LanguageConstructSpacingTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\WhiteSpace;
3+
namespace Ptscs\Tests\Sniffs\WhiteSpace;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class LanguageConstructSpacingTest extends AbstractTestCase
88
{

tests/Sniffs/WhiteSpace/LogicalOperatorSpacingTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\WhiteSpace;
3+
namespace Ptscs\Tests\Sniffs\WhiteSpace;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class LogicalOperatorSpacingTest extends AbstractTestCase
88
{

tests/Sniffs/WhiteSpace/MemberVarSpacingTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\WhiteSpace;
3+
namespace Ptscs\Tests\Sniffs\WhiteSpace;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class MemberVarSpacingTest extends AbstractTestCase
88
{

tests/Sniffs/WhiteSpace/ObjectOperatorSpacingTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\WhiteSpace;
3+
namespace Ptscs\Tests\Sniffs\WhiteSpace;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class ObjectOperatorSpacingTest extends AbstractTestCase
88
{

tests/Sniffs/WhiteSpace/OperatorSpacingTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\WhiteSpace;
3+
namespace Ptscs\Tests\Sniffs\WhiteSpace;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class OperatorSpacingTest extends AbstractTestCase
88
{

tests/Sniffs/WhiteSpace/ScopeIndentTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace PhpCodeConv\Tests\Sniffs\WhiteSpace;
3+
namespace Ptscs\Tests\Sniffs\WhiteSpace;
44

5-
use PhpCodeConv\Tests\Sniffs\AbstractTestCase;
5+
use Ptscs\Tests\Sniffs\AbstractTestCase;
66

77
final class ScopeIndentTest extends AbstractTestCase
88
{

0 commit comments

Comments
 (0)