Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusjp committed Oct 27, 2023
1 parent 26f299e commit a07ccee
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 24 deletions.
13 changes: 0 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,6 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.0] 2023-10-27
### Changed
- Fixed namespace

## [0.2.0] 2023-10-27
### Changed
- Updated the README.md to reflect the current state of the project
- Removed support for PHP 8.0
- Added the missing ServiceProvider

## [0.1.0] 2023-10-27
### Created
- Initial setup of this library

[0.3.0]: https://github.com/MJTheOne/typed-config-generator/compare/0.2.0...0.3.0
[0.2.0]: https://github.com/MJTheOne/typed-config-generator/compare/0.1.0...0.2.0
2 changes: 1 addition & 1 deletion phpstan/project.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parameters:
ignoreErrors:
- '#^Method Coddin\\SpatieQueryBuilder\\Http\\Requests\\SpatieQueryBuilder\:\:[a-zA-Z]+\(\) has parameter \$callback with null as default value\.$#'
# Add errors to ignore here.

ergebnis:
noExtends:
Expand Down
2 changes: 1 addition & 1 deletion src/Actions/GetClassForConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Coderg33k\TypedConfigGenerator\Actions;

use CoderG33k\TypedConfig;
use Coderg33k\TypedConfigGenerator\TypedConfig;
use Illuminate\Support\Str;

final class GetClassForConfig
Expand Down
2 changes: 1 addition & 1 deletion src/Actions/GetConfigsForPredeterminedPackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Coderg33k\TypedConfigGenerator\Actions;

use CoderG33k\Enums\Package;
use Coderg33k\TypedConfigGenerator\Enums\Package;

final class GetConfigsForPredeterminedPackage
{
Expand Down
6 changes: 3 additions & 3 deletions src/Console/Commands/GenerateTypedConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace Coderg33k\TypedConfigGenerator\Console\Commands;

use CoderG33k\Actions\GetConfigsForPredeterminedPackage;
use CoderG33k\Enums\Package;
use CoderG33k\Helper\ArrayFlatMap;
use Coderg33k\TypedConfigGenerator\Actions\GetConfigsForPredeterminedPackage;
use Coderg33k\TypedConfigGenerator\Enums\Package;
use Coderg33k\TypedConfigGenerator\Helper\ArrayFlatMap;
use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Arr;
Expand Down
2 changes: 1 addition & 1 deletion src/Helper/DoesTypedConfigClassExist.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Coderg33k\TypedConfigGenerator\Helper;

use CoderG33k\Actions\GetClassForConfig;
use CoderG33k\TypedConfigGenerator\Actions\GetClassForConfig;
use CoderG33k\TypedConfig;

final class DoesTypedConfigClassExist
Expand Down
4 changes: 2 additions & 2 deletions src/TypedConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

namespace CoderG33k;
namespace Coderg33k\TypedConfigGenerator;

use Illuminate\Support\Str;

abstract readonly class TypedConfig
abstract class TypedConfig
{
public static function fromConfig(...$properties): static
{
Expand Down
4 changes: 2 additions & 2 deletions src/TypedConfigServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

namespace Coderg33k\TypedConfigGenerator;

use CoderG33k\Actions\GetClassForConfig;
use CoderG33k\Helper\DoesTypedConfigClassExist;
use Coderg33k\TypedConfigGenerator\Actions\GetClassForConfig;
use Coderg33k\TypedConfigGenerator\Helper\DoesTypedConfigClassExist;
use Illuminate\Support\ServiceProvider;

final class TypedConfigServiceProvider extends ServiceProvider
Expand Down

0 comments on commit a07ccee

Please sign in to comment.