Skip to content

Commit

Permalink
Merge pull request #55 from lion-packages/support
Browse files Browse the repository at this point in the history
Support with PHP 8.3
  • Loading branch information
Santiago1010 authored Apr 18, 2024
2 parents 7ad4f66 + cc031ff commit b5ce2b5
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2-apache
FROM php:8.3-apache

ARG DEBIAN_FRONTEND=noninteractive

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
]
},
"require": {
"php": ">=8.2",
"php": ">=8.3",
"ext-ctype": "*",
"ext-filter": "*",
"ext-hash": "*",
Expand Down
30 changes: 15 additions & 15 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/Helpers/Commands/ClassFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,14 @@ public function testGetClass(string $path, string $fileName, string $namespace,
}

#[DataProvider('classFactoryProvider')]
public function testGetNamespace(string $path, string $fileName, string $namespace): void
public function testGetNamespace(string $path, string $fileName, string $namespace, string $class): void
{
$this->assertInstanceOf(ClassFactory::class, $this->classFactory->classFactory($path, $fileName));
$this->assertSame($namespace, $this->classFactory->getNamespace());
}

#[DataProvider('classFactoryProvider')]
public function testGetFolder(string $path, string $fileName): void
public function testGetFolder(string $path, string $fileName, string $namespace, string $class): void
{
$this->assertInstanceOf(ClassFactory::class, $this->classFactory->classFactory($path, $fileName));
$this->assertSame($path, $this->classFactory->getFolder());
Expand Down

0 comments on commit b5ce2b5

Please sign in to comment.