Skip to content

Commit

Permalink
test scoped release
Browse files Browse the repository at this point in the history
  • Loading branch information
gennadigennadigennadi committed Jan 19, 2024
1 parent b2c0a3a commit 6a3c9dd
Show file tree
Hide file tree
Showing 406 changed files with 2,081 additions and 28,209 deletions.
63 changes: 0 additions & 63 deletions Makefile

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ https://qossmic.github.io/deptrac
You can install Deptrac via Composer. We recommend using the
[deptrac-shim](https://github.com/qossmic/deptrac-shim) package for this:

```console
$ composer require --dev qossmic/deptrac-shim
```Shell
composer require --dev qossmic/deptrac-shim
```

Alternatively, you can also use [PHIVE](docs/index.md#phive) or download the
Expand Down
51 changes: 0 additions & 51 deletions baseline.xml

This file was deleted.

24 changes: 24 additions & 0 deletions bin/deptrac
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env php
<?php
namespace DEPTRAC_202401;

use DEPTRAC_202401\Composer\XdebugHandler\XdebugHandler;
use Qossmic\Deptrac\Supportive\Console\Application;
if (\PHP_VERSION_ID < 80100) {
echo 'Required at least PHP version 8.1.0, your version: ' . \PHP_VERSION . "\n";
exit(1);
}
(static function () : void {
if (\file_exists($autoload = __DIR__ . '/../vendor/autoload.php')) {
require_once $autoload;
}
})();
(static function () : void {
if (\file_exists($autoload = \getcwd() . '/vendor/autoload.php')) {
include_once $autoload;
}
})();
$xdebug = new XdebugHandler('DEPTRAC');
$xdebug->check();
unset($xdebug);
(new Application())->run();
2 changes: 1 addition & 1 deletion build/target-repository/bootstrap.php → bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}

// load prefixed or native class, e.g. for running tests
if (str_starts_with($class, 'DeptracPrefix') || str_starts_with($class, 'Qossmic\\Deptrac\\')) {
if (str_starts_with($class, 'DEPTRAC_') || str_starts_with($class, 'Qossmic\\Deptrac\\')) {
if ($composerAutoloader === null) {
// prefixed version autoload
$composerAutoloader = require __DIR__ . '/vendor/autoload.php';
Expand Down
24 changes: 0 additions & 24 deletions box.json.dist

This file was deleted.

Binary file removed build/box.phar
Binary file not shown.
24 changes: 0 additions & 24 deletions build/rector-downgrade-php-72.php

This file was deleted.

9 changes: 0 additions & 9 deletions build/target-repository/.gitignore

This file was deleted.

17 changes: 0 additions & 17 deletions build/target-repository/composer.json

This file was deleted.

64 changes: 8 additions & 56 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,71 +2,23 @@
"name": "qossmic/deptrac",
"description": "Deptrac is a static code analysis tool that helps to enforce rules for dependencies between software layers.",
"license": "MIT",
"authors": [
{
"name": "Tim Glabisch"
},
{
"name": "Simon Mönch",
"email": "[email protected]"
},
{
"name": "Denis Brumann",
"email": "[email protected]",
"role": "maintainer"
}
],
"bin": [
"deptrac"
],
"require": {
"php": "^8.1",
"ext-json": "*",
"composer/xdebug-handler": "^3.0",
"jetbrains/phpstorm-stubs": "^2022.2",
"nikic/php-parser": "^4.18",
"phpdocumentor/graphviz": "^2.1",
"phpdocumentor/type-resolver": "^1.6",
"phpstan/phpdoc-parser": "^1.5",
"symfony/config": "^6.0",
"symfony/console": "^6.0",
"symfony/dependency-injection": "^6.0",
"symfony/event-dispatcher": "^6.0",
"symfony/filesystem": "^6.0",
"symfony/finder": "^6.0",
"symfony/yaml": "^6.0"
"ext-json": "*"
},
"bin": [
"bin/deptrac",
"deptrac.phar"
],
"suggest": {
"ext-dom": "For using the JUnit output formatter"
},
"autoload": {
"psr-4": {
"Qossmic\\Deptrac\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\Qossmic\\Deptrac\\": "tests/",
"Internal\\Qossmic\\Deptrac\\": "internal/deptrac/"
}
},
"config": {
"platform": {
"php": "8.1"
},
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4",
"infection/infection": "^0.26.16",
"phpstan/phpstan": "^1.6.8",
"phpstan/phpstan-symfony": "^1.1",
"phpunit/phpunit": "^10.2",
"rector/rector": "^0.15.17",
"roave/infection-static-analysis-plugin": "^1.28",
"vimeo/psalm": "^5.13"
"files": [
"bootstrap.php"
]
}
}
Loading

0 comments on commit 6a3c9dd

Please sign in to comment.