Skip to content

Commit

Permalink
Merge branch 'release/v0.1.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
betterthanclay committed Oct 30, 2023
2 parents bfab517 + b25042a commit 0aedd2f
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 27 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v0.1.7 (2023-10-30)
* Removed default composer license value
* Refactored package file structure

## v0.1.6 (2023-10-16)
* Updated Atlas dependency

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![PHP from Packagist](https://img.shields.io/packagist/php-v/decodelabs/integra?style=flat)](https://packagist.org/packages/decodelabs/integra)
[![Latest Version](https://img.shields.io/packagist/v/decodelabs/integra.svg?style=flat)](https://packagist.org/packages/decodelabs/integra)
[![Total Downloads](https://img.shields.io/packagist/dt/decodelabs/integra.svg?style=flat)](https://packagist.org/packages/decodelabs/integra)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/decodelabs/integra/integrate.yml?branch=develop)](https://github.com/string|int|floatdecodelabs/integra/actions/workflows/integrate.yml)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/decodelabs/integra/integrate.yml?branch=develop)](https://github.com/decodelabs/integra/actions/workflows/integrate.yml)
[![PHPStan](https://img.shields.io/badge/PHPStan-enabled-44CC11.svg?longCache=true&style=flat)](https://github.com/phpstan/phpstan)
[![License](https://img.shields.io/packagist/l/decodelabs/integra?style=flat)](https://packagist.org/packages/decodelabs/integra)

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
},
"autoload": {
"psr-4": {
"DecodeLabs\\Integra\\": "src/Integra"
"DecodeLabs\\Integra\\": "src/"
},
"files": [
"src/global.php"
"src/Context.php"
]
},
"extra": {
Expand Down
5 changes: 5 additions & 0 deletions src/Integra/Context.php → src/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
use DecodeLabs\Coercion;
use DecodeLabs\Collections\Tree;
use DecodeLabs\Exceptional;
use DecodeLabs\Integra;
use DecodeLabs\Systemic;
use DecodeLabs\Terminus\Session;
use DecodeLabs\Veneer;
use DecodeLabs\Veneer\LazyLoad;
use DecodeLabs\Veneer\Plugin;

Expand Down Expand Up @@ -486,3 +488,6 @@ public function getExtra(): Tree
return $this->getLocalManifest()->getExtra();
}
}

// Register the Veneer facade
Veneer::register(Context::class, Integra::class);
4 changes: 1 addition & 3 deletions src/Integra/Manifest.php → src/Manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ public function getLicense(): string|array|null
return Coercion::toStringOrNull(array_pop($arr));
}

return $this->data->license->as('?string', [
'default' => 'proprietary'
]);
return $this->data->license->as('?string');
}

/**
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
21 changes: 0 additions & 21 deletions src/global.php

This file was deleted.

0 comments on commit 0aedd2f

Please sign in to comment.