Skip to content

Commit

Permalink
streamline casing
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Aug 18, 2024
1 parent 9aa4b8a commit 806765b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
use PSX\Schema\GeneratorInterface as SchemaGeneratorInterface;

/**
* Html
* HTML
*
* @author Christoph Kappestein <christoph.kappestein@gmail.com>
* @license http://www.apache.org/licenses/LICENSE-2.0
* @link https://phpsx.org
*/
class Html extends MarkupAbstract
class HTML extends MarkupAbstract
{
protected function generateOperation(Dto\Operation $operation, ?string $tagMethod = null): string
{
Expand Down
2 changes: 1 addition & 1 deletion src/Repository/LocalRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function getAll(): array
);

$result[self::MARKUP_HTML] = new GeneratorConfig(
fn(?string $baseUrl, ?Config $config) => new Generator\Markup\Html(),
fn(?string $baseUrl, ?Config $config) => new Generator\Markup\HTML(),
'html',
'text/html'
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
use PSX\Schema\Generator\Config;

/**
* PhpTest
* PHPTest
*
* @author Christoph Kappestein <christoph.kappestein@gmail.com>
* @license http://www.apache.org/licenses/LICENSE-2.0
* @link https://phpsx.org
*/
class PhpTest extends GeneratorTestCase
class PHPTest extends GeneratorTestCase
{
public function testGenerate()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
use PSX\Api\Tests\Generator\GeneratorTestCase;

/**
* TypescriptTest
* TypeScriptTest
*
* @author Christoph Kappestein <christoph.kappestein@gmail.com>
* @license http://www.apache.org/licenses/LICENSE-2.0
* @link https://phpsx.org
*/
class TypescriptTest extends GeneratorTestCase
class TypeScriptTest extends GeneratorTestCase
{
public function testGenerate()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@

namespace PSX\Api\Tests\Generator\Markup;

use PSX\Api\Generator\Markup\Html;
use PSX\Api\Generator\Markup\HTML;
use PSX\Api\Tests\Generator\GeneratorTestCase;

/**
* HtmlTest
* HTMLTest
*
* @author Christoph Kappestein <christoph.kappestein@gmail.com>
* @license http://www.apache.org/licenses/LICENSE-2.0
* @link https://phpsx.org
*/
class HtmlTest extends GeneratorTestCase
class HTMLTest extends GeneratorTestCase
{
public function testGenerate()
{
$generator = new Html();
$generator = new HTML();

$actual = $generator->generate($this->getSpecification());
$actual = preg_replace('/psx_model_Object([0-9A-Fa-f]{8})/', '[dynamic_id]', $actual);
Expand Down

0 comments on commit 806765b

Please sign in to comment.