Skip to content

Commit

Permalink
🐛 Fix final class problem in test - temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
DrWh0286 committed Dec 6, 2019
1 parent 137ed7b commit 1e6feda
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 35 deletions.
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@
"symfony/console": "~2.7|~3.0|~4.0"
},
"require-dev": {
"phpunit/phpunit": "^8.4",
"pluswerk/grumphp-config": "^3.0",
"dg/bypass-finals": "^1.1"
"phpunit/phpunit": "8.4.*",
"pluswerk/grumphp-config": "^3.0"
},
"autoload": {
"psr-4": {
Expand Down
3 changes: 0 additions & 3 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
verbose="true">
<extensions>
<extension class="Pluswerk\TypoScriptAutoFixer\Hook\BypassFinalHook"/>
</extensions>
<testsuites>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Pluswerk\TypoScriptAutoFixer\Exception\FailedReadConfigurationException;
use Symfony\Component\Yaml\Yaml;

class YamlConfigurationReader extends AbstractConfigurationReader
final class YamlConfigurationReader extends AbstractConfigurationReader
{
public function __construct(string $filePath = '')
{
Expand Down
2 changes: 1 addition & 1 deletion src/Adapter/Linter.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Pluswerk\TypoScriptAutoFixer\Issue\AbstractIssue;
use Pluswerk\TypoScriptAutoFixer\Issue\IssueCollection;

final class Linter
class Linter
{
/**
* @var Configuration
Expand Down
2 changes: 1 addition & 1 deletion src/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Pluswerk\TypoScriptAutoFixer\Exception\WriteFileFailedException;
use Pluswerk\TypoScriptAutoFixer\Issue\IssueCollection;

final class File extends \SplFileInfo
class File extends \SplFileInfo
{
/**
* @var IssueCollection
Expand Down
2 changes: 1 addition & 1 deletion src/FileBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

use Pluswerk\TypoScriptAutoFixer\Adapter\Linter;

final class FileBuilder
class FileBuilder
{
/**
* @var Linter
Expand Down
2 changes: 1 addition & 1 deletion src/Fixer/FixerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Pluswerk\TypoScriptAutoFixer\Issue\NestingConsistencyIssue;
use Pluswerk\TypoScriptAutoFixer\Issue\OperatorWhitespaceIssue;

final class FixerFactory
class FixerFactory
{
/**
* @param AbstractIssue $issue
Expand Down
2 changes: 1 addition & 1 deletion src/Fixer/Indentation/LineFixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Pluswerk\TypoScriptAutoFixer\Fixer\Indentation;

final class LineFixer
class LineFixer
{
/**
* @param $line
Expand Down
2 changes: 1 addition & 1 deletion src/Fixer/NestingConsistency/NodeCollectionBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Pluswerk\TypoScriptAutoFixer\Fixer\NestingConsistency;

final class NodeCollectionBuilder
class NodeCollectionBuilder
{
/**
* @param NodeCollection $nodesA
Expand Down
2 changes: 1 addition & 1 deletion src/Fixer/OperatorWhitespace/LineFixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Pluswerk\TypoScriptAutoFixer\Fixer\OperatorWhitespace;

final class LineFixer
class LineFixer
{
/**
* @param string $line
Expand Down
20 changes: 0 additions & 20 deletions src/Hook/BypassFinalHook.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/Issue/IssueCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Helmich\TypoScriptLint\Linter\Report\Issue;
use Pluswerk\TypoScriptAutoFixer\Issue\AbstractIssue;

final class IssueCollection implements \Countable, \Iterator
class IssueCollection implements \Countable, \Iterator
{
/**
* @var AbstractIssue[]
Expand Down

0 comments on commit 1e6feda

Please sign in to comment.