Skip to content

Commit b38c0f5

Browse files
committed
csfixed
1 parent bea8462 commit b38c0f5

22 files changed

+39
-35
lines changed

.gitignore

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# hidev internals
2-
.hidev/composer.json
3-
.hidev/composer.lock
4-
.hidev/config-local.yml
5-
.hidev/vendor
2+
/.hidev/composer.json
3+
/.hidev/composer.lock
4+
/.hidev/runtime
5+
/.hidev/vendor
6+
7+
# local config
8+
/.env
9+
/hidev-local.yml
610

711
# IDE & OS files
812
.*.swp
@@ -14,21 +18,20 @@
1418
Thumbs.db
1519
nbproject
1620

17-
# vendor dirs
18-
vendor
19-
20-
# composer lock files
21-
composer.lock
21+
# composer internals
22+
/composer.lock
23+
/vendor
2224

2325
# php-cs-fixer cache
2426
.php_cs.cache
2527

2628
# phpunit generated files
2729
coverage.clover
2830

29-
# PHARs
31+
# Binaries
3032
chkipper.phar
3133
composer.phar
34+
ocular.phar
3235
php-cs-fixer.phar
3336
phpunit-skelgen.phar
3437
phpunit.phar

.php_cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ return PhpCsFixer\Config::create()
2626
],
2727
'concat_space' => ['spacing' => 'one'],
2828
'array_syntax' => ['syntax' => 'short'],
29+
'phpdoc_no_alias_tag' => ['replacements' => ['type' => 'var']],
2930
'blank_line_before_return' => false,
3031
'phpdoc_align' => false,
3132
'phpdoc_scalar' => false,

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ php:
44
- 7
55
- 7.1
66
- hhvm
7-
sudo: false
87
dist: trusty
98
matrix:
109
allow_failures:
@@ -18,10 +17,11 @@ before_install:
1817
- 'composer --version'
1918
- 'wget http://hiqdev.com/hidev/hidev.phar -O hidev.phar && chmod a+x hidev.phar'
2019
- './hidev.phar --version'
21-
- './hidev.phar travis/before_install'
20+
- './hidev.phar travis/before-install'
21+
sudo: false
2222
install:
2323
- './hidev.phar travis/install'
2424
script:
2525
- './hidev.phar travis/script'
2626
after_script:
27-
- './hidev.phar travis/after_script'
27+
- './hidev.phar travis/after-script'

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/hiqdev/composer-config-plugin.svg)](https://scrutinizer-ci.com/g/hiqdev/composer-config-plugin/)
1010
[![Dependency Status](https://www.versioneye.com/php/hiqdev:composer-config-plugin/dev-master/badge.svg)](https://www.versioneye.com/php/hiqdev:composer-config-plugin/dev-master)
1111

12-
This [Composer](https://getcomposer.org/) plugin provides assembling
12+
This [Composer] plugin provides assembling
1313
of configurations distributed with composer packages.
1414
This allows to put configuration needed to use package right inside of
1515
the package thus implementing plugin system: package becomes a plugin
@@ -34,9 +34,11 @@ How it works?
3434
directory together with information needed to rebuild configs on demand
3535
- then assembled configs can be loaded into application with `require`
3636

37+
[composer]: https://getcomposer.org/
38+
3739
## Installation
3840

39-
Add to required section of your `composer.json`:
41+
Add to require section of your `composer.json`:
4042

4143
```json
4244
"hiqdev/composer-config-plugin": "*"

src/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Composer plugin for config assembling
3+
* Composer plugin for config assembling.
44
*
55
* @link https://github.com/hiqdev/composer-config-plugin
66
* @package composer-config-plugin

src/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Composer plugin for config assembling
3+
* Composer plugin for config assembling.
44
*
55
* @link https://github.com/hiqdev/composer-config-plugin
66
* @package composer-config-plugin

src/Helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Composer plugin for config assembling
3+
* Composer plugin for config assembling.
44
*
55
* @link https://github.com/hiqdev/composer-config-plugin
66
* @package composer-config-plugin

src/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Composer plugin for config assembling
3+
* Composer plugin for config assembling.
44
*
55
* @link https://github.com/hiqdev/composer-config-plugin
66
* @package composer-config-plugin

src/ReaderFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Composer plugin for config assembling
3+
* Composer plugin for config assembling.
44
*
55
* @link https://github.com/hiqdev/composer-config-plugin
66
* @package composer-config-plugin

src/Resolver.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Composer plugin for config assembling
3+
* Composer plugin for config assembling.
44
*
55
* @link https://github.com/hiqdev/composer-config-plugin
66
* @package composer-config-plugin
@@ -34,7 +34,6 @@ public function __construct(array $files)
3434
foreach (array_keys($this->files) as $name) {
3535
$this->followDeps($name);
3636
}
37-
3837
}
3938

4039
public function get()
@@ -96,5 +95,4 @@ protected function isDep($path)
9695
{
9796
return strncmp($path, '$', 1) === 0 ? substr($path, 1) : false;
9897
}
99-
10098
}

0 commit comments

Comments
 (0)