Skip to content

Commit aeaf33e

Browse files
author
Andrei Onita
committed
solved consistency issues
1 parent 2356021 commit aeaf33e

19 files changed

Lines changed: 45 additions & 62 deletions

.github/workflows/cs-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ jobs:
4343
run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
4444

4545
- name: Run phpcs checks
46-
run: vendor/bin/phpcs
46+
run: vendor/bin/phpcs

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ jobs:
4343
run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
4444

4545
- name: Run static analysis
46-
run: vendor/bin/psalm --no-cache --output-format=github --show-info=false --threads=4
46+
run: vendor/bin/psalm --no-cache --output-format=github --show-info=false --threads=4

.github/workflows/unit-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ jobs:
4444
run: composer install --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
4545

4646
- name: Run PHPUnit tests
47-
run: vendor/bin/phpunit --colors=always
47+
run: vendor/bin/phpunit --colors=always

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
},
2929
"require-dev": {
3030
"phpunit/phpunit": "^10.2",
31-
"squizlabs/php_codesniffer": "^3.6",
3231
"vimeo/psalm": "^5.13",
3332
"laminas/laminas-coding-standard": "^2.5"
3433
},
@@ -39,7 +38,7 @@
3938
},
4039
"autoload-dev": {
4140
"psr-4": {
42-
"DotTest\\AnnotatedServices\\": "tests"
41+
"DotTest\\AnnotatedServices\\": "test"
4342
}
4443
},
4544
"scripts": {
@@ -58,6 +57,7 @@
5857
"doctrine/orm": "To be able to inject doctrine repositories."
5958
},
6059
"config": {
60+
"sort-packages": true,
6161
"allow-plugins": {
6262
"dealerdirect/phpcodesniffer-composer-installer": true
6363
}

phpcs.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
<!-- Paths to check -->
1515
<file>src</file>
16-
<file>tests</file>
16+
<file>test</file>
1717

1818
<!-- Include all rules from the Laminas Coding Standard -->
1919
<rule ref="LaminasCodingStandard"/>
20-
</ruleset>
20+
</ruleset>

phpunit.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" bootstrap="./vendor/autoload.php" colors="true">
33
<testsuites>
4-
<testsuite name="dot-user-agent-sniffer Test Suite">
5-
<directory>./tests</directory>
4+
<testsuite name="dot-annotated-services Test Suite">
5+
<directory>./test</directory>
66
</testsuite>
77
</testsuites>
88
<coverage/>
@@ -11,4 +11,4 @@
1111
<directory suffix=".php">./src</directory>
1212
</include>
1313
</source>
14-
</phpunit>
14+
</phpunit>

psalm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
<directory name="vendor" />
1515
</ignoreFiles>
1616
</projectFiles>
17-
</psalm>
17+
</psalm>

src/Annotation/Inject.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<?php
22

3-
/**
4-
* @see https://github.com/dotkernel/dot-annotated-services/ for the canonical source repository
5-
*/
6-
73
declare(strict_types=1);
84

95
namespace Dot\AnnotatedServices\Annotation;

src/Annotation/Service.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<?php
22

3-
/**
4-
* @see https://github.com/dotkernel/dot-annotated-services/ for the canonical source repository
5-
*/
6-
73
declare(strict_types=1);
84

95
namespace Dot\AnnotatedServices\Annotation;

src/ConfigProvider.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<?php
22

3-
/**
4-
* @see https://github.com/dotkernel/dot-annotated-services/ for the canonical source repository
5-
*/
6-
73
declare(strict_types=1);
84

95
namespace Dot\AnnotatedServices;

0 commit comments

Comments
 (0)