Skip to content

Commit ff6713a

Browse files
committed
Some cleanups and fixing phive.
1 parent 920b6d1 commit ff6713a

File tree

7 files changed

+9
-23
lines changed

7 files changed

+9
-23
lines changed

.editorconfig

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,11 @@ root = true
44

55
[*]
66
indent_style = space
7+
indent_size = 4
78
end_of_line = lf
89
insert_final_newline = true
910
trim_trailing_whitespace = true
1011
charset = utf-8
1112

1213
[*.bat]
13-
indent_style = space
14-
indent_size = 4
1514
end_of_line = crlf
16-
17-
[*.yml]
18-
indent_style = space
19-
indent_size = 4
20-
21-
[*.json]
22-
indent_style = space
23-
indent_size = 4
24-
25-
[*.yaml]
26-
indent_style = space
27-
indent_size = 4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
/bin
77
coverage.xml
88
phive*.phar
9+
/composer.lock

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
},
3030
"autoload": {
3131
"psr-4": {
32-
"Phauthentic\\Infrastructure\\Storage\\Processor\\Image\\": "src"
32+
"Phauthentic\\Infrastructure\\Storage\\Processor\\Image\\": "src/"
3333
}
3434
},
3535
"autoload-dev": {
3636
"psr-4": {
37-
"Phauthentic\\Test\\": "tests"
37+
"Phauthentic\\Test\\": "tests/"
3838
}
3939
},
4040
"scripts": {
@@ -61,7 +61,7 @@
6161
"\\InstituteWeb\\ComposerScripts\\ImprovedScriptExecution::apply",
6262
"./bin/phpcbf ./src ./tests --standard=./phpcs.xml"
6363
],
64-
"analyze": [
64+
"stan": [
6565
"\\InstituteWeb\\ComposerScripts\\ImprovedScriptExecution::apply",
6666
"./bin/phpstan analyse ./src -l 5"
6767
],

config/composer_phive.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
];
2424
$keys = implode(',', $keys);
2525

26-
$output = '';
27-
exec('php .' . $ds . 'phive.phar install --target .' . $ds . 'bin --trust-gpg-keys --trust-gpg-keys ' . $keys, $output);
26+
$output = [];
27+
exec('php .' . $ds . 'phive.phar install --target .' . $ds . 'bin --trust-gpg-keys ' . $keys, $output);
2828

2929
echo implode(PHP_EOL, $output);

config/scrutinizer-setup.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ sudo mv phive.phar /usr/local/bin/phive
99
phive --no-progress install --target ./bin --trust-gpg-keys 0x4AA394086372C20A,0x8E730BA25823D8B5,0x31C7E470E2138192,0x4AA394086372C20A,0x0F9684B8B16B7AB0,0xBB5F005D6FFDD89E,0xCF1A108D0E7AE720
1010
composer self-update
1111
composer --version
12-
composer global require hirak/prestissimo --no-plugins
1312
composer install --prefer-dist --no-interaction
1413
chmod -R +x ./bin
1514
sudo mkdir tmp
1615
sudo chmod -R 777 ./tmp
17-

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
parameters:
22
level: 4
33
paths:
4-
- src
4+
- src/

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit backupGlobals="false"
33
backupStaticAttributes="false"
4-
bootstrap="tests\bootstrap.php"
4+
bootstrap="tests/bootstrap.php"
55
colors="true"
66
convertErrorsToExceptions="true"
77
convertNoticesToExceptions="true"

0 commit comments

Comments
 (0)