Skip to content

Commit c141486

Browse files
committed
Fix code style and update test structure
- Rename tests/cases to tests/Cases for PSR-4 compliance - Add constant visibility and void return type hints - Remove unused imports - Remove obsolete kodiak and coveralls configs
1 parent 3233fc4 commit c141486

File tree

4 files changed

+3
-17
lines changed

4 files changed

+3
-17
lines changed

.github/.kodiak.toml

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/DI/Atlantic18BehaviorExtension.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use Nette\DI\Definitions\Statement;
1818
use Nette\Schema\Expect;
1919
use Nette\Schema\Schema;
20-
use stdClass;
2120

2221
/**
2322
* @property-read object{
@@ -43,7 +42,8 @@
4342
*/
4443
class Atlantic18BehaviorExtension extends CompilerExtension
4544
{
46-
const TAG_NAME = 'nettrine.extensions.atlantic18.listener';
45+
46+
public const TAG_NAME = 'nettrine.extensions.atlantic18.listener';
4747

4848
public function getConfigSchema(): Schema
4949
{
@@ -136,7 +136,7 @@ public function loadConfiguration(): void
136136
}
137137
}
138138

139-
public function beforeCompile()
139+
public function beforeCompile(): void
140140
{
141141
$builder = $this->getContainerBuilder();
142142

tests/.coveralls.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)