Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop logger and debugger translator (#36)
* Update Translator.phpt * Delete LoggerTranslator.phpt * Delete DebuggerTranslator.phpt * Update TranslationExtension.php * Create compatibility.php * Delete DebuggerTranslator.php * Delete LoggerTranslator.php * Update Panel.php * Update Translator.php * Update phpstan.neon * Update ruleset.xml * Update Panel.php * Update compatibility.php * Update compatibility.php
- Loading branch information
Showing
11 changed files
with
108 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ | |
</property> | ||
</properties> | ||
</rule> | ||
<exclude-pattern>./src/compatibility.php</exclude-pattern> | ||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php declare(strict_types = 1); | ||
|
||
namespace Contributte\Translation; | ||
|
||
if (false) { | ||
|
||
/** @deprecated use Contributte\Translation\LoggerTranslator */ | ||
class LoggerTranslator | ||
{ | ||
|
||
} | ||
|
||
} elseif (!class_exists(LoggerTranslator::class)) { | ||
class_alias(Translator::class, LoggerTranslator::class); | ||
} | ||
|
||
if (false) { | ||
|
||
/** @deprecated use Contributte\Translation\DebuggerTranslator */ | ||
class DebuggerTranslator | ||
{ | ||
|
||
} | ||
|
||
} elseif (!class_exists(DebuggerTranslator::class)) { | ||
class_alias(Translator::class, DebuggerTranslator::class); | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.