Skip to content

Commit fd571b6

Browse files
committed
cleanup
1 parent 8f3b0ba commit fd571b6

File tree

9 files changed

+35
-75
lines changed

9 files changed

+35
-75
lines changed

.github/workflows/code_analysis.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
jobs:
1010
code_analysis:
1111
strategy:
12-
fail-fast: false
1312
matrix:
1413
actions:
1514
-
@@ -36,10 +35,6 @@ jobs:
3635
name: 'Check Active Classes'
3736
run: vendor/bin/class-leak check bin src --ansi
3837

39-
-
40-
name: 'Unusued check'
41-
run: vendor/bin/composer-dependency-analyser
42-
4338
name: ${{ matrix.actions.name }}
4439
runs-on: ubuntu-latest
4540

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The MIT License
22
---------------
33

4-
Copyright (c) 2020 Tomas Votruba (https://tomasvotruba.com)
4+
Copyright (c) 2025 Tomas Votruba (https://tomasvotruba.com)
55

66
Permission is hereby granted, free of charge, to any person
77
obtaining a copy of this software and associated documentation
@@ -22,4 +22,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
2222
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
2323
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2424
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25-
OTHER DEALINGS IN THE SOFTWARE.
25+
OTHER DEALINGS IN THE SOFTWARE.

build/build-scoped.sh

Lines changed: 0 additions & 52 deletions
This file was deleted.

composer-dependency-analyser.php

Lines changed: 0 additions & 7 deletions
This file was deleted.

composer.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"phpstan/phpstan": "^2.0",
2020
"phpunit/phpunit": "^11.5",
2121
"rector/rector": "^2.0",
22-
"shipmonk/composer-dependency-analyser": "^1.8",
2322
"phpecs/phpecs": "^2.0",
2423
"symplify/vendor-patches": "^11.3",
2524
"tomasvotruba/class-leak": "^2.0",
@@ -28,15 +27,15 @@
2827
"autoload": {
2928
"psr-4": {
3029
"Behastan\\": "src"
31-
},
32-
"classmap": [
33-
"stubs"
34-
]
30+
}
3531
},
3632
"autoload-dev": {
3733
"psr-4": {
3834
"Behastan\\Tests\\": "tests"
39-
}
35+
},
36+
"classmap": [
37+
"stubs"
38+
]
4039
},
4140
"replace": {
4241
"symfony/polyfill-ctype": "*",

phpunit.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<testsuites>
1010
<testsuite name="unit">
1111
<directory>tests</directory>
12-
<exclude>tests/Testing/UnitTestFilePathsFinder/Fixture</exclude>
1312
</testsuite>
1413
</testsuites>
1514
</phpunit>

prefix-code.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ note()
2323
# ---------------------------
2424

2525
# 2. scope it
26-
note "Downloading php-scoper 0.18.11"
27-
wget https://github.com/humbug/php-scoper/releases/download/0.18.11/php-scoper.phar -N --no-verbose
26+
note "Downloading php-scoper 0.18.16"
27+
wget https://github.com/humbug/php-scoper/releases/download/0.18.16/php-scoper.phar -N --no-verbose
2828

2929

3030
note "Running php-scoper"

stubs/Behat/Step/Given.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace Behat\Step;
4+
5+
if (class_exists('Behat\Step\Given')) {
6+
return;
7+
}
8+
9+
#[\Attribute]
10+
class Given
11+
{
12+
13+
}

stubs/Behat/Step/When.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace Behat\Step;
4+
5+
if (class_exists('Behat\Step\When')) {
6+
return;
7+
}
8+
9+
#[\Attribute]
10+
class When
11+
{
12+
13+
}

0 commit comments

Comments
 (0)